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:12 +0100
commit06789ad3b71296a9e2fbd0278632d97a5d9af8d7 (patch)
treec602c3d3b69a9549e9c13ca751e7f1e769609e42 /libavcodec/h264.h
parentd231e84b06a9964c840cff4e228509f706165fb6 (diff)
h264: move qp_thresh into the per-slice context
Diffstat (limited to 'libavcodec/h264.h')
-rw-r--r--libavcodec/h264.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/h264.h b/libavcodec/h264.h
index 1820ca5990..5e65db3347 100644
--- a/libavcodec/h264.h
+++ b/libavcodec/h264.h
@@ -301,6 +301,7 @@ typedef struct H264SliceContext {
int qscale;
int chroma_qp[2]; // QPc
+ int qp_thresh; ///< QP threshold to skip loopfilter
// Weighted pred stuff
int use_weight;
@@ -336,8 +337,6 @@ typedef struct H264Context {
int pixel_shift; ///< 0 for 8-bit H264, 1 for high-bit-depth H264
- int qp_thresh; ///< QP threshold to skip loopfilter
-
/* coded dimensions -- 16 * mb w/h */
int width, height;
ptrdiff_t linesize, uvlinesize;