Re: [libav-devel] [PATCH] h264: avoid pointless copying of ref lists

2013-01-17 Thread Anton Khirnov
On Thu, 17 Jan 2013 14:03:26 +0100, Anton Khirnov wrote: > 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,

[libav-devel] [PATCH] h264: avoid pointless copying of ref lists

2013-01-17 Thread Anton Khirnov
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