]> git.sesse.net Git - ffmpeg/commit
h264: avoid pointless copying of ref lists
authorAnton Khirnov <anton@khirnov.net>
Thu, 17 Jan 2013 11:25:31 +0000 (12:25 +0100)
committerAnton Khirnov <anton@khirnov.net>
Fri, 18 Jan 2013 06:56:05 +0000 (07:56 +0100)
commit940b8b5861241df7aff8977774e1de6e67de5b83
treec331d9598e7f1ef430e72888517e04ff920fb398
parentb90632d5964d3998bab7323468a6b43ab6a24b34
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.
libavcodec/h264.c
libavcodec/h264.h