/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
H A D | CrossProcessFilter.java | 82 public FrameFormat getOutputFormat(String portName, FrameFormat inputFormat) { argument 83 return inputFormat; 105 FrameFormat inputFormat = input.getFormat(); 108 if (mProgram == null || inputFormat.getTarget() != mTarget) { 109 initProgram(context, inputFormat.getTarget()); 113 Frame output = context.getFrameManager().newFrame(inputFormat);
|
H A D | NegativeFilter.java | 57 public FrameFormat getOutputFormat(String portName, FrameFormat inputFormat) { argument 58 return inputFormat; 80 FrameFormat inputFormat = input.getFormat(); 83 Frame output = context.getFrameManager().newFrame(inputFormat); 86 if (mProgram == null || inputFormat.getTarget() != mTarget) { 87 initProgram(context, inputFormat.getTarget());
|
H A D | PosterizeFilter.java | 60 public FrameFormat getOutputFormat(String portName, FrameFormat inputFormat) { argument 61 return inputFormat; 83 FrameFormat inputFormat = input.getFormat(); 86 Frame output = context.getFrameManager().newFrame(inputFormat); 89 if (mProgram == null || inputFormat.getTarget() != mTarget) { 90 initProgram(context, inputFormat.getTarget());
|
H A D | DocumentaryFilter.java | 92 public FrameFormat getOutputFormat(String portName, FrameFormat inputFormat) { argument 93 return inputFormat; 115 FrameFormat inputFormat = input.getFormat(); 118 if (mProgram == null || inputFormat.getTarget() != mTarget) { 119 initProgram(context, inputFormat.getTarget()); 123 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) { 124 mWidth = inputFormat.getWidth(); 125 mHeight = inputFormat.getHeight(); 130 Frame output = context.getFrameManager().newFrame(inputFormat); [all...] |
H A D | FisheyeFilter.java | 81 public FrameFormat getOutputFormat(String portName, FrameFormat inputFormat) { argument 82 return inputFormat; 104 FrameFormat inputFormat = input.getFormat(); 107 Frame output = context.getFrameManager().newFrame(inputFormat); 110 if (mProgram == null || inputFormat.getTarget() != mTarget) { 111 initProgram(context, inputFormat.getTarget()); 115 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) { 116 updateFrameSize(inputFormat.getWidth(), inputFormat [all...] |
H A D | LomoishFilter.java | 132 public FrameFormat getOutputFormat(String portName, FrameFormat inputFormat) { argument 133 return inputFormat; 179 FrameFormat inputFormat = input.getFormat(); 182 if (mProgram == null || inputFormat.getTarget() != mTarget) { 183 initProgram(context, inputFormat.getTarget()); 187 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) { 188 mWidth = inputFormat.getWidth(); 189 mHeight = inputFormat.getHeight(); 194 Frame output = context.getFrameManager().newFrame(inputFormat); [all...] |
H A D | SharpenFilter.java | 79 public FrameFormat getOutputFormat(String portName, FrameFormat inputFormat) { argument 80 return inputFormat; 102 FrameFormat inputFormat = input.getFormat(); 105 Frame output = context.getFrameManager().newFrame(inputFormat); 108 if (mProgram == null || inputFormat.getTarget() != mTarget) { 109 initProgram(context, inputFormat.getTarget()); 113 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) { 114 updateFrameSize(inputFormat.getWidth(), inputFormat [all...] |
H A D | VignetteFilter.java | 73 public FrameFormat getOutputFormat(String portName, FrameFormat inputFormat) { argument 74 return inputFormat; 129 FrameFormat inputFormat = input.getFormat(); 132 if (mProgram == null || inputFormat.getTarget() != mTarget) { 133 initProgram(context, inputFormat.getTarget()); 137 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) { 138 mWidth = inputFormat.getWidth(); 139 mHeight = inputFormat.getHeight(); 144 Frame output = context.getFrameManager().newFrame(inputFormat); [all...] |
H A D | GrainFilter.java | 103 public FrameFormat getOutputFormat(String portName, FrameFormat inputFormat) { argument 104 return inputFormat; 155 FrameFormat inputFormat = input.getFormat(); 157 FrameFormat noiseFormat = ImageFormat.create(inputFormat.getWidth() / 2, 158 inputFormat.getHeight() / 2, 163 Frame noiseFrame = context.getFrameManager().newFrame(inputFormat); 166 Frame output = context.getFrameManager().newFrame(inputFormat); 169 if (mNoiseProgram == null || mGrainProgram == null || inputFormat.getTarget() != mTarget) { 170 initProgram(context, inputFormat.getTarget()); 175 if (inputFormat [all...] |
H A D | ColorTemperatureFilter.java | 70 public FrameFormat getOutputFormat(String portName, FrameFormat inputFormat) { argument 71 return inputFormat; 93 FrameFormat inputFormat = input.getFormat(); 96 if (mProgram == null || inputFormat.getTarget() != mTarget) { 97 initProgram(context, inputFormat.getTarget()); 102 Frame output = context.getFrameManager().newFrame(inputFormat);
|
H A D | FlipFilter.java | 56 public FrameFormat getOutputFormat(String portName, FrameFormat inputFormat) { argument 57 return inputFormat; 87 FrameFormat inputFormat = input.getFormat(); 90 if (mProgram == null || inputFormat.getTarget() != mTarget) { 91 initProgram(context, inputFormat.getTarget()); 95 Frame output = context.getFrameManager().newFrame(inputFormat);
|
H A D | SepiaFilter.java | 58 public FrameFormat getOutputFormat(String portName, FrameFormat inputFormat) { argument 59 return inputFormat; 81 FrameFormat inputFormat = input.getFormat(); 84 Frame output = context.getFrameManager().newFrame(inputFormat); 87 if (mProgram == null || inputFormat.getTarget() != mTarget) { 88 initProgram(context, inputFormat.getTarget());
|
H A D | TintFilter.java | 64 public FrameFormat getOutputFormat(String portName, FrameFormat inputFormat) { argument 65 return inputFormat; 94 FrameFormat inputFormat = input.getFormat(); 97 if (mProgram == null || inputFormat.getTarget() != mTarget) { 98 initProgram(context, inputFormat.getTarget()); 103 Frame output = context.getFrameManager().newFrame(inputFormat);
|
H A D | ToPackedGrayFilter.java | 71 public FrameFormat getOutputFormat(String portName, FrameFormat inputFormat) { argument 72 return convertInputFormat(inputFormat); 82 private FrameFormat convertInputFormat(FrameFormat inputFormat) { argument 85 int w = inputFormat.getWidth(); 86 int h = inputFormat.getHeight(); 118 FrameFormat inputFormat = input.getFormat(); 119 FrameFormat outputFormat = convertInputFormat(inputFormat); 126 MutableFrameFormat tempFrameFormat = inputFormat.mutableCopy();
|
H A D | CropRectFilter.java | 91 FrameFormat inputFormat = input.getFormat(); 100 if (mProgram == null || inputFormat.getTarget() != mTarget) { 101 initProgram(context, inputFormat.getTarget()); 105 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) { 106 updateSourceRect(inputFormat.getWidth(), inputFormat.getHeight());
|
H A D | RedEyeFilter.java | 91 public FrameFormat getOutputFormat(String portName, FrameFormat inputFormat) { argument 92 return inputFormat; 114 FrameFormat inputFormat = input.getFormat(); 117 Frame output = context.getFrameManager().newFrame(inputFormat); 120 if (mProgram == null || inputFormat.getTarget() != mTarget) { 121 initProgram(context, inputFormat.getTarget()); 125 if (inputFormat.getWidth() != mWidth || inputFormat.getHeight() != mHeight) { 126 mWidth = inputFormat.getWidth(); 127 mHeight = inputFormat [all...] |
H A D | SimpleImageFilter.java | 58 public FrameFormat getOutputFormat(String portName, FrameFormat inputFormat) { argument 59 return inputFormat; 66 FrameFormat inputFormat = input.getFormat(); 69 Frame output = context.getFrameManager().newFrame(inputFormat); 72 updateProgramWithTarget(inputFormat.getTarget(), context);
|
H A D | BitmapOverlayFilter.java | 67 public FrameFormat getOutputFormat(String portName, FrameFormat inputFormat) { argument 68 return inputFormat; 98 FrameFormat inputFormat = input.getFormat(); 101 Frame output = context.getFrameManager().newFrame(inputFormat); 104 if (mProgram == null || inputFormat.getTarget() != mTarget) { 105 initProgram(context, inputFormat.getTarget());
|
H A D | BlackWhiteFilter.java | 97 public FrameFormat getOutputFormat(String portName, FrameFormat inputFormat) { argument 98 return inputFormat; 139 FrameFormat inputFormat = input.getFormat(); 142 if (mProgram == null || inputFormat.getTarget() != mTarget) { 143 initProgram(context, inputFormat.getTarget()); 147 Frame output = context.getFrameManager().newFrame(inputFormat);
|
H A D | DuotoneFilter.java | 67 public FrameFormat getOutputFormat(String portName, FrameFormat inputFormat) { argument 68 return inputFormat; 90 FrameFormat inputFormat = input.getFormat(); 93 Frame output = context.getFrameManager().newFrame(inputFormat); 96 if (mProgram == null || inputFormat.getTarget() != mTarget) { 97 initProgram(context, inputFormat.getTarget());
|
H A D | FillLightFilter.java | 72 public FrameFormat getOutputFormat(String portName, FrameFormat inputFormat) { argument 73 return inputFormat; 97 FrameFormat inputFormat = input.getFormat(); 100 Frame output = context.getFrameManager().newFrame(inputFormat); 103 if (mProgram == null || inputFormat.getTarget() != mTarget) { 104 initProgram(context, inputFormat.getTarget());
|
H A D | FixedRotationFilter.java | 54 public FrameFormat getOutputFormat(String portName, FrameFormat inputFormat) { argument 55 return inputFormat; 65 FrameFormat inputFormat = input.getFormat(); 71 MutableFrameFormat outputFormat = inputFormat.mutableCopy(); 72 int width = inputFormat.getWidth(); 73 int height = inputFormat.getHeight();
|
H A D | SaturateFilter.java | 81 public FrameFormat getOutputFormat(String portName, FrameFormat inputFormat) { argument 82 return inputFormat; 116 FrameFormat inputFormat = input.getFormat(); 119 if (mBenProgram == null || inputFormat.getTarget() != mTarget) { 120 initProgram(context, inputFormat.getTarget()); 125 Frame output = context.getFrameManager().newFrame(inputFormat);
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/performance/ |
H A D | ThroughputFilter.java | 59 public FrameFormat getOutputFormat(String portName, FrameFormat inputFormat) { argument 60 return inputFormat; 88 FrameFormat inputFormat = input.getFormat(); 89 int pixelCount = inputFormat.getWidth() * inputFormat.getHeight();
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/ |
H A D | FrameBranch.java | 47 public FrameFormat getOutputFormat(String portName, FrameFormat inputFormat) { argument 48 return inputFormat;
|