Searched refs:offset_byte (Results 1 – 6 of 6) sorted by relevance
| /rockchip-linux_mpp/mpp/hal/vpu/common/ |
| H A D | vepu_common.c | 293 memset(cfg->offset_byte, 0, sizeof(cfg->offset_byte)); in get_vepu_offset_cfg() 299 cfg->offset_byte[0] = offset_y * hor_stride + offset_x; in get_vepu_offset_cfg() 300 cfg->offset_byte[1] = offset_y / 2 * hor_stride + offset_x + offset_c; in get_vepu_offset_cfg() 303 cfg->offset_byte[0] = offset_y * hor_stride + offset_x; in get_vepu_offset_cfg() 304 cfg->offset_byte[1] = (offset_y / 2) * (hor_stride / 2) + (offset_x / 2) + offset_c; in get_vepu_offset_cfg() 305 … cfg->offset_byte[2] = (offset_y / 2) * (hor_stride / 2) + (offset_x / 2) + offset_c * 5 / 4; in get_vepu_offset_cfg() 310 cfg->offset_byte[0] = offset_y * hor_stride + offset_x * 2; in get_vepu_offset_cfg() 318 cfg->offset_byte[0] = offset_y * hor_stride + offset_x * 2; in get_vepu_offset_cfg() 326 cfg->offset_byte[0] = offset_y * hor_stride + offset_x * 4; in get_vepu_offset_cfg() 337 cfg->offset_byte[1] = offset; in get_vepu_offset_cfg() [all …]
|
| H A D | vepu_common.h | 71 RK_U32 offset_byte[3]; member
|
| /rockchip-linux_mpp/mpp/hal/vpu/jpege/ |
| H A D | hal_jpege_vepu2_v2.c | 354 if (cfg.offset_byte[0]) in hal_jpege_vepu2_set_extra_info() 355 mpp_dev_set_reg_offset(dev, VEPU2_REG_INPUT_Y, cfg.offset_byte[0]); in hal_jpege_vepu2_set_extra_info() 357 if (cfg.offset_byte[1]) in hal_jpege_vepu2_set_extra_info() 358 mpp_dev_set_reg_offset(dev, VEPU2_REG_INPUT_U, cfg.offset_byte[1]); in hal_jpege_vepu2_set_extra_info() 360 if (cfg.offset_byte[2]) in hal_jpege_vepu2_set_extra_info() 361 mpp_dev_set_reg_offset(dev, VEPU2_REG_INPUT_V, cfg.offset_byte[2]); in hal_jpege_vepu2_set_extra_info() 685 mpp_dev_multi_offset_update(reg_cfg, VEPU2_REG_INPUT_Y, cfg.offset_byte[0]); in multi_core_start() 686 mpp_dev_multi_offset_update(reg_cfg, VEPU2_REG_INPUT_U, cfg.offset_byte[1]); in multi_core_start() 687 mpp_dev_multi_offset_update(reg_cfg, VEPU2_REG_INPUT_V, cfg.offset_byte[2]); in multi_core_start()
|
| /rockchip-linux_mpp/mpp/hal/vpu/h264e/ |
| H A D | hal_h264e_vepu1_v2.c | 539 if (hw_offset->offset_byte[0]) in hal_h264e_vepu1_gen_regs_v2() 541 hw_offset->offset_byte[0]); in hal_h264e_vepu1_gen_regs_v2() 543 if (hw_offset->offset_byte[1]) in hal_h264e_vepu1_gen_regs_v2() 545 hw_offset->offset_byte[1]); in hal_h264e_vepu1_gen_regs_v2() 547 if (hw_offset->offset_byte[2]) in hal_h264e_vepu1_gen_regs_v2() 549 hw_offset->offset_byte[2]); in hal_h264e_vepu1_gen_regs_v2()
|
| H A D | hal_h264e_vepu2_v2.c | 606 if (hw_offset->offset_byte[0]) in hal_h264e_vepu2_gen_regs_v2() 608 hw_offset->offset_byte[0]); in hal_h264e_vepu2_gen_regs_v2() 610 if (hw_offset->offset_byte[1]) in hal_h264e_vepu2_gen_regs_v2() 612 hw_offset->offset_byte[1]); in hal_h264e_vepu2_gen_regs_v2() 614 if (hw_offset->offset_byte[2]) in hal_h264e_vepu2_gen_regs_v2() 616 hw_offset->offset_byte[2]); in hal_h264e_vepu2_gen_regs_v2()
|
| /rockchip-linux_mpp/mpp/hal/vpu/vp8e/ |
| H A D | hal_vp8e_base.c | 1395 hw_cfg->input_lum_offset = hw_offset.offset_byte[0]; in hal_vp8e_enc_strm_code() 1396 hw_cfg->input_cb_offset = hw_offset.offset_byte[1]; in hal_vp8e_enc_strm_code() 1397 hw_cfg->input_cr_offset = hw_offset.offset_byte[2]; in hal_vp8e_enc_strm_code()
|