aboutsummaryrefslogtreecommitdiffstats
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:13 +0100
commit5c8280c3075dd54f26752c3a1185647578421703 (patch)
tree9a68c2ad77851433b8b438b2e582290a0bb5e00f /libavcodec/h264.h
parente7226984ac13aacb84eae77a372df8ff7685848f (diff)
downloadffmpeg-5c8280c3075dd54f26752c3a1185647578421703.tar.gz
h264: move last_qscale_diff 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 e08e5baf85..7ced3b58e0 100644
--- a/libavcodec/h264.h
+++ b/libavcodec/h264.h
@@ -307,6 +307,7 @@ typedef struct H264SliceContext {
int qscale;
int chroma_qp[2]; // QPc
int qp_thresh; ///< QP threshold to skip loopfilter
+ int last_qscale_diff;
// Weighted pred stuff
int use_weight;
@@ -491,7 +492,6 @@ typedef struct H264Context {
/* chroma_pred_mode for i4x4 or i16x16, else 0 */
uint8_t *chroma_pred_mode_table;
- int last_qscale_diff;
uint8_t (*mvd_table[2])[2];
DECLARE_ALIGNED(16, uint8_t, mvd_cache)[2][5 * 8][2];
uint8_t *direct_table;