projects
/
profile
/
ivi
/
libva.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fbffed4
)
jpeg: pad Huffman table to 4-byte boundaries (Haihao).
author
Gwenole Beauchesne
<gwenole.beauchesne@intel.com>
Tue, 31 Jul 2012 08:48:27 +0000
(10:48 +0200)
committer
Gwenole Beauchesne
<gwenole.beauchesne@intel.com>
Tue, 31 Jul 2012 09:08:19 +0000
(11:08 +0200)
Some VA driver implementations require alignment to 4-byte boundaries
so that to allow for direct memory transfers.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
va/va_dec_jpeg.h
patch
|
blob
|
history
diff --git
a/va/va_dec_jpeg.h
b/va/va_dec_jpeg.h
index
f8858aa
..
9936692
100644
(file)
--- a/
va/va_dec_jpeg.h
+++ b/
va/va_dec_jpeg.h
@@
-121,6
+121,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;