Home
last modified time | relevance | path

Searched refs:current_fmt (Results 1 – 9 of 9) sorted by relevance

/linux-4.1.27/drivers/media/platform/soc_camera/
Dsh_mobile_ceu_camera.c339 switch (icd->current_fmt->host_fmt->fourcc) { in sh_mobile_ceu_capture()
703 switch (icd->current_fmt->host_fmt->packing) { in sh_mobile_ceu_set_rect()
844 if (icd->current_fmt->host_fmt->bits_per_sample > 8) in sh_mobile_ceu_set_bus_param()
855 switch (icd->current_fmt->host_fmt->fourcc) { in sh_mobile_ceu_set_bus_param()
881 if (icd->current_fmt->host_fmt->fourcc == V4L2_PIX_FMT_NV21 || in sh_mobile_ceu_set_bus_param()
882 icd->current_fmt->host_fmt->fourcc == V4L2_PIX_FMT_NV61) in sh_mobile_ceu_set_bus_param()
1023 switch (icd->current_fmt->host_fmt->fourcc) { in sh_mobile_ceu_s_ctrl()
1471 icd->current_fmt = xlate; in sh_mobile_ceu_set_fmt()
1503 xlate = icd->current_fmt; in sh_mobile_ceu_try_fmt()
1618 .pixelformat = icd->current_fmt->host_fmt->fourcc, in sh_mobile_ceu_set_livecrop()
Dmx3_camera.c268 const struct soc_mbus_pixelfmt *host_fmt = icd->current_fmt->host_fmt; in mx3_videobuf_queue()
819 if (mf.code != icd->current_fmt->code) in mx3_camera_set_crop()
832 icd->current_fmt->host_fmt); in mx3_camera_set_crop()
896 icd->current_fmt = xlate; in mx3_camera_set_fmt()
985 u32 pixfmt = icd->current_fmt->host_fmt->fourcc; in mx3_camera_set_bus_param()
994 fmt = soc_mbus_get_fmtdesc(icd->current_fmt->code); in mx3_camera_set_bus_param()
Dpxa_camera.c449 BUG_ON(NULL == icd->current_fmt); in pxa_videobuf_prepare()
457 if (buf->code != icd->current_fmt->code || in pxa_videobuf_prepare()
461 buf->code = icd->current_fmt->code; in pxa_videobuf_prepare()
1045 switch (icd->current_fmt->host_fmt->bits_per_sample) { in pxa_camera_setup_cicr()
1130 u32 pixfmt = icd->current_fmt->host_fmt->fourcc; in pxa_camera_set_bus_param()
1135 ret = test_platform_param(pcdev, icd->current_fmt->host_fmt->bits_per_sample, in pxa_camera_set_bus_param()
1351 u32 fourcc = icd->current_fmt->host_fmt->fourcc; in pxa_camera_set_crop()
1474 icd->current_fmt = xlate; in pxa_camera_set_fmt()
Domap1_camera.c260 BUG_ON(NULL == icd->current_fmt); in omap1_videobuf_prepare()
264 if (buf->code != icd->current_fmt->code || vb->field != field || in omap1_videobuf_prepare()
267 buf->code = icd->current_fmt->code; in omap1_videobuf_prepare()
1219 const struct soc_camera_format_xlate *xlate = icd->current_fmt; in omap1_cam_set_crop()
1308 icd->current_fmt = xlate; in omap1_cam_set_fmt()
1442 u32 pixfmt = icd->current_fmt->host_fmt->fourcc; in omap1_cam_set_bus_param()
Drcar_vin.c622 switch (icd->current_fmt->code) { in rcar_vin_setup()
642 switch (icd->current_fmt->host_fmt->fourcc) { in rcar_vin_setup()
671 icd->current_fmt->host_fmt->fourcc); in rcar_vin_setup()
1056 if (icd->current_fmt->host_fmt->fourcc == V4L2_PIX_FMT_RGB32 && in rcar_vin_set_rect()
1669 icd->current_fmt = xlate; in rcar_vin_set_fmt()
1689 xlate = icd->current_fmt; in rcar_vin_try_fmt()
Dsoc_camera.c538 icd->current_fmt = &icd->user_formats[0]; in soc_camera_init_user_formats()
554 icd->current_fmt = NULL; in soc_camera_free_user_formats()
579 } else if (!icd->current_fmt || in soc_camera_set_fmt()
580 icd->current_fmt->host_fmt->fourcc != pix->pixelformat) { in soc_camera_set_fmt()
701 icd->current_fmt->host_fmt->fourcc, in soc_camera_open()
937 pix->pixelformat = icd->current_fmt->host_fmt->fourcc; in soc_camera_g_fmt_vid_cap()
940 icd->current_fmt->host_fmt->fourcc); in soc_camera_g_fmt_vid_cap()
Dmx2_camera.c683 icd->current_fmt->host_fmt); in mx2_start_streaming()
896 icd->current_fmt->host_fmt); in mx2_camera_set_bus_param()
1170 icd->current_fmt = xlate; in mx2_camera_set_fmt()
Datmel-isi.c524 icd->current_fmt = xlate; in isi_camera_set_fmt()
/linux-4.1.27/include/media/
Dsoc_camera.h46 const struct soc_camera_format_xlate *current_fmt; member