Lines Matching refs:reg
230 static void vepu540c_h265_rdo_cfg (vepu540c_rdo_cfg *reg) in vepu540c_h265_rdo_cfg() argument
236 reg->rdo_segment_cfg.rdo_segment_multi = 28; in vepu540c_h265_rdo_cfg()
237 reg->rdo_segment_cfg.rdo_segment_en = 1; in vepu540c_h265_rdo_cfg()
238 reg->rdo_smear_cfg_comb.rdo_smear_en = 0; in vepu540c_h265_rdo_cfg()
239 reg->rdo_smear_cfg_comb.rdo_smear_lvl16_multi = 9; in vepu540c_h265_rdo_cfg()
240 reg->rdo_segment_cfg.rdo_smear_lvl8_multi = 8; in vepu540c_h265_rdo_cfg()
241 reg->rdo_segment_cfg.rdo_smear_lvl4_multi = 8; in vepu540c_h265_rdo_cfg()
242 reg->rdo_smear_cfg_comb.rdo_smear_dlt_qp = 0 ; in vepu540c_h265_rdo_cfg()
243 reg->rdo_smear_cfg_comb.rdo_smear_order_state = 0; in vepu540c_h265_rdo_cfg()
244 reg->rdo_smear_cfg_comb.stated_mode = 0; in vepu540c_h265_rdo_cfg()
245 reg->rdo_smear_cfg_comb.online_en = 0; in vepu540c_h265_rdo_cfg()
246 reg->rdo_smear_cfg_comb.smear_stride = 0; in vepu540c_h265_rdo_cfg()
247 reg->rdo_smear_madp_thd0_comb.rdo_smear_madp_cur_thd0 = 0 ; in vepu540c_h265_rdo_cfg()
248 reg->rdo_smear_madp_thd0_comb.rdo_smear_madp_cur_thd1 = 24; in vepu540c_h265_rdo_cfg()
249 reg->rdo_smear_madp_thd1_comb.rdo_smear_madp_cur_thd2 = 48; in vepu540c_h265_rdo_cfg()
250 reg->rdo_smear_madp_thd1_comb.rdo_smear_madp_cur_thd3 = 64; in vepu540c_h265_rdo_cfg()
251 reg->rdo_smear_madp_thd2_comb.rdo_smear_madp_around_thd0 = 16; in vepu540c_h265_rdo_cfg()
252 reg->rdo_smear_madp_thd2_comb.rdo_smear_madp_around_thd1 = 32; in vepu540c_h265_rdo_cfg()
253 reg->rdo_smear_madp_thd3_comb.rdo_smear_madp_around_thd2 = 48; in vepu540c_h265_rdo_cfg()
254 reg->rdo_smear_madp_thd3_comb.rdo_smear_madp_around_thd3 = 96; in vepu540c_h265_rdo_cfg()
255 reg->rdo_smear_madp_thd4_comb.rdo_smear_madp_around_thd4 = 48; in vepu540c_h265_rdo_cfg()
256 reg->rdo_smear_madp_thd4_comb.rdo_smear_madp_around_thd5 = 24; in vepu540c_h265_rdo_cfg()
257 reg->rdo_smear_madp_thd5_comb.rdo_smear_madp_ref_thd0 = 96; in vepu540c_h265_rdo_cfg()
258 reg->rdo_smear_madp_thd5_comb.rdo_smear_madp_ref_thd1 = 48; in vepu540c_h265_rdo_cfg()
259 reg->rdo_smear_cnt_thd0_comb.rdo_smear_cnt_cur_thd0 = 1 ; in vepu540c_h265_rdo_cfg()
260 reg->rdo_smear_cnt_thd0_comb.rdo_smear_cnt_cur_thd1 = 3; in vepu540c_h265_rdo_cfg()
261 reg->rdo_smear_cnt_thd0_comb.rdo_smear_cnt_cur_thd2 = 1 ; in vepu540c_h265_rdo_cfg()
262 reg->rdo_smear_cnt_thd0_comb.rdo_smear_cnt_cur_thd3 = 3; in vepu540c_h265_rdo_cfg()
263 reg->rdo_smear_cnt_thd1_comb.rdo_smear_cnt_around_thd0 = 1 ; in vepu540c_h265_rdo_cfg()
264 reg->rdo_smear_cnt_thd1_comb.rdo_smear_cnt_around_thd1 = 4 ; in vepu540c_h265_rdo_cfg()
265 reg->rdo_smear_cnt_thd1_comb.rdo_smear_cnt_around_thd2 = 1 ; in vepu540c_h265_rdo_cfg()
266 reg->rdo_smear_cnt_thd1_comb.rdo_smear_cnt_around_thd3 = 4 ; in vepu540c_h265_rdo_cfg()
267 reg->rdo_smear_cnt_thd2_comb.rdo_smear_cnt_around_thd4 = 0; in vepu540c_h265_rdo_cfg()
268 reg->rdo_smear_cnt_thd2_comb.rdo_smear_cnt_around_thd5 = 3; in vepu540c_h265_rdo_cfg()
269 reg->rdo_smear_cnt_thd2_comb.rdo_smear_cnt_around_thd6 = 0; in vepu540c_h265_rdo_cfg()
270 reg->rdo_smear_cnt_thd2_comb.rdo_smear_cnt_around_thd7 = 3; in vepu540c_h265_rdo_cfg()
271 reg->rdo_smear_cnt_thd3_comb.rdo_smear_cnt_ref_thd0 = 1; in vepu540c_h265_rdo_cfg()
272 reg->rdo_smear_cnt_thd3_comb.rdo_smear_cnt_ref_thd1 = 3; in vepu540c_h265_rdo_cfg()
273 reg->rdo_smear_resi_thd0_comb.rdo_smear_resi_small_cur_th0 = 6; in vepu540c_h265_rdo_cfg()
274 reg->rdo_smear_resi_thd0_comb.rdo_smear_resi_big_cur_th0 = 9; in vepu540c_h265_rdo_cfg()
275 reg->rdo_smear_resi_thd0_comb.rdo_smear_resi_small_cur_th1 = 6; in vepu540c_h265_rdo_cfg()
276 reg->rdo_smear_resi_thd0_comb.rdo_smear_resi_big_cur_th1 = 9; in vepu540c_h265_rdo_cfg()
277 reg->rdo_smear_resi_thd1_comb.rdo_smear_resi_small_around_th0 = 6; in vepu540c_h265_rdo_cfg()
278 reg->rdo_smear_resi_thd1_comb.rdo_smear_resi_big_around_th0 = 11; in vepu540c_h265_rdo_cfg()
279 reg->rdo_smear_resi_thd1_comb.rdo_smear_resi_small_around_th1 = 6; in vepu540c_h265_rdo_cfg()
280 reg->rdo_smear_resi_thd1_comb.rdo_smear_resi_big_around_th1 = 8; in vepu540c_h265_rdo_cfg()
281 reg->rdo_smear_resi_thd2_comb.rdo_smear_resi_small_around_th2 = 9; in vepu540c_h265_rdo_cfg()
282 reg->rdo_smear_resi_thd2_comb.rdo_smear_resi_big_around_th2 = 20; in vepu540c_h265_rdo_cfg()
283 reg->rdo_smear_resi_thd2_comb.rdo_smear_resi_small_around_th3 = 6; in vepu540c_h265_rdo_cfg()
284 reg->rdo_smear_resi_thd2_comb.rdo_smear_resi_big_around_th3 = 20; in vepu540c_h265_rdo_cfg()
285 reg->rdo_smear_resi_thd3_comb.rdo_smear_resi_small_ref_th0 = 7; in vepu540c_h265_rdo_cfg()
286 reg->rdo_smear_resi_thd3_comb.rdo_smear_resi_big_ref_th0 = 16; in vepu540c_h265_rdo_cfg()
287 reg->rdo_smear_st_thd0_comb.rdo_smear_resi_th0 = 9; in vepu540c_h265_rdo_cfg()
288 reg->rdo_smear_st_thd0_comb.rdo_smear_resi_th1 = 6; in vepu540c_h265_rdo_cfg()
289 reg->rdo_smear_st_thd1_comb.rdo_smear_madp_cnt_th0 = 1; in vepu540c_h265_rdo_cfg()
290 reg->rdo_smear_st_thd1_comb.rdo_smear_madp_cnt_th1 = 5; in vepu540c_h265_rdo_cfg()
291 reg->rdo_smear_st_thd1_comb.rdo_smear_madp_cnt_th2 = 1; in vepu540c_h265_rdo_cfg()
292 reg->rdo_smear_st_thd1_comb.rdo_smear_madp_cnt_th3 = 3; in vepu540c_h265_rdo_cfg()
293 reg->rdo_smear_st_thd1_comb.rdo_smear_madp_cnt_th4 = 1; in vepu540c_h265_rdo_cfg()
294 reg->rdo_smear_st_thd1_comb.rdo_smear_madp_cnt_th5 = 2; in vepu540c_h265_rdo_cfg()
296 p_rdo_skip = ®->rdo_b32_skip; in vepu540c_h265_rdo_cfg()
307 p_rdo_noskip = ®->rdo_b32_inter; in vepu540c_h265_rdo_cfg()
316 p_rdo_noskip = ®->rdo_b32_intra; in vepu540c_h265_rdo_cfg()
325 p_rdo_skip = ®->rdo_b16_skip; in vepu540c_h265_rdo_cfg()
336 p_rdo_noskip = ®->rdo_b16_inter; in vepu540c_h265_rdo_cfg()
345 p_rdo_noskip = ®->rdo_b16_intra; in vepu540c_h265_rdo_cfg()
354 reg->rdo_b32_intra_atf_cnt_thd.thd0 = 1; in vepu540c_h265_rdo_cfg()
355 reg->rdo_b32_intra_atf_cnt_thd.thd1 = 4; in vepu540c_h265_rdo_cfg()
356 reg->rdo_b32_intra_atf_cnt_thd.thd2 = 1; in vepu540c_h265_rdo_cfg()
357 reg->rdo_b32_intra_atf_cnt_thd.thd3 = 4; in vepu540c_h265_rdo_cfg()
359 reg->rdo_b16_intra_atf_cnt_thd_comb.thd0 = 1; in vepu540c_h265_rdo_cfg()
360 reg->rdo_b16_intra_atf_cnt_thd_comb.thd1 = 4; in vepu540c_h265_rdo_cfg()
361 reg->rdo_b16_intra_atf_cnt_thd_comb.thd2 = 1; in vepu540c_h265_rdo_cfg()
362 reg->rdo_b16_intra_atf_cnt_thd_comb.thd3 = 4; in vepu540c_h265_rdo_cfg()
363 reg->rdo_atf_resi_thd_comb.big_th0 = 16; in vepu540c_h265_rdo_cfg()
364 reg->rdo_atf_resi_thd_comb.big_th1 = 16; in vepu540c_h265_rdo_cfg()
365 reg->rdo_atf_resi_thd_comb.small_th0 = 8; in vepu540c_h265_rdo_cfg()
366 reg->rdo_atf_resi_thd_comb.small_th1 = 8; in vepu540c_h265_rdo_cfg()
368 p_pre_cst = ®->preintra32_cst; in vepu540c_h265_rdo_cfg()
387 p_pre_cst = ®->preintra16_cst; in vepu540c_h265_rdo_cfg()
406 reg->preintra_sqi_cfg.pre_intra_qp_thd = 28; in vepu540c_h265_rdo_cfg()
407 reg->preintra_sqi_cfg.pre_intra4_lambda_mv_bit = 3; in vepu540c_h265_rdo_cfg()
408 reg->preintra_sqi_cfg.pre_intra8_lambda_mv_bit = 4; in vepu540c_h265_rdo_cfg()
409 reg->preintra_sqi_cfg.pre_intra16_lambda_mv_bit = 4; in vepu540c_h265_rdo_cfg()
410 reg->preintra_sqi_cfg.pre_intra32_lambda_mv_bit = 5; in vepu540c_h265_rdo_cfg()
411 reg->rdo_atr_i_cu32_madi_cfg0.i_cu32_madi_thd0 = 3; in vepu540c_h265_rdo_cfg()
412 reg->rdo_atr_i_cu32_madi_cfg0.i_cu32_madi_thd1 = 35; in vepu540c_h265_rdo_cfg()
413 reg->rdo_atr_i_cu32_madi_cfg0.i_cu32_madi_thd2 = 25; in vepu540c_h265_rdo_cfg()
414 reg->rdo_atr_i_cu32_madi_cfg1.i_cu32_madi_cnt_thd3 = 0; in vepu540c_h265_rdo_cfg()
415 reg->rdo_atr_i_cu32_madi_cfg1.i_cu32_madi_thd4 = 20; in vepu540c_h265_rdo_cfg()
416 reg->rdo_atr_i_cu32_madi_cfg1.i_cu32_madi_cost_multi = 24; in vepu540c_h265_rdo_cfg()
417 reg->rdo_atr_i_cu16_madi_cfg0.i_cu16_madi_thd0 = 4; in vepu540c_h265_rdo_cfg()
418 reg->rdo_atr_i_cu16_madi_cfg0.i_cu16_madi_thd1 = 6; in vepu540c_h265_rdo_cfg()
419 reg->rdo_atr_i_cu16_madi_cfg0.i_cu16_madi_cost_multi = 24; in vepu540c_h265_rdo_cfg()
1343 cfg.reg = (RK_U32*)&hw_regs->reg_ctl; in hal_h265e_v540c_start()
1360 cfg.reg = &hw_regs->reg_base; in hal_h265e_v540c_start()
1380 cfg.reg = &hw_regs->reg_rc_roi; in hal_h265e_v540c_start()
1397 cfg.reg = &hw_regs->reg_wgt; in hal_h265e_v540c_start()
1414 cfg.reg = &hw_regs->reg_rdo; in hal_h265e_v540c_start()
1424 cfg1.reg = ®_out->hw_status; in hal_h265e_v540c_start()
1434 cfg1.reg = ®_out->st; in hal_h265e_v540c_start()