diff options
author | Clément Bœsch <u@pkh.me> | 2016-07-27 18:07:30 +0200 |
---|---|---|
committer | Clément Bœsch <u@pkh.me> | 2016-07-27 18:07:30 +0200 |
commit | 6c41eda18ec0ef48763e1672266f7563f05775a5 (patch) | |
tree | 57a70af28ce9da192990ce87506e5d2d753ee40d /libavcodec/h264.h | |
parent | 87d1f820591b87bec452f33f451dee4db142ee9a (diff) | |
parent | debca90863e4ee53447efd02483c500f89766384 (diff) | |
download | ffmpeg-6c41eda18ec0ef48763e1672266f7563f05775a5.tar.gz |
Merge commit 'debca90863e4ee53447efd02483c500f89766384'
* commit 'debca90863e4ee53447efd02483c500f89766384':
h264: store {curr,max}_pic_num in the per-slice context
Merged-by: Clément Bœsch <u@pkh.me>
Diffstat (limited to 'libavcodec/h264.h')
-rw-r--r-- | libavcodec/h264.h | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/libavcodec/h264.h b/libavcodec/h264.h index ceec2c3075..210b2b2eda 100644 --- a/libavcodec/h264.h +++ b/libavcodec/h264.h @@ -465,6 +465,8 @@ typedef struct H264SliceContext { int poc_lsb; int delta_poc_bottom; int delta_poc[2]; + int curr_pic_num; + int max_pic_num; } H264SliceContext; /** @@ -588,16 +590,6 @@ typedef struct H264Context { H264POCContext poc; - /** - * frame_num for frames or 2 * frame_num + 1 for field pics. - */ - int curr_pic_num; - - /** - * max_frame_num or 2 * max_frame_num for field pics. - */ - int max_pic_num; - H264Ref default_ref[2]; H264Picture *short_ref[32]; H264Picture *long_ref[32]; |