Home
last modified time | relevance | path

Searched refs:refresh_idx (Results 1 – 7 of 7) sorted by relevance

/rockchip-linux_mpp/mpp/hal/vpu/h264e/
H A Dhal_h264e_vepu2_v2.c299 RK_U32 refresh_idx = frm->seq_idx % cfg->rc.gop; in setup_intra_refresh() local
310 top = refresh_idx * refresh_num - 2; in setup_intra_refresh()
311 bottom = (refresh_idx + 1) * refresh_num - 1; in setup_intra_refresh()
317 left = refresh_idx * refresh_num - 2; in setup_intra_refresh()
318 right = (refresh_idx + 1) * refresh_num - 1; in setup_intra_refresh()
/rockchip-linux_mpp/mpp/hal/rkenc/h264e/
H A Dhal_h264e_vepu541.c978 … setup_vepu541_intra_refresh(Vepu541H264eRegSet *regs, HalH264eVepu541Ctx *ctx, RK_U32 refresh_idx) in setup_vepu541_intra_refresh() argument
1033 if (refresh_idx > 0) { in setup_vepu541_intra_refresh()
1034 region->y = refresh_idx * 16 * refresh_num - 32; in setup_vepu541_intra_refresh()
1037 region->y = refresh_idx * 16 * refresh_num; in setup_vepu541_intra_refresh()
1044 if (refresh_idx > 0) { in setup_vepu541_intra_refresh()
1045 region->x = refresh_idx * 16 * refresh_num - 32; in setup_vepu541_intra_refresh()
1048 region->x = refresh_idx * 16 * refresh_num; in setup_vepu541_intra_refresh()
H A Dhal_h264e_vepu580.c1483 …ET setup_vepu580_intra_refresh(HalVepu580RegSet *regs, HalH264eVepu580Ctx *ctx, RK_U32 refresh_idx) in setup_vepu580_intra_refresh() argument
1535 if (refresh_idx > 0) { in setup_vepu580_intra_refresh()
1536 region->y = refresh_idx * 16 * refresh_num - 32; in setup_vepu580_intra_refresh()
1539 region->y = refresh_idx * 16 * refresh_num; in setup_vepu580_intra_refresh()
1546 if (refresh_idx > 0) { in setup_vepu580_intra_refresh()
1547 region->x = refresh_idx * 16 * refresh_num - 32; in setup_vepu580_intra_refresh()
1550 region->x = refresh_idx * 16 * refresh_num; in setup_vepu580_intra_refresh()
H A Dhal_h264e_vepu510.c1410 …ET setup_vepu510_intra_refresh(HalVepu510RegSet *regs, HalH264eVepu510Ctx *ctx, RK_U32 refresh_idx) in setup_vepu510_intra_refresh() argument
1460 if (refresh_idx > 0) { in setup_vepu510_intra_refresh()
1461 region->y = refresh_idx * 16 * refresh_num - 32; in setup_vepu510_intra_refresh()
1464 region->y = refresh_idx * 16 * refresh_num; in setup_vepu510_intra_refresh()
1471 if (refresh_idx > 0) { in setup_vepu510_intra_refresh()
1472 region->x = refresh_idx * 16 * refresh_num - 32; in setup_vepu510_intra_refresh()
1475 region->x = refresh_idx * 16 * refresh_num; in setup_vepu510_intra_refresh()
H A Dhal_h264e_vepu511.c1410 …ET setup_vepu511_intra_refresh(HalVepu511RegSet *regs, HalH264eVepu511Ctx *ctx, RK_U32 refresh_idx) in setup_vepu511_intra_refresh() argument
1460 if (refresh_idx > 0) { in setup_vepu511_intra_refresh()
1461 region->y = refresh_idx * 16 * refresh_num - 32; in setup_vepu511_intra_refresh()
1464 region->y = refresh_idx * 16 * refresh_num; in setup_vepu511_intra_refresh()
1471 if (refresh_idx > 0) { in setup_vepu511_intra_refresh()
1472 region->x = refresh_idx * 16 * refresh_num - 32; in setup_vepu511_intra_refresh()
1475 region->x = refresh_idx * 16 * refresh_num; in setup_vepu511_intra_refresh()
/rockchip-linux_mpp/mpp/hal/rkenc/h265e/
H A Dhal_h265e_vepu541.c820 …ET setup_vepu541_intra_refresh(H265eV541RegSet *regs, H265eV541HalContext *ctx, RK_U32 refresh_idx) in setup_vepu541_intra_refresh() argument
877 if (refresh_idx > 0) { in setup_vepu541_intra_refresh()
878 region->y = refresh_idx * 64 * ctx->cfg->rc.refresh_num - 128; in setup_vepu541_intra_refresh()
881 region->y = refresh_idx * 64 * ctx->cfg->rc.refresh_num; in setup_vepu541_intra_refresh()
888 if (refresh_idx > 0) { in setup_vepu541_intra_refresh()
889 region->x = refresh_idx * 64 * ctx->cfg->rc.refresh_num - 128; in setup_vepu541_intra_refresh()
892 region->x = refresh_idx * 64 * ctx->cfg->rc.refresh_num; in setup_vepu541_intra_refresh()
H A Dhal_h265e_vepu580.c1709 static MPP_RET cal_refresh_area(RK_S32 ctu_w, RK_S32 ctu_h, RK_U32 refresh_idx, in cal_refresh_area() argument
1719 if (refresh_idx > 0) { in cal_refresh_area()
1721 area->roi_ctu_y_sta = refresh_num * refresh_idx - 1; in cal_refresh_area()
1732 if (refresh_idx > 0) { in cal_refresh_area()
1734 area->roi_ctu_x_sta = refresh_num * refresh_idx - 1; in cal_refresh_area()
1749 ctu_w, ctu_h, refresh_num, refresh_idx, in cal_refresh_area()
1756 static MPP_RET setup_intra_refresh(H265eV580HalContext *ctx, RK_U32 refresh_idx) in setup_intra_refresh() argument
1800 …if (MPP_OK != cal_refresh_area(ctu_w, ctu_h, refresh_idx, ctx->cfg->rc.refresh_mode, ctx->cfg->rc.… in setup_intra_refresh()