Home
last modified time | relevance | path

Searched refs:hw_fmt (Results 1 – 5 of 5) sorted by relevance

/rockchip-linux_mpp/mpp/hal/rkenc/h264e/
H A Dhal_h264e_vepu580.c708 RK_U32 hw_fmt = cfg.format; in setup_vepu580_prep() local
725 regs->reg_base.src_fmt.src_cfmt = hw_fmt; in setup_vepu580_prep()
742 if (hw_fmt == VEPU5xx_FMT_BGRA8888 ) in setup_vepu580_prep()
744 else if (hw_fmt == VEPU5xx_FMT_BGR888 ) in setup_vepu580_prep()
746 else if (hw_fmt == VEPU5xx_FMT_BGR565 || in setup_vepu580_prep()
747 hw_fmt == VEPU5xx_FMT_YUYV422 || in setup_vepu580_prep()
748 hw_fmt == VEPU5xx_FMT_UYVY422) in setup_vepu580_prep()
754 switch (hw_fmt) { in setup_vepu580_prep()
768 if (hw_fmt < VEPU5xx_FMT_ARGB1555) { in setup_vepu580_prep()
H A Dhal_h264e_vepu510.c705 RK_U32 hw_fmt = cfg.format; in setup_vepu510_prep() local
722 reg_frm->common.src_fmt.src_cfmt = hw_fmt; in setup_vepu510_prep()
758 if (hw_fmt == VEPU5xx_FMT_BGRA8888 ) in setup_vepu510_prep()
760 else if (hw_fmt == VEPU5xx_FMT_BGR888 ) in setup_vepu510_prep()
762 else if (hw_fmt == VEPU5xx_FMT_BGR565 || in setup_vepu510_prep()
763 hw_fmt == VEPU5xx_FMT_YUYV422 || in setup_vepu510_prep()
764 hw_fmt == VEPU5xx_FMT_UYVY422) in setup_vepu510_prep()
770 switch (hw_fmt) { in setup_vepu510_prep()
784 if (hw_fmt < VEPU5xx_FMT_ARGB1555) { in setup_vepu510_prep()
H A Dhal_h264e_vepu511.c704 RK_U32 hw_fmt = cfg.format; in setup_vepu511_prep() local
721 reg_frm->common.src_fmt.src_cfmt = hw_fmt; in setup_vepu511_prep()
735 if (hw_fmt == VEPU5xx_FMT_BGRA8888 ) in setup_vepu511_prep()
737 else if (hw_fmt == VEPU5xx_FMT_BGR888 ) in setup_vepu511_prep()
739 else if (hw_fmt == VEPU5xx_FMT_BGR565 || in setup_vepu511_prep()
740 hw_fmt == VEPU5xx_FMT_YUYV422 || in setup_vepu511_prep()
741 hw_fmt == VEPU5xx_FMT_UYVY422) in setup_vepu511_prep()
747 switch (hw_fmt) { in setup_vepu511_prep()
761 if (hw_fmt < VEPU5xx_FMT_ARGB1555) { in setup_vepu511_prep()
H A Dhal_h264e_vepu541.c455 RK_U32 hw_fmt = cfg.format; in setup_vepu541_prep() local
475 regs->reg017.src_cfmt = hw_fmt; in setup_vepu541_prep()
492 c_stride = (hw_fmt == VEPU5xx_FMT_YUV422SP || hw_fmt == VEPU5xx_FMT_YUV420SP) ? in setup_vepu541_prep()
495 if (hw_fmt < VEPU5xx_FMT_ARGB1555) { in setup_vepu541_prep()
H A Dhal_h264e_vepu540c.c459 RK_U32 hw_fmt = cfg.format; in setup_vepu540c_prep() local
476 regs->reg_base.src_fmt.src_cfmt = hw_fmt; in setup_vepu540c_prep()
484 c_stride = (hw_fmt == VEPU5xx_FMT_YUV422SP || hw_fmt == VEPU5xx_FMT_YUV420SP) ? in setup_vepu540c_prep()
487 if (hw_fmt < VEPU5xx_FMT_ARGB1555) { in setup_vepu540c_prep()