Searched refs:roundToInt16 (Results 1 – 1 of 1) sorted by relevance
762 static uint16_t roundToInt16(int64_t f) in roundToInt16() function833 c->yCoeff = roundToInt16(cy * (1 << 13)) * 0x0001000100010001ULL; in ff_yuv2rgb_c_init_tables()834 c->vrCoeff = roundToInt16(crv * (1 << 13)) * 0x0001000100010001ULL; in ff_yuv2rgb_c_init_tables()835 c->ubCoeff = roundToInt16(cbu * (1 << 13)) * 0x0001000100010001ULL; in ff_yuv2rgb_c_init_tables()836 c->vgCoeff = roundToInt16(cgv * (1 << 13)) * 0x0001000100010001ULL; in ff_yuv2rgb_c_init_tables()837 c->ugCoeff = roundToInt16(cgu * (1 << 13)) * 0x0001000100010001ULL; in ff_yuv2rgb_c_init_tables()838 c->yOffset = roundToInt16(oy * (1 << 3)) * 0x0001000100010001ULL; in ff_yuv2rgb_c_init_tables()840 c->yuv2rgb_y_coeff = (int16_t)roundToInt16(cy * (1 << 13)); in ff_yuv2rgb_c_init_tables()841 c->yuv2rgb_y_offset = (int16_t)roundToInt16(oy * (1 << 9)); in ff_yuv2rgb_c_init_tables()842 c->yuv2rgb_v2r_coeff = (int16_t)roundToInt16(crv * (1 << 13)); in ff_yuv2rgb_c_init_tables()[all …]