diff options
author | Anton Khirnov <anton@khirnov.net> | 2013-01-17 12:25:31 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2013-01-18 07:56:05 +0100 |
commit | 940b8b5861241df7aff8977774e1de6e67de5b83 (patch) | |
tree | c331d9598e7f1ef430e72888517e04ff920fb398 /libavcodec/h264.h | |
parent | b90632d5964d3998bab7323468a6b43ab6a24b34 (diff) | |
download | ffmpeg-940b8b5861241df7aff8977774e1de6e67de5b83.tar.gz |
h264: avoid pointless copying of ref lists
ref_list is constructed from other fields per slice when needed, so do
not copy it for both frame and slice threading.
default_ref_list is constructed per frame and still needs to be copied
to per-slice contexts for slice threading, but a copy is not needed for
frame threading.
Diffstat (limited to 'libavcodec/h264.h')
-rw-r--r-- | libavcodec/h264.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264.h b/libavcodec/h264.h index 898ebf7b0a..cdfe1b6308 100644 --- a/libavcodec/h264.h +++ b/libavcodec/h264.h @@ -481,9 +481,9 @@ typedef struct H264Context { int redundant_pic_count; + Picture default_ref_list[2][32]; ///< base reference list for all slices of a coded picture Picture *short_ref[32]; Picture *long_ref[32]; - Picture default_ref_list[2][32]; ///< base reference list for all slices of a coded picture Picture *delayed_pic[MAX_DELAYED_PIC_COUNT + 2]; // FIXME size? int last_pocs[MAX_DELAYED_PIC_COUNT]; Picture *next_output_pic; |