Lines Matching refs:ROUNDED_DIV
707 int intV = ROUNDED_DIV(v, sum); in initFilter()
796 W = ROUNDED_DIV(ONE*ONE*ug, ub); in fill_rgb2yuv_table()
797 V = ROUNDED_DIV(ONE*ONE*vg, vr); in fill_rgb2yuv_table()
800 Cy = ROUNDED_DIV(cy*Z, ONE); in fill_rgb2yuv_table()
801 Cu = ROUNDED_DIV(ub*Z, ONE); in fill_rgb2yuv_table()
802 Cv = ROUNDED_DIV(vr*Z, ONE); in fill_rgb2yuv_table()
804 c->input_rgb2yuv_table[RY_IDX] = -ROUNDED_DIV((1 << RGB2YUV_SHIFT)*V , Cy); in fill_rgb2yuv_table()
805 c->input_rgb2yuv_table[GY_IDX] = ROUNDED_DIV((1 << RGB2YUV_SHIFT)*ONE*ONE , Cy); in fill_rgb2yuv_table()
806 c->input_rgb2yuv_table[BY_IDX] = -ROUNDED_DIV((1 << RGB2YUV_SHIFT)*W , Cy); in fill_rgb2yuv_table()
808 c->input_rgb2yuv_table[RU_IDX] = ROUNDED_DIV((1 << RGB2YUV_SHIFT)*V , Cu); in fill_rgb2yuv_table()
809 c->input_rgb2yuv_table[GU_IDX] = -ROUNDED_DIV((1 << RGB2YUV_SHIFT)*ONE*ONE , Cu); in fill_rgb2yuv_table()
810 c->input_rgb2yuv_table[BU_IDX] = ROUNDED_DIV((1 << RGB2YUV_SHIFT)*(Z+W) , Cu); in fill_rgb2yuv_table()
812 c->input_rgb2yuv_table[RV_IDX] = ROUNDED_DIV((1 << RGB2YUV_SHIFT)*(V+Z) , Cv); in fill_rgb2yuv_table()
813 c->input_rgb2yuv_table[GV_IDX] = -ROUNDED_DIV((1 << RGB2YUV_SHIFT)*ONE*ONE , Cv); in fill_rgb2yuv_table()
814 c->input_rgb2yuv_table[BV_IDX] = ROUNDED_DIV((1 << RGB2YUV_SHIFT)*W , Cv); in fill_rgb2yuv_table()