diff options
author | Gwenole Beauchesne <gwenole.beauchesne@intel.com> | 2012-03-15 14:41:47 +0100 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2012-03-29 16:24:48 +0800 |
commit | 50b38778e0e7e9b27e5679b17b63c1c30ec2e919 (patch) | |
tree | 5e4adf4d68a030a3f027adf70f597df962b9abbb /src/i965_defines.h | |
parent | 1881e8a067db677bb0ad5adaa5adc59644ac5195 (diff) | |
download | libva-intel-driver-50b38778e0e7e9b27e5679b17b63c1c30ec2e919.tar.gz |
mpeg2: fix construction of reference frames list (SNB, IVB).
Fix construction of reference frames list for interlaced streams.
In this case, the array is indexed by frame store ID >> 1 where
bit 0 of frame store ID represents top (0) or bottom (1) field.
Besides, current render target can also be used as a reference
while decoding the second field.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
(cherry picked from commit 14f70559b516030d141cce09db54cf49d11df9b2)
Diffstat (limited to 'src/i965_defines.h')
-rw-r--r-- | src/i965_defines.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/i965_defines.h b/src/i965_defines.h index 0988a150..ccaa1818 100644 --- a/src/i965_defines.h +++ b/src/i965_defines.h @@ -709,6 +709,10 @@ #define MFX_SURFACE_PLANAR_422_8 6 #define MFX_SURFACE_MONOCHROME 12 +#define MPEG_I_PICTURE 1 +#define MPEG_P_PICTURE 2 +#define MPEG_B_PICTURE 3 + #define MPEG_TOP_FIELD 1 #define MPEG_BOTTOM_FIELD 2 #define MPEG_FRAME 3 |