/frameworks/base/media/mca/filterpacks/native/imageproc/ |
H A D | invert.c | 22 char* output, 33 // Get the input and output pointers 35 char* output_ptr = output; 19 invert_process(const char** inputs, const int* input_sizes, int input_count, char* output, int output_size, void* user_data) argument
|
H A D | to_rgba.c | 22 char* output, 33 // Get the input and output pointers 35 char* output_ptr = output; 53 char* output, 64 // Get the input and output pointers 66 char* output_ptr = output; 85 char* output, 96 // Get the input and output pointers 98 char* output_ptr = output; 117 char* output, 19 gray_to_rgb_process(const char** inputs, const int* input_sizes, int input_count, char* output, int output_size, void* user_data) argument 50 rgba_to_rgb_process(const char** inputs, const int* input_sizes, int input_count, char* output, int output_size, void* user_data) argument 82 gray_to_rgba_process(const char** inputs, const int* input_sizes, int input_count, char* output, int output_size, void* user_data) argument 114 rgb_to_rgba_process(const char** inputs, const int* input_sizes, int input_count, char* output, int output_size, void* user_data) argument [all...] |
H A D | brightness.c | 51 char* output, 62 LOGE("Brightness: Input-output sizes do not match up. %d vs. %d!", input_sizes[0], output_size); 66 // Get the input and output pointers 68 int* output_ptr = (int*)output; 71 LOGE("Brightness: No input or output pointer found!"); 48 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 | 46 char* output, 57 LOGE("Contrast: Input-output sizes do not match up. %d vs. %d!", input_sizes[0], output_size); 61 // Get the input and output pointers 63 char* output_ptr = output; 65 LOGE("Contrast: No input or output pointer found!"); 43 contrast_process(const char** inputs, const int* input_sizes, int input_count, char* output, int output_size, void* user_data) argument
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
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);
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/ |
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 | PixelUtils.java | 28 * <p>The transformation is specified by specifying the initial offset in the output buffer, the 37 * @param output The output buffer to hold the transformed pixel data. 40 * @param offset The start offset in the output (in pixels) 45 ByteBuffer output, 51 if (input.remaining() != output.remaining()) { 52 throw new IllegalArgumentException("Input and output buffers must have the same size!"); 55 } else if (output.remaining() % 4 != 0) { 60 } else if ((width * height * 4) != output.remaining()) { 64 nativeCopyPixels(input, output, widt 44 copyPixels(ByteBuffer input, ByteBuffer output, int width, int height, int offset, int pixStride, int rowStride) argument 67 nativeCopyPixels(ByteBuffer input, ByteBuffer output, int width, int height, int offset, int pixStride, int rowStride) argument [all...] |
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...] |
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/include/ |
H A D | FwdLockEngine.h | 288 * the output converted data and offset. In this case the 518 FwdLockConv_Output_t output; member in class:android::FwdLockEngine::ConvertSession 522 memset(&output, 0, sizeof(FwdLockConv_Output_t));
|
/frameworks/base/packages/SharedStorageBackup/src/com/android/sharedstoragebackup/ |
H A D | SharedStorageAgent.java | 37 public void onFullBackup(FullBackupDataOutput output) throws IOException { argument 56 fullBackupFileTree(null, domain, v.getPath(), externalFilesDirFilter, output);
|
/frameworks/base/libs/hwui/utils/ |
H A D | Blur.cpp | 71 uint8_t* output = dest + y * width; local 101 *output = (uint8_t)blurredPixel; 102 output ++; 113 uint8_t* output = dest + y * width; local 145 *output = (uint8_t) blurredPixel; 146 output++;
|
/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
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
H A D | MediaPlayerStressTest.java | 69 //Test result output file 72 private void writeTestOutput(String filename, Writer output) throws Exception{ argument 73 output.write("File Name: " + filename); 74 output.write(" Complete: " + CodecTest.onCompleteSuccess); 75 output.write(" Error: " + CodecTest.mPlaybackError); 76 output.write(" Unknown Info: " + CodecTest.mMediaInfoUnknownCount); 77 output.write(" Track Lagging: " + CodecTest.mMediaInfoVideoTrackLaggingCount); 78 output.write(" Bad Interleaving: " + CodecTest.mMediaInfoBadInterleavingCount); 79 output.write(" Not Seekable: " + CodecTest.mMediaInfoNotSeekableCount); 80 output 84 writeTestSummary(Writer 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/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | post_filter.cpp | 34 uint8 *output) 54 oscl_memcpy(output, decodedFrame, size); 55 oscl_memcpy(output + size, decodedFrame + size, (size >> 2)); 56 oscl_memcpy(output + size + (size >> 2), decodedFrame + size + (size >> 2), (size >> 2)); 75 CombinedHorzVertRingFilter(output, width, height, QP_store, 0, pp_mod); 83 CombinedHorzVertFilter(output, width, height, 88 CombinedHorzVertFilter_NoSoftDeblocking(output, width, height, 94 Deringing_Luma(output, width, height, QP_store, 103 output += size; 107 CombinedHorzVertRingFilter(output, (in 31 PostFilter( VideoDecData *video, int filter_type, uint8 *output) argument [all...] |
/frameworks/av/services/camera/libcameraservice/device3/ |
H A D | Camera3IOStreamBase.cpp | 199 bool output) { 215 res = returnBufferCheckedLocked(buffer, timestamp, output, 238 if (output) { 196 returnAnyBufferLocked( const camera3_stream_buffer &buffer, nsecs_t timestamp, bool output) argument
|
H A D | Camera3InputStream.cpp | 70 ALOGE("%s: Stream %d: Can't acquire next output buffer: %s (%d)", 93 bool output, 98 (void)output; 99 ALOG_ASSERT(!output, "Expected output to be false"); 161 return returnAnyBufferLocked(buffer, /*timestamp*/0, /*output*/false); 90 returnBufferCheckedLocked( const camera3_stream_buffer &buffer, nsecs_t timestamp, bool output, sp<Fence> *releaseFenceOut) argument
|
/frameworks/base/core/java/android/app/backup/ |
H A D | FullBackup.java | 64 String linkdomain, String rootpath, String path, BackupDataOutput output); 75 * If the {@code mode} argument is negative, then the resulting output file will not 78 * @param data Socket supplying the data to be copied to the output file. If the 79 * output is a directory, this may be {@code null}. 85 * the output file or directory. group/all rwx modes are stripped even if set 89 * last modification time of the output file. if the {@code mode} parameter is 105 // Pull the data from the pipe, copying it to the output file, until we're done 63 backupToTar(String packageName, String domain, String linkdomain, String rootpath, String path, BackupDataOutput output) argument
|
/frameworks/base/core/java/android/widget/ |
H A D | AbsoluteLayout.java | 217 public String debug(String output) { argument 218 return output + "Absolute.LayoutParams={width="
|
/frameworks/base/media/mca/filterfw/jni/ |
H A D | jni_native_program.cpp | 133 jobject output) { 162 // Get the output buffer 165 if (output) { 166 NativeFrame* output_frame = ConvertFromJava<NativeFrame>(env, output); 168 ALOGE("NativeProgram: Could not grab NativeFrame output!"); 130 Java_android_filterfw_core_NativeProgram_callNativeProcess(JNIEnv* env, jobject thiz, jobjectArray inputs, jobject output) argument
|
/frameworks/base/services/java/com/android/server/ |
H A D | SystemBackupAgent.java | 87 private void fullWallpaperBackup(FullBackupDataOutput output) { argument 93 WALLPAPER_INFO_DIR, WALLPAPER_INFO, output.getData()); 95 WALLPAPER_IMAGE_DIR, WALLPAPER_IMAGE, output.getData());
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/ |
H A D | CpuVideoTrackDecoder.java | 66 // Find a codec for our video that can output to one of our supported color-spaces 102 // Calculate output dimensions 110 // Create output frame 130 * Copy the input data to the output data applying the specified rotation. 133 * @param output Buffer for the output image data 136 private void copyRotate(ByteBuffer input, ByteBuffer output, int rotation) { argument 164 PixelUtils.copyPixels(input, output, mWidth, mHeight, offset, pixStride, rowStride); 230 ByteBuffer input, ByteBuffer output, int colorFormat, int width, int height) { 233 ColorSpace.convertArgb8888ToRgba8888(input, output, widt 229 convertImage( ByteBuffer input, ByteBuffer output, int colorFormat, int width, int height) argument [all...] |
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/ |
H A D | ErrorCalculator.java | 120 public void calcErrorHeatmapRS(Bitmap ideal, Bitmap given, Bitmap output) { argument 129 mOutputPixelsAllocation = Allocation.createFromBitmap(mRS, output, 132 mOutputPixelsAllocation.copyTo(output);
|
/frameworks/compile/libbcc/lib/Support/ |
H A D | Disassembler.cpp | 189 // Check the state of the specified output file. 194 // Open the output file decorated in llvm::raw_ostream. 195 llvm::raw_ostream *output = pOutput.dup(); local 196 if (output == NULL) { 202 Disassemble(*output, pTriple, pFuncName, pFunc, FuncSize); 204 // Close the output before return. 205 delete output;
|