Home
last modified time | relevance | path

Searched refs:codecFlags (Results 1 – 12 of 12) sorted by relevance

/cts/tests/media/common/src/android/mediav2/common/cts/
DCodecDecoderBlockModelDrmTestBase.java118 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()
DCodecDecoderBlockModelTestBase.java157 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()
DCodecDecoderDrmTestBase.java216 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()
DCodecDecoderBlockModelMultiAccessUnitDrmTestBase.java151 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
DCodecDecoderMultiAccessUnitDrmTestBase.java149 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()
DCodecDecoderMultiAccessUnitTestBase.java120 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()
DCodecDecoderBlockModelMultiAccessUnitTestBase.java111 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
DCodecDecoderTestBase.java212 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()
DCodecEncoderSurfaceTestBase.java289 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/
DAudioPlaybackLoad.java113 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()
DCodecTranscoderTestBase.java162 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()
DCodecTestBase.java703 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()