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
commit5f390eef8ee2b8adab00c5d2923a52aa261eb999 (patch)
tree795f383dbe4f784c2d9bebe4ea517efc6241606b /libavcodec/h264.h
parent99a35d1ccbb6b6cd260ce5c8369a897a79fe6a3a (diff)
downloadffmpeg-5f390eef8ee2b8adab00c5d2923a52aa261eb999.tar.gz
h264: move mb_[uv]linesize 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 8ed84b4469..772795010f 100644
--- a/libavcodec/h264.h
+++ b/libavcodec/h264.h
@@ -342,6 +342,9 @@ typedef struct H264SliceContext {
unsigned int topright_samples_available;
unsigned int left_samples_available;
+ ptrdiff_t mb_linesize; ///< may be equal to s->linesize or s->linesize * 2, for mbaff
+ ptrdiff_t mb_uvlinesize;
+
/**
* number of neighbors (top and/or left) that used 8x8 dct
*/
@@ -413,9 +416,6 @@ typedef struct H264Context {
uint32_t *mb2br_xy;
int b_stride; // FIXME use s->b4_stride
- ptrdiff_t mb_linesize; ///< may be equal to s->linesize or s->linesize * 2, for mbaff
- ptrdiff_t mb_uvlinesize;
-
SPS sps; ///< current sps
PPS pps; ///< current pps