[FFmpeg-devel] h264 multithreading, chapter 2

Thorsten Jordan tjordan
Wed Sep 26 09:56:40 CEST 2007

Mathieu Monnier schrieb:
>  > i have doubts here, with deblocking the decoding is really cpu-demanding
>  > with these resolutions. If you shave off 20-30% "only", it wouldn't be
>  > enough. One core would be maxed out, the other at 30%. Not good...
> I estimate that compensation + deblocking @ 1080i30 can be done in real 
> time on the single core. Perhaps it's too optimistic for low end C2D ( 
> E4200 @ 1.8GHz ). If it is, one can try to deblock in a separate thread 
> ( but that makes it even uglier )
well i have a 2Ghz C2D here and it may work mostly, but can get pretty
close sometimes, it is risky for e.g. a home theater system. It is much
better to balance over two cores and have much more margin left.
The other disadvantage - beside more complex code - is that it is
limited to 2 cores. Slice-parallel and frame-parallel can use more than
2 cores.
So yes, i like frame parallelism too, but the slice-parallel isn't that
bad either :-)

Greetings, Thorsten

More information about the ffmpeg-devel mailing list