summaryrefslogtreecommitdiffstats
path: root/media/base
diff options
context:
space:
mode:
authorimcheng@chromium.org <imcheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-29 00:12:29 +0000
committerimcheng@chromium.org <imcheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-29 00:12:29 +0000
commitda0273e3d7c84f8e315fd37e2afaea83cef036c7 (patch)
tree7f0d22710fed4f832195454daaef8e4a7c64f1f6 /media/base
parente5ae223bf03714dd1e53aa6bc0165d079915f5e7 (diff)
downloadchromium_src-da0273e3d7c84f8e315fd37e2afaea83cef036c7.zip
chromium_src-da0273e3d7c84f8e315fd37e2afaea83cef036c7.tar.gz
chromium_src-da0273e3d7c84f8e315fd37e2afaea83cef036c7.tar.bz2
This tool demonstrates the use of the Media Foundation H.264 decoder as a standalone Media Foundation Transform (MFT). See README for more information.
Review URL: http://codereview.chromium.org/3044019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54078 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/base')
-rw-r--r--media/base/video_frame.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/media/base/video_frame.h b/media/base/video_frame.h
index a135bdf..cc54bba 100644
--- a/media/base/video_frame.h
+++ b/media/base/video_frame.h
@@ -33,6 +33,7 @@ class VideoFrame : public StreamSample {
RGBA, // 32bpp RGBA packed 8:8:8:8
YV12, // 12bpp YVU planar 1x1 Y, 2x2 VU samples
YV16, // 16bpp YVU planar 1x1 Y, 2x1 VU samples
+ NV12, // 12bpp YVU planar 1x1 Y, 2x2 UV interleaving samples
EMPTY, // An empty frame.
ASCII, // A frame with ASCII content. For testing only.
};
@@ -41,6 +42,8 @@ class VideoFrame : public StreamSample {
TYPE_SYSTEM_MEMORY,
TYPE_OMXBUFFERHEAD,
TYPE_EGL_IMAGE,
+ TYPE_MFBUFFER,
+ TYPE_DIRECT3DSURFACE
};
public: