Lines Matching refs:sc
6185 MS_U16 MDrv_SC_NR_LUT_Aux( MS_U16 nr_lut, MS_U8 sc) in MDrv_SC_NR_LUT_Aux() argument
6187 sc = sc < 16 ? sc : 16; in MDrv_SC_NR_LUT_Aux()
6198 h0 = ((h0 * sc)/3) >> 4; in MDrv_SC_NR_LUT_Aux()
6199 h1 = ((h1 * sc)/3) >> 4; in MDrv_SC_NR_LUT_Aux()
6200 h2 = ((h2 * sc)/3) >> 4; in MDrv_SC_NR_LUT_Aux()
6201 h3 = ((h3 * sc)/3) >> 4; in MDrv_SC_NR_LUT_Aux()
6205 h0 = (h0 * sc) >> 4; in MDrv_SC_NR_LUT_Aux()
6206 h1 = (h1 * sc) >> 4; in MDrv_SC_NR_LUT_Aux()
6207 h2 = (h2 * sc) >> 4; in MDrv_SC_NR_LUT_Aux()
6208 h3 = (h3 * sc) >> 4; in MDrv_SC_NR_LUT_Aux()
6214 MS_U16 MDrv_SC_NR_LUT_Offset_Aux( MS_U16 nr_lut, MS_U8 sc) in MDrv_SC_NR_LUT_Offset_Aux() argument
6216 sc = sc < 0xF ? sc : 0xF; in MDrv_SC_NR_LUT_Offset_Aux()
6223 h0 = (h0 > sc) ? h0 - sc : 0; in MDrv_SC_NR_LUT_Offset_Aux()
6224 h1 = (h1 > sc) ? h1 - sc : 0; in MDrv_SC_NR_LUT_Offset_Aux()
6225 h2 = (h2 > sc) ? h2 - sc : 0; in MDrv_SC_NR_LUT_Offset_Aux()
6226 h3 = (h3 > sc) ? h3 - sc : 0; in MDrv_SC_NR_LUT_Offset_Aux()
6231 MS_U16 MDrv_SC_Luma_PK_LUT_Aux( const MS_U8 table[], MS_U8 sc) in MDrv_SC_Luma_PK_LUT_Aux() argument
6233 sc = sc < 16 ? sc : 16; in MDrv_SC_Luma_PK_LUT_Aux()
6235 MS_U8 h0 = ( 8 * (16-sc) + table[0] * sc + 8) >> 4; in MDrv_SC_Luma_PK_LUT_Aux()
6236 MS_U8 h1 = ( 8 * (16-sc) + table[1] * sc + 8) >> 4; in MDrv_SC_Luma_PK_LUT_Aux()
6237 MS_U8 h2 = ( 8 * (16-sc) + table[2] * sc + 8) >> 4; in MDrv_SC_Luma_PK_LUT_Aux()
6238 MS_U8 h3 = ( 8 * (16-sc) + table[3] * sc + 8) >> 4; in MDrv_SC_Luma_PK_LUT_Aux()