Add support for H.264 constrained high profile in VideoProcessor.
BUG=webrtc:8448 Change-Id: I968d6cd78dd4f3c19a7944ae4cc73c5eddb9a949 Reviewed-on: https://webrtc-review.googlesource.com/16160 Commit-Queue: Rasmus Brandt <brandtr@webrtc.org> Reviewed-by: Sergey Silkin <ssilkin@webrtc.org> Cr-Commit-Position: refs/heads/master@{#20466}
This commit is contained in:
committed by
Commit Bot
parent
3ebed36b01
commit
fb1a8661db
@ -179,5 +179,19 @@ std::string TestConfig::ToString() const {
|
||||
return ss.str();
|
||||
}
|
||||
|
||||
std::string TestConfig::CodecName() const {
|
||||
std::string codec_name = CodecTypeToPayloadString(codec_settings.codecType);
|
||||
if (codec_settings.codecType == kVideoCodecH264) {
|
||||
if (h264_codec_settings.profile == H264::kProfileConstrainedHigh) {
|
||||
codec_name += "-CHP";
|
||||
} else {
|
||||
RTC_DCHECK_EQ(h264_codec_settings.profile,
|
||||
H264::kProfileConstrainedBaseline);
|
||||
codec_name += "-CBP";
|
||||
}
|
||||
}
|
||||
return codec_name;
|
||||
}
|
||||
|
||||
} // namespace test
|
||||
} // namespace webrtc
|
||||
|
||||
Reference in New Issue
Block a user