/cts/tests/media/common/src/android/mediav2/common/cts/ |
D | CodecDecoderBlockModelDrmTestBase.java | 118 int codecFlags = 0; in enqueueInput() local 120 codecFlags |= MediaCodec.BUFFER_FLAG_KEY_FRAME; in enqueueInput() 123 codecFlags |= MediaCodec.BUFFER_FLAG_PARTIAL_FRAME; in enqueueInput() 126 codecFlags |= MediaCodec.BUFFER_FLAG_END_OF_STREAM; in enqueueInput() 131 + " flags: " + codecFlags); in enqueueInput() 142 request.setFlags(codecFlags); in enqueueInput() 144 if (sampleSize > 0 && (codecFlags & (MediaCodec.BUFFER_FLAG_CODEC_CONFIG in enqueueInput()
|
D | CodecDecoderBlockModelTestBase.java | 157 int codecFlags = 0; in enqueueInput() local 159 codecFlags |= MediaCodec.BUFFER_FLAG_KEY_FRAME; in enqueueInput() 162 codecFlags |= MediaCodec.BUFFER_FLAG_PARTIAL_FRAME; in enqueueInput() 165 codecFlags |= MediaCodec.BUFFER_FLAG_END_OF_STREAM; in enqueueInput() 170 + " flags: " + codecFlags); in enqueueInput() 176 request.setFlags(codecFlags); in enqueueInput() 178 if (sampleSize > 0 && (codecFlags & (MediaCodec.BUFFER_FLAG_CODEC_CONFIG in enqueueInput()
|
D | CodecDecoderDrmTestBase.java | 216 int codecFlags = 0; in enqueueInput() local 218 codecFlags |= MediaCodec.BUFFER_FLAG_KEY_FRAME; in enqueueInput() 221 codecFlags |= MediaCodec.BUFFER_FLAG_PARTIAL_FRAME; in enqueueInput() 224 codecFlags |= MediaCodec.BUFFER_FLAG_END_OF_STREAM; in enqueueInput() 229 + " flags: " + codecFlags); in enqueueInput() 232 mCodec.queueSecureInputBuffer(bufferIndex, 0, cryptoInfo, pts, codecFlags); in enqueueInput() 234 mCodec.queueInputBuffer(bufferIndex, 0, size, pts, codecFlags); in enqueueInput() 236 if (size > 0 && (codecFlags & (MediaCodec.BUFFER_FLAG_CODEC_CONFIG in enqueueInput()
|
D | CodecDecoderBlockModelMultiAccessUnitDrmTestBase.java | 151 int codecFlags = 0; in enqueueInput() local 153 codecFlags |= MediaCodec.BUFFER_FLAG_KEY_FRAME; in enqueueInput() 156 codecFlags |= MediaCodec.BUFFER_FLAG_PARTIAL_FRAME; in enqueueInput() 159 codecFlags |= MediaCodec.BUFFER_FLAG_END_OF_STREAM; in enqueueInput() 163 bufferInfo.set(mLinearInputBlock.getOffset(), size, pts, codecFlags); in enqueueInput() local
|
D | CodecDecoderMultiAccessUnitDrmTestBase.java | 149 int codecFlags = 0; in enqueueInput() local 151 codecFlags |= MediaCodec.BUFFER_FLAG_KEY_FRAME; in enqueueInput() 154 codecFlags |= MediaCodec.BUFFER_FLAG_PARTIAL_FRAME; in enqueueInput() 157 codecFlags |= MediaCodec.BUFFER_FLAG_END_OF_STREAM; in enqueueInput() 161 bufferInfo.set(offset, size, pts, codecFlags); in enqueueInput()
|
D | CodecDecoderMultiAccessUnitTestBase.java | 120 int codecFlags = 0; in enqueueInput() local 122 codecFlags |= MediaCodec.BUFFER_FLAG_KEY_FRAME; in enqueueInput() 125 codecFlags |= MediaCodec.BUFFER_FLAG_PARTIAL_FRAME; in enqueueInput() 128 codecFlags |= MediaCodec.BUFFER_FLAG_END_OF_STREAM; in enqueueInput() 132 bufferInfo.set(offset, size, pts, codecFlags); in enqueueInput()
|
D | CodecDecoderBlockModelMultiAccessUnitTestBase.java | 111 int codecFlags = 0; in enqueueInput() local 113 codecFlags |= MediaCodec.BUFFER_FLAG_KEY_FRAME; in enqueueInput() 116 codecFlags |= MediaCodec.BUFFER_FLAG_PARTIAL_FRAME; in enqueueInput() 119 codecFlags |= MediaCodec.BUFFER_FLAG_END_OF_STREAM; in enqueueInput() 123 bufferInfo.set(mLinearInputBlock.getOffset(), size, pts, codecFlags); in enqueueInput() local
|
D | CodecDecoderTestBase.java | 212 int codecFlags = 0; in enqueueInput() local 214 codecFlags |= MediaCodec.BUFFER_FLAG_KEY_FRAME; in enqueueInput() 217 codecFlags |= MediaCodec.BUFFER_FLAG_PARTIAL_FRAME; in enqueueInput() 220 codecFlags |= MediaCodec.BUFFER_FLAG_END_OF_STREAM; in enqueueInput() 225 + " flags: " + codecFlags); in enqueueInput() 227 mCodec.queueInputBuffer(bufferIndex, 0, size, pts, codecFlags); in enqueueInput() 228 if (size > 0 && (codecFlags & (MediaCodec.BUFFER_FLAG_CODEC_CONFIG in enqueueInput()
|
D | CodecEncoderSurfaceTestBase.java | 289 int codecFlags = 0; in enqueueDecoderInput() local 291 codecFlags |= MediaCodec.BUFFER_FLAG_KEY_FRAME; in enqueueDecoderInput() 294 codecFlags |= MediaCodec.BUFFER_FLAG_PARTIAL_FRAME; in enqueueDecoderInput() 297 codecFlags |= MediaCodec.BUFFER_FLAG_END_OF_STREAM; in enqueueDecoderInput() 302 + " flags: " + codecFlags); in enqueueDecoderInput() 304 mDecoder.queueInputBuffer(bufferIndex, 0, size, pts, codecFlags); in enqueueDecoderInput() 305 if (size > 0 && (codecFlags & (MediaCodec.BUFFER_FLAG_CODEC_CONFIG in enqueueDecoderInput()
|
/cts/tests/mediapc/src/android/mediapc/cts/ |
D | AudioPlaybackLoad.java | 113 int codecFlags = 0; in enqueueInput() local 115 codecFlags |= MediaCodec.BUFFER_FLAG_KEY_FRAME; in enqueueInput() 117 mCodec.queueInputBuffer(bufferIndex, 0, size, mBasePts + pts, codecFlags); in enqueueInput() 118 if (size > 0 && (codecFlags & MediaCodec.BUFFER_FLAG_CODEC_CONFIG) == 0) { in enqueueInput()
|
D | CodecTranscoderTestBase.java | 162 int codecFlags = 0; in enqueueDecoderInput() local 164 codecFlags |= MediaCodec.BUFFER_FLAG_KEY_FRAME; in enqueueDecoderInput() 167 codecFlags |= MediaCodec.BUFFER_FLAG_END_OF_STREAM; in enqueueDecoderInput() 170 mDecoder.queueInputBuffer(bufferIndex, 0, size, pts, codecFlags); in enqueueDecoderInput() 171 if (size > 0 && (codecFlags & MediaCodec.BUFFER_FLAG_CODEC_CONFIG) == 0) { in enqueueDecoderInput() 663 int codecFlags = 0; in enqueueDecoderInput() local 665 codecFlags |= MediaCodec.BUFFER_FLAG_KEY_FRAME; in enqueueDecoderInput() 667 mDecoder.queueInputBuffer(bufferIndex, 0, size, mBasePts + pts, codecFlags); in enqueueDecoderInput() 668 if (size > 0 && (codecFlags & MediaCodec.BUFFER_FLAG_CODEC_CONFIG) == 0) { in enqueueDecoderInput()
|
D | CodecTestBase.java | 703 int codecFlags = 0; in enqueueInput() local 705 codecFlags |= MediaCodec.BUFFER_FLAG_KEY_FRAME; in enqueueInput() 710 codecFlags |= MediaCodec.BUFFER_FLAG_END_OF_STREAM; in enqueueInput() 714 mCodec.queueSecureInputBuffer(bufferIndex, 0, info, pts, codecFlags); in enqueueInput() 716 mCodec.queueInputBuffer(bufferIndex, 0, size, pts, codecFlags); in enqueueInput() 718 if (size > 0 && (codecFlags & MediaCodec.BUFFER_FLAG_CODEC_CONFIG) == 0) { in enqueueInput()
|