Home
last modified time | relevance | path

Searched refs:videoDecoder (Results 1 – 13 of 13) sorted by relevance

/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/utils/test/unittest/common/histreamer_ability_parser/
H A Dhistreamer_ability_parser_test.cpp372 VideoDecoder videoDecoder; variable
374 FromJson(jsonObject, videoDecoder);
375 EXPECT_TRUE(videoDecoder.name.empty());
378 FromJson(jsonObject, videoDecoder);
380 EXPECT_TRUE(videoDecoder.ins.empty());
388 videoDecoder.ins.push_back(videoDecoderIn);
389 FromJson(jsonObject, videoDecoder);
391 EXPECT_FALSE(videoDecoder.ins.empty());
392 EXPECT_TRUE(videoDecoder.outs.empty());
482 VideoDecoder videoDecoder; variable
[all …]
/ohos5.0/foundation/distributedhardware/distributed_screen/services/screenservice/test/unittest/sourceservice/dscreenmgr/2.0/src/
H A Ddscreen_test.cpp469 VideoDecoder videoDecoder; variable
470 videoDecoder.name = "ChooseCodecType_002";
472 rmtVideoDecoders.push_back(videoDecoder);
490 VideoDecoder videoDecoder; variable
491 videoDecoder.name = "HdiCodecAdapter.OMX.rk.video_decoder.hevc";
493 rmtVideoDecoders.push_back(videoDecoder);
511 VideoDecoder videoDecoder; variable
512 videoDecoder.name = "HdiCodecAdapter.OMX.rk.video_decoder.avc";
514 rmtVideoDecoders.push_back(videoDecoder);
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_handler/histreamer_ability_querier/test/unittest/common/src/
H A Dhistreamer_ability_querier_test.cpp646 VideoDecoder videoDecoder; variable
648 FromJson(jsonObject, videoDecoder);
649 EXPECT_TRUE(videoDecoder.name.empty());
658 FromJson(jsonObject2, videoDecoder);
659 EXPECT_EQ(VIDEO_DECODER_NAME, videoDecoder.name);
660 EXPECT_TRUE(videoDecoder.ins.empty());
668 videoDecoder.ins.push_back(videoDecoderIn);
669 FromJson(jsonObject2, videoDecoder);
670 EXPECT_FALSE(videoDecoder.ins.empty());
671 EXPECT_TRUE(videoDecoder.outs.empty());
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_handler/histreamer_ability_querier/src/
H A Dhistreamer_ability_querier.cpp774 VideoDecoder videoDecoder; in QueryVideoDecoderAbility() local
775 videoDecoder.name = name; in QueryVideoDecoderAbility()
776 videoDecoder.ins = ParseVideoDecoderIn(pluginInfo->inCaps); in QueryVideoDecoderAbility()
778 VideoDecoders.push_back(videoDecoder); in QueryVideoDecoderAbility()
872 void ToJson(cJSON *jsonObject, const VideoDecoder &videoDecoder) in ToJson() argument
882 for (const auto &in : videoDecoder.ins) { in ToJson()
897 for (const auto &out : videoDecoder.outs) { in ToJson()
909 void FromJson(const cJSON *jsonObject, VideoDecoder &videoDecoder) in FromJson() argument
922 videoDecoder.name = nameObj->valuestring; in FromJson()
934 videoDecoder.ins.push_back(in); in FromJson()
[all …]
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/utils/src/
H A Dhistreamer_ability_parser.cpp345 void FromJson(const cJSON *jsonObject, VideoDecoder &videoDecoder) in FromJson() argument
355 videoDecoder.name = cJSON_GetObjectItem(jsonObject, NAME.c_str())->valuestring; in FromJson()
366 videoDecoder.ins.push_back(in); in FromJson()
378 videoDecoder.outs.push_back(out); in FromJson()
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_handler/histreamer_ability_querier/include/
H A Dhistreamer_ability_querier.h143 void ToJson(cJSON *jsonObject, const VideoDecoder &videoDecoder);
144 void FromJson(const cJSON *jsonObject, VideoDecoder &videoDecoder);
/ohos5.0/docs/zh-cn/application-dev/performance/
H A Daudio-video-synchronization.md100 videoDecoder->FreeOutputBuffer(bufferInfo.bufferIndex, true);
162 ret = videoDecoder->FreeOutputBuffer(bufferInfo.bufferIndex, !dropFrame);
/ohos5.0/foundation/multimedia/av_codec/frameworks/native/capi/avcodec/
H A Dnative_video_decoder.cpp347 std::shared_ptr<AVCodecVideoDecoder> videoDecoder = VideoDecoderFactory::CreateByMime(mime); in OH_VideoDecoder_CreateByMime() local
348 …CHECK_AND_RETURN_RET_LOG(videoDecoder != nullptr, nullptr, "Video decoder create by mime failed!"); in OH_VideoDecoder_CreateByMime()
350 struct VideoDecoderObject *object = new (std::nothrow) VideoDecoderObject(videoDecoder); in OH_VideoDecoder_CreateByMime()
360 std::shared_ptr<AVCodecVideoDecoder> videoDecoder = VideoDecoderFactory::CreateByName(name); in OH_VideoDecoder_CreateByName() local
361 …CHECK_AND_RETURN_RET_LOG(videoDecoder != nullptr, nullptr, "Video decoder create by name failed!"); in OH_VideoDecoder_CreateByName()
363 struct VideoDecoderObject *object = new (std::nothrow) VideoDecoderObject(videoDecoder); in OH_VideoDecoder_CreateByName()
/ohos5.0/foundation/multimedia/media_foundation/engine/scene/player/lite/
H A Dhiplayer_impl.cpp726 videoDecoder = FilterFactory::Instance().CreateFilterWithType<VideoDecoderFilter>( in NewVideoPortFound()
728 if (pipeline_->AddFilters({videoDecoder.get()}) == ErrorCode::SUCCESS) { in NewVideoPortFound()
731 auto toPort = videoDecoder->GetInPort(PORT_NAME_DEFAULT); in NewVideoPortFound()
733 newFilters.emplace_back(videoDecoder.get()); in NewVideoPortFound()
737 fromPort = videoDecoder->GetOutPort(PORT_NAME_DEFAULT); in NewVideoPortFound()
H A Dhiplayer_impl.h150 std::shared_ptr<Pipeline::VideoDecoderFilter> videoDecoder; variable
/ohos5.0/foundation/multimedia/av_codec/interfaces/inner_api/native/
H A Dvideo_decoder_adapter.h90 explicit VideoDecoderCallback(std::shared_ptr<VideoDecoderAdapter> videoDecoder);
/ohos5.0/foundation/multimedia/av_codec/services/media_engine/filters/
H A Dvideo_decoder_adapter.cpp43 VideoDecoderCallback::VideoDecoderCallback(std::shared_ptr<VideoDecoderAdapter> videoDecoder) in VideoDecoderCallback() argument
46 videoDecoderAdapter_ = videoDecoder; in VideoDecoderCallback()
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/utils/include/
H A Dhistreamer_ability_parser.h346 void FromJson(const cJSON *jsonObject, VideoDecoder &videoDecoder);