diff options
author | Xiang, Haihao <haihao.xiang@intel.com> | 2012-01-11 16:24:59 +0800 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2012-01-12 13:36:51 +0800 |
commit | 31276a1ab151268d24eb2126a8ae67d20b4c4df0 (patch) | |
tree | 1221d98135e3424af02e86914f3ee5cc7c78643d | |
parent | c75833d3dd4d0f5b6eed6f0be410c7321f889db5 (diff) |
Support 16-bits quantization element for JPEG decoding
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
-rw-r--r-- | va/va.h | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -719,11 +719,17 @@ typedef struct _VAEncPictureParameterBufferJPEG } VAEncPictureParameterBufferJPEG; /* data struct for JPEG decoding */ + +/* Quantization table */ typedef struct _VAIQMatrixBufferJPEG { - unsigned char quantiser_matrix[4][64]; /* quantiser_matrix[Tq][64] (Tq=0,1,2,3) specifies a + int precision[4]; /* valid value: 0(8-bits) , 1(16-bits), precision[Tq](Tq=0,1,2,3) + * specifies precision for destination Tq + */ + unsigned char quantiser_matrix[4][128]; /* quantiser_matrix[Tq](Tq=0,1,2,3) specifies a * quantization table for destination Tq in zig-zag - * scan order + * scan order. Only the first 64 bytes are valid for each + * table if precision */ } VAIQMatrixBufferJPEG; |