/frameworks/base/media/mca/filterfw/native/core/ |
H A D | shader_program.cpp | 181 GLFrameBufferHandle* output) { 182 // TODO: This can be optimized: If the input and output are the same, as in 192 // Focus the FBO of the output 193 if (!output->FocusFrameBuffer()) { 224 bool ShaderProgram::Process(const std::vector<const GLFrame*>& input, GLFrame* output) { argument 227 return Process(textures, output); 566 // Clear output, if requested 180 Process(const std::vector<const GLTextureHandle*>& input, GLFrameBufferHandle* output) argument
|
H A D | shader_program.h | 72 // rectangular region of the output texture. You can modify the input and 73 // output regions by using the SetSourceRegion(...) and SetTargetRegion(...) 95 // Process the given input frames and write the result to the output frame. 97 bool Process(const std::vector<const GLFrame*>& inputs, GLFrame* output); 103 GLFrameBufferHandle* output); 120 // input to the output. Note that transformations may be applied to achieve 145 // Set the program to write to a subregion of the output frame, given by 147 // normalized between 0.0 and 1.0. If this region exceeds the output frame 151 // Set the program to write to a subregion of the output frame, given by 155 // If this region exceeds the output fram [all...] |
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/ |
H A D | FrameFetch.java | 53 Frame output = context.fetchFrame(mKey); 54 if (output != null) { 55 pushOutput("frame", output);
|
H A D | InputStreamSource.java | 84 Frame output = context.getFrameManager().newFrame(mOutputFormat); 85 output.setData(byteBuffer); 87 // Push output 88 pushOutput("data", output); 91 output.release(); 93 // Close output port as we are done here
|
H A D | RetargetFilter.java | 66 // Create output frame 67 Frame output = context.getFrameManager().duplicateFrameToTarget(input, mTarget); 69 // Push output 70 pushOutput("frame", output); 73 output.release();
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
H A D | AutoFixFilter.java | 258 // Create output frame 259 Frame output = context.getFrameManager().newFrame(inputFormat); 263 mShaderProgram.process(inputs, output); 265 // Push output 266 pushOutput("image", output); 269 output.release();
|
H A D | BitmapOverlayFilter.java | 106 // Create output frame 107 Frame output = context.getFrameManager().newFrame(inputFormat); 118 mProgram.process(inputs, output); 122 output.setDataFromFrame(input); 125 // Push output 126 pushOutput("image", output); 129 output.release();
|
H A D | BlackWhiteFilter.java | 149 // Create output frame 150 Frame output = context.getFrameManager().newFrame(inputFormat); 153 mProgram.process(input, output); 155 // Push output 156 pushOutput("image", output); 159 output.release();
|
H A D | ColorTemperatureFilter.java | 105 // Create output frame 106 Frame output = context.getFrameManager().newFrame(inputFormat); 109 mProgram.process(input, output); 111 // Push output 112 pushOutput("image", output); 115 output.release();
|
H A D | CropFilter.java | 86 // Make sure output size is set to unspecified, as we do not know what we will be resizing 123 // Create output format 128 // Create output frame 129 Frame output = env.getFrameManager().newFrame(outputFormat); 137 mProgram.process(imageFrame, output); 139 // Push output 140 pushOutput("image", output); 143 output.release();
|
H A D | CropRectFilter.java | 98 // Create output frame 102 Frame output = context.getFrameManager().newFrame(outputFormat); 115 mProgram.process(input, output); 117 // Push output 118 pushOutput("image", output); 121 output.release();
|
H A D | CrossProcessFilter.java | 117 // Create output frame 118 Frame output = context.getFrameManager().newFrame(inputFormat); 121 mProgram.process(input, output); 123 // Push output 124 pushOutput("image", output); 127 output.release();
|
H A D | DocumentaryFilter.java | 132 // Create output frame 133 Frame output = context.getFrameManager().newFrame(inputFormat); 136 mProgram.process(input, output); 138 // Push output 139 pushOutput("image", output); 142 output.release();
|
H A D | DrawOverlayFilter.java | 79 // Create output frame with copy of input 80 Frame output = env.getFrameManager().newFrame(sourceFrame.getFormat()); 81 output.setDataFromFrame(sourceFrame); 83 // Draw onto output 84 mProgram.process(overlayFrame, output); 86 // Push output 87 pushOutput("image", output); 90 output.release();
|
H A D | DrawRectFilter.java | 98 // Create output frame with copy of input 99 GLFrame output = (GLFrame)env.getFrameManager().duplicateFrame(imageFrame); 101 // Draw onto output 102 output.focus(); 105 // Push output 106 pushOutput("image", output); 109 output.release();
|
H A D | DuotoneFilter.java | 95 // Create output frame 96 Frame output = context.getFrameManager().newFrame(inputFormat); 105 mProgram.process(input, output); 107 // Push output 108 pushOutput("image", output); 111 output.release();
|
H A D | FillLightFilter.java | 103 // Create output frame 104 Frame output = context.getFrameManager().newFrame(inputFormat); 113 mProgram.process(input, output); 115 // Push output 116 pushOutput("image", output); 119 output.release();
|
H A D | FisheyeFilter.java | 112 // Create output frame 113 Frame output = context.getFrameManager().newFrame(inputFormat); 126 mProgram.process(input, output); 128 // Push output 129 pushOutput("image", output); 132 output.release();
|
H A D | FixedRotationFilter.java | 97 // Create output frame 98 Frame output = context.getFrameManager().newFrame(outputFormat); 104 mProgram.process(input, output); 106 // Push output 107 pushOutput("image", output); 110 output.release();
|
H A D | FlipFilter.java | 98 // Create output frame 99 Frame output = context.getFrameManager().newFrame(inputFormat); 102 mProgram.process(input, output); 104 // Push output 105 pushOutput("image", output); 108 output.release();
|
H A D | GrainFilter.java | 170 // Create output frame 171 Frame output = context.getFrameManager().newFrame(inputFormat); 189 mGrainProgram.process(inputs, output); 191 // Push output 192 pushOutput("image", output); 195 output.release();
|
H A D | ImageCombineFilter.java | 96 // Create output frame 97 Frame output = context.getFrameManager().newFrame(inputs[0].getFormat()); 103 mProgram.process(inputs, output); 105 // Push output 106 pushOutput(mOutputName, output); 109 output.release();
|
H A D | ImageSlicer.java | 77 // calculate the output size based on input size, xSlices, and ySlices 102 // Create output frame 103 Frame output = context.getFrameManager().newFrame(outputFormat); 123 mProgram.process(mOriginalFrame, output); 136 // Push output 137 pushOutput("image", output); 140 output.release();
|
H A D | LomoishFilter.java | 196 // Create output frame 197 Frame output = context.getFrameManager().newFrame(inputFormat); 200 mProgram.process(input, output); 202 // Push output 203 pushOutput("image", output); 206 output.release();
|
H A D | NegativeFilter.java | 85 // Create output frame 86 Frame output = context.getFrameManager().newFrame(inputFormat); 94 mProgram.process(input, output); 96 // Push output 97 pushOutput("image", output); 100 output.release();
|