Searched refs:bufferManagerWrapper (Results 1 – 5 of 5) sorted by relevance
/drivers/peripheral/codec/hal/v1.0/buffer_manager/src/ |
D | buffer_manager_wrapper.cpp | 25 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/ |
D | buffer_manager_wrapper.h | 30 …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/ |
D | codec_service.c | 86 … 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/ |
D | codec_instance.c | 52 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/ |
D | codec_instance.h | 65 struct BufferManagerWrapper *bufferManagerWrapper; member
|