static void RENAME(uyvytoyuv422)(uint8_t *ydst, uint8_t *udst, uint8_t *vdst, const uint8_t *src,

                                 int width, int height,

                                 int lumStride, int chromStride, int srcStride)

{

    int y;

    const int chromWidth = FF_CEIL_RSHIFT(width, 1);



    for (y=0; y<height; y++) {

        RENAME(extract_even)(src+1, ydst, width);

        RENAME(extract_even2)(src, udst, vdst, chromWidth);



        src += srcStride;

        ydst+= lumStride;

        udst+= chromStride;

        vdst+= chromStride;

    }

    __asm__(

            EMMS"       \n\t"

            SFENCE"     \n\t"

            ::: "memory"

        );

}

static void RENAME(uyvytoyuv422)(uint8_t *ydst, uint8_t *udst, uint8_t *vdst, const uint8_t *src,

                                 int width, int height,

                                 int lumStride, int chromStride, int srcStride)

{

    int y;

    const int chromWidth = FF_CEIL_RSHIFT(width, 1);



    for (y=0; y<height; y++) {

        RENAME(extract_even)(src+1, ydst, width);

        RENAME(extract_even2)(src, udst, vdst, chromWidth);



        src += srcStride;

        ydst+= lumStride;

        udst+= chromStride;

        vdst+= chromStride;

    }

    __asm__(

            EMMS"       \n\t"

            SFENCE"     \n\t"

            ::: "memory"

        );

}

        RENAME(extract_even)(src+1, ydst, width);         RENAME(extract_even)(src+1, ydst, width);
static void FUNC_0(uyvytoyuv422)(uint8_t *ydst, uint8_t *udst, uint8_t *vdst, const uint8_t *src,

                                 int width, int height,

                                 int lumStride, int chromStride, int srcStride)

{

    int VAR_0;

    const int VAR_1 = FF_CEIL_RSHIFT(width, 1);



    for (VAR_0=0; VAR_0<height; VAR_0++) {

        FUNC_0(extract_even)(src+1, ydst, width);

        FUNC_0(extract_even2)(src, udst, vdst, VAR_1);



        src += srcStride;

        ydst+= lumStride;

        udst+= chromStride;

        vdst+= chromStride;

    }

    __asm__(

            EMMS"       \n\t"

            SFENCE"     \n\t"

            ::: "memory"

        );

}

static void FUNC_0(uyvytoyuv422)(uint8_t *ydst, uint8_t *udst, uint8_t *vdst, const uint8_t *src,
int width, int height,
int lumStride, int chromStride, int srcStride)
{ int VAR_0; const int VAR_1 = FF_CEIL_RSHIFT(width, 1); for (VAR_0=0; VAR_0<height; VAR_0++) { FUNC_0(extract_even)(src+1, ydst, width); FUNC_0(extract_even2)(src, udst, vdst, VAR_1); src += srcStride; ydst+= lumStride; udst+= chromStride; vdst+= chromStride; } __asm__(
EMMS"       \n\t"
SFENCE"     \n\t"
::: "memory"
); }