| Index: media/video/video_decode_accelerator.h
|
| diff --git a/media/video/video_decode_accelerator.h b/media/video/video_decode_accelerator.h
|
| index 5fa0d2149348fd07854f14993ab2d3a0988b0c3a..8128094f9cb9defecda86a6818415910d9117bab 100644
|
| --- a/media/video/video_decode_accelerator.h
|
| +++ b/media/video/video_decode_accelerator.h
|
| @@ -80,9 +80,15 @@ class MEDIA_EXPORT VideoDecodeAccelerator
|
| // Initializes the video decoder with specific configuration.
|
| // Parameters:
|
| // |profile| is the video stream's format profile.
|
| - //
|
| + // |frame_size| is 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 vector.
|
| // Returns true when command successfully accepted. Otherwise false.
|
| - virtual bool Initialize(VideoCodecProfile profile) = 0;
|
| + virtual bool Initialize(VideoCodecProfile profile,
|
| + const gfx::Size& frame_size,
|
| + const std::vector<uint8_t>& extra_data) = 0;
|
|
|
| // Decodes given bitstream buffer. Once decoder is done with processing
|
| // |bitstream_buffer| it will call NotifyEndOfBitstreamBuffer() with the
|
|
|