/frameworks/base/libs/hwui/service/ |
H A D | GraphicsStatsService.cpp | 49 bool GraphicsStatsService::parseFromFile(const std::string& path, service::GraphicsStatsProto* output) { argument 71 bool success = output->ParseFromZeroCopyStream(&input); 78 path.c_str(), output->InitializationErrorString().c_str()); 215 io::FileOutputStream output(outFd); 216 bool success = statsProto.SerializeToZeroCopyStream(&output) && output.Flush(); 217 if (output.GetErrno() != 0) { 219 outFd, path.c_str(), output.GetErrno(), strerror(output.GetErrno()));
|
/frameworks/base/libs/hwui/utils/ |
H A D | Blur.cpp | 102 uint8_t* output = dest + y * width; local 132 *output = (uint8_t)blurredPixel; 133 output ++; 144 uint8_t* output = dest + y * width; local 176 *output = (uint8_t) blurredPixel; 177 output++;
|
/frameworks/base/media/java/android/media/ |
H A D | ExifInterface.java | 1974 public boolean getLatLong(float output[]) { argument 1982 output[0] = convertRationalLatLonToFloat(latValue, latRef); 1983 output[1] = convertRationalLatLonToFloat(lngValue, lngRef); 2553 // Stores a new JPEG image with EXIF attributes into a given output stream. 3229 // Writes an Exif segment into the given output stream. 3720 // An output stream to write EXIF data area, which can be written in either little or big endian
|
/frameworks/base/media/jni/ |
H A D | android_media_MediaDrm.cpp | 1315 Vector<uint8_t> output; local 1317 status_t err = drm->encrypt(sessionId, keyId, input, iv, output); 1323 return VectorToJByteArray(env, output); 1346 Vector<uint8_t> output; local 1348 status_t err = drm->decrypt(sessionId, keyId, input, iv, output); 1353 return VectorToJByteArray(env, output);
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | NativeProgram.java | 98 public void process(Frame[] inputs, Frame output) { argument 111 // Get the native output frame 113 if (output == null || output instanceof NativeFrame) { 114 nativeOutput = (NativeFrame)output; 116 throw new RuntimeException("NativeProgram got non-native output frame!"); 173 private native boolean callNativeProcess(NativeFrame[] inputs, NativeFrame output); argument
|
H A D | Program.java | 27 public abstract void process(Frame[] inputs, Frame output); argument 29 public void process(Frame input, Frame output) { argument 32 process(inputs, output);
|
H A D | ShaderProgram.java | 88 public void process(Frame[] inputs, Frame output) { argument 106 // Get the GL output frame 108 if (output instanceof GLFrame) { 109 glOutput = (GLFrame)output; 111 throw new RuntimeException("ShaderProgram got non-GL output frame!"); 116 int xTiles = (output.getFormat().getWidth() + mMaxTileSize - 1) / mMaxTileSize; 117 int yTiles = (output.getFormat().getHeight() + mMaxTileSize - 1) / mMaxTileSize; 194 throw new RuntimeException("Could not set clears-output flag to " + clears + "!"); 259 private native boolean shaderProcess(GLFrame[] inputs, GLFrame output); argument
|
/frameworks/base/media/mca/filterfw/jni/ |
H A D | jni_native_program.cpp | 134 jobject output) { 163 // Get the output buffer 166 if (output) { 167 NativeFrame* output_frame = ConvertFromJava<NativeFrame>(env, output); 169 ALOGE("NativeProgram: Could not grab NativeFrame output!"); 131 Java_android_filterfw_core_NativeProgram_callNativeProcess(JNIEnv* env, jobject thiz, jobjectArray inputs, jobject output) argument
|
H A D | jni_shader_program.cpp | 94 jobject output) { 97 if (program && inputs && output) { 110 // Get the output frame 111 GLFrame* output_frame = ConvertFromJava<GLFrame>(env, output); 113 ALOGE("ShaderProgram: no output frame found!"); 91 Java_android_filterfw_core_ShaderProgram_shaderProcess(JNIEnv* env, jobject thiz, jobjectArray inputs, jobject output) argument
|
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | native_program.cpp | 105 char* output, 111 output, 103 CallProcess(const std::vector<const char*>& inputs, const std::vector<int>& input_sizes, char* output, int output_size) argument
|
H A D | shader_program.cpp | 174 GLFrameBufferHandle* output) { 175 // TODO: This can be optimized: If the input and output are the same, as in 185 // Focus the FBO of the output 186 if (!output->FocusFrameBuffer()) { 217 bool ShaderProgram::Process(const std::vector<const GLFrame*>& input, GLFrame* output) { argument 220 return Process(textures, output); 559 // Clear output, if requested 173 Process(const std::vector<const GLTextureHandle*>& input, GLFrameBufferHandle* output) argument
|
/frameworks/base/media/mca/filterpacks/native/imageproc/ |
H A D | brightness.c | 52 char* output, 63 LOGE("Brightness: Input-output sizes do not match up. %d vs. %d!", input_sizes[0], output_size); 67 // Get the input and output pointers 69 int* output_ptr = (int*)output; 72 LOGE("Brightness: No input or output pointer found!"); 49 brightness_process(const char** inputs, const int* input_sizes, int input_count, char* output, int output_size, void* user_data) argument
|
H A D | contrast.c | 47 char* output, 58 LOGE("Contrast: Input-output sizes do not match up. %d vs. %d!", input_sizes[0], output_size); 62 // Get the input and output pointers 64 char* output_ptr = output; 66 LOGE("Contrast: No input or output pointer found!"); 44 contrast_process(const char** inputs, const int* input_sizes, int input_count, char* output, int output_size, void* user_data) argument
|
H A D | invert.c | 24 char* output, 35 // Get the input and output pointers 37 char* output_ptr = output; 21 invert_process(const char** inputs, const int* input_sizes, int input_count, char* output, int output_size, void* user_data ATTRIBUTE_UNUSED) argument
|
H A D | to_rgba.c | 24 char* output, 35 // Get the input and output pointers 37 char* output_ptr = output; 55 char* output, 66 // Get the input and output pointers 68 char* output_ptr = output; 87 char* output, 98 // Get the input and output pointers 100 char* output_ptr = output; 119 char* output, 21 gray_to_rgb_process(const char** inputs, const int* input_sizes, int input_count, char* output, int output_size, void* user_data ATTRIBUTE_UNUSED) argument 52 rgba_to_rgb_process(const char** inputs, const int* input_sizes, int input_count, char* output, int output_size, void* user_data ATTRIBUTE_UNUSED) argument 84 gray_to_rgba_process(const char** inputs, const int* input_sizes, int input_count, char* output, int output_size, void* user_data ATTRIBUTE_UNUSED) argument 116 rgb_to_rgba_process(const char** inputs, const int* input_sizes, int input_count, char* output, int output_size, void* user_data ATTRIBUTE_UNUSED) argument [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
H A D | Camera2ReprocessCaptureTest.java | 207 * Test the input format and output format with the largest input and output sizes. 222 * Test the input format and output format with the largest input and output sizes for a 258 * Test all input format, input size, output format, and output size combinations. 591 * sensor timestamp, and output image's timestamp should match the reprocess input's timestamp. 644 // Verify the reprocess output image timestamps match the input image's timestamps. 649 assertEquals("Reprocess output timestamp (" + timestamp + ") doesn't match input " + 712 // Verify output imag 1028 submitCaptureRequest(Surface output, TotalCaptureResult inputResult) argument [all...] |
H A D | MediaPlayerStreamingStressTest.java | 74 //Test result output file 77 private void writeTestOutput(String filename, Writer output) throws Exception{ argument 78 output.write("URL: " + filename); 79 output.write(" Complete: " + CodecTest.onCompleteSuccess); 80 output.write(" Error: " + CodecTest.mPlaybackError); 81 output.write(" Unknown Info: " + CodecTest.mMediaInfoUnknownCount); 82 output.write(" Track Lagging: " + CodecTest.mMediaInfoVideoTrackLaggingCount); 83 output.write(" Bad Interleaving: " + CodecTest.mMediaInfoBadInterleavingCount); 84 output.write(" Not Seekable: " + CodecTest.mMediaInfoNotSeekableCount); 85 output 89 writeTestSummary(Writer output) argument [all...] |
H A D | MediaPlayerStressTest.java | 70 //Test result output file 73 private void writeTestOutput(String filename, Writer output) throws Exception{ argument 74 output.write("File Name: " + filename); 75 output.write(" Complete: " + CodecTest.onCompleteSuccess); 76 output.write(" Error: " + CodecTest.mPlaybackError); 77 output.write(" Unknown Info: " + CodecTest.mMediaInfoUnknownCount); 78 output.write(" Track Lagging: " + CodecTest.mMediaInfoVideoTrackLaggingCount); 79 output.write(" Bad Interleaving: " + CodecTest.mMediaInfoBadInterleavingCount); 80 output.write(" Not Seekable: " + CodecTest.mMediaInfoNotSeekableCount); 81 output 87 writeTestSummary(Writer output) argument [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
H A D | CameraMetadataTest.java | 896 // TODO: also test HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED as an output 1195 streamConfigMap, ImageFormat.RAW_SENSOR, 320, 240, /*output*/false); 1199 streamConfigMap, HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED, 640, 480, /*output*/true); 1201 streamConfigMap, ImageFormat.JPEG, 1920, 1080, /*output*/true); 1203 streamConfigMap, ImageFormat.JPEG, 2048, 1536, /*output*/true); 1205 streamConfigMap, ImageFormat.JPEG, 2592, 1944, /*output*/true); 1207 streamConfigMap, ImageFormat.JPEG, 3200, 2400, /*output*/true); 1209 streamConfigMap, ImageFormat.YUV_420_888, 3200, 2400, /*output*/true); 1211 streamConfigMap, ImageFormat.YUV_420_888, 3264, 2448, /*output*/true); 1213 streamConfigMap, ImageFormat.RAW_SENSOR, 3280, 2464, /*output*/tru 1308 checkStreamConfigurationMapByFormatSize(StreamConfigurationMap configMap, int format, int width, int height, boolean output) argument [all...] |
/frameworks/base/core/java/android/hardware/ |
H A D | Camera.java | 2690 * video output; otherwise, null is returned. 3808 * @param output focus distances in meters. output must be a float 3815 public void getFocusDistances(float[] output) { argument 3816 if (output == null || output.length != 3) { 3818 "output must be a float array with three elements."); 3820 splitFloat(get(KEY_FOCUS_DISTANCES), output); 3978 * output. This should be called before starting preview for the best 4104 private void splitInt(String str, int[] output) { argument 4116 splitFloat(String str, float[] output) argument [all...] |
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
H A D | LegacyCameraDevice.java | 314 * Configure the device with a set of output surfaces. 330 Surface output = outputs.valueAt(i); 331 if (output == null) { 335 if (!output.isValid()) { 336 Log.e(TAG, "configureOutputs - invalid output surfaces are not allowed"); 344 Size s = getSurfaceSize(output); 345 int surfaceType = detectSurfaceType(output); 347 boolean flexibleConsumer = isFlexibleConsumer(output); 354 // IMPLEMENTATION_DEFINED output sizes, and is publicly visible in the 364 sizedSurfaces.add(new Pair<>(output, 588 isFlexibleConsumer(Surface output) argument 601 isPreviewConsumer(Surface output) argument 619 isVideoEncoderConsumer(Surface output) argument [all...] |
/frameworks/base/core/java/android/hardware/camera2/params/ |
H A D | StreamConfigurationMap.java | 49 * <p>This is the authoritative list for all <!-- input/ -->output formats (and sizes respectively 85 * and thus needs a separate list of slow high-resolution output sizes 198 * Get the image {@code format} output formats in this stream configuration. 212 return getPublicFormats(/*output*/true); 216 * Get the image {@code format} output formats for a reprocessing input format. 220 * listed in the return value of this method. Including any other output Surface as a target 221 * will throw an IllegalArgumentException. If no output format is supported given the input 254 return getPublicFormats(/*output*/false); 267 return getPublicFormatSizes(format, /*output*/false, /*highRes*/false); 271 * Determine whether or not output surface 949 checkArgumentFormatSupported(int format, boolean output) argument 1251 getPublicFormatSizes(int format, boolean output, boolean highRes) argument 1264 getInternalFormatSizes(int format, int dataspace, boolean output, boolean highRes) argument 1326 getPublicFormats(boolean output) argument 1349 getFormatsMap(boolean output) argument 1393 getPublicFormatCount(boolean output) argument [all...] |
/frameworks/base/core/java/android/hardware/camera2/utils/ |
H A D | SurfaceUtils.java | 111 public static boolean isFlexibleConsumer(Surface output) { argument 112 return LegacyCameraDevice.isFlexibleConsumer(output); 116 * A high speed output surface can only be preview or hardware encoder surface. 118 * @param surface The high speed output surface to be checked. 168 // Each output surface must be either preview surface or recording surface. 171 throw new IllegalArgumentException("This output surface is neither preview nor " 176 throw new IllegalArgumentException("This output surface can not be both preview" 181 // For 2 output surface case, they shouldn't be same type. 190 throw new IllegalArgumentException("The 2 output surfaces must have different"
|
/frameworks/base/core/java/android/security/keymaster/ |
H A D | OperationResult.java | 33 public final byte[] output; field in class:OperationResult 50 int resultCode, IBinder token, long operationHandle, int inputConsumed, byte[] output, 56 this.output = output; 65 output = in.createByteArray(); 80 out.writeByteArray(output); 49 OperationResult( int resultCode, IBinder token, long operationHandle, int inputConsumed, byte[] output, KeymasterArguments outParams) argument
|
/frameworks/base/core/java/android/text/ |
H A D | Html.java | 91 Editable output, XMLReader xmlReader); 551 // Don't output the dummy character underlying the image. 90 handleTag(boolean opening, String tag, Editable output, XMLReader xmlReader) argument
|