summaryrefslogtreecommitdiffstats
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
commit5355ed6b20e941430c4f8fb82644e87a65366d61 (patch)
tree7ff64ca4f9c5a91c4a0b85290a7444c4b12d733e /libavcodec/h264.h
parent06789ad3b71296a9e2fbd0278632d97a5d9af8d7 (diff)
downloadffmpeg-streaming-5355ed6b20e941430c4f8fb82644e87a65366d61.zip
ffmpeg-streaming-5355ed6b20e941430c4f8fb82644e87a65366d61.tar.gz
h264: move {prev,next}_mb_skipped into the per-slice context
Diffstat (limited to 'libavcodec/h264.h')
-rw-r--r--libavcodec/h264.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/h264.h b/libavcodec/h264.h
index 5e65db3..1ba6e56 100644
--- a/libavcodec/h264.h
+++ b/libavcodec/h264.h
@@ -314,6 +314,9 @@ typedef struct H264SliceContext {
int luma_weight[48][2][2];
int chroma_weight[48][2][2][2];
int implicit_weight[48][48][2];
+
+ int prev_mb_skipped;
+ int next_mb_skipped;
} H264SliceContext;
/**
@@ -350,9 +353,6 @@ typedef struct H264Context {
int flags;
int workaround_bugs;
- int prev_mb_skipped;
- int next_mb_skipped;
-
// prediction stuff
int chroma_pred_mode;
int intra16x16_pred_mode;
OpenPOWER on IntegriCloud