Home
last modified time | relevance | path

Searched refs:frm_cnt (Results 1 – 10 of 10) sorted by relevance

/rockchip-linux_mpp/mpp/codec/rc/
H A Drc.c27 RK_S32 frm_cnt; member
69 p->frm_cnt = -1; in rc_init()
137 RK_S32 frm_cnt = p->frm_cnt; in rc_frm_check_drop() local
147 if (frm_cnt < 0) in rc_frm_check_drop()
148 frm_cnt = rate_in - rate_out; in rc_frm_check_drop()
150 frm_cnt += rate_out; in rc_frm_check_drop()
152 if (frm_cnt < rate_in) in rc_frm_check_drop()
155 frm_cnt -= rate_in; in rc_frm_check_drop()
157 p->frm_cnt = frm_cnt; in rc_frm_check_drop()
H A Drc_ctx.h108 RK_S32 frm_cnt; member
H A Drc_model_v2.c1239 ctx->frm_cnt++; in fps_chg_update_mode()
1245 RK_U32 fps = ctx->frm_cnt * 1000 / time_diff; in fps_chg_update_mode()
1254 ctx->frm_cnt = 0; in fps_chg_update_mode()
/rockchip-linux_mpp/tools/
H A Dresolution_test.sh59 frm_cnt=5
69 [ "${width}" -gt 8192 ] && frm_cnt=2
70 [ "${height}" -gt 8192 ] && frm_cnt=2
71 [ "${cur_sp}" = "jpeg" ] && frm_cnt=1
77 …cur_enc_cmd="${enc_tool} -w ${width} -h ${height} -n ${frm_cnt} -t ${cur_type} -o ${enc_out_norm_p…
87 …cur_enc_cmd="${enc_tool} -w ${width} -h ${height} -n ${frm_cnt} -t ${cur_type} -o ${enc_out_kmpp_p…
/rockchip-linux_mpp/mpp/codec/
H A Dmpp_rc.c179 MPP_RET mpp_rc_param_ops(struct list_head *head, RK_U32 frm_cnt, in mpp_rc_param_ops() argument
189 if (frm_cnt == pos->frm_cnt) { in mpp_rc_param_ops()
196 mpp_err("frame %d is not found in list_head %p!\n", frm_cnt, head); in mpp_rc_param_ops()
225 mpp_err("frame %d found invalid operation code %d\n", frm_cnt, ops); in mpp_rc_param_ops()
/rockchip-linux_mpp/mpp/codec/inc/
H A Dmpp_rc.h94 RK_U32 frm_cnt; member
/rockchip-linux_mpp/mpp/hal/vpu/h264e/
H A Dhal_h264e_vepu_v2.h107 RK_S32 frm_cnt; member
H A Dhal_h264e_vepu_v2.c249 bufs->frm_cnt--; in h264e_vepu_buf_set_frame_size()
295 bufs->frm_cnt++; in h264e_vepu_buf_get_frame_buffer()
/rockchip-linux_mpp/utils/
H A Dutils.c712 static void get_rgb_color(RK_U32 *R, RK_U32 *G, RK_U32 *B, RK_S32 x, RK_S32 y, RK_S32 frm_cnt) in get_rgb_color() argument
715 if (frm_cnt == 0) { in get_rgb_color()
723 if (frm_cnt == 1) { in get_rgb_color()
731 if (frm_cnt == 2) { in get_rgb_color()
739 RK_U8 Y = (0 + x + y + frm_cnt * 3); in get_rgb_color()
740 RK_U8 U = (128 + (y / 2) + frm_cnt * 2); in get_rgb_color()
741 RK_U8 V = (64 + (x / 2) + frm_cnt * 5); in get_rgb_color()
/rockchip-linux_mpp/mpp/codec/enc/h265/
H A Dh265e_dpb.c34 RK_S32 frm_cnt = MPP_ARRAY_ELEMS(dpb->frame_list); in h265e_dpb_dump_frm() local
36 pos += snprintf(buf, sizeof(buf) - 1, "total %2d ", frm_cnt); in h265e_dpb_dump_frm()
38 for (i = 0; i < frm_cnt; i++) { in h265e_dpb_dump_frm()