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

Side by Side Diff: chromecast/public/media/decoder_config.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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROMECAST_PUBLIC_MEDIA_DECODER_CONFIG_H_ 5 #ifndef CHROMECAST_PUBLIC_MEDIA_DECODER_CONFIG_H_
6 #define CHROMECAST_PUBLIC_MEDIA_DECODER_CONFIG_H_ 6 #define CHROMECAST_PUBLIC_MEDIA_DECODER_CONFIG_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 kH264Extended, 76 kH264Extended,
77 kH264High, 77 kH264High,
78 kH264High10, 78 kH264High10,
79 kH264High422, 79 kH264High422,
80 kH264High444Predictive, 80 kH264High444Predictive,
81 kH264ScalableBaseline, 81 kH264ScalableBaseline,
82 kH264ScalableHigh, 82 kH264ScalableHigh,
83 kH264Stereohigh, 83 kH264Stereohigh,
84 kH264MultiviewHigh, 84 kH264MultiviewHigh,
85 kVP8ProfileAny, 85 kVP8ProfileAny,
86 kVP9ProfileAny, 86 kVP9Profile0,
87 kVP9Profile1,
88 kVP9Profile2,
89 kVP9Profile3,
87 kDolbyVisionCompatible_EL_MD, 90 kDolbyVisionCompatible_EL_MD,
88 kDolbyVisionCompatible_BL_EL_MD, 91 kDolbyVisionCompatible_BL_EL_MD,
89 kDolbyVisionNonCompatible_BL_MD, 92 kDolbyVisionNonCompatible_BL_MD,
90 kDolbyVisionNonCompatible_BL_EL_MD, 93 kDolbyVisionNonCompatible_BL_EL_MD,
91 94
92 kVideoProfileMin = kVideoProfileUnknown, 95 kVideoProfileMin = kVideoProfileUnknown,
93 kVideoProfileMax = kDolbyVisionNonCompatible_BL_EL_MD, 96 kVideoProfileMax = kDolbyVisionNonCompatible_BL_EL_MD,
94 }; 97 };
95 98
96 // TODO(erickung): Remove constructor once CMA backend implementation does't 99 // TODO(erickung): Remove constructor once CMA backend implementation does't
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 inline bool IsValidConfig(const VideoConfig& config) { 188 inline bool IsValidConfig(const VideoConfig& config) {
186 return config.codec >= kVideoCodecMin && 189 return config.codec >= kVideoCodecMin &&
187 config.codec <= kVideoCodecMax && 190 config.codec <= kVideoCodecMax &&
188 config.codec != kVideoCodecUnknown; 191 config.codec != kVideoCodecUnknown;
189 } 192 }
190 193
191 } // namespace media 194 } // namespace media
192 } // namespace chromecast 195 } // namespace chromecast
193 196
194 #endif // CHROMECAST_PUBLIC_MEDIA_DECODER_CONFIG_H_ 197 #endif // CHROMECAST_PUBLIC_MEDIA_DECODER_CONFIG_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698