summaryrefslogtreecommitdiffstats
path: root/media/base/buffers.h
diff options
context:
space:
mode:
authorhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-02 23:55:44 +0000
committerhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-02 23:55:44 +0000
commit720ac73783ea732c130ff6d11dffa41919a25809 (patch)
tree02c4777153a46f0ab78a2b0134d07f4d0d27558d /media/base/buffers.h
parentc24e5d031e408a81cd6a004353b4d3065d29046d (diff)
downloadchromium_src-720ac73783ea732c130ff6d11dffa41919a25809.zip
chromium_src-720ac73783ea732c130ff6d11dffa41919a25809.tar.gz
chromium_src-720ac73783ea732c130ff6d11dffa41919a25809.tar.bz2
FFmpeg video decoder glue code
Implementation of FFmpeg to perform video decoding. Also added hooks to insert this FFmpeg video decoder filter. Review URL: http://codereview.chromium.org/60069 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13056 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/base/buffers.h')
-rw-r--r--media/base/buffers.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/media/base/buffers.h b/media/base/buffers.h
index d600289..527f9e6 100644
--- a/media/base/buffers.h
+++ b/media/base/buffers.h
@@ -157,8 +157,9 @@ struct VideoSurface {
size_t planes;
// Array of strides for each plane, typically greater or equal to the width
- // of the surface divided by the horizontal sampling period.
- size_t strides[kMaxPlanes];
+ // of the surface divided by the horizontal sampling period. Note that
+ // strides can be negative.
+ int32 strides[kMaxPlanes];
// Array of data pointers to each plane.
uint8* data[kMaxPlanes];