[Ffmpeg-devel] swscale patch

Luca Abeni lucabe72
Mon Jul 3 10:42:37 CEST 2006


Hi Michael,

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
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
libavcodec/i386/mmx.h.

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.


				Luca
-- 
_____________________________________________________________________________
Copy this in your signature, if you think it is important:
                               N O    W A R ! ! !

-------------- next part --------------
A non-text attachment was scrubbed...
Name: move-cpu-macros.diff
Type: text/x-patch
Size: 1744 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20060703/aafa5b80/attachment.bin>



More information about the ffmpeg-devel mailing list