Searched refs:hw_fmt (Results 1 – 5 of 5) sorted by relevance
708 RK_U32 hw_fmt = cfg.format; in setup_vepu580_prep() local725 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()
705 RK_U32 hw_fmt = cfg.format; in setup_vepu510_prep() local722 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()
704 RK_U32 hw_fmt = cfg.format; in setup_vepu511_prep() local721 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()
455 RK_U32 hw_fmt = cfg.format; in setup_vepu541_prep() local475 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()
459 RK_U32 hw_fmt = cfg.format; in setup_vepu540c_prep() local476 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()