[Ffmpeg-devel] swscale patch
Mon Jul 3 10:42:37 CEST 2006
On Sat, 2006-07-01 at 12:39 +0200, Michael Niedermayer wrote:
> > Maybe we should put these macros in libavutils/x86_cpu.h (or something
> > similar), and include such file from all the places that use REG_*?
> > Let me know if you agree, and I will provide a patch for ffmpeg.
Ok, here is the patch; I hope I got it right.
The attached patch moves the REF_* macros from libavcodec/i386/mmx.h to
libavutil/x86_cpu.h, and includes libavutil/x86_cpu.h from
I also added the REG_SP, REG_BP, REGBP, REGa, REGb, and REGSP macros
that will be needed by libswscale.
The patch is tested (compiles & work) on x86.
Copy this in your signature, if you think it is important:
N O W A R ! ! !
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1744 bytes
Desc: not available
More information about the ffmpeg-devel