static void fill_table(uint8_t* table[256 + 2*YUVRGB_TABLE_HEADROOM], const int elemsize,

                       const int inc, void *y_tab)

{

    int i;

    uint8_t *y_table = y_tab;



    y_table -= elemsize * (inc >> 9);



    for (i = 0; i < 256 + 2*YUVRGB_TABLE_HEADROOM; i++) {

        int64_t cb = av_clip(i-YUVRGB_TABLE_HEADROOM, 0, 255)*inc;

        table[i] = y_table + elemsize * (cb >> 16);

    }

}

static void fill_table(uint8_t* table[256 + 2*YUVRGB_TABLE_HEADROOM], const int elemsize,

                       const int inc, void *y_tab)

{

    int i;

    uint8_t *y_table = y_tab;



    y_table -= elemsize * (inc >> 9);



    for (i = 0; i < 256 + 2*YUVRGB_TABLE_HEADROOM; i++) {

        int64_t cb = av_clip(i-YUVRGB_TABLE_HEADROOM, 0, 255)*inc;

        table[i] = y_table + elemsize * (cb >> 16);

    }

}

                       const int inc, void *y_tab)
static void FUNC_0(uint8_t* VAR_0[256 + 2*YUVRGB_TABLE_HEADROOM], const int VAR_1,

                       const int VAR_2, void *VAR_3)

{

    int VAR_4;

    uint8_t *y_table = VAR_3;



    y_table -= VAR_1 * (VAR_2 >> 9);



    for (VAR_4 = 0; VAR_4 < 256 + 2*YUVRGB_TABLE_HEADROOM; VAR_4++) {

        int64_t cb = av_clip(VAR_4-YUVRGB_TABLE_HEADROOM, 0, 255)*VAR_2;

        VAR_0[VAR_4] = y_table + VAR_1 * (cb >> 16);

    }

}

static void FUNC_0(uint8_t* VAR_0[256 + 2*YUVRGB_TABLE_HEADROOM], const int VAR_1,
const int VAR_2, void *VAR_3)
{ int VAR_4; uint8_t *y_table = VAR_3; y_table -= VAR_1 * (VAR_2 >> 9); for (VAR_4 = 0; VAR_4 < 256 + 2*YUVRGB_TABLE_HEADROOM; VAR_4++) { int64_t cb = av_clip(VAR_4-YUVRGB_TABLE_HEADROOM, 0, 255)*VAR_2; VAR_0[VAR_4] = y_table + VAR_1 * (cb >> 16); } }