Searched refs:YUV_FRAC (Results 1 – 1 of 1) sorted by relevance
430 enum { YUV_FRAC = 16 }; enumerator433 v = (v + (257 << (YUV_FRAC + 2 - 1))) >> (YUV_FRAC + 2); in clip_uv()438 const int kRound = (1 << (YUV_FRAC - 1)) + (16 << YUV_FRAC); in rgb_to_y()440 return (luma + kRound) >> YUV_FRAC; // no need to clip in rgb_to_y()