Hello,

I have a Power optimized function in asm for an upcoming patch. Having some 
trouble figuring out how to wire it up to the makefiles / build system. Are 
there any docs on how to do that?

The only other example of Power asm seems to be libavcodec/ppc/fft_altivec.S. 
That's simply appended to the OBJS-yes variable:

OBJS-$(CONFIG_FFT)   += ppc/fft_init.o                \
                                          ppc/fft_altivec.o             \
                                          ppc/fft_vsx.o

Doing the same thing in the relevant makefile (for libswscale/ppc) doesn't seem 
to work.

OBJS += ppc/swscale_altivec.o                                     \
        ppc/yuv2rgb_altivec.o                                           \
        ppc/yuv2yuv_altivec.o                                           \
        ppc/hScale8To15_vsx.o

It looks for a .c file. Building with that change gives this error:

>make: *** No rule to make target 'src/libswscale/ppc/hScale8To15_vsx.c', 
>needed by 'libswscale/ppc/hScale8To15_vsx.o'. Stop.

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to