Home
last modified time | relevance | path

Searched refs:bufferManagerWrapper (Results 1 – 5 of 5) sorted by relevance

/drivers/peripheral/codec/hal/v1.0/buffer_manager/src/
Dbuffer_manager_wrapper.cpp25 static bool IsInputDataBufferReadyImpl(const struct BufferManagerWrapper *bufferManagerWrapper, uin… in IsInputDataBufferReadyImpl() argument
27 if (bufferManagerWrapper == nullptr) { in IsInputDataBufferReadyImpl()
33 …(reinterpret_cast<BufferManager*>(bufferManagerWrapper->inputBufferManager))->GetBuffer(timeoutMs,… in IsInputDataBufferReadyImpl()
37 static CodecBuffer* GetInputDataBufferImpl(const struct BufferManagerWrapper *bufferManagerWrapper,… in GetInputDataBufferImpl() argument
39 if (bufferManagerWrapper == nullptr) { in GetInputDataBufferImpl()
45 …(reinterpret_cast<BufferManager*>(bufferManagerWrapper->inputBufferManager))->GetBuffer(timeoutMs,… in GetInputDataBufferImpl()
49 …ic CodecBuffer* GetUsedInputDataBufferImpl(const struct BufferManagerWrapper *bufferManagerWrapper, in GetUsedInputDataBufferImpl() argument
52 if (bufferManagerWrapper == nullptr) { in GetUsedInputDataBufferImpl()
58 …(reinterpret_cast<BufferManager*>(bufferManagerWrapper->inputBufferManager))->GetUsedBuffer(timeou… in GetUsedInputDataBufferImpl()
62 static void PutInputDataBufferImpl(const struct BufferManagerWrapper *bufferManagerWrapper, CodecBu… in PutInputDataBufferImpl() argument
[all …]
/drivers/peripheral/codec/hal/v1.0/buffer_manager/include/
Dbuffer_manager_wrapper.h30 …bool (*IsInputDataBufferReady)(const struct BufferManagerWrapper *bufferManagerWrapper, uint32_t t…
31 …CodecBuffer* (*GetInputDataBuffer)(const struct BufferManagerWrapper *bufferManagerWrapper, uint32…
32 …CodecBuffer* (*GetUsedInputDataBuffer)(const struct BufferManagerWrapper *bufferManagerWrapper, ui…
33 …void (*PutInputDataBuffer)(const struct BufferManagerWrapper *bufferManagerWrapper, CodecBuffer *i…
34 …void (*PutUsedInputDataBuffer)(const struct BufferManagerWrapper *bufferManagerWrapper, CodecBuffe…
36 …bool (*IsUsedOutputDataBufferReady)(const struct BufferManagerWrapper *bufferManagerWrapper, uint3…
37 …CodecBuffer* (*GetOutputDataBuffer)(const struct BufferManagerWrapper *bufferManagerWrapper, uint3…
38 CodecBuffer* (*GetUsedOutputDataBuffer)(const struct BufferManagerWrapper *bufferManagerWrapper,
40 …void (*PutOutputDataBuffer)(const struct BufferManagerWrapper *bufferManagerWrapper, CodecBuffer *…
41 …void (*PutUsedOutputDataBuffer)(const struct BufferManagerWrapper *bufferManagerWrapper, CodecBuff…
/drivers/peripheral/codec/hdi_service/codec_service_stub/
Dcodec_service.c86 … instance->bufferManagerWrapper->PutUsedInputDataBuffer(instance->bufferManagerWrapper, inputInfo); in CodecInputBufferAvailable()
107 instance->bufferManagerWrapper->PutOutputDataBuffer(instance->bufferManagerWrapper, outputInfo); in CodecOutputBufferAvailable()
111 output = instance->bufferManagerWrapper->GetUsedOutputDataBuffer( in CodecOutputBufferAvailable()
112 instance->bufferManagerWrapper, QUEUE_TIME_OUT); in CodecOutputBufferAvailable()
458 if (instance == NULL || instance->bufferManagerWrapper == NULL) { in CodecQueueInput()
481 instance->bufferManagerWrapper->PutUsedInputDataBuffer(instance->bufferManagerWrapper, dup); in CodecQueueInput()
486 instance->bufferManagerWrapper->PutInputDataBuffer(instance->bufferManagerWrapper, info); in CodecQueueInput()
499 if (instance == NULL || instance->bufferManagerWrapper == NULL) { in CodecDequeueInput()
504 CodecBuffer *info = instance->bufferManagerWrapper->GetUsedInputDataBuffer( in CodecDequeueInput()
505 instance->bufferManagerWrapper, timeoutMs); in CodecDequeueInput()
[all …]
/drivers/peripheral/codec/hal/v1.0/codec_instance/src/
Dcodec_instance.c52 struct BufferManagerWrapper *bmWrapper = instance->bufferManagerWrapper; in WaitForOutputDataBuffer()
104 struct BufferManagerWrapper *bmWrapper = instance->bufferManagerWrapper; in CodecTaskThread()
155 … if (instance == NULL || instance->bufferManagerWrapper == NULL || inputInfoSendToClient == NULL) { in GetUsedInputInfo()
160 CodecBuffer *inputInfo = instance->bufferManagerWrapper->GetUsedInputDataBuffer( in GetUsedInputInfo()
161 instance->bufferManagerWrapper, QUEUE_TIME_OUT); in GetUsedInputInfo()
183 …if (instance == NULL || instance->bufferManagerWrapper == NULL || outputInfoSendToClient == NULL) { in GetFilledOutputInfo()
188 CodecBuffer *outputInfo = instance->bufferManagerWrapper->GetOutputDataBuffer( in GetFilledOutputInfo()
189 instance->bufferManagerWrapper, QUEUE_TIME_OUT); in GetFilledOutputInfo()
312 instance->bufferManagerWrapper = GetBufferManager(); in InitCodecInstance()
313 if (instance->bufferManagerWrapper == NULL) { in InitCodecInstance()
[all …]
/drivers/peripheral/codec/hal/v1.0/codec_instance/include/
Dcodec_instance.h65 struct BufferManagerWrapper *bufferManagerWrapper; member