[FFmpeg-devel] Once again: Multithreaded H.264 decoding with ffmpeg?
Michel Lespinasse
walken
Sat May 31 03:52:45 CEST 2008
On Fri, May 30, 2008 at 02:26:21PM -0600, Jason Garrett-Glaser wrote:
> Main benefit of yasm:
>
> * vastly more powerful macro system that makes it far easier to
> generalize a small function to dozens of specific cases
>
> This allows us to do the following:
>
> * abstraction between MMX and SSE code; write a single function that does both
> * automatic handling of macros that permute their arguments; see
> x264's DCT functions
> * automatic handling of 32-bit vs 64-bit abstraction
I think the above can also be achived using mmx.h and the C preprocessor.
At least that's what I used in libmpeg2's IDCT code.
I don't know how that compares to yasm but I do find this to be much nicer
than direct use of inline asm.
$.02,
--
Michel "Walken" Lespinasse
A program is never fully debugged until the last user dies.
More information about the ffmpeg-devel
mailing list