Searched refs:pred_weight (Results 1 – 2 of 2) sorted by relevance
198 struct cedrus_h265_sram_pred_weight pred_weight[2] = { { 0 } }; in cedrus_h265_pred_weight_write() local206 pred_weight[index].delta_weight = delta_luma_weight[i]; in cedrus_h265_pred_weight_write()207 pred_weight[index].offset = luma_offset[i]; in cedrus_h265_pred_weight_write()210 cedrus_h265_sram_write_data(dev, (u32 *)&pred_weight, in cedrus_h265_pred_weight_write()211 sizeof(pred_weight)); in cedrus_h265_pred_weight_write()218 pred_weight[j].delta_weight = delta_chroma_weight[i][j]; in cedrus_h265_pred_weight_write()219 pred_weight[j].offset = chroma_offset[i][j]; in cedrus_h265_pred_weight_write()222 cedrus_h265_sram_write_data(dev, &pred_weight, in cedrus_h265_pred_weight_write()223 sizeof(pred_weight)); in cedrus_h265_pred_weight_write()
263 const struct v4l2_ctrl_h264_pred_weights *pred_weight = in cedrus_write_pred_weight_table() local269 ((pred_weight->chroma_log2_weight_denom & 0x7) << 4) | in cedrus_write_pred_weight_table()270 ((pred_weight->luma_log2_weight_denom & 0x7) << 0)); in cedrus_write_pred_weight_table()275 for (i = 0; i < ARRAY_SIZE(pred_weight->weight_factors); i++) { in cedrus_write_pred_weight_table()277 &pred_weight->weight_factors[i]; in cedrus_write_pred_weight_table()