summaryrefslogtreecommitdiff
path: root/src/i965_defines.h
diff options
context:
space:
mode:
authorXiang, Haihao <haihao.xiang@intel.com>2011-09-07 16:18:19 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2011-09-08 16:46:59 +0800
commitd813bd9f9df61693838337081bf5b8b9e3b251a8 (patch)
tree09a98de1dc985928a761982fa8bfbc1d9820c677 /src/i965_defines.h
parent8f64058fa117a4e0a76bcbc3b916ae7e157f769d (diff)
downloadvaapi-intel-driver-d813bd9f9df61693838337081bf5b8b9e3b251a8.tar.gz
vaapi-intel-driver-d813bd9f9df61693838337081bf5b8b9e3b251a8.tar.bz2
vaapi-intel-driver-d813bd9f9df61693838337081bf5b8b9e3b251a8.zip
i965_drv_video: support JPEG decoding on Ivybridge
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Diffstat (limited to 'src/i965_defines.h')
-rw-r--r--src/i965_defines.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/i965_defines.h b/src/i965_defines.h
index 509ae9e..13f6ed8 100644
--- a/src/i965_defines.h
+++ b/src/i965_defines.h
@@ -314,6 +314,11 @@
#define MFD_VC1_BSD_OBJECT MFX(2, 2, 1, 8)
+#define MFX_JPEG_PIC_STATE MFX(2, 7, 0, 0)
+#define MFX_JPEG_HUFF_TABLE_STATE MFX(2, 7, 0, 2)
+
+#define MFD_JPEG_BSD_OBJECT MFX(2, 7, 1, 8)
+
#define I965_DEPTHFORMAT_D32_FLOAT 1
#define BASE_ADDRESS_MODIFY (1 << 0)
@@ -689,6 +694,10 @@
#define MFX_QM_JPEG_LUMA_Y_QUANTIZER_MATRIX 0
#define MFX_QM_JPEG_CHROMA_CB_QUANTIZER_MATRIX 1
#define MFX_QM_JPEG_CHROMA_CR_QUANTIZER_MATRIX 2
+#define MFX_QM_JPEG_ALPHA_QUANTIZER_MATRIX 3 /* for new device */
+
+#define MFX_HUFFTABLE_ID_Y 0
+#define MFX_HUFFTABLE_ID_UV 1 /* UV on Ivybridge */
#define MFD_MODE_VLD 0
#define MFD_MODE_IT 1