Lines Matching refs:width

101     RK_U32 width;  member
247 mpp_venc_kcfg_set_u32(init_kcfg, "max_width", p->width); in kmpp_cfg_init()
273 p->width = cmd->width; in test_ctx_init()
276 (MPP_ALIGN(cmd->width, 16)); in test_ctx_init()
315 p->cam_ctx = camera_source_init(cmd->file_input, 4, p->width, p->height, p->fmt); in test_ctx_init()
382 … p->header_size = MPP_ALIGN(MPP_ALIGN(p->width, 16) * MPP_ALIGN(p->height, 16) / 16, SZ_4K); in test_ctx_init()
384 p->header_size = MPP_ALIGN(p->width, 16) * MPP_ALIGN(p->height, 16) / 16; in test_ctx_init()
441 p->bps = p->width * p->height / 8 * (p->fps_out_num / p->fps_out_den); in test_mpp_enc_cfg_setup()
446 mpp_enc_cfg_set_s32(cfg, "prep:width", p->width); in test_mpp_enc_cfg_setup()
731 mpp_enc_roi_init(&p->roi_ctx, p->width, p->height, p->type, 4); in test_mpp_enc_cfg_setup()
787 psnr_const = (16 + log2(MPP_ALIGN(p->width, sse_unit_in_pixel) * in test_mpp_run()
801 ret = read_image(buf, p->fp_input, p->width, p->height, in test_mpp_run()
820 ret = fill_image(buf, p->width, p->height, p->hor_stride, in test_mpp_run()
846 mpp_frame_set_width(frame, p->width); in test_mpp_run()
933 mpi_enc_gen_osd_data(&p->osd_data, p->buf_grp, p->width, in test_mpp_run()
943 region->x = MPP_ALIGN(p->width / 8, 16); in test_mpp_run()
953 region->x = MPP_ALIGN(p->width / 2, 16); in test_mpp_run()
969 RK_U32 width = 128; in test_mpp_run() local
979 if ((start_x + width) > p->width || (start_y + height) > p->height) in test_mpp_run()
984 p->roi_jpeg_cfg.regions[index].w = width; in test_mpp_run()
988 start_x += width; in test_mpp_run()
1183 p->ctx, p->width, p->height, p->type); in enc_test()