[FFmpeg-devel] [PATCH] h264 parallelized,

Andreas Öman andreas
Mon Jun 18 13:21:25 CEST 2007


Andreas ?man wrote:
> Hi
> 
> Michael Niedermayer wrote:
>> Hi
>>
>> is this multitrheading specific? or a deblocking_filter == 2 fix? in the later
>> case it should be in a seperate patch
> 
> It's required for multi-threading to work correctly. Otherwise,
> the xchg-code might incorrectly swap in invalid data since
> no deblocking has yet completed for the previous row
> (at least, thats how I understand it)
> 
> Having said that, it does give a slight performance improvement
> for deblocking_type == 2, so i guess it could go in as a separate patch.
> 

Here we go,

commit-message suggestion:
--8<---
Don't swap back un-deblocked lines for intra prediction when
at slice boundaries for deblocking-type 2 content.

Save some speed, and when decoding slices in parallel it is
required or data corruption will occur

--8<---

-------------- next part --------------
A non-text attachment was scrubbed...
Name: h264-xchg.diff
Type: text/x-patch
Size: 816 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070618/ef44d5e7/attachment.bin>



More information about the ffmpeg-devel mailing list