Lines Matching refs:codec

314 void NdkMediaCodecFuzzerBase::invokeCodecFormatAPI(AMediaCodec* codec) {  in invokeCodecFormatAPI()  argument
319 codecFormat = AMediaCodec_getInputFormat(codec); in invokeCodecFormatAPI()
323 codecFormat = AMediaCodec_getOutputFormat(codec); in invokeCodecFormatAPI()
332 bufferIndex = AMediaCodec_dequeueOutputBuffer(codec, &info, timeOutUs); in invokeCodecFormatAPI()
337 codecFormat = AMediaCodec_getBufferFormat(codec, bufferIndex); in invokeCodecFormatAPI()
346 void NdkMediaCodecFuzzerBase::invokeInputBufferOperationAPI(AMediaCodec* codec) { in invokeInputBufferOperationAPI() argument
351 bufferIndex = AMediaCodec_dequeueInputBuffer(codec, timeOutUs); in invokeInputBufferOperationAPI()
356 uint8_t* buffer = AMediaCodec_getInputBuffer(codec, bufferIndex, &bufferSize); in invokeInputBufferOperationAPI()
367 AMediaCodec_queueInputBuffer(codec, bufferIndex, 0 /* offset */, bufferSize, 0 /* time */, in invokeInputBufferOperationAPI()
371 AMediaCodec_queueSecureInputBuffer(codec, bufferIndex, 0 /* offset */, cryptoInfo, in invokeInputBufferOperationAPI()
377 void NdkMediaCodecFuzzerBase::invokeOutputBufferOperationAPI(AMediaCodec* codec) { in invokeOutputBufferOperationAPI() argument
382 bufferIndex = AMediaCodec_dequeueOutputBuffer(codec, &info, timeOutUs); in invokeOutputBufferOperationAPI()
389 (void)AMediaCodec_getOutputBuffer(codec, bufferIndex, &bufferSize); in invokeOutputBufferOperationAPI()
393 AMediaCodec_releaseOutputBuffer(codec, bufferIndex, mFdp->ConsumeBool()); in invokeOutputBufferOperationAPI()
395 AMediaCodec_releaseOutputBufferAtTime(codec, bufferIndex, timeOutUs); in invokeOutputBufferOperationAPI()