summaryrefslogtreecommitdiff
path: root/libavcodec/h264.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2015-01-17 22:28:46 +0100
committerAnton Khirnov <anton@khirnov.net>2015-03-21 11:27:14 +0100
commitbd3e460b73dd54a68dc253e010c239cefc8d8d55 (patch)
tree2d4fe0ee551c4e3bfe124ff181f16e0d8d17b621 /libavcodec/h264.h
parent6479c79f5517e2881bc881e737b2dbce69553878 (diff)
h264: move direct_cache into the per-slice context
Diffstat (limited to 'libavcodec/h264.h')
-rw-r--r--libavcodec/h264.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264.h b/libavcodec/h264.h
index 29c9746813..3440cca74b 100644
--- a/libavcodec/h264.h
+++ b/libavcodec/h264.h
@@ -393,6 +393,7 @@ typedef struct H264SliceContext {
DECLARE_ALIGNED(16, int16_t, mv_cache)[2][5 * 8][2];
DECLARE_ALIGNED(8, int8_t, ref_cache)[2][5 * 8];
DECLARE_ALIGNED(16, uint8_t, mvd_cache)[2][5 * 8][2];
+ uint8_t direct_cache[5 * 8];
DECLARE_ALIGNED(8, uint16_t, sub_mb_type)[4];
@@ -497,7 +498,6 @@ typedef struct H264Context {
uint8_t *chroma_pred_mode_table;
uint8_t (*mvd_table[2])[2];
uint8_t *direct_table;
- uint8_t direct_cache[5 * 8];
uint8_t zigzag_scan[16];
uint8_t zigzag_scan8x8[64];