Home
last modified time | relevance | path

Searched refs:codecTypeCandidates (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/distributedhardware/distributed_screen/services/screenservice/sourceservice/dscreenmgr/1.0/src/
H A Ddscreen.cpp306 std::vector<std::string> codecTypeCandidates; in NegotiateCodecType() local
310 codecTypeCandidates.push_back(remoteCodecType); in NegotiateCodecType()
314 if (std::find(codecTypeCandidates.begin(), codecTypeCandidates.end(), in NegotiateCodecType()
315 std::string(MediaAVCodec::CodecMimeType::VIDEO_AVC)) != codecTypeCandidates.end()) { in NegotiateCodecType()
317 } else if (std::find(codecTypeCandidates.begin(), codecTypeCandidates.end(), in NegotiateCodecType()
318 std::string(MediaAVCodec::CodecMimeType::VIDEO_HEVC)) != codecTypeCandidates.end()) { in NegotiateCodecType()
/ohos5.0/foundation/distributedhardware/distributed_screen/services/screenservice/sourceservice/dscreenmgr/2.0/src/
H A Ddscreen.cpp566 std::vector<std::string> codecTypeCandidates; in ChooseCodecType() local
574 codecTypeCandidates.push_back(codec); in ChooseCodecType()
578 if (std::find(codecTypeCandidates.begin(), codecTypeCandidates.end(), in ChooseCodecType()
579 CODEC_NAME_H265) != codecTypeCandidates.end()) { in ChooseCodecType()
582 } else if (std::find(codecTypeCandidates.begin(), codecTypeCandidates.end(), in ChooseCodecType()
583 CODEC_NAME_H264) != codecTypeCandidates.end()) { in ChooseCodecType()