| Index: ppapi/api/dev/ppb_video_decoder_dev.idl
|
| diff --git a/ppapi/api/dev/ppb_video_decoder_dev.idl b/ppapi/api/dev/ppb_video_decoder_dev.idl
|
| index 5b1a94eaa1dbe88dff1f7a8bb8e013e4e1f64b52..bf41c4ffe843984f5913fcbc0a2e76c4a68247a6 100644
|
| --- a/ppapi/api/dev/ppb_video_decoder_dev.idl
|
| +++ b/ppapi/api/dev/ppb_video_decoder_dev.idl
|
| @@ -7,7 +7,7 @@
|
| * This file defines the <code>PPB_VideoDecoder_Dev</code> interface.
|
| */
|
| label Chrome {
|
| - M14 = 0.16
|
| + M21 = 0.17
|
| };
|
|
|
| /**
|
| @@ -37,13 +37,22 @@ interface PPB_VideoDecoder_Dev {
|
| * |instance| pointer to the plugin instance.
|
| * |context| a PPB_Graphics3D resource in which decoding will happen.
|
| * |profile| the video stream's format profile.
|
| + * |frame_size| the width and height of the video frame. This parameter is
|
| + * optional and can be set to 0,0.
|
| + * |extra_data| is the byte data required to initialize video decoders, for
|
| + * example the H.264 AAVC data. This parameter is optional and can be set
|
| + * to an empty array.
|
| + * |extra_data_size| the size of the extra_data array.
|
| *
|
| * The created decoder is returned as PP_Resource. 0 means failure.
|
| */
|
| PP_Resource Create(
|
| [in] PP_Instance instance,
|
| [in] PP_Resource context,
|
| - [in] PP_VideoDecoder_Profile profile);
|
| + [in] PP_VideoDecoder_Profile profile,
|
| + [in] PP_Size frame_size,
|
| + [in, size_as=extra_data_size] uint8_t[] extra_data,
|
| + [in] uint32_t extra_data_size);
|
|
|
| /**
|
| * Tests whether |resource| is a video decoder created through Create
|
|
|