Home
last modified time | relevance | path

Searched refs:y (Results 1 – 25 of 33) sorted by relevance

12

/rockchip-linux_mpp/utils/
H A Dutils.c375 RK_U32 y = 0, x = 0; in calc_frm_crc() local
392 for (y = 0; y < height / grp_line_cnt * grp_line_cnt; y++) { in calc_frm_crc()
393 wide_bit_sum(&dat8[y * stride], width, &crc->luma.sum[y / grp_line_cnt]); in calc_frm_crc()
396 for (y = height / grp_line_cnt * grp_line_cnt; y < height; y++) { in calc_frm_crc()
397 wide_bit_sum(&dat8[y * stride], width, &crc->luma.sum[y / grp_line_cnt]); in calc_frm_crc()
402 for (y = 0; y < height; y++) { in calc_frm_crc()
403 dat32 = (RK_U32 *)&dat8[y * stride]; in calc_frm_crc()
415 for (y = 0; y < height / 2 / grp_line_cnt * grp_line_cnt; y++) { in calc_frm_crc()
416 wide_bit_sum(&dat8[y * stride], width, &crc->chroma.sum[y / grp_line_cnt]); in calc_frm_crc()
419 for (y = height / 2 / grp_line_cnt * grp_line_cnt; y < height / 2; y++) { in calc_frm_crc()
[all …]
H A Dmpp_enc_roi_utils.c255 if (region->x + region->w > ctx->w || region->y + region->h > ctx->h) in gen_vepu54x_roi()
268 region->x, region->y, region->w, region->h, ctx->w, ctx->h); in gen_vepu54x_roi()
283 RK_S32 pos_y_init = (region->y + 15) / 16; in gen_vepu54x_roi()
286 RK_S32 x, y; in gen_vepu54x_roi() local
303 for (y = 0; y < roi_height; y++) { in gen_vepu54x_roi()
331 if (region->y < 64) { in gen_vepu54x_roi()
334 } else if (region->y % 64) { in gen_vepu54x_roi()
335 pos_y_init = (region->y - 64) / 64; in gen_vepu54x_roi()
338 pos_y_init = region->y / 64; in gen_vepu54x_roi()
341 for (y = 0; y < roi_height; y++) { in gen_vepu54x_roi()
[all …]
H A Dmpp_enc_roi_utils.h26 RK_U16 y; /**< vertical position of top left corner */ member
/rockchip-linux_mpp/mpp/hal/rkenc/common/
H A Dvepu510_common.c41 if (region->x + region->w > w || region->y + region->h > h) in vepu510_set_roi()
57 region->x, region->y, region->w, region->h, w, in vepu510_set_roi()
66 reg_regions->roi_pos_lt.roi_lt_y = MPP_ALIGN(region->y, 16) >> 4; in vepu510_set_roi()
68 reg_regions->roi_pos_rb.roi_rb_y = MPP_ALIGN(region->y + region->h, 16) >> 4; in vepu510_set_roi()
H A Dvepu511_common.c124 if (region->x + region->w > w || region->y + region->h > h) in vepu511_set_roi()
138 region->x, region->y, region->w, region->h, w, h); in vepu511_set_roi()
147 reg_regions->roi_pos_lt.roi_lt_y = MPP_ALIGN(region->y, 16) >> 4; in vepu511_set_roi()
149 reg_regions->roi_pos_rb.roi_rb_y = MPP_ALIGN(region->y + region->h, 16) >> 4; in vepu511_set_roi()
H A Dvepu541_common.c54 RK_S32 pos_y_init = region->y / 16; in vepu541_set_one_roi()
57 RK_S32 x, y; in vepu541_set_one_roi() local
79 for (y = 0; y < roi_height; y++) { in vepu541_set_one_roi()
132 if (region->x + region->w > w || region->y + region->h > h) in vepu541_set_roi()
146 region->x, region->y, region->w, region->h, w, h); in vepu541_set_roi()
H A Dvepu540c_common.c54 if (region->x + region->w > w || region->y + region->h > h) in vepu540c_set_roi()
70 region->x, region->y, region->w, region->h, w, in vepu540c_set_roi()
79 reg_regions->roi_pos_lt.roi_lt_y = MPP_ALIGN(region->y, 16) >> 4; in vepu540c_set_roi()
81 reg_regions->roi_pos_rb.roi_rb_y = MPP_ALIGN(region->y + region->h, 16) >> 4; in vepu540c_set_roi()
H A Dvepu580_common.h20 RK_U32 y : 8; member
/rockchip-linux_mpp/mpp/vproc/iep2/
H A Diep2_roi.c33 ctx->params.ysta[idx] = r->y; in iep2_set_roi()
35 ctx->params.yend[idx] = r->y + r->h - 1; in iep2_set_roi()
H A Diep2_roi.h26 int y; member
H A Diep2.c264 r.y = 0; in iep2_done()
270 r.y = ctx->params.osd_y_sta[0]; in iep2_done()
423 addr->y = img->mem_addr; in set_addr()
H A Diep2.h41 uint32_t y; member
/rockchip-linux_mpp/test/
H A Dmpi_rc2_test.c184 RK_U32 x, y; in mpi_rc_calc_psnr() local
200 for (y = 0 ; y < height; y++) { in mpi_rc_calc_psnr()
202 tmp = enc_buf_y[x + y * enc_hor_stride] - in mpi_rc_calc_psnr()
203 dec_buf_y[x + y * dec_hor_stride]; in mpi_rc_calc_psnr()
271 int y = 0; in ssim_4x4x2_core() local
276 for (y = 0; y < 4; y++ ) in ssim_4x4x2_core()
278 a = pix1[x + y * stride1]; in ssim_4x4x2_core()
279 b = pix2[x + y * stride2]; in ssim_4x4x2_core()
301 int y = 0; in calc_ssim() local
309 for ( y = 1; y < height; y++ ) { in calc_ssim()
[all …]
/rockchip-linux_mpp/osal/linux/
H A Ddrm_mode.h135 __u32 x, y; /**< Position on the frameuffer */ member
432 __s32 y; member
443 __s32 y; member
/rockchip-linux_mpp/mpp/codec/dec/vp9/
H A Dvpx_rac.h35 int16_t y; member
H A Dvp9d_parser.h250 struct { RK_S32 x, y; } min_mv, max_mv; member
/rockchip-linux_mpp/mpp/hal/vpu/vp8e/
H A Dhal_vp8e_base.c143 RK_U32 x, y, mb, mask, id; in set_segmentation() local
155 for (y = 0, mb = 0, mask = 0; y < ctx->mb_per_col; y++) { in set_segmentation()
159 (y >= hw_cfg->roi1_top) && (y <= hw_cfg->roi1_bottom)) in set_segmentation()
162 (y >= hw_cfg->roi2_top) && (y <= hw_cfg->roi2_bottom)) in set_segmentation()
531 RK_S32 y, x; in set_new_frame() local
534 y = vp8e_calc_cost_mv(i * 2, ctx->entropy.mv_prob[0]); /* mv y */ in set_new_frame()
536 hw_cfg->dmv_qpel_penalty[i] = MPP_MIN(255, (y + x + 1) / 2 * weight_tbl[qp] >> 8); in set_new_frame()
/rockchip-linux_mpp/inc/
H A Drk_venc_cmd.h1031 RK_U16 y; /**< vertical position of top left corner */ member
1076 RK_U16 y; /* vertical position of top left corner */ member
1127 RK_U32 y : 8; member
/rockchip-linux_mpp/mpp/vproc/rga/
H A Drga.h80 RK_U16 y; member
/rockchip-linux_mpp/mpp/vproc/vdpp/
H A Dvdpp.c90 dst_reg->common.reg24.sw_vdpp_src_addr_y = src_params->src.y; in vdpp_params_to_reg()
96 dst_reg->common.reg26.sw_vdpp_dst_addr_y = src_params->dst.y; in vdpp_params_to_reg()
478 addr->y = img->mem_addr; in set_addr()
/rockchip-linux_mpp/mpp/hal/rkenc/jpege/
H A Dhal_jpege_vepu511.c333 region->y + region->h > frame_height) { in hal_jpege_vepu511_set_roi()
335 i, region->x, region->y, region->w, in hal_jpege_vepu511_set_roi()
347 reg_regions->roi_cfg0.roi0_rdoq_start_y = MPP_ALIGN(region->y, 16) >> 3; in hal_jpege_vepu511_set_roi()
/rockchip-linux_mpp/mpp/hal/common/av1/
H A Dav1d_common.h520 #define AV1HWPAD(x, y) RK_U8 x[y] argument
/rockchip-linux_mpp/mpp/codec/dec/av1/
H A Dav1d_common.h539 #define AV1HWPAD(x, y) RK_U8 x[y] argument
/rockchip-linux_mpp/mpp/hal/rkenc/h264e/
H A Dhal_h264e_vepu580.c1452 RK_S32 pos_y_init = region->y / 16; in vepu580_h264_set_one_roi()
1455 RK_S32 x, y; in vepu580_h264_set_one_roi() local
1471 for (y = 0; y < roi_height; y++) { in vepu580_h264_set_one_roi()
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()
1544 region->y = 0; in setup_vepu580_intra_refresh()
H A Dhal_h264e_vepu510.c1379 RK_S32 pos_y_init = region->y / 16; in vepu510_h264_set_one_roi()
1382 RK_S32 x, y; in vepu510_h264_set_one_roi() local
1398 for (y = 0; y < roi_height; y++) { in vepu510_h264_set_one_roi()
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()
1469 region->y = 0; in setup_vepu510_intra_refresh()

12