Home
last modified time | relevance | path

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

/drivers/peripheral/codec/hal/v1.0/codec_instance/include/
Dcodec_instance.h47 struct CodecInstance { struct
85 struct CodecInstance* GetCodecInstance(void); argument
86 int32_t InitCodecInstance(struct CodecInstance *instance, struct CodecOemIf *oemIf);
87 int32_t RunCodecInstance(struct CodecInstance *instance);
88 int32_t StopCodecInstance(struct CodecInstance *instance);
89 int32_t DestroyCodecInstance(struct CodecInstance *instance);
91 int32_t AddInputShm(struct CodecInstance *instance, const CodecBufferInfo *bufferInfo, int32_t buff…
92 int32_t AddOutputShm(struct CodecInstance *instance, const CodecBufferInfo *bufferInfo, int32_t buf…
93 int32_t GetFdById(struct CodecInstance *instance, int32_t id);
94 void ReleaseInputShm(struct CodecInstance *instance);
[all …]
Dcodec_instance_manager.h27 bool AddToCodecInstanceManager(CODEC_HANDLETYPE codecHandle, struct CodecInstance *instance);
28 struct CodecInstance* FindInCodecInstanceManager(CODEC_HANDLETYPE codecHandle);
/drivers/peripheral/codec/hal/v1.0/codec_instance/src/
Dcodec_instance.c50 static int32_t WaitForOutputDataBuffer(struct CodecInstance *instance, CodecBuffer *outputData) in WaitForOutputDataBuffer()
76 struct CodecInstance *instance, CodecBuffer *bufferToOemCodec) in PrepareInputDataBuffer()
103 struct CodecInstance *instance = (struct CodecInstance *)arg; in CodecTaskThread()
153 static int32_t GetUsedInputInfo(struct CodecInstance *instance, CodecBuffer *inputInfoSendToClient) in GetUsedInputInfo()
181 static int32_t GetFilledOutputInfo(struct CodecInstance *instance, CodecBuffer *outputInfoSendToCli… in GetFilledOutputInfo()
209 static void CallbackTaskLoop(struct CodecInstance *instance, CodecBuffer *inputInfoSendToClient, in CallbackTaskLoop()
268 struct CodecInstance *instance = (struct CodecInstance *)arg; in CodecCallbackTaskThread()
290 struct CodecInstance* GetCodecInstance(void) in GetCodecInstance()
292 …struct CodecInstance *instance = (struct CodecInstance *)OsalMemCalloc(sizeof(struct CodecInstance in GetCodecInstance()
305 int32_t InitCodecInstance(struct CodecInstance *instance, struct CodecOemIf *oemIf) in InitCodecInstance()
[all …]
Dcodec_instance_manager.cpp28 bool AddToCodecInstanceManager(CODEC_HANDLETYPE codecHandle, struct CodecInstance *codecInstance) in AddToCodecInstanceManager()
39 struct CodecInstance* FindInCodecInstanceManager(CODEC_HANDLETYPE codecHandle) in FindInCodecInstanceManager()
48 return reinterpret_cast<struct CodecInstance *>(ret); in FindInCodecInstanceManager()
/drivers/peripheral/codec/hdi_service/codec_service_stub/
Dcodec_service.c50 struct CodecInstance *instance = FindInCodecInstanceManager((CODEC_HANDLETYPE)userData); in CodecOnEvent()
70 struct CodecInstance *instance = FindInCodecInstanceManager((CODEC_HANDLETYPE)userData); in CodecInputBufferAvailable()
92 struct CodecInstance *instance = FindInCodecInstanceManager((CODEC_HANDLETYPE)userData); in CodecOutputBufferAvailable()
285 struct CodecInstance *instance = GetCodecInstance(); in CodecCreate()
319 struct CodecInstance *instance = FindInCodecInstanceManager(handle); in CodecDestroy()
368 struct CodecInstance *instance = FindInCodecInstanceManager(handle); in CodecSetParameter()
406 struct CodecInstance *instance = FindInCodecInstanceManager(handle); in CodecStart()
431 struct CodecInstance *instance = FindInCodecInstanceManager(handle); in CodecStop()
447 struct CodecInstance *instance = FindInCodecInstanceManager(handle); in CodecFlush()
457 struct CodecInstance *instance = FindInCodecInstanceManager(handle); in CodecQueueInput()
[all …]