Searched refs:outputBufferId (Results 1 – 2 of 2) sorted by relevance
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/main/java/com/android/media/benchmark/library/ |
D | Decoder.java | 133 int outputBufferId, @NonNull MediaCodec.BufferInfo bufferInfo) { in decode() 135 onOutputAvailable(mediaCodec, outputBufferId, bufferInfo); in decode() 192 int outputBufferId = in decode() local 194 if (outputBufferId < 0) { in decode() 195 if (outputBufferId == MediaCodec.INFO_OUTPUT_FORMAT_CHANGED) { in decode() 198 } else if (outputBufferId == MediaCodec.INFO_OUTPUT_BUFFERS_CHANGED) { in decode() 200 } else if (outputBufferId != MediaCodec.INFO_TRY_AGAIN_LATER) { in decode() 203 + " returned invalid index " + outputBufferId); in decode() 209 Log.d(TAG, "Dequeue O/P buffer with BufferID " + outputBufferId); in decode() 211 onOutputAvailable(mCodec, outputBufferId, outputBufferInfo); in decode() [all …]
|
D | Encoder.java | 166 int outputBufferId, in encode() 169 onOutputAvailable(mediaCodec, outputBufferId, bufferInfo); in encode() 219 int outputBufferId = in encode() local 221 if (outputBufferId < 0) { in encode() 222 if (outputBufferId == MediaCodec.INFO_OUTPUT_FORMAT_CHANGED) { in encode() 225 } else if (outputBufferId != MediaCodec.INFO_TRY_AGAIN_LATER) { in encode() 227 outputBufferId); in encode() 233 Log.d(TAG, "Dequeue O/P buffer with BufferID " + outputBufferId); in encode() 235 onOutputAvailable(mCodec, outputBufferId, outputBufferInfo); in encode() 242 private void onOutputAvailable(MediaCodec mediaCodec, int outputBufferId, in onOutputAvailable() argument [all …]
|