Home
last modified time | relevance | path

Searched refs:acquireFd (Results 1 – 22 of 22) sorted by relevance

/drivers/peripheral/codec/hdi_service/codec_service_stub/
Dcodec_callback_service.h27 int CodecCallbackInputBufferAvailable(UINTPTR userData, CodecBuffer *inBuf, int32_t *acquireFd);
28 int CodecCallbackOutputBufferAvailable(UINTPTR userData, CodecBuffer *outBuf, int32_t *acquireFd);
Dcodec_callback_service.c28 int CodecCallbackInputBufferAvailable(UINTPTR userData, CodecBuffer *inBuf, int32_t *acquireFd) in CodecCallbackInputBufferAvailable() argument
33 int CodecCallbackOutputBufferAvailable(UINTPTR userData, CodecBuffer *outBuf, int32_t *acquireFd) in CodecCallbackOutputBufferAvailable() argument
Dcodec_callback_stub.c78 int32_t acquireFd; in SerCodecInputBufferAvailable() local
103 ret = serviceImpl->callback.InputBufferAvailable((UINTPTR)userData, inBuf, &acquireFd); in SerCodecInputBufferAvailable()
120 int32_t acquireFd; in SerCodecOutputBufferAvailable() local
145 ret = serviceImpl->callback.OutputBufferAvailable((UINTPTR)userData, outBuf, &acquireFd); in SerCodecOutputBufferAvailable()
Dcodec_service.h47 int32_t CodecDequeueInput(CODEC_HANDLETYPE handle, uint32_t timeoutMs, int32_t *acquireFd, CodecBuf…
49 int32_t CodecDequeueOutput(CODEC_HANDLETYPE handle, uint32_t timeoutMs, int32_t *acquireFd, CodecBu…
Dcodec_service.c68 static int32_t CodecInputBufferAvailable(UINTPTR userData, CodecBuffer *inBuf, int32_t *acquireFd) in CodecInputBufferAvailable() argument
90 static int32_t CodecOutputBufferAvailable(UINTPTR userData, CodecBuffer *outBuf, int32_t *acquireFd) in CodecOutputBufferAvailable() argument
496 int32_t CodecDequeueInput(CODEC_HANDLETYPE handle, uint32_t timeoutMs, int32_t *acquireFd, CodecBuf… in CodecDequeueInput() argument
507 *acquireFd = -1; in CodecDequeueInput()
564 int32_t CodecDequeueOutput(CODEC_HANDLETYPE handle, uint32_t timeoutMs, int32_t *acquireFd, CodecBu… in CodecDequeueOutput() argument
575 *acquireFd = -1; in CodecDequeueOutput()
Dcodec_stub.c477 int32_t acquireFd = 0; in SerCodecDequeueInput() local
501 …int32_t errNum = CodecDequeueInput((CODEC_HANDLETYPE)(uintptr_t)handle, timeoutMs, &acquireFd, inp… in SerCodecDequeueInput()
509 if (CodecSerPackFenceFd(reply, acquireFd) != HDF_SUCCESS) { in SerCodecDequeueInput()
577 int32_t acquireFd = 0; in SerCodecDequeueOutput() local
604 …int32_t errNum = CodecDequeueOutput((CODEC_HANDLETYPE)(uintptr_t)handle, timeoutMs, &acquireFd, ou… in SerCodecDequeueOutput()
612 if (CodecSerPackFenceFd(reply, acquireFd) != HDF_SUCCESS) { in SerCodecDequeueOutput()
/drivers/peripheral/codec/hdi_service/codec_proxy/
Dcodec_callback.h44 CodecBuffer *inBuf, int32_t *acquireFd);
46 CodecBuffer *outBuf, int32_t *acquireFd);
Dicodec.h73 uint32_t timeoutMs, int32_t *acquireFd, CodecBuffer *inputData);
77 uint32_t timeoutMs, int32_t *acquireFd, CodecBuffer *outInfo);
Dcodec_callback_proxy.c118 CodecBuffer *inBuf, int32_t *acquireFd) in CodecCallbackProxyInputBufferAvailable() argument
157 CodecBuffer *outBuf, int32_t *acquireFd) in CodecCallbackProxyOutputBufferAvailable() argument
Dcodec_proxy.c673 static int32_t CodecProxyDequeueInputParseReply(struct HdfSBuf *reply, int32_t *acquireFd, CodecBuf… in CodecProxyDequeueInputParseReply() argument
675 if (CodecProxyParseFenceFd(reply, acquireFd) != HDF_SUCCESS) { in CodecProxyDequeueInputParseReply()
689 uint32_t timeoutMs, int32_t *acquireFd, CodecBuffer *inputData) in CodecProxyDequeueInput() argument
729 ret = CodecProxyDequeueInputParseReply(reply, acquireFd, inputData); in CodecProxyDequeueInput()
785 uint32_t timeoutMs, int32_t *acquireFd, CodecBuffer *outInfo) in CodecProxyDequeueOutput() argument
790 …if (self == NULL || handle == NULL || acquireFd == NULL || outInfo == NULL || outInfo->bufferCnt =… in CodecProxyDequeueOutput()
822 if (CodecProxyParseFenceFd(reply, acquireFd) != HDF_SUCCESS) { in CodecProxyDequeueOutput()
/drivers/peripheral/codec/hal/passthrough/adapter/include/
Dcomponent_node.h51 int32_t static InputBufferAvailable(UINTPTR userData, CodecBuffer *inBuf, int32_t *acquireFd);
52 int32_t static OutputBufferAvailable(UINTPTR userData, CodecBuffer *outBuf, int32_t *acquireFd);
67 int32_t OnEmptyBufferDone(CodecBuffer *inBuf, int32_t *acquireFd);
68 int32_t OnFillBufferDone(CodecBuffer *outBuf, int32_t *acquireFd);
/drivers/peripheral/codec/interfaces/include/
Dcodec_interface.h243 int32_t CodecDequeueInput(CODEC_HANDLETYPE handle, uint32_t timeoutMs, int *acquireFd, CodecBuffer …
273 int32_t CodecDequeueOutput(CODEC_HANDLETYPE handle, uint32_t timeoutMs, int *acquireFd, CodecBuffer…
Dcodec_type.h396 int32_t (*InputBufferAvailable)(UINTPTR userData, CodecBuffer *inBuf, int32_t *acquireFd);
408 int32_t (*OutputBufferAvailable)(UINTPTR userData, CodecBuffer *outBuf, int32_t *acquireFd);
/drivers/peripheral/codec/hal/passthrough/adapter/src/
Dcomponent_node.cpp42 …t32_t ComponentNode::InputBufferAvailable(UINTPTR userData, CodecBuffer *inBuf, int32_t *acquireFd) in InputBufferAvailable() argument
46 node->OnEmptyBufferDone(inBuf, acquireFd); in InputBufferAvailable()
52 …2_t ComponentNode::OutputBufferAvailable(UINTPTR userData, CodecBuffer *outBuf, int32_t *acquireFd) in OutputBufferAvailable() argument
56 node->OnFillBufferDone(outBuf, acquireFd); in OutputBufferAvailable()
364 int32_t ComponentNode::OnEmptyBufferDone(CodecBuffer *inBuf, int32_t *acquireFd) in OnEmptyBufferDone() argument
374 omxCodecBuffer.fenceFd = *acquireFd; in OnEmptyBufferDone()
382 int32_t ComponentNode::OnFillBufferDone(CodecBuffer *outBuf, int32_t *acquireFd) in OnFillBufferDone() argument
392 omxCodecBuffer.fenceFd = *acquireFd; in OnFillBufferDone()
/drivers/peripheral/codec/hal/v1.0/codec_instance/src/
Dcodec_instance.c212 int32_t acquireFd = 1; in CallbackTaskLoop() local
226 inputInfoSendToClient, &acquireFd); in CallbackTaskLoop()
229 inputInfoSendToClient, &acquireFd); in CallbackTaskLoop()
236 outputInfoSendToClient, &acquireFd); in CallbackTaskLoop()
239 outputInfoSendToClient, &acquireFd); in CallbackTaskLoop()
247 outputInfoSendToClient, &acquireFd); in CallbackTaskLoop()
250 outputInfoSendToClient, &acquireFd); in CallbackTaskLoop()
/drivers/peripheral/codec/test/demo/v1.0/
Dcodec_encode_test_ipc.c294 int32_t TestInputBufferAvailable(UINTPTR userData, CodecBuffer *inBuf, int32_t *acquireFd) in TestInputBufferAvailable() argument
300 int32_t TestOutputBufferAvailable(UINTPTR userData, CodecBuffer *outBuf, int32_t *acquireFd) in TestOutputBufferAvailable() argument
453 int32_t acquireFd = 0; in EncodeLoopHandleInput() local
464 &acquireFd, inputData); in EncodeLoopHandleInput()
506 int32_t acquireFd = 0; in EncodeLoop() local
508 &acquireFd, outputData); in EncodeLoop()
Dcodec_decode_test_ipc.c406 int32_t TestInputBufferAvailable(UINTPTR userData, CodecBuffer *inBuf, int32_t *acquireFd) in TestInputBufferAvailable() argument
412 int32_t TestOutputBufferAvailable(UINTPTR userData, CodecBuffer *outBuf, int32_t *acquireFd) in TestOutputBufferAvailable() argument
539 int32_t acquireFd = 0; in DecodeLoopHandleInput() local
550 &acquireFd, inputData); in DecodeLoopHandleInput()
595 int32_t acquireFd = 0; in DecodeLoop() local
597 &acquireFd, outputData); in DecodeLoop()
Dcodec_encode_test_async.c458 …int32_t CodecCallbackInputBufferAvailable(UINTPTR userData, CodecBuffer *inBuf, int32_t *acquireFd) in CodecCallbackInputBufferAvailable() argument
480 …t32_t CodecCallbackOutputBufferAvailable(UINTPTR userData, CodecBuffer *outBuf, int32_t *acquireFd) in CodecCallbackOutputBufferAvailable() argument
Dcodec_decode_test_async.c577 …int32_t CodecCallbackInputBufferAvailable(UINTPTR userData, CodecBuffer *inBuf, int32_t *acquireFd) in CodecCallbackInputBufferAvailable() argument
604 …t32_t CodecCallbackOutputBufferAvailable(UINTPTR userData, CodecBuffer *outBuf, int32_t *acquireFd) in CodecCallbackOutputBufferAvailable() argument
/drivers/peripheral/codec/test/unittest/hdi_v1.0/
Dcodec_proxy_test.cpp353 int32_t acquireFd; variable
358 …rCode = g_codecObj->CodecDequeueInput(g_codecObj, g_handle, QUEUE_TIME_OUT, &acquireFd, inputInfo);
415 int32_t acquireFd; variable
421 …errorCode = g_codecObj->CodecDequeueOutput(g_codecObj, g_handle, QUEUE_TIME_OUT, &acquireFd, outIn…
/drivers/peripheral/codec/
DREADME_zh.md152 …_t CodecDequeueOutput(CODEC_HANDLETYPE handle, uint32_t timeoutMs, int *acquireFd, OutputInfo *out…
DREADME.md152 …_t CodecDequeueOutput(CODEC_HANDLETYPE handle, uint32_t timeoutMs, int *acquireFd, OutputInfo *out…