Home
last modified time | relevance | path

Searched refs:rotation (Results 1 – 25 of 32) sorted by relevance

12

/rockchip-linux_mpp/mpp/hal/vpu/jpege/
H A Dhal_jpege_vepu2_v2.c389 RK_U32 rotation = 0; in hal_jpege_vepu2_gen_regs() local
397 if (syntax->rotation == MPP_ENC_ROT_90) in hal_jpege_vepu2_gen_regs()
398 rotation = 1; in hal_jpege_vepu2_gen_regs()
399 else if (syntax->rotation == MPP_ENC_ROT_270) in hal_jpege_vepu2_gen_regs()
400 rotation = 2; in hal_jpege_vepu2_gen_regs()
401 else if (syntax->rotation != MPP_ENC_ROT_0) in hal_jpege_vepu2_gen_regs()
402 … mpp_err_f("Warning: only support 90 or 270 degree rotate, request rotate %d", syntax->rotation); in hal_jpege_vepu2_gen_regs()
403 if (rotation) { in hal_jpege_vepu2_gen_regs()
533 (rotation << 2); in hal_jpege_vepu2_gen_regs()
606 if (syntax->rotation == MPP_ENC_ROT_90) { in multi_core_start()
[all …]
H A Dhal_jpege_vepu1_v2.c194 RK_U32 rotation = 0; in hal_jpege_vepu1_gen_regs() local
202 if (syntax->rotation == MPP_ENC_ROT_90) in hal_jpege_vepu1_gen_regs()
203 rotation = 1; in hal_jpege_vepu1_gen_regs()
204 else if (syntax->rotation == MPP_ENC_ROT_270) in hal_jpege_vepu1_gen_regs()
205 rotation = 2; in hal_jpege_vepu1_gen_regs()
206 else if (syntax->rotation != MPP_ENC_ROT_0) in hal_jpege_vepu1_gen_regs()
207 … mpp_err_f("Warning: only support 90 or 270 degree rotate, request rotate %d", syntax->rotation); in hal_jpege_vepu1_gen_regs()
208 if (rotation) { in hal_jpege_vepu1_gen_regs()
291 (fmt_cfg.format << 2) | rotation; in hal_jpege_vepu1_gen_regs()
/rockchip-linux_mpp/mpp/hal/vpu/h264e/
H A Dhal_h264e_vepu_v2.c310 RK_U32 rotation = 0; in h264e_vepu_prep_setup() local
318 if (cfg->rotation == MPP_ENC_ROT_90) in h264e_vepu_prep_setup()
319 rotation = 1; in h264e_vepu_prep_setup()
320 else if (cfg->rotation == MPP_ENC_ROT_270) in h264e_vepu_prep_setup()
321 rotation = 2; in h264e_vepu_prep_setup()
322 else if (cfg->rotation != MPP_ENC_ROT_0) in h264e_vepu_prep_setup()
323 mpp_err_f("Warning: only support 90 or 270 degree rotate, request rotate %d", rotation); in h264e_vepu_prep_setup()
325 if (rotation) in h264e_vepu_prep_setup()
329 prep->rotation = rotation; in h264e_vepu_prep_setup()
H A Dhal_h264e_vepu_v2.h67 RK_U32 rotation; member
H A Dhal_h264e_vepu1_v2.c307 if (hw_prep->rotation) { in hal_h264e_vepu1_gen_regs_v2()
395 | VEPU_REG_IN_IMG_ROTATE_MODE(hw_prep->rotation); in hal_h264e_vepu1_gen_regs_v2()
H A Dhal_h264e_vepu2_v2.c357 if (hw_prep->rotation) { in hal_h264e_vepu2_gen_regs_v2()
479 | VEPU_REG_IN_IMG_ROTATE_MODE(hw_prep->rotation) in hal_h264e_vepu2_gen_regs_v2()
/rockchip-linux_mpp/mpp/common/
H A Djpege_syntax.h54 MppEncRotationCfg rotation; member
/rockchip-linux_mpp/mpp/legacy/
H A DppOp.h74 RK_U32 rotation; // rotation angel member
H A DppOp.cpp172 …opt.rotation = PP_ROTATION_RIGHT_90;//PP_ROTATION_RIGHT_90;//PP_ROTATION_RIGHT_90;//PP_ROTATION… in main()
/rockchip-linux_mpp/mpp/codec/enc/jpeg/
H A Djpege_api_v2.c239 syntax->rotation = prep->rotation; in jpege_proc_hal()
/rockchip-linux_mpp/mpp/codec/
H A Dmpp_enc_impl.c452 if (set->rotation != cfg->rotation) { in show_prep_update()
454 "rotate %d -> %d ", cfg->rotation, set->rotation); in show_prep_update()
467 set->format, set->rotation, set->mirroring); in show_prep_update()
479 rk_s32 rotation; in proc_prep_cfg() local
532 rotation = set->rotation_ext; in proc_prep_cfg()
537 rotation += MPP_ENC_ROT_180; in proc_prep_cfg()
538 rotation &= MPP_ENC_ROT_270; in proc_prep_cfg()
542 set->rotation = (MppEncRotationCfg)rotation; in proc_prep_cfg()
544 if (MPP_FRAME_FMT_IS_FBC(set->format) && (set->mirroring || set->rotation)) { in proc_prep_cfg()
546 set->format, set->mirroring, set->rotation); in proc_prep_cfg()
[all …]
/rockchip-linux_mpp/mpp/hal/vpu/vp8e/
H A Dhal_vp8e_base.c995 RK_U32 rotation = 0; in set_parameter() local
1001 if (set->rotation == MPP_ENC_ROT_90) in set_parameter()
1002 rotation = 1; in set_parameter()
1003 else if (set->rotation == MPP_ENC_ROT_270) in set_parameter()
1004 rotation = 2; in set_parameter()
1005 else if (set->rotation != MPP_ENC_ROT_0) in set_parameter()
1006 mpp_err_f("Warning: only support 90 or 270 degree rotate, request rotate %d", rotation); in set_parameter()
1008 if (rotation) { in set_parameter()
1045 hw_cfg->input_rotation = rotation; in set_parameter()
/rockchip-linux_mpp/mpp/codec/enc/vp8/
H A Dvp8e_api_v2.c77 prep->rotation = MPP_ENC_ROT_0; in vp8e_init()
/rockchip-linux_mpp/mpp/hal/rkenc/common/
H A Dvepu540c_common.c200 regs->reg0279_src_proc.src_rot = syn->rotation; in vepu540c_set_jpeg_reg()
/rockchip-linux_mpp/test/
H A Dmpi_enc_test.c424 RK_U32 rotation; in test_mpp_enc_cfg_setup() local
454 mpp_env_get_u32("rotation", &rotation, 0); in test_mpp_enc_cfg_setup()
458 mpp_enc_cfg_set_s32(cfg, "prep:rotation", rotation); in test_mpp_enc_cfg_setup()
/rockchip-linux_mpp/mpp/codec/enc/h265/
H A Dh265e_api.c141 prep->rotation = MPP_ENC_ROT_0; in h265e_init()
/rockchip-linux_mpp/inc/
H A Drk_venc_cmd.h524 MppEncRotationCfg rotation; member
/rockchip-linux_mpp/mpp/base/
H A Dmpp_enc_cfg.c120 …ENTRY(prefix, s32, rk_s32, rotation, FLAG_INCR, prep, …
324 mpp_logi("rotation %d -> %d\n", cfg->prep.rotation, cfg->prep.rotation_ext); in mpp_enc_cfg_impl_dump()
/rockchip-linux_mpp/mpp/codec/enc/h264/
H A Dh264e_api_v2.c152 prep->rotation = MPP_ENC_ROT_0; in init_h264e_cfg_set()
/rockchip-linux_mpp/mpp/hal/rkenc/jpege/
H A Dhal_jpege_vepu511.c234 regs->src_proc.src_rot = syn->rotation; in vepu511_set_jpeg_reg()
/rockchip-linux_mpp/doc/
H A DRockchip_Developer_Guide_MPP_CN.md662 | prep:rotation | S32 | MppEncRotationCfg | 表示图像旋转属性,默认值为0。除了RK3588芯片,…
H A DRockchip_Developer_Guide_MPP_EN.md607 |prep:rotation|S32|MppEncRotationCfg|Represents the input image rotation attribute, the default is …
/rockchip-linux_mpp/mpp/hal/rkenc/h264e/
H A Dhal_h264e_vepu541.c540 regs->reg022.src_rot = prep->rotation; in setup_vepu541_prep()
H A Dhal_h264e_vepu540c.c531 regs->reg_base.src_proc.src_rot = prep->rotation; in setup_vepu540c_prep()
/rockchip-linux_mpp/mpp/hal/rkenc/h265e/
H A Dhal_h265e_vepu540c.c805 reg_base->reg0203_src_proc.src_rot = prep_cfg->rotation; in vepu540c_h265_set_pp_regs()

12