X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=va%2Fva_dec_jpeg.h;h=380e0feb9d73b7d21c1c9df5609e33728c45b41b;hb=715d3d84a40cc8524bad807f514b9b5d87c3f82f;hp=f8858aad51b58c5166b584566b153c6118ab02b6;hpb=1c84bb0990d477c1f0c81c8fcdc8591731a1fb93;p=platform%2Fupstream%2Flibva.git diff --git a/va/va_dec_jpeg.h b/va/va_dec_jpeg.h index f8858aa..380e0fe 100644 --- a/va/va_dec_jpeg.h +++ b/va/va_dec_jpeg.h @@ -83,6 +83,8 @@ typedef struct _VAPictureParameterBufferJPEGBaseline { * The #load_quantization_table array can be used as a hint to notify * the VA driver implementation about which table(s) actually changed * since the last submission of this buffer. + * + * The #quantiser_table values are specified in zig-zag scan order. */ typedef struct _VAIQMatrixBufferJPEGBaseline { /** \brief Specifies which #quantiser_table is valid. */ @@ -121,6 +123,8 @@ typedef struct _VAHuffmanTableBufferJPEGBaseline { unsigned char num_ac_codes[16]; /** \brief Value associated with each Huffman code (Vij). */ unsigned char ac_values[162]; + /** \brief Padding to 4-byte boundaries. Must be set to zero. */ + unsigned char pad[2]; /**@}*/ } huffman_table[2]; } VAHuffmanTableBufferJPEGBaseline;