Home
last modified time | relevance | path

Searched refs:HCodec (Results 1 - 13 of 13) sorted by relevance

/foundation/multimedia/av_codec/test/unittest/hcodec_test/unittest/
H A Dhdecoder_unit_test.cpp90 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(false, "video/avc")); in HWTEST_F()
99 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(false, "video/hevc")); in HWTEST_F()
108 std::shared_ptr<HCodec> testObj = HCodec::Create(""); in HWTEST_F()
115 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(false, "video/hevc")); in HWTEST_F()
126 std::shared_ptr<HCodec> testObj = HCodec in HWTEST_F()
[all...]
H A Dhencoder_unit_test.cpp116 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(true, "video/avc")); in HWTEST_F()
125 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(true, "video/hevc")); in HWTEST_F()
134 std::shared_ptr<HCodec> testObj = HCodec::Create(""); in HWTEST_F()
141 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(true, "video/hevc")); in HWTEST_F()
152 std::shared_ptr<HCodec> testObj = HCodec in HWTEST_F()
[all...]
H A Dhencoder_unit_test.h62 bool ConfigureAvcEncoder(std::shared_ptr<HCodec>& encoder);
63 bool ConfigureHevcEncoder(std::shared_ptr<HCodec>& encoder);
64 bool SetCallbackToEncoder(std::shared_ptr<HCodec>& encoder);
H A Dhdecoder_unit_test.h71 bool ConfigureDecoder(std::shared_ptr<HCodec>& decoder);
72 bool SetOutputSurfaceToDecoder(std::shared_ptr<HCodec>& decoder);
73 bool SetCallbackToDecoder(std::shared_ptr<HCodec>& decoder);
/foundation/multimedia/av_codec/services/engine/codec/video/hcodec/
H A Dhcodec_state.cpp28 void HCodec::BaseState::OnMsgReceived(const MsgInfo &info) in OnMsgReceived()
65 const char* msgWhat = HCodec::ToString(static_cast<MsgWhat>(info.type)); in OnMsgReceived()
77 void HCodec::BaseState::ReplyErrorCode(MsgId id, int32_t err) in ReplyErrorCode()
87 void HCodec::BaseState::OnCodecEvent(const MsgInfo &info) in OnCodecEvent()
104 void HCodec::BaseState::OnCodecEvent(CodecEventType event, uint32_t data1, uint32_t data2) 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()
158 void HCodec
[all...]
H A Dhcodec.cpp44 std::shared_ptr<HCodec> HCodec::Create(const std::string &name) in Create()
47 shared_ptr<HCodec> codec; in Create()
71 int32_t HCodec::Init(Media::Meta &callerInfo) in Init()
83 void HCodec::PrintCaller() in PrintCaller()
92 int32_t HCodec::SetCallback(const std::shared_ptr<MediaCodecCallback> &callback) in SetCallback()
101 int32_t HCodec::Configure(const Format &format) in Configure()
111 int32_t HCodec::SetCustomBuffer(std::shared_ptr<AVBuffer> buffer) in SetCustomBuffer()
119 int32_t HCodec::SetOutputSurface(sptr<Surface> surface) in SetOutputSurface()
128 int32_t HCodec
281 HCodec::HCodec(CodecCompCapability caps, OMX_VIDEO_CODINGTYPE codingType, bool isEncoder) HCodec() function in OHOS::MediaAVCodec::HCodec
[all...]
H A Dhcodec_dfx.cpp47 void HCodec::OnPrintAllBufferOwner(const MsgInfo& msg) in OnPrintAllBufferOwner()
64 void HCodec::PrintAllBufferInfo() in PrintAllBufferInfo()
71 void HCodec::PrintAllBufferInfo(bool isInput, std::chrono::time_point<std::chrono::steady_clock> now) in PrintAllBufferInfo()
88 std::string HCodec::OnGetHidumperInfo() in OnGetHidumperInfo()
122 void HCodec::UpdateOwner() in UpdateOwner()
128 void HCodec::UpdateOwner(bool isInput) in UpdateOwner()
143 void HCodec::ReduceOwner(bool isInput, BufferOwner owner) in ReduceOwner()
151 void HCodec::PrintStatistic(bool isInput, std::chrono::time_point<std::chrono::steady_clock> now) in PrintStatistic()
170 void HCodec::ChangeOwner(BufferInfo& info, BufferOwner newOwner) in ChangeOwner()
175 void HCodec
[all...]
H A Dhcodec.h34 class HCodec : public CodecBase, protected StateMachine, public std::enable_shared_from_this<HCodec> { class
36 static std::shared_ptr<HCodec> Create(const std::string &name);
157 HCodec(CodecHDI::CodecCompCapability caps, OMX_VIDEO_CODINGTYPE codingType, bool isEncoder);
158 ~HCodec() override;
378 std::array<int, HCodec::OWNER_CNT> inputOwner_ {};
379 std::array<std::string, HCodec::OWNER_CNT> inputOwnerStr_ {};
380 std::array<int, HCodec::OWNER_CNT> outputOwner_ {};
381 std::array<std::string, HCodec::OWNER_CNT> outputOwnerStr_ {};
392 BaseState(HCodec *code
[all...]
H A Dhcodec_api.cpp32 codec = HCodec::Create(name); in CreateHCodecByName()
H A Dhdecoder.h25 class HDecoder : public HCodec {
28 : HCodec(caps, codingType, false) {} in HDecoder()
H A Dhencoder.h25 class HEncoder : public HCodec {
28 : HCodec(caps, codingType, true) {} in HEncoder()
H A Dhdecoder.cpp739 std::weak_ptr<HCodec> weakThis = weak_from_this(); in RegisterListenerToSurface()
741 std::shared_ptr<HCodec> codec = weakThis.lock(); in RegisterListenerToSurface()
775 std::vector<HCodec::BufferInfo>::iterator HDecoder::FindBelongTo(sptr<SurfaceBuffer>& buffer) in FindBelongTo()
H A Dhencoder.cpp1179 int32_t err = HCodec::OnQueueInputBuffer(mode, bufferInfo); in OnQueueInputBuffer()

Completed in 12 milliseconds