Lines Matching refs:weight_matrix
195 uint16_t weight_matrix[64] = { 1, }; // convert_matrix needs uint16_t*
214 weight_matrix[j] = ctx->cid_table->luma_weight[i];
217 weight_matrix, ctx->m.intra_quant_bias, 1,
221 weight_matrix[j] = ctx->cid_table->chroma_weight[i];
224 weight_matrix, ctx->m.intra_quant_bias, 1,
486 const uint8_t *weight_matrix;
490 weight_matrix = (n & 2) ? ctx->cid_table->chroma_weight
498 level = (1 - 2 * level) * qscale * weight_matrix[i];
500 if (weight_matrix[i] != 8)
504 if (weight_matrix[i] != 32)
510 level = (2 * level + 1) * qscale * weight_matrix[i];
512 if (weight_matrix[i] != 8)
516 if (weight_matrix[i] != 32)