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

Side by Side Diff: ppapi/api/private/pp_content_decryptor.idl

Issue 11013052: Add PPAPI CDM video decoder initialization. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased. Created 8 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | ppapi/api/private/ppb_content_decryptor_private.idl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 /** 253 /**
254 * Height of the video frame, in pixels. 254 * Height of the video frame, in pixels.
255 */ 255 */
256 int32_t height; 256 int32_t height;
257 257
258 /** 258 /**
259 * Information needed by the client to track the decrypted frame. 259 * Information needed by the client to track the decrypted frame.
260 */ 260 */
261 PP_DecryptTrackingInfo tracking_info; 261 PP_DecryptTrackingInfo tracking_info;
262 }; 262 };
263
264 /**
265 * <code>PP_VideoCodecProfile</code> contains video codec profile type
266 * constants required for video decoder configuration.
267 *.
268 */
269 [assert_size(4)]
270 enum PP_VideoCodecProfile {
271 PP_VIDEOCODECPROFILE_UNKNOWN = 0,
272 PP_VIDEOCODECPROFILE_VP8_MAIN = 1
273 };
274
275 /**
276 * <code>PP_VideoDecoderConfig</code> contains video decoder configuration
277 * information required to initialize video decoders, and a request ID
278 * that allows clients to associate a decoder initialization request with a
279 * status response. Note: When <code>codec</code> requires extra data for
280 * initialization, the data is sent as a <code>PP_Resource</code> carried
281 * alongside <code>PP_VideoDecoderConfig</code>.
282 */
283 [assert_size(24)]
284 struct PP_VideoDecoderConfig {
285 /**
286 * The video codec to initialize.
287 */
288 PP_VideoCodec codec;
289
290 /**
291 * Profile to use when initializing the video codec.
292 */
293 PP_VideoCodecProfile profile;
294
295 /**
296 * Output video format.
297 */
298 PP_DecryptedFrameFormat format;
299
300 /**
301 * Width of decoded video frames, in pixels.
302 */
303 int32_t width;
304
305 /**
306 * Height of decoded video frames, in pixels.
307 */
308 int32_t height;
309
310 /**
311 * Client-specified identifier for the associated video decoder initialization
312 * request. By using this value, the client can associate a decoder
313 * initialization status response with an initialization request.
314 */
315 uint32_t request_id;
316 };
OLDNEW
« no previous file with comments | « no previous file | ppapi/api/private/ppb_content_decryptor_private.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698