Lines Matching defs:weight

59  * Given a fixed weight grid decimation and weight value quantization, iterate over all weights (per
60 * partition and per plane) and attempt to improve image quality by moving each weight up by one or
63 * This is a specialized function which only supports operating on undecimated weight grids,
128 // For each weight compute previous, current, and next errors
335 // For each weight compute previous, current, and next errors
391 * Given a fixed weight grid decimation and weight value quantization, iterate over all weights (per
392 * partition and per plane) and attempt to improve image quality by moving each weight up by one or
461 // Create an unquantized weight grid for this decimation level
470 // For each weight compute previous, current, and next errors
502 // float weight = astc::flt_rd(weight_base + 0.5f);
503 // float weight_down = astc::flt_rd(weight_base + 0.5f + uqw_diff_down * tw_base) - weight;
504 // float weight_up = astc::flt_rd(weight_base + 0.5f + uqw_diff_up * tw_base) - weight;
621 // weight pair, compute the smallest weight that will result in a color value greater than 1
685 // Generate the optimized set of weights for the weight mode
694 // Compute weight quantization errors for the block mode
701 // Decide the optimal combination of color endpoint encodings and weight encodings
987 // weight pair, compute the smallest weight that will result in a color value greater than 1
1076 // Compute weight quantization errors for the block mode
1085 // Decide the optimal combination of color endpoint encodings and weight encodings
1298 float weight = hadd_s(blk.channel_weight) / 4.0f;
1299 assert(weight >= 0.0f);
1300 weight_sum += weight;
1307 float rw = r * weight;
1314 float gw = g * weight;
1320 float bw = b * weight;
1325 float aw = a * weight;