Lines Matching refs:rotation
389 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()
609 } else if (syntax->rotation == MPP_ENC_ROT_0 || syntax->rotation == MPP_ENC_ROT_180) { in multi_core_start()
612 } else if (syntax->rotation == MPP_ENC_ROT_270) { in multi_core_start()
616 mpp_err_f("input rotation %d not supported", syntax->rotation); in multi_core_start()
664 if (syntax->rotation == MPP_ENC_ROT_90 || syntax->rotation == MPP_ENC_ROT_270) { in multi_core_start()
675 if (syntax->rotation == MPP_ENC_ROT_270) in multi_core_start()