Lines Matching refs:plane
216 unsigned plane;
220 for (plane = 0; plane < 3; plane++) {
222 if (plane == 0 && h->luma_weight_flag[list]) {
225 } else if (plane >= 1 && h->chroma_weight_flag[list]) {
226 w = h->chroma_weight[i][list][plane-1][0];
227 o = h->chroma_weight[i][list][plane-1][1];
229 w = 1 << (plane == 0 ? h->luma_log2_weight_denom :
233 slice->Weights[list][i][plane][0] = w;
234 slice->Weights[list][i][plane][1] = o;
237 unsigned plane;
239 for (plane = 0; plane < 3; plane++) {
240 slice->Weights[list][i][plane][0] = 0;
241 slice->Weights[list][i][plane][1] = 0;