Home
last modified time | relevance | path

Searched refs:ParamSP (Results 1 – 17 of 17) sorted by relevance

/ohos5.0/foundation/multimedia/av_codec/services/engine/codec/video/hcodec/
H A Dmsg_handle_loop.h34 ParamSP param;
41 void SendAsyncMsg(MsgType type, const ParamSP &msg, uint32_t delayUs = 0);
42 bool SendSyncMsg(MsgType type, const ParamSP &msg, ParamSP &reply, uint32_t waitMs = 0);
44 void PostReply(MsgId id, const ParamSP &reply);
63 std::map<MsgId, ParamSP> m_replies;
H A Dhcodec.cpp95 std::function<void(ParamSP)> proc = [&](ParamSP msg) { in SetCallback()
105 std::function<void(ParamSP)> proc = [&](ParamSP msg) { in Configure()
113 std::function<void(ParamSP)> proc = [&](ParamSP msg) { in SetCustomBuffer()
122 std::function<void(ParamSP)> proc = [&](ParamSP msg) { in SetOutputSurface()
176 std::function<void(ParamSP)> proc = [&](ParamSP msg) { in SetParameter()
185 ParamSP reply; in GetInputFormat()
198 ParamSP reply; in GetOutputFormat()
243 std::function<void(ParamSP)> proc = [&](ParamSP msg) { in SetInputSurface()
257 std::function<void(ParamSP)> proc = [&](ParamSP msg) { in QueueInputBuffer()
265 std::function<void(ParamSP)> proc = [&](ParamSP msg) { in RenderOutputBuffer()
[all …]
H A Dmsg_handle_loop.cpp49 void MsgHandleLoop::SendAsyncMsg(MsgType type, const ParamSP &msg, uint32_t delayUs) in SendAsyncMsg()
62 bool MsgHandleLoop::SendSyncMsg(MsgType type, const ParamSP &msg, ParamSP &reply, uint32_t waitMs) in SendSyncMsg()
93 void MsgHandleLoop::PostReply(MsgId id, const ParamSP &reply) in PostReply()
H A Dhcodec_state.cpp32 ParamSP reply = make_shared<ParamBundle>(); in OnMsgReceived()
82 ParamSP reply = make_shared<ParamBundle>(); in ReplyErrorCode()
118 ParamSP reply = make_shared<ParamBundle>(); in OnGetFormat()
250 ParamSP reply = make_shared<ParamBundle>(); in OnMsgReceived()
337 ParamSP msg = make_shared<ParamBundle>(); in OnStateEntered()
448 ParamSP param = make_shared<ParamBundle>(); in OnStateExited()
584 ParamSP msg = make_shared<ParamBundle>(); in OnStateEntered()
644 ParamSP stopMsg = make_shared<ParamBundle>(); in OnShutDown()
739 ParamSP stopMsg = make_shared<ParamBundle>(); in OnFlush()
759 ParamSP msg = make_shared<ParamBundle>(); in OnStateEntered()
[all …]
H A Dhencoder.h85 void OnGetBufferFromSurface(const ParamSP& param) override;
86 void RepeatIfNecessary(const ParamSP& param) override;
H A Dhcodec.h214 virtual void OnGetBufferFromSurface(const ParamSP& param) = 0;
228 virtual void RepeatIfNecessary(const ParamSP& param) {} in RepeatIfNecessary()
510 int32_t DoSyncCall(MsgWhat msgType, std::function<void(ParamSP)> oper);
511 … int32_t DoSyncCallAndGetReply(MsgWhat msgType, std::function<void(ParamSP)> oper, ParamSP &reply);
H A Dparam_bundle.h28 using ParamSP = std::shared_ptr<ParamBundle>; variable
H A Dhdecoder.h71 void OnGetBufferFromSurface(const ParamSP& param) override;
H A Dhencoder.cpp1136 void HEncoder::OnGetBufferFromSurface(const ParamSP& param) in OnGetBufferFromSurface()
1170 ParamSP param = make_shared<ParamBundle>(); in SendRepeatMsg()
1175 void HEncoder::RepeatIfNecessary(const ParamSP& param) in RepeatIfNecessary()
H A Dhdecoder.cpp803 ParamSP param = make_shared<ParamBundle>(); in OnBufferReleasedByConsumer()
826 void HDecoder::OnGetBufferFromSurface(const ParamSP& param) in OnGetBufferFromSurface()
H A Dhcodec_dfx.cpp58 ParamSP param = make_shared<ParamBundle>(); in OnPrintAllBufferOwner()
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/include/hardware/imagecodec/
H A Dmsg_handle_loop.h33 ParamSP param;
40 void SendAsyncMsg(MsgType type, const ParamSP &msg, uint32_t delayUs = 0);
41 bool SendSyncMsg(MsgType type, const ParamSP &msg, ParamSP &reply, uint32_t waitMs = 0);
43 void PostReply(MsgId id, const ParamSP &reply);
62 std::map<MsgId, ParamSP> m_replies;
H A Dimage_codec.h394 int32_t DoSyncCall(MsgWhat msgType, std::function<void(ParamSP)> oper);
395 … int32_t DoSyncCallAndGetReply(MsgWhat msgType, std::function<void(ParamSP)> oper, ParamSP &reply);
427 std::map<MsgType, std::queue<std::pair<MsgId, ParamSP>>> syncMsgToReply_;
H A Dparam_bundle.h27 using ParamSP = std::shared_ptr<ParamBundle>; variable
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/hardware/imagecodec/
H A Dimage_codec.cpp57 function<void(ParamSP)> proc = [&](ParamSP msg) { in SetCallback()
65 function<void(ParamSP)> proc = [&](ParamSP msg) { in Configure()
73 function<void(ParamSP)> proc = [&](ParamSP msg) { in QueueInputBuffer()
81 function<void(ParamSP)> proc = [&](ParamSP msg) { in ReleaseOutputBuffer()
90 ParamSP reply; in GetInputFormat()
103 ParamSP reply; in GetOutputFormat()
128 ParamSP reply; in GetOutputBufferUsage()
142 std::function<void(ParamSP)> proc = [&](ParamSP msg) { in SetOutputBuffer()
150 ParamSP reply; in GetPackedInputFlag()
187 function<void(ParamSP)> proc = [&](ParamSP msg) { in InitWithName()
[all …]
H A Dmsg_handle_loop.cpp50 void MsgHandleLoop::SendAsyncMsg(MsgType type, const ParamSP &msg, uint32_t delayUs) in SendAsyncMsg()
63 bool MsgHandleLoop::SendSyncMsg(MsgType type, const ParamSP &msg, ParamSP &reply, uint32_t waitMs) in SendSyncMsg()
94 void MsgHandleLoop::PostReply(MsgId id, const ParamSP &reply) in PostReply()
H A Dcodec_state.cpp81 ParamSP reply = make_shared<ParamBundle>(); in ReplyErrorCode()
120 ParamSP reply = make_shared<ParamBundle>(); in OnGetFormat()
290 ParamSP reply = make_shared<ParamBundle>(); in OnGetOutputBufferUsage()
305 ParamSP reply = make_shared<ParamBundle>(); in OnGetPackedInputFlag()
342 ParamSP msg = make_shared<ParamBundle>(); in OnStateEntered()
532 ParamSP msg = make_shared<ParamBundle>(); in OnStateEntered()
571 ParamSP stopMsg = make_shared<ParamBundle>(); in OnShutDown()
650 ParamSP msg = make_shared<ParamBundle>(); in OnStateEntered()