webrtc/api/video_codecs
Johannes Kron 20ee02c49f Add codec comparison function to SdpVideoFormat
SdpVideoFormat is used to configure video encoder and decoders.
This CL adds support for comparing two SdpVideoFormat objects
to determine if they specify the same video codec.

This functionality previously only existed in media/base/codec.h
which made the code sensitive to circular dependencies. Once
downstream projects stop using cricket::IsSameCodec, this code
can be removed.

Bug: chromium:1187565
Change-Id: I242069aa6af07917637384c80ee4820887defc7d
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/213427
Commit-Queue: Johannes Kron <kron@webrtc.org>
Reviewed-by: Niels Moller <nisse@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#33794}
2021-04-21 07:21:41 +00:00
..
test Add codec comparison function to SdpVideoFormat 2021-04-21 07:21:41 +00:00
bitstream_parser.h Add interface class for bitstream parser. 2019-03-22 12:14:41 +00:00
BUILD.gn Add codec comparison function to SdpVideoFormat 2021-04-21 07:21:41 +00:00
builtin_video_decoder_factory.cc Use std::make_unique instead of absl::make_unique. 2019-09-17 15:47:29 +00:00
builtin_video_decoder_factory.h Export symbols needed by the Chromium component build (part 6). 2018-10-23 06:48:51 +00:00
builtin_video_encoder_factory.cc Add codec comparison function to SdpVideoFormat 2021-04-21 07:21:41 +00:00
builtin_video_encoder_factory.h Export symbols needed by the Chromium component build (part 6). 2018-10-23 06:48:51 +00:00
h264_profile_level_id.cc Move h264_profile_level_id and vp9_profile to api/video_codecs 2021-04-20 09:42:05 +00:00
h264_profile_level_id.h Move h264_profile_level_id and vp9_profile to api/video_codecs 2021-04-20 09:42:05 +00:00
OWNERS Add magjed/nisse/sprang/brandtr as api/video_codecs owners 2018-11-08 15:43:03 +00:00
sdp_video_format.cc Add codec comparison function to SdpVideoFormat 2021-04-21 07:21:41 +00:00
sdp_video_format.h Add codec comparison function to SdpVideoFormat 2021-04-21 07:21:41 +00:00
spatial_layer.cc Move definition of SpatialLayer to api/video_codecs/spatial_layer.h 2020-08-17 09:45:19 +00:00
spatial_layer.h Move definition of SpatialLayer to api/video_codecs/spatial_layer.h 2020-08-17 09:45:19 +00:00
video_codec.cc Introduce RTC_CHECK_NOTREACHED(), an always-checking RTC_NOTREACHED() 2020-11-09 10:47:55 +00:00
video_codec.h Allow to set av1 scalability mode after encoder is constructed 2020-10-19 10:42:23 +00:00
video_decoder.cc Remove unused function VideoDecoder::PrefersLateDecoding. 2021-01-18 14:17:57 +00:00
video_decoder.h Remove unused function VideoDecoder::PrefersLateDecoding. 2021-01-18 14:17:57 +00:00
video_decoder_factory.cc Revert "Removed VideoDecoderFactory::LegacyCreateVideoDecoder and VideoReceiveStream::Config::stream_id." 2020-07-27 13:55:00 +00:00
video_decoder_factory.h Revert "Removed VideoDecoderFactory::LegacyCreateVideoDecoder and VideoReceiveStream::Config::stream_id." 2020-07-27 13:55:00 +00:00
video_decoder_software_fallback_wrapper.cc Adds VideoDecoder::GetDecoderInfo() 2021-01-14 13:33:22 +00:00
video_decoder_software_fallback_wrapper.h Export symbols needed by the Chromium component build (part 8). 2019-04-02 10:13:36 +00:00
video_encoder.cc Allow encoders to receive preferred pixel formats from native buffers 2020-10-08 13:47:50 +00:00
video_encoder.h Replace RTC_DEPRECATED with ABSL_DEPRECATED 2021-02-22 12:53:23 +00:00
video_encoder_config.cc Reland "Reland "Enable quality scaling when allowed"" 2021-03-16 15:13:52 +00:00
video_encoder_config.h Reland "Reland "Enable quality scaling when allowed"" 2021-03-16 15:13:52 +00:00
video_encoder_factory.h Delete CodecInfo::is_hardware_accelerated 2020-08-19 09:42:30 +00:00
video_encoder_software_fallback_wrapper.cc Remove temporal layer restriction for forced resolution based fallback. 2021-02-05 07:31:54 +00:00
video_encoder_software_fallback_wrapper.h Allow software fallback on lowest simulcast stream for temporal support 2020-01-31 16:44:47 +00:00
vp8_frame_buffer_controller.h Remove deprecated version of Vp8FrameBufferControllerFactory::Create 2019-07-02 14:40:20 +00:00
vp8_frame_config.cc Add retransmission_allowed flag to encoder output 2019-06-05 12:08:07 +00:00
vp8_frame_config.h Make DefaultTemporalLayers explicitly request a key frame 2019-06-24 08:26:17 +00:00
vp8_temporal_layers.cc Pass FecControllerOverride to Vp8FrameBufferControllerFactory::Create 2019-07-02 10:55:55 +00:00
vp8_temporal_layers.h Pass FecControllerOverride to Vp8FrameBufferControllerFactory::Create 2019-07-02 10:55:55 +00:00
vp8_temporal_layers_factory.cc Enforce VideoEncoderConfig.num_temporal_layers >= 1. 2020-01-21 13:38:08 +00:00
vp8_temporal_layers_factory.h Remove deprecated version of Vp8FrameBufferControllerFactory::Create 2019-07-02 14:40:20 +00:00
vp9_profile.cc Move h264_profile_level_id and vp9_profile to api/video_codecs 2021-04-20 09:42:05 +00:00
vp9_profile.h Move h264_profile_level_id and vp9_profile to api/video_codecs 2021-04-20 09:42:05 +00:00