Home
last modified time | relevance | path

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

/foundation/distributedhardware/distributed_screen/services/screenservice/sourceservice/dscreenmgr/1.0/src/
H A Ddscreen.cpp312 std::vector<std::string> codecTypeCandidates; in NegotiateCodecType() local
316 codecTypeCandidates.push_back(remoteCodecType); in NegotiateCodecType()
320 if (std::find(codecTypeCandidates.begin(), codecTypeCandidates.end(), in NegotiateCodecType()
321 std::string(MediaAVCodec::CodecMimeType::VIDEO_AVC)) != codecTypeCandidates.end()) { in NegotiateCodecType()
323 } else if (std::find(codecTypeCandidates.begin(), codecTypeCandidates.end(), in NegotiateCodecType()
324 std::string(MediaAVCodec::CodecMimeType::VIDEO_HEVC)) != codecTypeCandidates.end()) { in NegotiateCodecType()
/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()

Completed in 6 milliseconds