| /rockchip-linux_mpp/mpp/codec/rc/ |
| H A D | rc_model_v2_smt.c | 141 RcFpsCfg *fps = &ctx->usr_cfg.fps; in bits_model_smt_init() local 147 RK_S32 nfps = fps->fps_out_num / fps->fps_out_denom; in bits_model_smt_init() 149 RK_S32 rt_stat_len = fps->fps_out_num / fps->fps_out_denom; /* real time stat len */ in bits_model_smt_init() 150 RK_S32 stat_len = fps->fps_out_num * ctx->usr_cfg.stats_time / fps->fps_out_denom; in bits_model_smt_init() 151 stat_len = stat_len ? stat_len : (fps->fps_out_num * 8 / fps->fps_out_denom); in bits_model_smt_init() 192 ave_bits_lower = (RK_S64)ctx->usr_cfg.bps_min * fps->fps_out_denom / fps->fps_out_num; in bits_model_smt_init() 193 ave_bits_uppper = (RK_S64)ctx->usr_cfg.bps_max * fps->fps_out_denom / fps->fps_out_num; in bits_model_smt_init() 257 RcFpsCfg *fps = &ctx->usr_cfg.fps; in bits_model_update_smt() local 298 mod = mod % (fps->fps_out_num / fps->fps_out_denom); in bits_model_update_smt() 542 RcFpsCfg *fps = &p->usr_cfg.fps; in smt_start_prepare() local [all …]
|
| H A D | rc.c | 26 RcFpsCfg fps; member 114 p->fps = cfg->fps; in rc_update_usr_cfg() 136 RcFpsCfg *cfg = &p->fps; in rc_frm_check_drop()
|
| H A D | rc_model_v2.c | 148 RcFpsCfg *fps = &ctx->usr_cfg.fps; in bits_model_param_init() local 150 RK_U32 stat_len = fps->fps_out_num * ctx->usr_cfg.stats_time / fps->fps_out_denom; in bits_model_param_init() 198 mpp_data_init_v2(&ctx->stat_rate, fps->fps_out_num, 0); in bits_model_param_init() 200 mpp_err("stat_rate init fail fps_out_num %d", fps->fps_out_num); in bits_model_param_init() 1101 RcFpsCfg *fps = &ctx->usr_cfg.fps; in bits_model_init() local 1178 gop_bits = (RK_S64)gop_len * target_bps * fps->fps_out_denom; in bits_model_init() 1180 gop_bits = (RK_S64)fps->fps_out_num * target_bps * fps->fps_out_denom; in bits_model_init() 1182 ctx->gop_total_bits = gop_bits / fps->fps_out_num; in bits_model_init() 1183 ctx->bit_per_frame = target_bps * fps->fps_out_denom / fps->fps_out_num; in bits_model_init() 1187 ctx->last_fps = fps->fps_out_num / fps->fps_out_denom; in bits_model_init() [all …]
|
| /rockchip-linux_mpp/doc/ |
| H A D | Rockchip_Developer_Guide_MPP_CN.md | 667 …fps / cif@7.5fps / cif@15fps / cif@30fps 20/21/22 – cif@30fps / half-D1@25fps / D1@12.5fps 30/31/3… 892 | -v | 日志选项:q为静默标志;f为fps显示标志。 | 932 `I mpi_dec_test: decode 10 frames time 263ms delay 69ms fps 113.99` 969 | -fps | 输入/输出帧率控制,默认为30。该命令参数仅说明输入帧率和输出帧率之间的比例关系,与实际帧率无关。 | 972 | -v | 日志选项:q为静默标志;f为fps显示标志。 … 980 mpi_enc_test的命令参数中,输入/输出帧率控制(fps)的格式为: 983 -fps fps_in_num:fps_in_den:fps_in_flex/fps_out_num:fps_out_den:fps_out_flex 1012 `I mpp_enc : MPP_ENC_SET_RC_CFG bps 7776000 [486000 : 8262000] fps [30:30] gop 60` 1020 `I mpi_enc_test: chn 0 encode 30 frames time 628 ms delay 4 ms fps 47.72 bps 10265048`
|
| H A D | Rockchip_Developer_Guide_MPP_EN.md | 593 …es the numerator part of the input frame rate score value, for example, 0 means the default 30fps.| 596 …32|Indicates the numerator part of the output frame rate score, such as 0 means the default 30fps.| 612 …fps / cif@7.5fps / cif@15fps / cif@30fps<br>20/21/22 – cif@30fps / half-D1@25fps / D1@12.5fps<br>3… 818 | -v | trace option: q - quiet; f - show fps | 863 I mpi_dec_test: decode 30 frames time 263ms delay 69ms fps 113.99 866 … indicates that the decoder uses 263ms to decode 30 frames, first frame delays 69ms, fps is 113.99. 909 | -fps | set input and output frame rate, 30 by default. This command parameter only d… 912 | -v | trace option: q - quiet; f - show fps | 920 The format for input/output frame rate control (fps) in mpi_enc_test command parameters is: 923 -fps fps_in_num:fps_in_den:fps_in_flex/fps_out_num:fps_out_den:fps_out_flex [all …]
|
| /rockchip-linux_mpp/test/ |
| H A D | mpp_parse_cfg.h | 15 float fps; member
|
| H A D | mpp_parse_cfg.c | 137 &event->idx, &event->bps, &event->fps); in scan_event_line() 139 event->idx, event->bps, event->fps); in scan_event_line()
|
| H A D | mpi_rc.cfg | 12 #idx bps fps
|
| H A D | mpi_dec_multi_test.c | 205 fps_calc_inc(cmd->fps); in multi_dec_simple() 330 fps_calc_inc(cmd->fps); in multi_dec_advanced()
|
| H A D | mpi_dec_test.c | 211 fps_calc_inc(cmd->fps); in dec_simple() 335 fps_calc_inc(cmd->fps); in dec_advanced()
|
| H A D | mpi_dec_mt_test.c | 207 fps_calc_inc(cmd->fps); in thread_output()
|
| H A D | mpi_dec_nt_test.c | 206 fps_calc_inc(cmd->fps); in dec_loop()
|
| H A D | mpi_enc_mt_test.c | 976 fps_calc_inc(cmd->fps); in enc_test_output()
|
| H A D | mpi_enc_test.c | 1101 fps_calc_inc(cmd->fps); in test_mpp_run()
|
| /rockchip-linux_mpp/tools/ |
| H A D | yuvplay | 6 mplayer $SRC -loop 0 -demuxer rawvideo -fps 25 -rawvideo w=$W:h=$H:size=$(($W*$H*3/2)):format=nv12
|
| /rockchip-linux_mpp/utils/ |
| H A D | mpi_dec_utils.c | 715 fps_calc_init(&cmd->fps); in mpi_dec_test_cmd_init() 716 mpp_assert(cmd->fps); in mpi_dec_test_cmd_init() 717 fps_calc_set_cb(cmd->fps, show_dec_fps); in mpi_dec_test_cmd_init() 744 if (cmd->fps) { in mpi_dec_test_cmd_deinit() 745 fps_calc_deinit(cmd->fps); in mpi_dec_test_cmd_deinit() 746 cmd->fps = NULL; in mpi_dec_test_cmd_deinit()
|
| H A D | mpi_enc_utils.c | 893 fps_calc_init(&cmd->fps); in mpi_enc_test_cmd_update_by_args() 894 mpp_assert(cmd->fps); in mpi_enc_test_cmd_update_by_args() 895 fps_calc_set_cb(cmd->fps, show_enc_fps); in mpi_enc_test_cmd_update_by_args() 919 if (cmd->fps) { in mpi_enc_test_cmd_put() 920 fps_calc_deinit(cmd->fps); in mpi_enc_test_cmd_put() 921 cmd->fps = NULL; in mpi_enc_test_cmd_put()
|
| H A D | mpi_dec_utils.h | 130 FpsCalc fps; member
|
| H A D | mpi_enc_utils.h | 106 FpsCalc fps; member
|
| /rockchip-linux_mpp/mpp/codec/inc/ |
| H A D | mpp_rc.h | 96 RK_U32 fps; member
|
| /rockchip-linux_mpp/inc/ |
| H A D | mpp_rc_api.h | 117 RcFpsCfg fps; member
|
| /rockchip-linux_mpp/mpp/codec/ |
| H A D | mpp_enc_impl.c | 130 RK_U64 fps = hal_info_to_float(enc->frame_count * 1000, time_diff); in update_hal_info_fps() local 134 cfg.data = fps; in update_hal_info_fps() 1573 cfg->fps.fps_in_flex = rc->fps_in_flex; in set_rc_cfg() 1574 cfg->fps.fps_in_num = rc->fps_in_num; in set_rc_cfg() 1575 cfg->fps.fps_in_denom = rc->fps_in_denom; in set_rc_cfg() 1576 cfg->fps.fps_out_flex = rc->fps_out_flex; in set_rc_cfg() 1577 cfg->fps.fps_out_num = rc->fps_out_num; in set_rc_cfg() 1578 cfg->fps.fps_out_denom = rc->fps_out_denom; in set_rc_cfg() 1667 cfg->fps.fps_in_flex ? "flex" : "fix", in set_rc_cfg() 1668 cfg->fps.fps_in_num, cfg->fps.fps_in_denom, in set_rc_cfg() [all …]
|
| /rockchip-linux_mpp/ |
| H A D | CHANGELOG.md | 650 - [rc_v2]: Support flex fps rate control
|