Index: media/base/video_frame.h |
diff --git a/media/base/video_frame.h b/media/base/video_frame.h |
index 80169cbe822990ca487fa5993d12bc2c5a7aa0d0..e27b2297b465c616aafc03b43ad6a0facf611df2 100644 |
--- a/media/base/video_frame.h |
+++ b/media/base/video_frame.h |
@@ -250,6 +250,10 @@ class MEDIA_EXPORT VideoFrame : public base::RefCountedThreadSafe<VideoFrame> { |
static size_t AllocationSize(VideoPixelFormat format, |
const gfx::Size& coded_size); |
+ // Returns the actual allocation size for a YUV frame that is created by |
DaleCurtis
2015/08/03 21:23:25
Why do we need these two methods again? Can we jus
emircan
2015/08/03 21:41:54
Only VideoFrame::CreateFrame() uses VideoFrame::Al
|
+ // CreateFrame() method. |
+ static size_t AlignedAllocationSize(const scoped_refptr<VideoFrame>& frame); |
+ |
// Returns the plane gfx::Size (in bytes) for a plane of the given coded size |
// and format. |
static gfx::Size PlaneSize(VideoPixelFormat format, |