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

Side by Side Diff: ppapi/api/private/pp_content_decryptor.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, 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 (c) 2012 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2012 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 * The <code>PP_DecryptTrackingInfo</code> struct contains necessary information 7 * The <code>PP_DecryptTrackingInfo</code> struct contains necessary information
8 * that can be used to associate the decrypted block with a decrypt request 8 * that can be used to associate the decrypted block with a decrypt request
9 * and/or an input block. 9 * and/or an input block.
10 */ 10 */
(...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after
343 [assert_size(4)] 343 [assert_size(4)]
344 enum PP_VideoCodecProfile { 344 enum PP_VideoCodecProfile {
345 PP_VIDEOCODECPROFILE_UNKNOWN = 0, 345 PP_VIDEOCODECPROFILE_UNKNOWN = 0,
346 PP_VIDEOCODECPROFILE_NOT_NEEDED = 1, 346 PP_VIDEOCODECPROFILE_NOT_NEEDED = 1,
347 PP_VIDEOCODECPROFILE_H264_BASELINE = 2, 347 PP_VIDEOCODECPROFILE_H264_BASELINE = 2,
348 PP_VIDEOCODECPROFILE_H264_MAIN = 3, 348 PP_VIDEOCODECPROFILE_H264_MAIN = 3,
349 PP_VIDEOCODECPROFILE_H264_EXTENDED = 4, 349 PP_VIDEOCODECPROFILE_H264_EXTENDED = 4,
350 PP_VIDEOCODECPROFILE_H264_HIGH = 5, 350 PP_VIDEOCODECPROFILE_H264_HIGH = 5,
351 PP_VIDEOCODECPROFILE_H264_HIGH_10 = 6, 351 PP_VIDEOCODECPROFILE_H264_HIGH_10 = 6,
352 PP_VIDEOCODECPROFILE_H264_HIGH_422 = 7, 352 PP_VIDEOCODECPROFILE_H264_HIGH_422 = 7,
353 PP_VIDEOCODECPROFILE_H264_HIGH_444_PREDICTIVE = 8 353 PP_VIDEOCODECPROFILE_H264_HIGH_444_PREDICTIVE = 8,
354 PP_VIDEOCODECPROFILE_VP9_PROFILE0 = 9,
355 PP_VIDEOCODECPROFILE_VP9_PROFILE1 = 10,
356 PP_VIDEOCODECPROFILE_VP9_PROFILE2 = 11,
357 PP_VIDEOCODECPROFILE_VP9_PROFILE3 = 12
bbudge 2016/03/29 21:42:12 Since this is Private, you might be able to avoid
354 }; 358 };
355 359
356 /** 360 /**
357 * <code>PP_VideoDecoderConfig</code> contains video decoder configuration 361 * <code>PP_VideoDecoderConfig</code> contains video decoder configuration
358 * information required to initialize video decoders, and a request ID 362 * information required to initialize video decoders, and a request ID
359 * that allows clients to associate a decoder initialization request with a 363 * that allows clients to associate a decoder initialization request with a
360 * status response. Note: When <code>codec</code> requires extra data for 364 * status response. Note: When <code>codec</code> requires extra data for
361 * initialization, the data is sent as a <code>PP_Resource</code> carried 365 * initialization, the data is sent as a <code>PP_Resource</code> carried
362 * alongside <code>PP_VideoDecoderConfig</code>. 366 * alongside <code>PP_VideoDecoderConfig</code>.
363 */ 367 */
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
478 /** 482 /**
479 * Status of this key. 483 * Status of this key.
480 */ 484 */
481 PP_CdmKeyStatus key_status; 485 PP_CdmKeyStatus key_status;
482 486
483 /** 487 /**
484 * Optional error code for keys that are not usable. 488 * Optional error code for keys that are not usable.
485 */ 489 */
486 uint32_t system_code; 490 uint32_t system_code;
487 }; 491 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698