/frameworks/base/core/tests/coretests/src/com/android/internal/http/multipart/ |
H A D | MultipartTest.java | 60 StringBuffer output = new StringBuffer(); 62 output.append("--"); 63 output.append(boundry); 64 output.append(CRLF); 66 output.append("Content-Disposition: form-data; name=\"stringpart\""); 67 output.append(CRLF); 68 output.append("Content-Type: text/plain; charset=US-ASCII"); 69 output.append(CRLF); 70 output.append("Content-Transfer-Encoding: 8bit"); 71 output [all...] |
/frameworks/native/libs/gui/ |
H A D | LayerState.cpp | 25 status_t layer_state_t::write(Parcel& output) const 27 output.writeStrongBinder(surface); 28 output.writeInt32(what); 29 output.writeFloat(x); 30 output.writeFloat(y); 31 output.writeInt32(z); 32 output.writeInt32(w); 33 output.writeInt32(h); 34 output.writeInt32(layerStack); 35 output [all...] |
/frameworks/ex/common/tools/ |
H A D | make-iana-tld-pattern.py | 42 output = ' '; 46 output += '+ "' 48 output += '"(' 50 output += '+ "|' 53 output += '(' 56 output += '?:' 61 output += '|' 65 output += '\\\\' # escape the '-' character. 66 output += letter 69 output [all...] |
/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 | 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...] |
/frameworks/base/core/java/android/util/ |
H A D | Base64.java | 35 * of the output (if any). 40 * Encoder flag bit to omit all line terminators (i.e., the output 62 * should not close the output stream it is wrapping when it 72 public byte[] output; field in class:Base64.Coder 76 * Encode/decode another block of input data. this.output is 83 * include any final bytes in the output. 111 * @param flags controls certain features of the decoded output. 129 * @param flags controls certain features of the decoded output. 149 * @param flags controls certain features of the decoded output. 164 // Maybe we got lucky and allocated exactly enough output spac 241 Decoder(int flags, byte[] output) argument 581 Encoder(int flags, byte[] output) argument [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
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 | 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/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/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...] |
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/text/ |
H A D | StringSource.java | 49 Frame output = env.getFrameManager().newFrame(mOutputFormat); 50 output.setObjectValue(mString); 51 output.setTimestamp(Frame.TIMESTAMP_UNKNOWN); 52 pushOutput("string", output);
|
H A D | ToUpperCase.java | 51 Frame output = env.getFrameManager().newFrame(mOutputFormat); 52 output.setObjectValue(inputString.toUpperCase(Locale.getDefault())); 54 pushOutput("uppercase", output);
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/ |
H A D | colorspace.h | 31 JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height); 35 JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height); 39 JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height); 43 JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height);
|
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.h | 31 JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height, jint offset,
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
H A D | DrawOverlayFilter.java | 73 // Create output frame with copy of input 74 Frame output = env.getFrameManager().newFrame(sourceFrame.getFormat()); 75 output.setDataFromFrame(sourceFrame); 77 // Draw onto output 78 mProgram.process(overlayFrame, output); 80 // Push output 81 pushOutput("image", output); 84 output.release();
|
H A D | CrossProcessFilter.java | 112 // Create output frame 113 Frame output = context.getFrameManager().newFrame(inputFormat); 116 mProgram.process(input, output); 118 // Push output 119 pushOutput("image", output); 122 output.release();
|
H A D | NegativeFilter.java | 82 // Create output frame 83 Frame output = context.getFrameManager().newFrame(inputFormat); 91 mProgram.process(input, output); 93 // Push output 94 pushOutput("image", output); 97 output.release();
|
H A D | PosterizeFilter.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();
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/ |
H A D | FrameFetch.java | 51 Frame output = context.fetchFrame(mKey); 52 if (output != null) { 53 pushOutput("frame", output);
|
/frameworks/av/media/img_utils/src/ |
H A D | TiffEntry.cpp | 127 String8 output; local 129 output.appendFormat("[id: %x, type: %d, count: %u, value: '", getTag(), getType(), count); 142 output.appendFormat("%u ", typed_data[i]); 152 output.append(typed_data, len); 158 output.appendFormat("%u ", typed_data[i]); 165 output.appendFormat("%u ", typed_data[i]); 173 output.appendFormat("%u/%u ", typed_data[i], typed_data[i + 1]); 180 output.appendFormat("%d ", typed_data[i]); 187 output.appendFormat("%d ", typed_data[i]); 194 output [all...] |
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/numeric/ |
H A D | SinWaveFilter.java | 58 Frame output = env.getFrameManager().newFrame(mOutputFormat); 59 output.setObjectValue(((float)Math.sin(mValue) + 1.0f) / 2.0f); 60 pushOutput("value", output); 62 output.release();
|
/frameworks/native/libs/gui/tests/ |
H A D | IGraphicBufferProducer_test.cpp | 103 IGraphicBufferProducer::QueueBufferOutput output; local 107 &output); 211 IGraphicBufferProducer::QueueBufferOutput output; local 213 // NULL output returns BAD_VALUE 217 /*output*/NULL)); 223 &output)); 232 IGraphicBufferProducer::QueueBufferOutput output; local 236 &output)); 243 &output)); 347 IGraphicBufferProducer::QueueBufferOutput output; local 377 IGraphicBufferProducer::QueueBufferOutput output; local 388 IGraphicBufferProducer::QueueBufferOutput output; local 406 IGraphicBufferProducer::QueueBufferOutput output; local 421 IGraphicBufferProducer::QueueBufferOutput output; local 430 IGraphicBufferProducer::QueueBufferOutput output; local 444 IGraphicBufferProducer::QueueBufferOutput output; local 455 IGraphicBufferProducer::QueueBufferOutput output; local [all...] |
/frameworks/rs/scriptc/ |
H A D | rs_core.rsh | 125 * Make a script to script call to launch work. One of the input or output is 126 * required to be a valid object. The input and output must be of the same 132 * @param output the allocation to write date into 143 rs_allocation output, const void * usrData, 150 rs_allocation output, const void * usrData); 154 * Make a script to script call to launch work. One of the input or output is 155 * required to be a valid object. The input and output must be of the same 161 * @param output the allocation to write date into 172 rsForEach(rs_script script, rs_allocation input, rs_allocation output, 178 rsForEach(rs_script script, rs_allocation input, rs_allocation output, [all...] |