| /rockchip-linux_mpp/utils/ |
| H A D | utils.c | 375 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 D | mpp_enc_roi_utils.c | 255 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 D | mpp_enc_roi_utils.h | 26 RK_U16 y; /**< vertical position of top left corner */ member
|
| /rockchip-linux_mpp/mpp/hal/rkenc/common/ |
| H A D | vepu510_common.c | 41 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 D | vepu511_common.c | 124 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 D | vepu541_common.c | 54 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 D | vepu540c_common.c | 54 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 D | vepu580_common.h | 20 RK_U32 y : 8; member
|
| /rockchip-linux_mpp/mpp/vproc/iep2/ |
| H A D | iep2_roi.c | 33 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 D | iep2_roi.h | 26 int y; member
|
| H A D | iep2.c | 264 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 D | iep2.h | 41 uint32_t y; member
|
| /rockchip-linux_mpp/test/ |
| H A D | mpi_rc2_test.c | 184 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 D | drm_mode.h | 135 __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 D | vpx_rac.h | 35 int16_t y; member
|
| H A D | vp9d_parser.h | 250 struct { RK_S32 x, y; } min_mv, max_mv; member
|
| /rockchip-linux_mpp/mpp/hal/vpu/vp8e/ |
| H A D | hal_vp8e_base.c | 143 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 D | rk_venc_cmd.h | 1031 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 D | rga.h | 80 RK_U16 y; member
|
| /rockchip-linux_mpp/mpp/vproc/vdpp/ |
| H A D | vdpp.c | 90 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 D | hal_jpege_vepu511.c | 333 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 D | av1d_common.h | 520 #define AV1HWPAD(x, y) RK_U8 x[y] argument
|
| /rockchip-linux_mpp/mpp/codec/dec/av1/ |
| H A D | av1d_common.h | 539 #define AV1HWPAD(x, y) RK_U8 x[y] argument
|
| /rockchip-linux_mpp/mpp/hal/rkenc/h264e/ |
| H A D | hal_h264e_vepu580.c | 1452 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 D | hal_h264e_vepu510.c | 1379 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()
|