/drivers/peripheral/codec/hdi_service/codec_service_stub/ |
D | codec_callback_stub.c | 77 CodecBuffer *inBuf = NULL; in SerCodecInputBufferAvailable() local 92 inBuf = (CodecBuffer *)OsalMemAlloc(sizeof(CodecBuffer) + sizeof(CodecBufferInfo) * bufCnt); in SerCodecInputBufferAvailable() 93 if (inBuf == NULL) { in SerCodecInputBufferAvailable() 97 inBuf->bufferCnt = bufCnt; in SerCodecInputBufferAvailable() 98 if (CodecSerParseCodecBuffer(data, inBuf)) { in SerCodecInputBufferAvailable() 100 OsalMemFree(inBuf); in SerCodecInputBufferAvailable() 103 ret = serviceImpl->callback.InputBufferAvailable((UINTPTR)userData, inBuf, &acquireFd); in SerCodecInputBufferAvailable() 106 OsalMemFree(inBuf); in SerCodecInputBufferAvailable() 109 OsalMemFree(inBuf); in SerCodecInputBufferAvailable()
|
D | codec_callback_service.h | 27 int CodecCallbackInputBufferAvailable(UINTPTR userData, CodecBuffer *inBuf, int32_t *acquireFd);
|
D | codec_callback_service.c | 28 int CodecCallbackInputBufferAvailable(UINTPTR userData, CodecBuffer *inBuf, int32_t *acquireFd) in CodecCallbackInputBufferAvailable() argument
|
D | codec_service.c | 68 static int32_t CodecInputBufferAvailable(UINTPTR userData, CodecBuffer *inBuf, int32_t *acquireFd) in CodecInputBufferAvailable() argument 75 if (inBuf == NULL || inBuf->bufferCnt == 0) { in CodecInputBufferAvailable() 79 CodecBuffer *inputInfo = GetInputInfo(instance, inBuf->bufferId); in CodecInputBufferAvailable() 84 CopyCodecBufferWithTypeSwitch(instance, inputInfo, inBuf, true); in CodecInputBufferAvailable()
|
/drivers/peripheral/codec/hdi_service/codec_proxy/ |
D | codec_callback.h | 44 CodecBuffer *inBuf, int32_t *acquireFd);
|
D | codec_callback_proxy.c | 118 CodecBuffer *inBuf, int32_t *acquireFd) in CodecCallbackProxyInputBufferAvailable() argument 123 if (inBuf == NULL || self == NULL) { in CodecCallbackProxyInputBufferAvailable() 141 if (CodecProxyPackCodecBuffer(data, inBuf)) { in CodecCallbackProxyInputBufferAvailable()
|
/drivers/peripheral/codec/hal/passthrough/adapter/include/ |
D | component_node.h | 51 int32_t static InputBufferAvailable(UINTPTR userData, CodecBuffer *inBuf, int32_t *acquireFd); 67 int32_t OnEmptyBufferDone(CodecBuffer *inBuf, int32_t *acquireFd);
|
/drivers/peripheral/codec/hal/passthrough/adapter/src/ |
D | component_node.cpp | 42 int32_t ComponentNode::InputBufferAvailable(UINTPTR userData, CodecBuffer *inBuf, int32_t *acquireF… in InputBufferAvailable() argument 46 node->OnEmptyBufferDone(inBuf, acquireFd); in InputBufferAvailable() 364 int32_t ComponentNode::OnEmptyBufferDone(CodecBuffer *inBuf, int32_t *acquireFd) in OnEmptyBufferDone() argument 366 if (omxCallback_ == nullptr || inBuf == nullptr || omxCallback_->EmptyBufferDone == nullptr) { in OnEmptyBufferDone() 372 Common::ConvertCodecBufferToOmxCodecBuffer(omxCodecBuffer, *inBuf); in OnEmptyBufferDone()
|
/drivers/peripheral/codec/test/demo/v1.0/ |
D | codec_encode_test_async.c | 458 static int32_t CodecCallbackInputBufferAvailable(UINTPTR userData, CodecBuffer *inBuf, int32_t *acq… in CodecCallbackInputBufferAvailable() argument 460 if (inBuf == NULL) { in CodecCallbackInputBufferAvailable() 464 ShareMemory *sm = GetShareMemoryById(inBuf->bufferId); in CodecCallbackInputBufferAvailable() 472 inBuf->flag = STREAM_FLAG_EOS; in CodecCallbackInputBufferAvailable() 475 inBuf->buffer[0].length = readSize; in CodecCallbackInputBufferAvailable() 476 …g_codecProxy->CodecQueueInput(g_codecProxy, (CODEC_HANDLETYPE)g_handle, inBuf, QUEUE_TIME_OUT, -1); in CodecCallbackInputBufferAvailable()
|
D | codec_decode_test_async.c | 577 static int32_t CodecCallbackInputBufferAvailable(UINTPTR userData, CodecBuffer *inBuf, int32_t *acq… in CodecCallbackInputBufferAvailable() argument 579 if (inBuf == NULL) { in CodecCallbackInputBufferAvailable() 584 ShareMemory *sm = GetShareMemoryById(inBuf->bufferId); in CodecCallbackInputBufferAvailable() 596 inBuf->flag = STREAM_FLAG_EOS; in CodecCallbackInputBufferAvailable() 599 inBuf->buffer[0].length = readSize; in CodecCallbackInputBufferAvailable() 600 …g_codecProxy->CodecQueueInput(g_codecProxy, (CODEC_HANDLETYPE)g_handle, inBuf, QUEUE_TIME_OUT, -1); in CodecCallbackInputBufferAvailable()
|
D | codec_encode_test_ipc.c | 294 int32_t TestInputBufferAvailable(UINTPTR userData, CodecBuffer *inBuf, int32_t *acquireFd) in TestInputBufferAvailable() argument
|
D | codec_decode_test_ipc.c | 406 int32_t TestInputBufferAvailable(UINTPTR userData, CodecBuffer *inBuf, int32_t *acquireFd) in TestInputBufferAvailable() argument
|
/drivers/peripheral/codec/interfaces/include/ |
D | codec_type.h | 396 int32_t (*InputBufferAvailable)(UINTPTR userData, CodecBuffer *inBuf, int32_t *acquireFd);
|