Lines Matching refs:w_facts
1164 H264WeightingFactors* w_facts) { in ParseWeightingFactors() argument
1169 READ_BOOL_OR_RETURN(&w_facts->luma_weight_flag); in ParseWeightingFactors()
1170 if (w_facts->luma_weight_flag) { in ParseWeightingFactors()
1171 READ_SE_OR_RETURN(&w_facts->luma_weight[i]); in ParseWeightingFactors()
1172 IN_RANGE_OR_RETURN(w_facts->luma_weight[i], -128, 127); in ParseWeightingFactors()
1174 READ_SE_OR_RETURN(&w_facts->luma_offset[i]); in ParseWeightingFactors()
1175 IN_RANGE_OR_RETURN(w_facts->luma_offset[i], -128, 127); in ParseWeightingFactors()
1177 w_facts->luma_weight[i] = def_luma_weight; in ParseWeightingFactors()
1178 w_facts->luma_offset[i] = 0; in ParseWeightingFactors()
1182 READ_BOOL_OR_RETURN(&w_facts->chroma_weight_flag); in ParseWeightingFactors()
1183 if (w_facts->chroma_weight_flag) { in ParseWeightingFactors()
1185 READ_SE_OR_RETURN(&w_facts->chroma_weight[i][j]); in ParseWeightingFactors()
1186 IN_RANGE_OR_RETURN(w_facts->chroma_weight[i][j], -128, 127); in ParseWeightingFactors()
1188 READ_SE_OR_RETURN(&w_facts->chroma_offset[i][j]); in ParseWeightingFactors()
1189 IN_RANGE_OR_RETURN(w_facts->chroma_offset[i][j], -128, 127); in ParseWeightingFactors()
1193 w_facts->chroma_weight[i][j] = def_chroma_weight; in ParseWeightingFactors()
1194 w_facts->chroma_offset[i][j] = 0; in ParseWeightingFactors()