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

Unified Diff: gpu/ipc/common/gpu_info_struct_traits.cc

Issue 2640113004: Introduce Dolby Vision video codec and Demuxer support (Closed)
Patch Set: Created 3 years, 11 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/ipc/common/gpu_info_struct_traits.cc
diff --git a/gpu/ipc/common/gpu_info_struct_traits.cc b/gpu/ipc/common/gpu_info_struct_traits.cc
index b132575c9d186532e39f5b21c3adaacb684d5bdb..f251c11af9152bcf13648c523062843d80c44ed3 100644
--- a/gpu/ipc/common/gpu_info_struct_traits.cc
+++ b/gpu/ipc/common/gpu_info_struct_traits.cc
@@ -106,6 +106,11 @@ EnumTraits<gpu::mojom::VideoCodecProfile, gpu::VideoCodecProfile>::ToMojom(
return gpu::mojom::VideoCodecProfile::HEVCPROFILE_MAIN10;
case gpu::VideoCodecProfile::HEVCPROFILE_MAIN_STILL_PICTURE:
return gpu::mojom::VideoCodecProfile::HEVCPROFILE_MAIN_STILL_PICTURE;
+ case gpu::VideoCodecProfile::DOLBYVISION_PROFILE0:
+ case gpu::VideoCodecProfile::DOLBYVISION_PROFILE4:
+ case gpu::VideoCodecProfile::DOLBYVISION_PROFILE5:
+ case gpu::VideoCodecProfile::DOLBYVISION_PROFILE7:
wolenetz 2017/01/24 21:52:24 To be clear, why NOTREACHED() here versus HEVC? Is
erickung1 2017/02/03 18:18:31 Done.
+ NOTREACHED();
}
NOTREACHED() << "Invalid VideoCodecProfile:" << video_codec_profile;
return gpu::mojom::VideoCodecProfile::VIDEO_CODEC_PROFILE_UNKNOWN;

Powered by Google App Engine
This is Rietveld 408576698