Chromium Code Reviews| Index: media/base/video_frame.h |
| diff --git a/media/base/video_frame.h b/media/base/video_frame.h |
| index 9ad9a3d937229756340ac5d0371a9dac832cd81c..2de2fc44fde66b9f75dd5e23ede983f114775c0a 100644 |
| --- a/media/base/video_frame.h |
| +++ b/media/base/video_frame.h |
| @@ -223,6 +223,9 @@ class MEDIA_EXPORT VideoFrame : public base::RefCountedThreadSafe<VideoFrame> { |
| // The width may be aligned to format requirements. |
| static int RowBytes(size_t plane, Format format, int width); |
| + // Returns the number of rows for the given plane, format, and height. |
|
wuchengli
2014/08/27 05:46:25
Add "The height may be aligned to format requireme
|
| + static int Rows(size_t plane, Format format, int height); |
| + |
| Format format() const { return format_; } |
| const gfx::Size& coded_size() const { return coded_size_; } |