Home
last modified time | relevance | path

Searched refs:bufidx (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/media/libmediandkjni/
Dnative-media-jni.cpp265 ssize_t bufidx = AMediaCodec_dequeueInputBuffer(codec[t], 5000); in Java_android_media_cts_NativeDecoderTest_getDecodedDataNative() local
266 ALOGV("track %d, input buffer %zd", t, bufidx); in Java_android_media_cts_NativeDecoderTest_getDecodedDataNative()
267 if (bufidx >= 0) { in Java_android_media_cts_NativeDecoderTest_getDecodedDataNative()
269 uint8_t *buf = AMediaCodec_getInputBuffer(codec[t], bufidx, &bufsize); in Java_android_media_cts_NativeDecoderTest_getDecodedDataNative()
280 AMediaCodec_queueInputBuffer(codec[t], bufidx, 0, sampleSize, presentationTimeUs, in Java_android_media_cts_NativeDecoderTest_getDecodedDataNative()
290 int bufidx = AMediaCodec_dequeueInputBuffer(codec[tt], 5000); in Java_android_media_cts_NativeDecoderTest_getDecodedDataNative() local
291 if (bufidx >= 0) { in Java_android_media_cts_NativeDecoderTest_getDecodedDataNative()
292 AMediaCodec_queueInputBuffer(codec[tt], bufidx, 0, 0, 0, in Java_android_media_cts_NativeDecoderTest_getDecodedDataNative()
410 ssize_t bufidx = AMediaCodec_dequeueInputBuffer(codec, 5000); in Java_android_media_cts_NativeDecoderTest_testPlaybackNative() local
411 ALOGV("input buffer %zd", bufidx); in Java_android_media_cts_NativeDecoderTest_testPlaybackNative()
[all …]
/cts/tests/tests/media/src/android/media/cts/
DNativeDecoderTest.java263 int bufidx = codec[t].dequeueInputBuffer(5000); in getDecodedData() local
264 if (bufidx >= 0) { in getDecodedData()
265 Log.i("@@@@", "track " + t + " buffer " + bufidx); in getDecodedData()
266 ByteBuffer buf = inbuffers[t][bufidx]; in getDecodedData()
277 codec[t].queueInputBuffer(bufidx, 0, sampleSize, presentationTimeUs, in getDecodedData()
287 int bufidx = codec[tt].dequeueInputBuffer(5000); in getDecodedData() local
288 if (bufidx >= 0) { in getDecodedData()
289 codec[tt].queueInputBuffer(bufidx, 0, 0, 0, in getDecodedData()
DDecoderTest.java264 int bufidx = dec.dequeueInputBuffer(5000); in testBFrames() local
265 if (bufidx >= 0) { in testBFrames()
266 int n = ex.readSampleData(buf[bufidx], 0); in testBFrames()
272 dec.queueInputBuffer(bufidx, 0, n, time, flags); in testBFrames()
361 int bufidx = dec.dequeueInputBuffer(200 * 1000); in testColorAspects() local
362 if (bufidx >= 0) { in testColorAspects()
363 int n = ex.readSampleData(buf[bufidx], 0); in testColorAspects()
369 dec.queueInputBuffer(bufidx, 0, n, time, flags); in testColorAspects()
373 "codec.dequeueInputBuffer() unrecognized return value: " + bufidx, in testColorAspects()
374 MediaCodec.INFO_TRY_AGAIN_LATER, bufidx); in testColorAspects()
/cts/tests/tests/security/src/android/security/cts/
DStagefrightTest.java392 int bufidx = codec.dequeueInputBuffer(5000); in doStagefrightTestMediaCodec() local
393 if (bufidx >= 0) { in doStagefrightTestMediaCodec()
394 int n = ex.readSampleData(codec.getInputBuffer(bufidx), 0); in doStagefrightTestMediaCodec()
400 codec.queueInputBuffer(bufidx, 0, n, time, flags); in doStagefrightTestMediaCodec()