Chromium Code Reviews| Index: media/video/capture/video_capture_types.h |
| diff --git a/media/video/capture/video_capture_types.h b/media/video/capture/video_capture_types.h |
| index f8e8cab9ebaa4ed48aee99fd319333249d8a2354..d695045056ff26413214a0b3f20acca04fcf66ef 100644 |
| --- a/media/video/capture/video_capture_types.h |
| +++ b/media/video/capture/video_capture_types.h |
| @@ -67,6 +67,9 @@ class MEDIA_EXPORT VideoCaptureFormat { |
| std::string ToString() const; |
| static std::string PixelFormatToString(VideoPixelFormat format); |
| + // Returns the required image size in bytes for a VideoCaptureFormat instance. |
|
mcasas
2015/02/03 20:48:46
Needs more explanation: it'd be the size if tightl
|
| + size_t ImageAllocationSize() const; |
| + |
| // Checks that all values are in the expected range. All limits are specified |
| // in media::Limits. |
| bool IsValid() const; |