Home
last modified time | relevance | path

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

/OK3568_Linux_fs/external/mpp/mpp/hal/vpu/h264e/
H A Dhal_h264e_vepu2_v2.c297 RK_U32 refresh_idx = frm->seq_idx % cfg->rc.gop; in setup_intra_refresh() local
308 top = refresh_idx * refresh_num - 2; in setup_intra_refresh()
309 bottom = (refresh_idx + 1) * refresh_num - 1; in setup_intra_refresh()
315 left = refresh_idx * refresh_num - 2; in setup_intra_refresh()
316 right = (refresh_idx + 1) * refresh_num - 1; in setup_intra_refresh()
/OK3568_Linux_fs/external/mpp/mpp/hal/rkenc/h264e/
H A Dhal_h264e_vepu541.c970 … setup_vepu541_intra_refresh(Vepu541H264eRegSet *regs, HalH264eVepu541Ctx *ctx, RK_U32 refresh_idx) in setup_vepu541_intra_refresh() argument
1023 if (refresh_idx > 0) { in setup_vepu541_intra_refresh()
1024 region->y = refresh_idx * 16 * refresh_num - 32; in setup_vepu541_intra_refresh()
1027 region->y = refresh_idx * 16 * refresh_num; in setup_vepu541_intra_refresh()
1034 if (refresh_idx > 0) { in setup_vepu541_intra_refresh()
1035 region->x = refresh_idx * 16 * refresh_num - 32; in setup_vepu541_intra_refresh()
1038 region->x = refresh_idx * 16 * refresh_num; in setup_vepu541_intra_refresh()
H A Dhal_h264e_vepu580.c1542 …ET setup_vepu580_intra_refresh(HalVepu580RegSet *regs, HalH264eVepu580Ctx *ctx, RK_U32 refresh_idx) in setup_vepu580_intra_refresh() argument
1592 if (refresh_idx > 0) { in setup_vepu580_intra_refresh()
1593 region->y = refresh_idx * 16 * refresh_num - 32; in setup_vepu580_intra_refresh()
1596 region->y = refresh_idx * 16 * refresh_num; in setup_vepu580_intra_refresh()
1603 if (refresh_idx > 0) { in setup_vepu580_intra_refresh()
1604 region->x = refresh_idx * 16 * refresh_num - 32; in setup_vepu580_intra_refresh()
1607 region->x = refresh_idx * 16 * refresh_num; in setup_vepu580_intra_refresh()
/OK3568_Linux_fs/external/mpp/mpp/hal/rkenc/h265e/
H A Dhal_h265e_vepu541.c860 …ET setup_vepu541_intra_refresh(H265eV541RegSet *regs, H265eV541HalContext *ctx, RK_U32 refresh_idx) in setup_vepu541_intra_refresh() argument
916 if (refresh_idx > 0) { in setup_vepu541_intra_refresh()
917 region->y = refresh_idx * 64 * ctx->cfg->rc.refresh_num - 128; in setup_vepu541_intra_refresh()
920 region->y = refresh_idx * 64 * ctx->cfg->rc.refresh_num; in setup_vepu541_intra_refresh()
927 if (refresh_idx > 0) { in setup_vepu541_intra_refresh()
928 region->x = refresh_idx * 64 * ctx->cfg->rc.refresh_num - 128; in setup_vepu541_intra_refresh()
931 region->x = refresh_idx * 64 * ctx->cfg->rc.refresh_num; in setup_vepu541_intra_refresh()
H A Dhal_h265e_vepu580.c1631 static MPP_RET cal_refresh_area(RK_S32 ctu_w, RK_S32 ctu_h, RK_U32 refresh_idx, in cal_refresh_area() argument
1641 if (refresh_idx > 0) { in cal_refresh_area()
1643 area->roi_ctu_y_sta = refresh_num * refresh_idx - 1; in cal_refresh_area()
1654 if (refresh_idx > 0) { in cal_refresh_area()
1656 area->roi_ctu_x_sta = refresh_num * refresh_idx - 1; in cal_refresh_area()
1671 ctu_w, ctu_h, refresh_num, refresh_idx, in cal_refresh_area()
1678 …ic MPP_RET setup_intra_refresh(H265eV580RegSet *regs, H265eV580HalContext *ctx, RK_U32 refresh_idx) in setup_intra_refresh() argument
1722 …if (MPP_OK != cal_refresh_area(ctu_w, ctu_h, refresh_idx, ctx->cfg->rc.refresh_mode, ctx->cfg->rc.… in setup_intra_refresh()