Lines Matching defs:plane
252 unsigned plane;
260 for (plane = 0; plane < 3; plane++) {
262 if (plane == 0 && sl->pwt.luma_weight_flag[list]) {
265 } else if (plane >= 1 && sl->pwt.chroma_weight_flag[list]) {
266 w = sl->pwt.chroma_weight[i][list][plane-1][0];
267 o = sl->pwt.chroma_weight[i][list][plane-1][1];
269 w = 1 << (plane == 0 ? sl->pwt.luma_log2_weight_denom :
273 slice->Weights[list][i][plane][0] = w;
274 slice->Weights[list][i][plane][1] = o;
277 unsigned plane;
279 for (plane = 0; plane < 3; plane++) {
280 slice->Weights[list][i][plane][0] = 0;
281 slice->Weights[list][i][plane][1] = 0;