/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/opengl/java/android/opengl/ |
H A D | ETC1Util.java | 201 * Helper function that writes an ETC1Texture to an output stream formatted as a PKM file. 203 * @param output the stream to write the formatted texture data to. 206 public static void writeTexture(ETC1Texture texture, OutputStream output) throws IOException { argument 216 output.write(ioBuffer, 0, ETC1.ETC_PKM_HEADER_SIZE); 221 output.write(ioBuffer, 0, chunkSize);
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
H A D | SettingsBackupAgent.java | 484 BackupDataOutput output) { 495 output.writeEntityHeader(key, data.length); 496 output.writeEntityData(data, data.length); 483 writeIfChanged(long oldChecksum, String key, byte[] data, BackupDataOutput output) argument
|
/frameworks/base/packages/SharedStorageBackup/src/com/android/sharedstoragebackup/ |
H A D | SharedStorageAgent.java | 37 public void onFullBackup(FullBackupDataOutput output) throws IOException { argument 58 externalFilesDirFilter /* systemExcludes */, output);
|
/frameworks/base/services/autofill/java/com/android/server/autofill/ |
H A D | AutofillManagerServiceImpl.java | 630 void listSessionsLocked(ArrayList<String> output) { argument 633 output.add((mInfo != null ? mInfo.getServiceInfo().getComponentName()
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
H A D | BackupManagerService.java | 596 AdbBackupParams(ParcelFileDescriptor output, boolean saveApks, boolean saveObbs, argument 599 fd = output; 3456 // renaming *all* the output state files (see below) until that happens. 3856 FullBackupDataOutput output = new FullBackupDataOutput(mPipe); 3865 output); 3874 output); 3880 writeApkToBackup(mPackage, output); 3905 FullBackupEngine(OutputStream output, FullBackupPreflight preflightHook, PackageInfo pkg, argument 3907 mOutput = output; 3966 // Now pull data from the app and stuff it into the output 4021 writeApkToBackup(PackageInfo pkg, FullBackupDataOutput output) argument 5267 SinglePackageBackupRunner(ParcelFileDescriptor output, PackageInfo target, IBackupTransport transport, long quota, int currentOpToken) argument [all...] |
H A D | KeyValueAdbBackupEngine.java | 61 KeyValueAdbBackupEngine(OutputStream output, PackageInfo packageInfo, argument 64 mOutput = output; 106 // Backup finished successfully. Copy the backup data to the output stream. 186 FullBackupDataOutput output = new FullBackupDataOutput(mPipe); 196 output); 205 output); 253 // Now pull data from the app and stuff it into the output
|
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | RootWindowContainer.java | 269 void getWindowsByName(ArrayList<WindowState> output, String name) { argument 278 getWindowsByName(output, name, objectId); 281 private void getWindowsByName(ArrayList<WindowState> output, String name, int objectId) { argument 285 output.add(w); 288 output.add(w);
|
/frameworks/base/services/core/jni/ |
H A D | com_android_server_am_BatteryStatsService.cpp | 186 char *output = (char*)env->GetDirectBufferAddress(outBuf); local 187 char *offset = output;
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/ |
H A D | colorspace.cpp | 57 JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height) { 59 Rgba* const pOutput = static_cast<Rgba*>(env->GetDirectBufferAddress(output)); 96 JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height) { 98 Rgba* pOutput = static_cast<Rgba*>(env->GetDirectBufferAddress(output)); 111 JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height) { 113 Rgba* pOutput = static_cast<Rgba*>(env->GetDirectBufferAddress(output)); 154 JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height) { 156 Rgba* pOutput = static_cast<Rgba*>(env->GetDirectBufferAddress(output)); 56 nativeYuv420pToRgba8888( JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height) argument 95 nativeArgb8888ToRgba8888( JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height) argument 110 nativeRgba8888ToHsva8888( JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height) argument 153 nativeRgba8888ToYcbcra8888( JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height) argument
|
H A D | exposure.cpp | 36 int output = 0; local 44 output++; 47 return (static_cast<float>(output)) / numPixels; 58 int output = 0; local 66 output++; 69 return (static_cast<float>(output)) / numPixels;
|
H A D | pixelutils.cpp | 24 JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height, jint offset, 27 uint32* pOutput = static_cast<uint32*>(env->GetDirectBufferAddress(output)); 23 nativeCopyPixels( JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height, jint offset, jint pixStride, jint rowStride) argument
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | ColorSpace.java | 33 * YUV to RGB conversion is done using the ITU-R BT.601 transformation. The output buffer must 37 * @param output buffer to hold RGBA8888 data. 42 ByteBuffer input, ByteBuffer output, int width, int height) { 44 expectOutputSize(output, width * height * 4); 45 nativeYuv420pToRgba8888(input, output, width, height); 51 * The input data is expected to be encoded in 8-bit interleaved ARGB channels. The output 52 * buffer must be large enough to hold the data. The output buffer may be the same as the 56 * @param output buffer to hold RGBA8888 data. 61 ByteBuffer input, ByteBuffer output, int width, int height) { 63 expectOutputSize(output, widt 41 convertYuv420pToRgba8888( ByteBuffer input, ByteBuffer output, int width, int height) argument 60 convertArgb8888ToRgba8888( ByteBuffer input, ByteBuffer output, int width, int height) argument 79 convertRgba8888ToHsva8888( ByteBuffer input, ByteBuffer output, int width, int height) argument 98 convertRgba8888ToYcbcra8888( ByteBuffer input, ByteBuffer output, int width, int height) argument 113 expectOutputSize(ByteBuffer output, int expectedSize) argument 121 nativeYuv420pToRgba8888( ByteBuffer input, ByteBuffer output, int width, int height) argument 124 nativeArgb8888ToRgba8888( ByteBuffer input, ByteBuffer output, int width, int height) argument 127 nativeRgba8888ToHsva8888( ByteBuffer input, ByteBuffer output, int width, int height) argument 130 nativeRgba8888ToYcbcra8888( ByteBuffer input, ByteBuffer output, int width, int height) argument [all...] |
H A D | ImageShader.java | 250 public void process(FrameImage2D input, FrameImage2D output) { argument 252 RenderTarget renderTarget = output.lockRenderTarget(); 255 output.getWidth(), 256 output.getHeight()); 258 output.unlock(); 261 public void processMulti(FrameImage2D[] inputs, FrameImage2D output) { argument 266 RenderTarget renderTarget = output.lockRenderTarget(); 269 output.getWidth(), 270 output.getHeight()); 274 output 291 processNoInput(FrameImage2D output) argument [all...] |