static void fill_gv_table(int table[256 + 2*YUVRGB_TABLE_HEADROOM], const int elemsize, const int inc)

{

    int i;

    int off    = -(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] = elemsize * (off + (cb >> 16));

    }

}

static void fill_gv_table(int table[256 + 2*YUVRGB_TABLE_HEADROOM], const int elemsize, const int inc)

{

    int i;

    int off    = -(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] = elemsize * (off + (cb >> 16));

    }

}

static void fill_gv_table(int table[256 + 2*YUVRGB_TABLE_HEADROOM], const int elemsize, const int inc)
static void FUNC_0(int VAR_0[256 + 2*YUVRGB_TABLE_HEADROOM], const int VAR_1, const int VAR_2)

{

    int VAR_3;

    int VAR_4    = -(VAR_2 >> 9);



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

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

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

    }

}

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