/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/utils/test/unittest/common/histreamer_ability_parser/ |
H A D | histreamer_ability_parser_test.cpp | 372 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 D | dscreen_test.cpp | 469 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 D | histreamer_ability_querier_test.cpp | 646 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 D | histreamer_ability_querier.cpp | 774 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 D | histreamer_ability_parser.cpp | 345 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 D | histreamer_ability_querier.h | 143 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 D | audio-video-synchronization.md | 100 videoDecoder->FreeOutputBuffer(bufferInfo.bufferIndex, true); 162 ret = videoDecoder->FreeOutputBuffer(bufferInfo.bufferIndex, !dropFrame);
|
/ohos5.0/foundation/multimedia/av_codec/frameworks/native/capi/avcodec/ |
H A D | native_video_decoder.cpp | 347 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 D | hiplayer_impl.cpp | 726 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 D | hiplayer_impl.h | 150 std::shared_ptr<Pipeline::VideoDecoderFilter> videoDecoder; variable
|
/ohos5.0/foundation/multimedia/av_codec/interfaces/inner_api/native/ |
H A D | video_decoder_adapter.h | 90 explicit VideoDecoderCallback(std::shared_ptr<VideoDecoderAdapter> videoDecoder);
|
/ohos5.0/foundation/multimedia/av_codec/services/media_engine/filters/ |
H A D | video_decoder_adapter.cpp | 43 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 D | histreamer_ability_parser.h | 346 void FromJson(const cJSON *jsonObject, VideoDecoder &videoDecoder);
|