mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-06 02:25:23 +00:00
devices: virtio: video: Add missing H264 levels
BUG=b:161774071 BUG=b:140082257 TEST=emerge-$BOARD crosvm Change-Id: Ia440818360c083611ef9e9c7416999f4cbb367b9 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2345988 Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org> Reviewed-by: Alexandre Courbot <acourbot@chromium.org> Commit-Queue: Alex Lau <alexlau@chromium.org>
This commit is contained in:
parent
ba3269fd39
commit
2cb3fedbb8
1 changed files with 14 additions and 0 deletions
|
@ -115,6 +115,20 @@ impl Profile {
|
||||||
#[repr(u32)]
|
#[repr(u32)]
|
||||||
pub enum Level {
|
pub enum Level {
|
||||||
H264_1_0 = VIRTIO_VIDEO_LEVEL_H264_1_0,
|
H264_1_0 = VIRTIO_VIDEO_LEVEL_H264_1_0,
|
||||||
|
H264_1_1 = VIRTIO_VIDEO_LEVEL_H264_1_1,
|
||||||
|
H264_1_2 = VIRTIO_VIDEO_LEVEL_H264_1_2,
|
||||||
|
H264_1_3 = VIRTIO_VIDEO_LEVEL_H264_1_3,
|
||||||
|
H264_2_0 = VIRTIO_VIDEO_LEVEL_H264_2_0,
|
||||||
|
H264_2_1 = VIRTIO_VIDEO_LEVEL_H264_2_1,
|
||||||
|
H264_2_2 = VIRTIO_VIDEO_LEVEL_H264_2_2,
|
||||||
|
H264_3_0 = VIRTIO_VIDEO_LEVEL_H264_3_0,
|
||||||
|
H264_3_1 = VIRTIO_VIDEO_LEVEL_H264_3_1,
|
||||||
|
H264_3_2 = VIRTIO_VIDEO_LEVEL_H264_3_2,
|
||||||
|
H264_4_0 = VIRTIO_VIDEO_LEVEL_H264_4_0,
|
||||||
|
H264_4_1 = VIRTIO_VIDEO_LEVEL_H264_4_1,
|
||||||
|
H264_4_2 = VIRTIO_VIDEO_LEVEL_H264_4_2,
|
||||||
|
H264_5_0 = VIRTIO_VIDEO_LEVEL_H264_5_0,
|
||||||
|
H264_5_1 = VIRTIO_VIDEO_LEVEL_H264_5_1,
|
||||||
}
|
}
|
||||||
impl_try_from_le32_for_enumn!(Level, "level");
|
impl_try_from_le32_for_enumn!(Level, "level");
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue