add VA_SURFACE_ATTRIB_MEM_TYPE_KERNEL_DRM_BO in va_drmcommon.h
[platform/upstream/libva.git] / va / va_dec_jpeg.h
index f8858aa..380e0fe 100644 (file)
@@ -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;