Home
last modified time | relevance | path

Searched refs:appData (Results 1 - 25 of 45) sorted by relevance

12

/drivers/peripheral/codec/test/benchmarktest/
H A Dcodec_callback_service.cpp30 int32_t CodecCallbackService::EmptyBufferDone(int64_t appData, const OmxCodecBuffer& buffer) in EmptyBufferDone() argument
32 (void)appData; in EmptyBufferDone()
37 int32_t CodecCallbackService::FillBufferDone(int64_t appData, const OmxCodecBuffer& buffer) in FillBufferDone() argument
39 (void)appData; in FillBufferDone()
H A Dcodec_callback_service.h30 int32_t EmptyBufferDone(int64_t appData, const OmxCodecBuffer &buffer) override;
31 int32_t FillBufferDone(int64_t appData, const OmxCodecBuffer &buffer) override;
/drivers/peripheral/codec/test/unittest/idl_omx/
H A Dcodec_callback_service.cpp30 int32_t CodecCallbackService::EmptyBufferDone(int64_t appData, const OmxCodecBuffer& buffer) in EmptyBufferDone() argument
32 (void)appData; in EmptyBufferDone()
37 int32_t CodecCallbackService::FillBufferDone(int64_t appData, const OmxCodecBuffer& buffer) in FillBufferDone() argument
39 (void)appData; in FillBufferDone()
/drivers/peripheral/codec/test/fuzztest/hdi_fuzzer/codeccommonhdi_fuzzer/
H A Dcodeccallback_fuzzer.cpp29 int32_t CodecCallbackFuzz::EmptyBufferDone(int64_t appData, const OHOS::HDI::Codec::V3_0::OmxCodecBuffer &buffer) in EmptyBufferDone() argument
31 (void)appData; in EmptyBufferDone()
36 int32_t CodecCallbackFuzz::FillBufferDone(int64_t appData, const OHOS::HDI::Codec::V3_0::OmxCodecBuffer &buffer) in FillBufferDone() argument
38 (void)appData; in FillBufferDone()
H A Dcodeccallback_fuzzer.h30 int32_t EmptyBufferDone(int64_t appData, const OHOS::HDI::Codec::V3_0::OmxCodecBuffer &buffer) override;
31 int32_t FillBufferDone(int64_t appData, const OHOS::HDI::Codec::V3_0::OmxCodecBuffer &buffer) override;
/drivers/peripheral/codec/hal/src/
H A Dcodec_callback_type_stub.c84 if (!HdfSbufReadInt64(data, &info->appData)) { in ReadEventInfo()
85 CODEC_LOGE("read appData failed!"); in ReadEventInfo()
153 int64_t appData = 0; in SerStubEmptyBufferDone() local
157 if (!HdfSbufReadInt64(data, &appData)) { in SerStubEmptyBufferDone()
158 CODEC_LOGE("read appData size failed!"); in SerStubEmptyBufferDone()
168 ret = serviceImpl->EmptyBufferDone(serviceImpl, appData, &buffer); in SerStubEmptyBufferDone()
187 int64_t appData = 0; in SerStubFillBufferDone() local
190 if (!HdfSbufReadInt64(data, &appData)) { in SerStubFillBufferDone()
191 CODEC_LOGE("read appData size failed!"); in SerStubFillBufferDone()
200 ret = serviceImpl->FillBufferDone(serviceImpl, appData, in SerStubFillBufferDone()
[all...]
H A Dcodec_callback_type_service.c27 static int32_t CodecCallbackTypeEmptyBufferDone(struct CodecCallbackType *self, int64_t appData, in CodecCallbackTypeEmptyBufferDone() argument
34 static int32_t CodecCallbackTypeFillBufferDone(struct CodecCallbackType *self, int64_t appData, in CodecCallbackTypeFillBufferDone() argument
H A Dcodec_component_manager_stub.c84 static int32_t ReadParamsForCreateComponent(struct HdfSBuf *data, char **compName, int64_t *appData, in ReadParamsForCreateComponent() argument
93 if (!HdfSbufReadInt64(data, appData)) { in ReadParamsForCreateComponent()
94 CODEC_LOGE("read appData failed!"); in ReadParamsForCreateComponent()
119 int64_t appData = 0; in SerStubCreateComponent() local
123 ret = ReadParamsForCreateComponent(data, &compName, &appData, &callback); in SerStubCreateComponent()
131 ret = serviceImpl->CreateComponent(&component, &componentId, compName, appData, callback); in SerStubCreateComponent()
H A Dcodec_callback_type_proxy.c56 CODEC_LOGE("write appData failed!"); in WriteArray()
74 if (!HdfSbufWriteInt64(data, info->appData)) { in WriteEventInfo()
75 CODEC_LOGE("write appData failed!"); in WriteEventInfo()
143 static int32_t CodecCallbackTypeProxyEmptyBufferDone(struct CodecCallbackType *self, int64_t appData, in CodecCallbackTypeProxyEmptyBufferDone() argument
166 if (!HdfSbufWriteInt64(data, appData)) { in CodecCallbackTypeProxyEmptyBufferDone()
167 CODEC_LOGE("write appData failed!"); in CodecCallbackTypeProxyEmptyBufferDone()
188 static int32_t CodecCallbackTypeProxyFillBufferDone(struct CodecCallbackType *self, int64_t appData, in CodecCallbackTypeProxyFillBufferDone() argument
211 if (!HdfSbufWriteInt64(data, appData)) { in CodecCallbackTypeProxyFillBufferDone()
212 CODEC_LOGE("write appData failed!"); in CodecCallbackTypeProxyFillBufferDone()
H A Dcodec_component_manager_proxy.c135 static int32_t FillHdfSBufData(struct HdfSBuf *data, char *compName, int64_t appData, in FillHdfSBufData() argument
146 if (!HdfSbufWriteInt64(data, appData)) { in FillHdfSBufData()
147 CODEC_LOGE("write appData failed!"); in FillHdfSBufData()
158 int64_t appData, struct CodecCallbackType *callback) in CreateComponent()
168 int32_t ret = FillHdfSBufData(data, compName, appData, callback); in CreateComponent()
157 CreateComponent(struct CodecComponentType **component, uint32_t *componentId, char *compName, int64_t appData, struct CodecCallbackType *callback) CreateComponent() argument
/drivers/peripheral/codec/interfaces/include/
H A Dcodec_callback_if.h96 * @param appData Indicates the pointer to the upper-layer instance passed to the callback.
104 int32_t (*EmptyBufferDone)(struct CodecCallbackType *self, int64_t appData, const struct OmxCodecBuffer *buffer);
110 * @param appData Indicates the pointer to the upper-layer instance passed to the callback.
118 int32_t (*FillBufferDone)(struct CodecCallbackType *self, int64_t appData, const struct OmxCodecBuffer *buffer);
H A Dcodec_component_manager.h91 * @param appData Indicates the pointer to the value defined by the application.
102 int64_t appData, struct CodecCallbackType *callbacks);
/drivers/peripheral/codec/test/demo/idl/include/
H A Dcodec_hdi_callback.h28 int32_t EmptyBufferDone(int64_t appData, const OHOS::HDI::Codec::V3_0::OmxCodecBuffer &buffer) override;
30 int32_t FillBufferDone(int64_t appData, const OHOS::HDI::Codec::V3_0::OmxCodecBuffer &buffer) override;
/drivers/peripheral/codec/test/demo/idl/src/
H A Dcodec_hdi_callback.cpp32 int32_t CodecHdiCallback::EmptyBufferDone(int64_t appData, const OHOS::HDI::Codec::V3_0::OmxCodecBuffer &buffer) in EmptyBufferDone() argument
40 int32_t CodecHdiCallback::FillBufferDone(int64_t appData, const OHOS::HDI::Codec::V3_0::OmxCodecBuffer &buffer) in FillBufferDone() argument
/drivers/peripheral/codec/hal/v2.0/hdi_impl/include/
H A Dcomponent_node.h36 ComponentNode(struct CodecCallbackType *callback, int64_t appData, const std::string &compName);
69 int32_t SetCallbacks(struct CodecCallbackType *omxCallback, int64_t appData);
77 static OMX_ERRORTYPE OnEvent(OMX_HANDLETYPE component, void *appData, OMX_EVENTTYPE event, uint32_t data1,
80 static OMX_ERRORTYPE OnEmptyBufferDone(OMX_HANDLETYPE component, void *appData, OMX_BUFFERHEADERTYPE *buffer);
82 static OMX_ERRORTYPE OnFillBufferDone(OMX_HANDLETYPE component, void *appData, OMX_BUFFERHEADERTYPE *buffer);
H A Dicomponent_mgr.h35 void *appData, OMX_COMPONENTTYPE **component) = 0;
/drivers/peripheral/codec/hal/idl_service/include/
H A Dcomponent_node.h39 ComponentNode(const sptr<ICodecCallback> &callbacks, int64_t appData, std::shared_ptr<ComponentMgr>& mgr);
60 int32_t SetCallbacks(const sptr<ICodecCallback> &callbacks, int64_t appData);
64 OMX_ERRORTYPE static OnEvent(OMX_HANDLETYPE component, void *appData, OMX_EVENTTYPE event, uint32_t data1,
66 OMX_ERRORTYPE static OnEmptyBufferDone(OMX_HANDLETYPE component, void *appData, OMX_BUFFERHEADERTYPE *buffer);
67 OMX_ERRORTYPE static OnFillBufferDone(OMX_HANDLETYPE component, void *appData, OMX_BUFFERHEADERTYPE *buffer);
H A Dicomponent_mgr.h35 void *appData, OMX_COMPONENTTYPE **component) = 0;
/drivers/peripheral/codec/hal/v2.0/hdi_impl/src/
H A Dcomponent_node.cpp31 OMX_ERRORTYPE ComponentNode::OnEvent(OMX_HANDLETYPE component, void *appData, OMX_EVENTTYPE event, uint32_t data1, in OnEvent() argument
34 ComponentNode *node = static_cast<ComponentNode *>(appData); in OnEvent()
43 OMX_ERRORTYPE ComponentNode::OnEmptyBufferDone(OMX_HANDLETYPE component, void *appData, OMX_BUFFERHEADERTYPE *buffer) in OnEmptyBufferDone() argument
45 ComponentNode *node = static_cast<ComponentNode *>(appData); in OnEmptyBufferDone()
53 OMX_ERRORTYPE ComponentNode::OnFillBufferDone(OMX_HANDLETYPE component, void *appData, OMX_BUFFERHEADERTYPE *buffer) in OnFillBufferDone() argument
55 ComponentNode *node = static_cast<ComponentNode *>(appData); in OnFillBufferDone()
66 ComponentNode::ComponentNode(struct CodecCallbackType *callback, int64_t appData, const std::string &compName) in ComponentNode() argument
69 appData_(appData), in ComponentNode()
195 int32_t ComponentNode::SetCallbacks(struct CodecCallbackType *omxCallback, int64_t appData) in SetCallbacks() argument
204 this->appData_ = appData; in SetCallbacks()
[all...]
/drivers/peripheral/codec/hal/include/
H A Dcodec_internal.h60 int32_t (*CreateComponent)(OMX_HANDLETYPE *compHandle, char *compName, void *appData,
H A Dcodec_adapter_interface.h28 int32_t OMXAdapterCreateComponent(struct CodecComponentNode **codecNode, char *compName, int64_t appData,
98 int64_t appData);
/drivers/peripheral/codec/hal/idl_service/src/
H A Dcomponent_node.cpp50 OMX_ERRORTYPE ComponentNode::OnEvent(OMX_HANDLETYPE component, void *appData, OMX_EVENTTYPE event, uint32_t data1, in OnEvent() argument
53 ComponentNode *node = static_cast<ComponentNode *>(appData); in OnEvent()
61 OMX_ERRORTYPE ComponentNode::OnEmptyBufferDone(OMX_HANDLETYPE component, void *appData, OMX_BUFFERHEADERTYPE *buffer) in OnEmptyBufferDone() argument
63 ComponentNode *node = static_cast<ComponentNode *>(appData); in OnEmptyBufferDone()
71 OMX_ERRORTYPE ComponentNode::OnFillBufferDone(OMX_HANDLETYPE component, void *appData, OMX_BUFFERHEADERTYPE *buffer) in OnFillBufferDone() argument
73 ComponentNode *node = static_cast<ComponentNode *>(appData); in OnFillBufferDone()
84 ComponentNode::ComponentNode(const sptr<ICodecCallback> &callbacks, int64_t appData, std::shared_ptr<ComponentMgr> &mgr) in ComponentNode() argument
87 appData_(appData), in ComponentNode()
306 int32_t ComponentNode::SetCallbacks(const sptr<ICodecCallback> &callbacks, int64_t appData) in SetCallbacks() argument
309 appData_ = appData; in SetCallbacks()
[all...]
H A Dcodec_component_manager_service.cpp72 const std::string &compName, int64_t appData, in CreateComponent()
78 std::shared_ptr<ComponentNode> node = std::make_shared<ComponentNode>(callbacks, appData, mgr_); in CreateComponent()
71 CreateComponent(sptr<ICodecComponent> &component, uint32_t &componentId, const std::string &compName, int64_t appData, const sptr<ICodecCallback> &callbacks) CreateComponent() argument
H A Dcodec_omx_core.cpp65 int32_t CodecOMXCore::GetHandle(OMX_HANDLETYPE &handle, std::string &compName, OMX_PTR appData, in GetHandle() argument
76 return (*getHandle_)(&handle, const_cast<char *>(compName.c_str()), appData, (OMX_CALLBACKTYPE *)&callbacks); in GetHandle()
H A Dcomponent_mgr.cpp34 void *appData, OMX_COMPONENTTYPE **component) in CreateComponentInstance()
51 err = core->GetHandle(handle, name, appData, *callbacks); in CreateComponentInstance()
33 CreateComponentInstance(const char *componentName, const OMX_CALLBACKTYPE *callbacks, void *appData, OMX_COMPONENTTYPE **component) CreateComponentInstance() argument

Completed in 10 milliseconds

12