| Index: media/base/video_frame.h
|
| diff --git a/media/base/video_frame.h b/media/base/video_frame.h
|
| index 3483e9191a91307ebb9bb8253f8fb3becac3ed09..07697c23b254d94e1863a18a430aac9e688d6c58 100644
|
| --- a/media/base/video_frame.h
|
| +++ b/media/base/video_frame.h
|
| @@ -43,6 +43,9 @@ class MEDIA_EXPORT VideoFrame : public base::RefCountedThreadSafe<VideoFrame> {
|
| EMPTY = 9, // An empty frame.
|
| I420 = 11, // 12bpp YVU planar 1x1 Y, 2x2 UV samples.
|
| NATIVE_TEXTURE = 12, // Native texture. Pixel-format agnostic.
|
| +#if defined(GOOGLE_TV)
|
| + HOLE = 13, // Hole frame.
|
| +#endif
|
| };
|
|
|
| // Creates a new frame in system memory with given parameters. Buffers for
|
| @@ -125,6 +128,11 @@ class MEDIA_EXPORT VideoFrame : public base::RefCountedThreadSafe<VideoFrame> {
|
| // equivalent of RGB(0,0,0).
|
| static scoped_refptr<VideoFrame> CreateBlackFrame(const gfx::Size& size);
|
|
|
| +#if defined(GOOGLE_TV)
|
| + // Allocates a hole frame.
|
| + static scoped_refptr<VideoFrame> CreateHoleFrame(const gfx::Size& size);
|
| +#endif
|
| +
|
| Format format() const { return format_; }
|
|
|
| const gfx::Size& coded_size() const { return coded_size_; }
|
|
|