static av_always_inline void paint_raw(uint8_t *dst, int w, int h,

                                       const uint8_t *src, int bpp,

                                       int be, int stride)

{

    int i, j, p;

    for (j = 0; j < h; j++) {

        for (i = 0; i < w; i++) {

            p = vmnc_get_pixel(src, bpp, be);

            src += bpp;

            switch (bpp) {

            case 1:

                dst[i] = p;

                break;

            case 2:

                ((uint16_t*)dst)[i] = p;

                break;

            case 4:

                ((uint32_t*)dst)[i] = p;

                break;

            }

        }

        dst += stride;

    }

}

static av_always_inline void paint_raw(uint8_t *dst, int w, int h,

                                       const uint8_t *src, int bpp,

                                       int be, int stride)

{

    int i, j, p;

    for (j = 0; j < h; j++) {

        for (i = 0; i < w; i++) {

            p = vmnc_get_pixel(src, bpp, be);

            src += bpp;

            switch (bpp) {

            case 1:

                dst[i] = p;

                break;

            case 2:

                ((uint16_t*)dst)[i] = p;

                break;

            case 4:

                ((uint32_t*)dst)[i] = p;

                break;

            }

        }

        dst += stride;

    }

}

            src += bpp;             src += bpp;                                        const uint8_t *src, int bpp,             p = vmnc_get_pixel(src, bpp, be);             src += bpp;
static av_always_inline void FUNC_0(uint8_t *dst, int w, int h,

                                       const uint8_t *src, int bpp,

                                       int be, int stride)

{

    int VAR_0, VAR_1, VAR_2;

    for (VAR_1 = 0; VAR_1 < h; VAR_1++) {

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

            VAR_2 = vmnc_get_pixel(src, bpp, be);

            src += bpp;

            switch (bpp) {

            case 1:

                dst[VAR_0] = VAR_2;

                break;

            case 2:

                ((uint16_t*)dst)[VAR_0] = VAR_2;

                break;

            case 4:

                ((uint32_t*)dst)[VAR_0] = VAR_2;

                break;

            }

        }

        dst += stride;

    }

}

static av_always_inline void FUNC_0(uint8_t *dst, int w, int h,
const uint8_t *src, int bpp,
int be, int stride)
{ int VAR_0, VAR_1, VAR_2; for (VAR_1 = 0; VAR_1 < h; VAR_1++) { for (VAR_0 = 0; VAR_0 < w; VAR_0++) { VAR_2 = vmnc_get_pixel(src, bpp, be); src += bpp; switch (bpp) { case 1:
dst[VAR_0] = VAR_2; break; case 2:
((uint16_t*)dst)[VAR_0] = VAR_2; break; case 4:
((uint32_t*)dst)[VAR_0] = VAR_2; break; } } dst += stride; } }