Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(98)

Unified Diff: gpu/config/gpu_info.h

Issue 1769593002: Add 4 VP9 profiles to the media::VideoCodecProfile enum. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@hevc-codec-7
Patch Set: Better TODOs Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: gpu/config/gpu_info.h
diff --git a/gpu/config/gpu_info.h b/gpu/config/gpu_info.h
index 1ca35a229c0cdb18d9c0621593750e04a38b5f1b..451c8fd68f249d91442859a1f0c72988e375631e 100644
--- a/gpu/config/gpu_info.h
+++ b/gpu/config/gpu_info.h
@@ -51,9 +51,11 @@ enum VideoCodecProfile {
H264PROFILE_STEREOHIGH,
H264PROFILE_MULTIVIEWHIGH,
VP8PROFILE_ANY,
- VP9PROFILE_ANY,
- // 4 profile values are reserved for VP9 profiles.
- HEVCPROFILE_MAIN = VP9PROFILE_ANY + 4, //=16
+ VP9PROFILE_PROFILE0,
+ VP9PROFILE_PROFILE1,
+ VP9PROFILE_PROFILE2,
+ VP9PROFILE_PROFILE3,
+ HEVCPROFILE_MAIN,
HEVCPROFILE_MAIN10,
HEVCPROFILE_MAIN_STILL_PICTURE,
VIDEO_CODEC_PROFILE_MAX = HEVCPROFILE_MAIN_STILL_PICTURE,

Powered by Google App Engine
This is Rietveld 408576698