Home
last modified time | relevance | path

Searched refs:format_bridge (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/drivers/staging/media/atomisp/pci/
Datomisp_ioctl.c903 const struct atomisp_format_bridge *format_bridge; in atomisp_adjust_fmt() local
906 format_bridge = atomisp_get_format_bridge(f->fmt.pix.pixelformat); in atomisp_adjust_fmt()
910 if (format_bridge->planar) { in atomisp_adjust_fmt()
913 DIV_ROUND_UP(format_bridge->depth * in atomisp_adjust_fmt()
916 f->fmt.pix.bytesperline = DIV_ROUND_UP(format_bridge->depth * in atomisp_adjust_fmt()
924 format_bridge = atomisp_get_format_bridge(f->fmt.pix.pixelformat); in atomisp_adjust_fmt()
925 if (!format_bridge) in atomisp_adjust_fmt()
929 if (format_bridge->sh_fmt == IA_CSS_FRAME_FORMAT_RAW) { in atomisp_adjust_fmt()
932 format_bridge = atomisp_get_format_bridge(f->fmt.pix.pixelformat); in atomisp_adjust_fmt()
933 if (!format_bridge) in atomisp_adjust_fmt()
[all …]
Datomisp_cmd.c5617 const struct atomisp_format_bridge *format_bridge; in atomisp_set_fmt() local
5657 format_bridge = atomisp_get_format_bridge(f->fmt.pix.pixelformat); in atomisp_set_fmt()
5658 if (!format_bridge) in atomisp_set_fmt()
5663 if (format_bridge->sh_fmt == IA_CSS_FRAME_FORMAT_RAW) { in atomisp_set_fmt()
5666 format_bridge = atomisp_get_format_bridge(f->fmt.pix.pixelformat); in atomisp_set_fmt()
5667 if (!format_bridge) in atomisp_set_fmt()
5670 pipe->sh_fmt = format_bridge->sh_fmt; in atomisp_set_fmt()
5676 v4l2_fill_mbus_format(ffmt, &f->fmt.pix, format_bridge->mbus_code); in atomisp_set_fmt()
5777 format_bridge->planar ? f->fmt.pix.bytesperline in atomisp_set_fmt()
5779 / format_bridge->depth, format_bridge->sh_fmt); in atomisp_set_fmt()
[all …]