Move VideoCodecType from common_types.h to api/video/video_codec_type.h
Bug: webrtc:7660 Change-Id: I9381364a64113dbb622b26acbf2b71228c3c4b96 Reviewed-on: https://webrtc-review.googlesource.com/c/111480 Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Commit-Queue: Niels Moller <nisse@webrtc.org> Cr-Commit-Position: refs/heads/master@{#25710}
This commit is contained in:
@ -17,6 +17,8 @@
|
||||
#include "absl/strings/match.h"
|
||||
// TODO(sprang): Remove this include when all usage includes it directly.
|
||||
#include "api/video/video_bitrate_allocation.h"
|
||||
// TODO(bugs.webrtc.org/7660): Delete include once downstream code is updated.
|
||||
#include "api/video/video_codec_type.h"
|
||||
#include "rtc_base/checks.h"
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
@ -243,18 +245,6 @@ enum Profile {
|
||||
|
||||
} // namespace H264
|
||||
|
||||
// Video codec types
|
||||
enum VideoCodecType {
|
||||
// There are various memset(..., 0, ...) calls in the code that rely on
|
||||
// kVideoCodecGeneric being zero.
|
||||
kVideoCodecGeneric = 0,
|
||||
kVideoCodecVP8,
|
||||
kVideoCodecVP9,
|
||||
kVideoCodecH264,
|
||||
kVideoCodecI420,
|
||||
kVideoCodecMultiplex,
|
||||
};
|
||||
|
||||
struct SpatialLayer {
|
||||
bool operator==(const SpatialLayer& other) const;
|
||||
bool operator!=(const SpatialLayer& other) const { return !(*this == other); }
|
||||
|
Reference in New Issue
Block a user