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

Side by Side Diff: ppapi/api/pp_codecs.idl

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: CR feedback Created 4 years, 8 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 (c) 2014 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2014 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 5
6 /** 6 /**
7 * Video profiles. 7 * Video profiles.
8 */ 8 */
9 enum PP_VideoProfile { 9 enum PP_VideoProfile {
10 PP_VIDEOPROFILE_H264BASELINE = 0, 10 PP_VIDEOPROFILE_H264BASELINE = 0,
11 PP_VIDEOPROFILE_H264MAIN = 1, 11 PP_VIDEOPROFILE_H264MAIN = 1,
12 PP_VIDEOPROFILE_H264EXTENDED = 2, 12 PP_VIDEOPROFILE_H264EXTENDED = 2,
13 PP_VIDEOPROFILE_H264HIGH = 3, 13 PP_VIDEOPROFILE_H264HIGH = 3,
14 PP_VIDEOPROFILE_H264HIGH10PROFILE = 4, 14 PP_VIDEOPROFILE_H264HIGH10PROFILE = 4,
15 PP_VIDEOPROFILE_H264HIGH422PROFILE = 5, 15 PP_VIDEOPROFILE_H264HIGH422PROFILE = 5,
16 PP_VIDEOPROFILE_H264HIGH444PREDICTIVEPROFILE = 6, 16 PP_VIDEOPROFILE_H264HIGH444PREDICTIVEPROFILE = 6,
17 PP_VIDEOPROFILE_H264SCALABLEBASELINE = 7, 17 PP_VIDEOPROFILE_H264SCALABLEBASELINE = 7,
18 PP_VIDEOPROFILE_H264SCALABLEHIGH = 8, 18 PP_VIDEOPROFILE_H264SCALABLEHIGH = 8,
19 PP_VIDEOPROFILE_H264STEREOHIGH = 9, 19 PP_VIDEOPROFILE_H264STEREOHIGH = 9,
20 PP_VIDEOPROFILE_H264MULTIVIEWHIGH = 10, 20 PP_VIDEOPROFILE_H264MULTIVIEWHIGH = 10,
21 PP_VIDEOPROFILE_VP8_ANY = 11, 21 PP_VIDEOPROFILE_VP8_ANY = 11,
22 PP_VIDEOPROFILE_VP9_ANY = 12, 22 PP_VIDEOPROFILE_VP9_PROFILE0 = 12,
raymes 2016/03/29 01:51:49 This looks like an API change. Is there potential
bbudge 2016/03/29 21:42:12 This is used by two Stable APIs (PPB_VideoDecoder,
23 PP_VIDEOPROFILE_MAX = PP_VIDEOPROFILE_VP9_ANY 23 PP_VIDEOPROFILE_VP9_PROFILE1 = 13,
24 PP_VIDEOPROFILE_VP9_PROFILE2 = 14,
25 PP_VIDEOPROFILE_VP9_PROFILE3 = 15,
26 PP_VIDEOPROFILE_MAX = PP_VIDEOPROFILE_VP9_PROFILE3
24 }; 27 };
25 28
26 /** 29 /**
27 * Audio profiles. 30 * Audio profiles.
28 */ 31 */
29 enum PP_AudioProfile { 32 enum PP_AudioProfile {
30 PP_AUDIOPROFILE_OPUS = 0, 33 PP_AUDIOPROFILE_OPUS = 0,
31 PP_AUDIOPROFILE_MAX = PP_AUDIOPROFILE_OPUS 34 PP_AUDIOPROFILE_MAX = PP_AUDIOPROFILE_OPUS
32 }; 35 };
33 36
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 /** 248 /**
246 * The size, in bytes, of the bitstream data. 249 * The size, in bytes, of the bitstream data.
247 */ 250 */
248 uint32_t size; 251 uint32_t size;
249 252
250 /** 253 /**
251 * The base address of the bitstream data. 254 * The base address of the bitstream data.
252 */ 255 */
253 mem_t buffer; 256 mem_t buffer;
254 }; 257 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698