| Index: media/base/video_frame_impl.h
|
| diff --git a/media/base/video_frame_impl.h b/media/base/video_frame_impl.h
|
| index 3a48380e2c75ebd20cd573214f35989b5a64f4d1..cf660ea50ae389d1513eeb631f8e942b848b7c82 100644
|
| --- a/media/base/video_frame_impl.h
|
| +++ b/media/base/video_frame_impl.h
|
| @@ -26,6 +26,11 @@ class VideoFrameImpl : public VideoFrame {
|
| // timestamp and duration are all 0.
|
| static void CreateEmptyFrame(scoped_refptr<VideoFrame>* frame_out);
|
|
|
| + // Allocates YV12 frame based on |width| and |height|, and sets its data to
|
| + // the YUV equivalent of RGB(0,0,0).
|
| + static void CreateBlackFrame(int width, int height,
|
| + scoped_refptr<VideoFrame>* frame_out);
|
| +
|
| // Implementation of VideoFrame.
|
| virtual bool Lock(VideoSurface* surface);
|
| virtual void Unlock();
|
|
|