Home
last modified time | relevance | path

Searched refs:inBuf (Results 1 – 13 of 13) sorted by relevance

/drivers/peripheral/codec/hdi_service/codec_service_stub/
Dcodec_callback_stub.c77 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()
Dcodec_callback_service.h27 int CodecCallbackInputBufferAvailable(UINTPTR userData, CodecBuffer *inBuf, int32_t *acquireFd);
Dcodec_callback_service.c28 int CodecCallbackInputBufferAvailable(UINTPTR userData, CodecBuffer *inBuf, int32_t *acquireFd) in CodecCallbackInputBufferAvailable() argument
Dcodec_service.c68 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/
Dcodec_callback.h44 CodecBuffer *inBuf, int32_t *acquireFd);
Dcodec_callback_proxy.c118 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/
Dcomponent_node.h51 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/
Dcomponent_node.cpp42 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/
Dcodec_encode_test_async.c458 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()
Dcodec_decode_test_async.c577 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()
Dcodec_encode_test_ipc.c294 int32_t TestInputBufferAvailable(UINTPTR userData, CodecBuffer *inBuf, int32_t *acquireFd) in TestInputBufferAvailable() argument
Dcodec_decode_test_ipc.c406 int32_t TestInputBufferAvailable(UINTPTR userData, CodecBuffer *inBuf, int32_t *acquireFd) in TestInputBufferAvailable() argument
/drivers/peripheral/codec/interfaces/include/
Dcodec_type.h396 int32_t (*InputBufferAvailable)(UINTPTR userData, CodecBuffer *inBuf, int32_t *acquireFd);