Lines Matching refs:y_offset
615 int y_offset, int *y, int *cb, int *cr) in rgb2ycbcr() argument
617 *y = ((m[0][0] * r + m[0][1] * g + m[0][2] * b) >> 16) + (y_offset << 4); in rgb2ycbcr()
677 unsigned y_offset = full ? 0 : 16; in color_to_ycbcr() local
682 rgb2ycbcr(full ? bt601_full : bt601, r, g, b, y_offset, y, cb, cr); in color_to_ycbcr()
695 rgb2ycbcr(full ? bt2020_full : bt2020, r, g, b, y_offset, y, cb, cr); in color_to_ycbcr()
713 rgb2ycbcr(full ? smpte240m_full : smpte240m, r, g, b, y_offset, y, cb, cr); in color_to_ycbcr()
717 rgb2ycbcr(full ? rec709_full : rec709, r, g, b, y_offset, y, cb, cr); in color_to_ycbcr()
723 int y_offset, int *r, int *g, int *b) in ycbcr2rgb() argument
725 y -= y_offset << 4; in ycbcr2rgb()
791 unsigned y_offset = full ? 0 : 16; in ycbcr_to_color() local
797 ycbcr2rgb(full ? bt601_full : bt601, y, cb, cr, y_offset, r, g, b); in ycbcr_to_color()
810 ycbcr2rgb(full ? bt2020_full : bt2020, y, cb, cr, y_offset, r, g, b); in ycbcr_to_color()
837 ycbcr2rgb(full ? smpte240m_full : smpte240m, y, cb, cr, y_offset, r, g, b); in ycbcr_to_color()
841 ycbcr2rgb(full ? rec709_full : rec709, y, cb, cr, y_offset, r, g, b); in ycbcr_to_color()