[FFmpeg-devel] [PATCH] h264 parallelized,

Michael Niedermayer michaelni
Mon Jun 18 22:29:45 CEST 2007


Hi

On Mon, Jun 18, 2007 at 01:21:25PM +0200, Andreas ?man wrote:
> 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<---

ok if md5 doesnt change for type 2 content and theres no meassureable
speed loss for normal non type 2 content

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I have never wished to cater to the crowd; for what I know they do not
approve, and what they approve I do not know. -- Epicurus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070618/1e24aeb2/attachment.pgp>



More information about the ffmpeg-devel mailing list