Exemplo n.º 1
0
 @Override
 protected void onPostExecute(Bitmap bitmap) {
   super.onPostExecute(bitmap);
   mGPUImage.deleteImage();
   mGPUImage.setImage(bitmap);
 }
Exemplo n.º 2
0
 // TODO Should be an xml attribute. But then GPUImage can not be distributed as .jar anymore.
 public void setRatio(float ratio) {
   mRatio = ratio;
   mGLSurfaceView.requestLayout();
   mGPUImage.deleteImage();
 }