Searched refs:format_bridge (Results 1 – 2 of 2) sorted by relevance
865 const struct atomisp_format_bridge *format_bridge; in atomisp_adjust_fmt() local868 format_bridge = atomisp_get_format_bridge(f->fmt.pix.pixelformat); in atomisp_adjust_fmt()872 if (format_bridge->planar) { in atomisp_adjust_fmt()875 DIV_ROUND_UP(format_bridge->depth * in atomisp_adjust_fmt()878 f->fmt.pix.bytesperline = DIV_ROUND_UP(format_bridge->depth * in atomisp_adjust_fmt()886 format_bridge = atomisp_get_format_bridge(f->fmt.pix.pixelformat); in atomisp_adjust_fmt()887 if (!format_bridge) in atomisp_adjust_fmt()891 if (format_bridge->sh_fmt == IA_CSS_FRAME_FORMAT_RAW) { in atomisp_adjust_fmt()894 format_bridge = atomisp_get_format_bridge(f->fmt.pix.pixelformat); in atomisp_adjust_fmt()895 if (!format_bridge) in atomisp_adjust_fmt()[all …]
5149 const struct atomisp_format_bridge *format_bridge; in atomisp_set_fmt() local5182 format_bridge = atomisp_get_format_bridge(f->fmt.pix.pixelformat); in atomisp_set_fmt()5183 if (!format_bridge) in atomisp_set_fmt()5188 if (format_bridge->sh_fmt == IA_CSS_FRAME_FORMAT_RAW) { in atomisp_set_fmt()5191 format_bridge = atomisp_get_format_bridge(f->fmt.pix.pixelformat); in atomisp_set_fmt()5192 if (!format_bridge) in atomisp_set_fmt()5195 pipe->sh_fmt = format_bridge->sh_fmt; in atomisp_set_fmt()5201 v4l2_fill_mbus_format(ffmt, &f->fmt.pix, format_bridge->mbus_code); in atomisp_set_fmt()5259 format_bridge->planar ? f->fmt.pix.bytesperline in atomisp_set_fmt()5261 / format_bridge->depth, format_bridge->sh_fmt); in atomisp_set_fmt()[all …]