static inline void drawbox(AVFilterBufferRef *picref, unsigned int x, unsigned int y,

                           unsigned int width, unsigned int height,

                           uint8_t *line[4], int pixel_step[4], uint8_t color[4],

                           int hsub, int vsub, int is_rgba_packed, uint8_t rgba_map[4])

{

    int i, j, alpha;



    if (color[3] != 0xFF) {

        if (is_rgba_packed) {

            uint8_t *p;

            for (j = 0; j < height; j++)

                for (i = 0; i < width; i++)

                    SET_PIXEL_RGB(picref, color, 255, i+x, y+j, pixel_step[0],

                                  rgba_map[0], rgba_map[1], rgba_map[2], rgba_map[3]);

        } else {

            unsigned int luma_pos, chroma_pos1, chroma_pos2;

            for (j = 0; j < height; j++)

                for (i = 0; i < width; i++)

                    SET_PIXEL_YUV(picref, color, 255, i+x, y+j, hsub, vsub);

        }

    } else {

        ff_draw_rectangle(picref->data, picref->linesize,

                          line, pixel_step, hsub, vsub,

                          x, y, width, height);

    }

}

static inline void drawbox(AVFilterBufferRef *picref, unsigned int x, unsigned int y,

                           unsigned int width, unsigned int height,

                           uint8_t *line[4], int pixel_step[4], uint8_t color[4],

                           int hsub, int vsub, int is_rgba_packed, uint8_t rgba_map[4])

{

    int i, j, alpha;



    if (color[3] != 0xFF) {

        if (is_rgba_packed) {

            uint8_t *p;

            for (j = 0; j < height; j++)

                for (i = 0; i < width; i++)

                    SET_PIXEL_RGB(picref, color, 255, i+x, y+j, pixel_step[0],

                                  rgba_map[0], rgba_map[1], rgba_map[2], rgba_map[3]);

        } else {

            unsigned int luma_pos, chroma_pos1, chroma_pos2;

            for (j = 0; j < height; j++)

                for (i = 0; i < width; i++)

                    SET_PIXEL_YUV(picref, color, 255, i+x, y+j, hsub, vsub);

        }

    } else {

        ff_draw_rectangle(picref->data, picref->linesize,

                          line, pixel_step, hsub, vsub,

                          x, y, width, height);

    }

}

static inline void drawbox(AVFilterBufferRef *picref, unsigned int x, unsigned int y,                            unsigned int width, unsigned int height,
static inline void FUNC_0(AVFilterBufferRef *VAR_0, unsigned int VAR_1, unsigned int VAR_2,

                           unsigned int VAR_3, unsigned int VAR_4,

                           uint8_t *VAR_5[4], int VAR_6[4], uint8_t VAR_7[4],

                           int VAR_8, int VAR_9, int VAR_10, uint8_t VAR_11[4])

{

    int VAR_12, VAR_13, VAR_14;



    if (VAR_7[3] != 0xFF) {

        if (VAR_10) {

            uint8_t *p;

            for (VAR_13 = 0; VAR_13 < VAR_4; VAR_13++)

                for (VAR_12 = 0; VAR_12 < VAR_3; VAR_12++)

                    SET_PIXEL_RGB(VAR_0, VAR_7, 255, VAR_12+VAR_1, VAR_2+VAR_13, VAR_6[0],

                                  VAR_11[0], VAR_11[1], VAR_11[2], VAR_11[3]);

        } else {

            unsigned int VAR_15, VAR_16, VAR_17;

            for (VAR_13 = 0; VAR_13 < VAR_4; VAR_13++)

                for (VAR_12 = 0; VAR_12 < VAR_3; VAR_12++)

                    SET_PIXEL_YUV(VAR_0, VAR_7, 255, VAR_12+VAR_1, VAR_2+VAR_13, VAR_8, VAR_9);

        }

    } else {

        ff_draw_rectangle(VAR_0->data, VAR_0->linesize,

                          VAR_5, VAR_6, VAR_8, VAR_9,

                          VAR_1, VAR_2, VAR_3, VAR_4);

    }

}

static inline void FUNC_0(AVFilterBufferRef *VAR_0, unsigned int VAR_1, unsigned int VAR_2,
unsigned int VAR_3, unsigned int VAR_4,
uint8_t *VAR_5[4], int VAR_6[4], uint8_t VAR_7[4],
int VAR_8, int VAR_9, int VAR_10, uint8_t VAR_11[4])
{ int VAR_12, VAR_13, VAR_14; if (VAR_7[3] != 0xFF) { if (VAR_10) { uint8_t *p; for (VAR_13 = 0; VAR_13 < VAR_4; VAR_13++) for (VAR_12 = 0; VAR_12 < VAR_3; VAR_12++) SET_PIXEL_RGB(VAR_0, VAR_7, 255, VAR_12+VAR_1, VAR_2+VAR_13, VAR_6[0],
VAR_11[0], VAR_11[1], VAR_11[2], VAR_11[3]); } else { unsigned int VAR_15, VAR_16, VAR_17; for (VAR_13 = 0; VAR_13 < VAR_4; VAR_13++) for (VAR_12 = 0; VAR_12 < VAR_3; VAR_12++) SET_PIXEL_YUV(VAR_0, VAR_7, 255, VAR_12+VAR_1, VAR_2+VAR_13, VAR_8, VAR_9); } } else { ff_draw_rectangle(VAR_0->data, VAR_0->linesize,
VAR_5, VAR_6, VAR_8, VAR_9,
VAR_1, VAR_2, VAR_3, VAR_4); } }