Home
last modified time | relevance | path

Searched refs:MsgInfo (Results 1 - 25 of 37) sorted by relevance

12

/foundation/multimedia/media_lite/services/player_lite/impl/player_control/player/fsm/src/
H A Dmmessage_pool.h26 MsgInfo *replyMsg;
35 MsgInfo *GetMsg(const MsgInfo &msg);
36 int32_t PutMsg(MsgInfo &msg);
37 MsgInfo *GetEmptyMsg();
46 std::list<MsgInfo *> m_msgFreeList;
47 std::list<MsgInfo *> m_msgBusyList;
51 MsgInfo *m_msgMemList = nullptr;
H A Dmessage_looper.h27 MsgInfo *msg;
40 int32_t Send(const MsgInfo &msg);
41 int32_t Post(const MsgInfo &msg, uint64_t delayUs);
42 bool HasMessage(const MsgInfo &msg);
43 void RemoveMessage(const MsgInfo &msg);
51 void InsertQueue(MsgInfo &msg, uint64_t delayUs);
H A Dmmessage_pool.cpp52 if ((msgNum >= (INT_MAX / msgPayloadLen)) || (msgNum >= (INT_MAX / sizeof(MsgInfo))) || in Init()
97 std::list<MsgInfo *>::iterator msgIter = m_msgFreeList.begin(); in Deinit()
109 MsgInfo *MMessagePool::GetEmptyMsg() in GetEmptyMsg()
111 MsgInfo *msg = nullptr; in GetEmptyMsg()
115 std::list<MsgInfo *>::iterator msgIter = m_msgFreeList.begin(); in GetEmptyMsg()
146 MsgInfo *MMessagePool::GetMsg(const MsgInfo &msg) in GetMsg()
148 MsgInfo *msgInfo = nullptr; in GetMsg()
158 std::list<MsgInfo *>::iterator msgIter = m_msgFreeList.begin(); in GetMsg()
199 int32_t MMessagePool::PutMsg(MsgInfo
[all...]
H A Dhi_state_machine.h52 int32_t Send(const MsgInfo &msg);
58 int32_t Post(const MsgInfo &msg, uint64_t delayUs);
63 int32_t RemoveEvent(const MsgInfo &msg);
66 int32_t OnMessageReceived(const MsgInfo &msg) override;
H A Dhi_state_machine.cpp185 int32_t HiStateMachine::Send(const MsgInfo &msg) in Send()
196 MsgInfo msg; in Send()
212 int32_t HiStateMachine::Post(const MsgInfo &msg, uint64_t delayUs) in Post()
227 MsgInfo msg; in Post()
247 int32_t HiStateMachine::RemoveEvent(const MsgInfo &msg) in RemoveEvent()
261 int32_t HiStateMachine::OnMessageReceived(const MsgInfo &msg) in OnMessageReceived()
H A Dmessage_looper.cpp236 int32_t MessageLooper::Send(const MsgInfo &msg) in Send()
250 int32_t MessageLooper::Post(const MsgInfo &msg, uint64_t delayUs) in Post()
260 MsgInfo *msgInfo = m_msgPool->GetMsg(msg); in Post()
272 void MessageLooper::InsertQueue(MsgInfo &msg, uint64_t delayUs) in InsertQueue()
300 bool MessageLooper::HasMessage(const MsgInfo &msg) in HasMessage()
319 void MessageLooper::RemoveMessage(const MsgInfo &msg) in RemoveMessage()
H A Dmessage_handler.h25 virtual int32_t OnMessageReceived(const MsgInfo &msg) = 0;
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/include/hardware/imagecodec/
H A Dimage_codec.h175 virtual void OnQueueInputBuffer(const MsgInfo &msg, BufferOperationMode mode);
185 void OnReleaseOutputBuffer(const MsgInfo &msg, BufferOperationMode mode);
294 void OnMsgReceived(const MsgInfo &info) override;
296 void OnCodecEvent(const MsgInfo &info);
298 void OnGetFormat(const MsgInfo &info);
299 virtual void OnShutDown(const MsgInfo &info) = 0;
300 void OnCheckIfStuck(const MsgInfo &info);
301 void OnForceShutDown(const MsgInfo &info);
314 void OnMsgReceived(const MsgInfo &info) override;
316 void OnShutDown(const MsgInfo
[all...]
H A Dmsg_handle_loop.h30 struct MsgInfo { struct
42 virtual void OnMsgReceived(const MsgInfo &info) = 0;
58 std::map<TimeUs, MsgInfo> m_msgQueue; // msg will be sorted by timeUs
H A Dstate_machine.h34 virtual void OnMsgReceived(const MsgInfo &info) = 0;
48 void OnMsgReceived(const MsgInfo &info) override;
/foundation/multimedia/av_codec/services/engine/codec/video/hcodec/
H A Dhcodec.h162 void OnPrintAllBufferOwner(const MsgInfo& msg);
190 virtual void OnSetOutputSurface(const MsgInfo &msg, BufferOperationMode mode);
223 virtual void OnQueueInputBuffer(const MsgInfo &msg, BufferOperationMode mode);
225 virtual void OnSignalEndOfInputStream(const MsgInfo &msg);
237 void OnReleaseOutputBuffer(const MsgInfo &msg, BufferOperationMode mode);
239 virtual void OnRenderOutputBuffer(const MsgInfo &msg, BufferOperationMode mode);
395 void OnMsgReceived(const MsgInfo &info) override;
397 void OnCodecEvent(const MsgInfo &info);
399 void OnGetFormat(const MsgInfo &info);
400 virtual void OnShutDown(const MsgInfo
[all...]
H A Dhcodec_state.cpp28 void HCodec::BaseState::OnMsgReceived(const MsgInfo &info) in OnMsgReceived()
87 void HCodec::BaseState::OnCodecEvent(const MsgInfo &info) in OnCodecEvent()
114 void HCodec::BaseState::OnGetFormat(const MsgInfo &info) in OnGetFormat()
128 void HCodec::BaseState::OnSetParameters(const MsgInfo &info) in OnSetParameters()
135 void HCodec::BaseState::OnCheckIfStuck(const MsgInfo &info) in OnCheckIfStuck()
146 void HCodec::BaseState::OnForceShutDown(const MsgInfo &info) in OnForceShutDown()
164 void HCodec::UninitializedState::OnMsgReceived(const MsgInfo &info) in OnMsgReceived()
181 void HCodec::UninitializedState::OnShutDown(const MsgInfo &info) in OnShutDown()
221 MsgInfo msg { keepComponentAllocated ? MsgWhat::STOP : MsgWhat::RELEASE, 0, nullptr }; in ProcessShutDownFromRunning()
231 void HCodec::InitializedState::OnMsgReceived(const MsgInfo
[all...]
H A Dmsg_handle_loop.h31 struct MsgInfo { struct
43 virtual void OnMsgReceived(const MsgInfo &info) = 0;
59 std::map<TimeUs, MsgInfo> m_msgQueue; // msg will be sorted by timeUs
H A Dstate_machine.h34 virtual void OnMsgReceived(const MsgInfo &info) = 0;
48 void OnMsgReceived(const MsgInfo &info) override;
H A Dhdecoder.h47 void OnSetOutputSurface(const MsgInfo &msg, BufferOperationMode mode) override;
75 void OnRenderOutputBuffer(const MsgInfo &msg, BufferOperationMode mode) override;
90 const MsgInfo &msg, BufferOperationMode mode);
92 const MsgInfo &msg, BufferOperationMode mode);
H A Dmsg_handle_loop.cpp58 m_msgQueue[msgProcessTime] = MsgInfo {type, ASYNC_MSG_ID, msg}; in SendAsyncMsg()
72 m_msgQueue[time] = MsgInfo {type, id, msg}; in SendSyncMsg()
118 MsgInfo info; in MainLoop()
H A Dstate_machine.cpp37 void StateMachine::OnMsgReceived(const MsgInfo &info) in OnMsgReceived()
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/hardware/imagecodec/
H A Dcodec_state.cpp25 void ImageCodec::BaseState::OnMsgReceived(const MsgInfo &info) in OnMsgReceived()
80 void ImageCodec::BaseState::OnCodecEvent(const MsgInfo &info) in OnCodecEvent()
107 void ImageCodec::BaseState::OnGetFormat(const MsgInfo &info) in OnGetFormat()
121 void ImageCodec::BaseState::OnCheckIfStuck(const MsgInfo &info) in OnCheckIfStuck()
132 void ImageCodec::BaseState::OnForceShutDown(const MsgInfo &info) in OnForceShutDown()
146 void ImageCodec::UninitializedState::OnMsgReceived(const MsgInfo &info) in OnMsgReceived()
187 void ImageCodec::UninitializedState::OnShutDown(const MsgInfo &info) in OnShutDown()
215 MsgInfo msg { MsgWhat::RELEASE, 0, nullptr }; in ProcessShutDownFromRunning()
224 void ImageCodec::InitializedState::OnMsgReceived(const MsgInfo &info) in OnMsgReceived()
257 void ImageCodec::InitializedState::OnSetCallBack(const MsgInfo
[all...]
H A Dmsg_handle_loop.cpp59 m_msgQueue[msgProcessTime] = MsgInfo {type, ASYNC_MSG_ID, msg}; in SendAsyncMsg()
73 m_msgQueue[time] = MsgInfo {type, id, msg}; in SendSyncMsg()
120 MsgInfo info; in MainLoop()
H A Dstate_machine.cpp37 void StateMachine::OnMsgReceived(const MsgInfo &info) in OnMsgReceived()
/foundation/multimedia/media_lite/services/player_lite/impl/player_control/player/fsm/include/
H A Dhi_fsm.h30 typedef int32_t (*HI_FSM_StateHandleEvent)(void *priv, const MsgInfo *msg);
71 int32_t HI_FSM_SendAsync(void *stateMachine, const MsgInfo *msg, uint64_t delayUs);
73 int32_t HI_FSM_SendSync(void *stateMachine, const MsgInfo *msg, const MsgInfo *replyMsg);
H A Dfsm_message.h21 typedef struct MsgInfo { struct
32 } MsgInfo; typedef
/foundation/multimedia/media_foundation/interface/inner_api/filter/
H A Dfilter_loop.h33 struct MsgInfo { struct
71 void HandleMessage(const MsgInfo &info);
82 std::map<TimeUs, MsgInfo> commandQueue_; // msg will be sorted by timeUs
83 std::map<TimeUs, MsgInfo> dataQueue_; // msg will be sorted by timeUs
/foundation/multimedia/media_foundation/src/filter/
H A Dfilter_loop.cpp113 dataQueue_[msgProcessTime] = MsgInfo {what, arg, false}; in SendAsyncMsg()
126 commandQueue_[msgProcessTime] = MsgInfo {what, arg, false}; in SendAsyncMsg()
138 MsgInfo info; in MainLoop()
160 MsgInfo commandInfo = commandQueue_.begin()->second; in MainLoop()
162 MsgInfo dataInfo = dataQueue_.begin()->second; in MainLoop()
202 void FilterLoop::HandleMessage(const MsgInfo &info) in HandleMessage()
/foundation/communication/bluetooth_service/services/bluetooth/external/dummy/include/stub/
H A Dmap_service.h118 struct MsgInfo { struct
168 virtual void OnSendMessage(MsgInfo &msgInfo, std::string &msgBody) in OnSendMessage()
217 void SendMessage(MsgInfo &msgInfo, std::string &msgBody, int masId) in SendMessage()

Completed in 10 milliseconds

12