diff options
author | sandersd@chromium.org <sandersd@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-03 08:46:01 +0000 |
---|---|---|
committer | sandersd@chromium.org <sandersd@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-03 08:46:01 +0000 |
commit | 4b0cc73193fb82c7c1eca748da7964ec9c8f7aa8 (patch) | |
tree | 7aea5f30cecb761ac6134f082987cf2238189f2d /media/base/video_frame.h | |
parent | 195c092d2df1eb9a677fed0fb1ce314944304d60 (diff) | |
download | chromium_src-4b0cc73193fb82c7c1eca748da7964ec9c8f7aa8.zip chromium_src-4b0cc73193fb82c7c1eca748da7964ec9c8f7aa8.tar.gz chromium_src-4b0cc73193fb82c7c1eca748da7964ec9c8f7aa8.tar.bz2 |
Support for YUV 4:4:4 subsampling.
Plumb a new VideoFrame format (YV24) through the stack and add a conversion using libyuv to the software path.
BUG=104711
Review URL: https://codereview.chromium.org/289373011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@274434 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/base/video_frame.h')
-rw-r--r-- | media/base/video_frame.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/media/base/video_frame.h b/media/base/video_frame.h index a3f296d..0696a55 100644 --- a/media/base/video_frame.h +++ b/media/base/video_frame.h @@ -57,7 +57,8 @@ class MEDIA_EXPORT VideoFrame : public base::RefCountedThreadSafe<VideoFrame> { NATIVE_TEXTURE = 6, // Native texture. Pixel-format agnostic. YV12J = 7, // JPEG color range version of YV12 NV12 = 8, // 12bpp 1x1 Y plane followed by an interleaved 2x2 UV plane. - FORMAT_MAX = NV12, // Must always be equal to largest entry logged. + YV24 = 9, // 24bpp YUV planar, no subsampling. + FORMAT_MAX = YV24, // Must always be equal to largest entry logged. }; // Returns the name of a Format as a string. |