On Mon, Apr 11, 2011 at 1:01 PM, Luca Barbato <lu_z...@gentoo.org> wrote: > It is used only for x86 so it will be moved once the code is moved in > the arch dir > > Question: should we build an accurate BGR2YV12 variant? > --- > libswscale/rgb2rgb.c | 4 ++-- > libswscale/swscale.c | 2 -- > libswscale/swscale_internal.h | 2 ++ > 3 files changed, 4 insertions(+), 4 deletions(-) > > diff --git a/libswscale/rgb2rgb.c b/libswscale/rgb2rgb.c > index bc0ed63..e5a6e71 100644 > --- a/libswscale/rgb2rgb.c > +++ b/libswscale/rgb2rgb.c > @@ -30,8 +30,6 @@ > #include "swscale.h" > #include "swscale_internal.h" > > -#define FAST_BGR2YV12 // use 7-bit instead of 15-bit coefficients > - > void (*rgb24tobgr32)(const uint8_t *src, uint8_t *dst, long src_size); > void (*rgb24tobgr16)(const uint8_t *src, uint8_t *dst, long src_size); > void (*rgb24tobgr15)(const uint8_t *src, uint8_t *dst, long src_size); > @@ -98,6 +96,8 @@ void (*yuyvtoyuv422)(uint8_t *ydst, uint8_t *udst, uint8_t > *vdst, const uint8_t > long lumStride, long chromStride, long srcStride); > > > + > +
These new lines seem unnecessary > #if ARCH_X86 > DECLARE_ASM_CONST(8, uint64_t, mmx_ff) = 0x00000000000000FFULL; > DECLARE_ASM_CONST(8, uint64_t, mmx_null) = 0x0000000000000000ULL; _______________________________________________ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel