Lines Matching defs:weight
30 * @param[out] is_dual_plane True if this block mode has two weight planes.
146 * @param[out] is_dual_plane True if this block mode has two weight planes.
243 * @brief Create a 2D decimation entry for a block-size and weight-decimation pair.
303 unsigned int weight[4];
304 weight[3] = (prod + 8) >> 4;
305 weight[1] = x_weight_frac - weight[3];
306 weight[2] = y_weight_frac - weight[3];
307 weight[0] = 16 - x_weight_frac - y_weight_frac + weight[3];
311 if (weight[i] != 0)
314 wb.weights_of_texel[texel][wb.weight_count_of_texel[texel]] = static_cast<uint8_t>(weight[i]);
317 wb.texel_weights_of_weight[qweight[i]][wb.texel_count_of_weight[qweight[i]]] = static_cast<uint8_t>(weight[i]);
362 // Store the per-texel contribution of this weight for each texel it contributes to
425 * @brief Create a 3D decimation entry for a block-size and weight-decimation pair.
483 int weight[4];
559 weight[0] = w0;
560 weight[1] = w1;
561 weight[2] = w2;
562 weight[3] = w3;
566 if (weight[i] != 0)
569 wb.weights_of_texel[texel][wb.weight_count_of_texel[texel]] = static_cast<uint8_t>(weight[i]);
572 wb.texel_weights_of_weight[qweight[i]][wb.texel_count_of_weight[qweight[i]]] = static_cast<uint8_t>(weight[i]);
618 // Store the per-texel contribution of this weight for each texel it contributes to