xref: /aosp_15_r20/external/webrtc/api/video/video_codec_type.h (revision d9f758449e529ab9291ac668be2861e7a55c2422)
1 /*
2  *  Copyright (c) 2018 The WebRTC project authors. All Rights Reserved.
3  *
4  *  Use of this source code is governed by a BSD-style license
5  *  that can be found in the LICENSE file in the root of the source
6  *  tree. An additional intellectual property rights grant can be found
7  *  in the file PATENTS.  All contributing project authors may
8  *  be found in the AUTHORS file in the root of the source tree.
9  */
10 
11 #ifndef API_VIDEO_VIDEO_CODEC_TYPE_H_
12 #define API_VIDEO_VIDEO_CODEC_TYPE_H_
13 
14 namespace webrtc {
15 
16 enum VideoCodecType {
17   // There are various memset(..., 0, ...) calls in the code that rely on
18   // kVideoCodecGeneric being zero.
19   kVideoCodecGeneric = 0,
20   kVideoCodecVP8,
21   kVideoCodecVP9,
22   kVideoCodecAV1,
23   kVideoCodecH264,
24   kVideoCodecMultiplex,
25 };
26 
27 }  // namespace webrtc
28 
29 #endif  // API_VIDEO_VIDEO_CODEC_TYPE_H_
30