Searched refs:weight_matrix (Results 1 – 2 of 2) sorted by relevance
264 uint16_t weight_matrix[64] = { 1, }; // convert_matrix needs uint16_t* in dnxhd_init_qmat() local278 weight_matrix[j] = ctx->cid_table->luma_weight[i]; in dnxhd_init_qmat()281 weight_matrix, ctx->intra_quant_bias, 1, in dnxhd_init_qmat()285 weight_matrix[j] = ctx->cid_table->chroma_weight[i]; in dnxhd_init_qmat()288 weight_matrix, ctx->intra_quant_bias, 1, in dnxhd_init_qmat()614 const uint8_t *weight_matrix; in dnxhd_unquantize_c() local619 weight_matrix = ((n % 6) < 2) ? ctx->cid_table->luma_weight in dnxhd_unquantize_c()622 weight_matrix = (n & 2) ? ctx->cid_table->chroma_weight in dnxhd_unquantize_c()631 level = (1 - 2 * level) * qscale * weight_matrix[i]; in dnxhd_unquantize_c()633 if (weight_matrix[i] != 8) in dnxhd_unquantize_c()[all …]
362 const uint8_t *weight_matrix; in dnxhd_decode_dct_block() local375 weight_matrix = ctx->cid_table->chroma_weight; in dnxhd_decode_dct_block()379 weight_matrix = ctx->cid_table->luma_weight; in dnxhd_decode_dct_block()385 weight_matrix = ctx->cid_table->chroma_weight; in dnxhd_decode_dct_block()388 weight_matrix = ctx->cid_table->luma_weight; in dnxhd_decode_dct_block()441 if (level_bias < 32 || weight_matrix[i] != level_bias) in dnxhd_decode_dct_block()