Home
last modified time | relevance | path

Searched refs:host_fmt (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/drivers/media/platform/soc_camera/
Dsh_mobile_ceu_camera.c305 switch (icd->current_fmt->host_fmt->fourcc) { in sh_mobile_ceu_capture()
625 switch (icd->current_fmt->host_fmt->packing) { in sh_mobile_ceu_set_rect()
753 if (icd->current_fmt->host_fmt->bits_per_sample > 8) in sh_mobile_ceu_set_bus_param()
764 switch (icd->current_fmt->host_fmt->fourcc) { in sh_mobile_ceu_set_bus_param()
790 if (icd->current_fmt->host_fmt->fourcc == V4L2_PIX_FMT_NV21 || in sh_mobile_ceu_set_bus_param()
791 icd->current_fmt->host_fmt->fourcc == V4L2_PIX_FMT_NV61) in sh_mobile_ceu_set_bus_param()
928 switch (icd->current_fmt->host_fmt->fourcc) { in sh_mobile_ceu_s_ctrl()
1073 xlate->host_fmt = &sh_mobile_ceu_formats[k]; in sh_mobile_ceu_get_formats()
1088 xlate->host_fmt = fmt; in sh_mobile_ceu_get_formats()
1418 pixfmt, xlate->host_fmt->fourcc); in sh_mobile_ceu_try_fmt()
[all …]
Dsoc_camera.c205 if (icd->user_formats[i].host_fmt->fourcc == fourcc) in soc_camera_xlate_by_fourcc()
273 ret = soc_mbus_bytes_per_line(pix->width, xlate->host_fmt); in soc_camera_try_fmt()
279 ret = soc_mbus_image_size(xlate->host_fmt, pix->bytesperline, in soc_camera_try_fmt()
497 icd->user_formats[fmts].host_fmt = in soc_camera_init_user_formats()
499 if (icd->user_formats[fmts].host_fmt) in soc_camera_init_user_formats()
552 icd->current_fmt->host_fmt->fourcc != pix->pixelformat) { in soc_camera_set_fmt()
671 icd->current_fmt->host_fmt->fourcc, in soc_camera_open()
874 format = icd->user_formats[f->index].host_fmt; in soc_camera_enum_fmt_vid_cap()
898 pix->pixelformat = icd->current_fmt->host_fmt->fourcc; in soc_camera_g_fmt_vid_cap()
901 icd->current_fmt->host_fmt->fourcc); in soc_camera_g_fmt_vid_cap()
/Linux-v4.19/drivers/media/platform/
Dpxa_camera.c660 const struct pxa_mbus_pixelfmt *host_fmt; member
752 if (user_formats[i].host_fmt->fourcc == fourcc) in pxa_mbus_xlate_by_fourcc()
1278 switch (pcdev->current_fmt->host_fmt->bits_per_sample) { in pxa_camera_setup_cicr()
1607 u32 pixfmt = pcdev->current_fmt->host_fmt->fourcc; in pxa_camera_set_bus_param()
1612 pcdev->current_fmt->host_fmt->bits_per_sample, in pxa_camera_set_bus_param()
1755 xlate->host_fmt = &pxa_camera_formats[0]; in pxa_camera_get_formats()
1786 xlate->host_fmt = fmt; in pxa_camera_get_formats()
1858 format = pcdev->user_formats[f->index].host_fmt; in pxac_vidioc_enum_fmt_vid_cap()
1874 pix->pixelformat = pcdev->current_fmt->host_fmt->fourcc; in pxac_vidioc_g_fmt_vid_cap()
1877 pcdev->current_fmt->host_fmt->fourcc); in pxac_vidioc_g_fmt_vid_cap()
[all …]
/Linux-v4.19/include/media/
Dsoc_camera.h290 const struct soc_mbus_pixelfmt *host_fmt; member