Home
last modified time | relevance | path

Searched refs:v4l2_format_info (Results 1 – 12 of 12) sorted by relevance

/linux-6.6.21/include/media/
Dv4l2-common.h489 struct v4l2_format_info { struct
502 static inline bool v4l2_is_format_rgb(const struct v4l2_format_info *f) in v4l2_is_format_rgb() argument
507 static inline bool v4l2_is_format_yuv(const struct v4l2_format_info *f) in v4l2_is_format_yuv()
512 static inline bool v4l2_is_format_bayer(const struct v4l2_format_info *f) in v4l2_is_format_bayer()
517 const struct v4l2_format_info *v4l2_format_info(u32 format);
/linux-6.6.21/drivers/media/v4l2-core/
Dv4l2-common.c234 const struct v4l2_format_info *v4l2_format_info(u32 format) in v4l2_format_info() function
236 static const struct v4l2_format_info formats[] = { in v4l2_format_info()
337 EXPORT_SYMBOL(v4l2_format_info);
339 static inline unsigned int v4l2_format_block_width(const struct v4l2_format_info *info, int plane) in v4l2_format_block_width()
346 static inline unsigned int v4l2_format_block_height(const struct v4l2_format_info *info, int plane) in v4l2_format_block_height()
373 const struct v4l2_format_info *info; in v4l2_fill_pixfmt_mp()
377 info = v4l2_format_info(pixelformat); in v4l2_fill_pixfmt_mp()
428 const struct v4l2_format_info *info; in v4l2_fill_pixfmt()
431 info = v4l2_format_info(pixelformat); in v4l2_fill_pixfmt()
/linux-6.6.21/drivers/media/platform/ti/vpe/
Dcsc.c147 const struct v4l2_format_info *src_finfo, *dst_finfo; in csc_set_coeff()
176 src_finfo = v4l2_format_info(src_pixelformat); in csc_set_coeff()
177 dst_finfo = v4l2_format_info(dst_pixelformat); in csc_set_coeff()
Dvpe.c760 const struct v4l2_format_info *finfo; in set_dst_registers()
763 finfo = v4l2_format_info(fmt->fourcc); in set_dst_registers()
1216 const struct v4l2_format_info *d_finfo; in device_run()
1218 d_finfo = v4l2_format_info(d_q_data->fmt->fourcc); in device_run()
1604 const struct v4l2_format_info *finfo; in __vpe_try_fmt()
1664 finfo = v4l2_format_info(fmt->fourcc); in __vpe_try_fmt()
/linux-6.6.21/drivers/media/platform/sunxi/sun6i-csi/
Dsun6i_csi_capture.c337 const struct v4l2_format_info *info; in sun6i_csi_capture_buffer_configure()
352 info = v4l2_format_info(pixelformat); in sun6i_csi_capture_buffer_configure()
377 const struct v4l2_format_info *info; in sun6i_csi_capture_configure()
420 info = v4l2_format_info(pixelformat); in sun6i_csi_capture_configure()
669 const struct v4l2_format_info *info; in sun6i_csi_capture_format_prepare()
684 info = v4l2_format_info(pix_format->pixelformat); in sun6i_csi_capture_format_prepare()
897 const struct v4l2_format_info *format_info; in sun6i_csi_capture_link_validate()
925 format_info = v4l2_format_info(pixelformat); in sun6i_csi_capture_link_validate()
/linux-6.6.21/drivers/staging/media/sunxi/sun6i-isp/
Dsun6i_isp_capture.c68 const struct v4l2_format_info *info; in sun6i_isp_capture_buffer_configure()
84 info = v4l2_format_info(pixelformat); in sun6i_isp_capture_buffer_configure()
114 const struct v4l2_format_info *info; in sun6i_isp_capture_configure()
128 info = v4l2_format_info(pixelformat); in sun6i_isp_capture_configure()
380 const struct v4l2_format_info *info; in sun6i_isp_capture_format_prepare()
394 info = v4l2_format_info(pix_format->pixelformat); in sun6i_isp_capture_format_prepare()
/linux-6.6.21/drivers/media/platform/renesas/rzg2l-cru/
Drzg2l-cru.h148 const struct v4l2_format_info *rzg2l_cru_format_from_pixel(u32 format);
Drzg2l-video.c791 static const struct v4l2_format_info rzg2l_cru_formats[] = {
798 const struct v4l2_format_info *rzg2l_cru_format_from_pixel(u32 format) in rzg2l_cru_format_from_pixel()
811 const struct v4l2_format_info *fmt; in rzg2l_cru_format_bytesperline()
/linux-6.6.21/drivers/media/platform/rockchip/rkisp1/
Drkisp1-capture.c1092 static const struct v4l2_format_info *
1097 const struct v4l2_format_info *info; in rkisp1_fill_pixfmt()
1102 info = v4l2_format_info(pixm->pixelformat); in rkisp1_fill_pixfmt()
1151 const struct v4l2_format_info **fmt_info) in rkisp1_try_fmt()
1155 const struct v4l2_format_info *info; in rkisp1_try_fmt()
Drkisp1-common.h310 const struct v4l2_format_info *info;
/linux-6.6.21/drivers/media/platform/nvidia/tegra-vde/
Dv4l2.c435 const struct v4l2_format_info *info = v4l2_format_info(pixelformat); in tegra_fill_pixfmt_mp()
/linux-6.6.21/drivers/media/usb/uvc/
Duvc_driver.c283 const struct v4l2_format_info *info = in uvc_parse_format()
284 v4l2_format_info(format->fcc); in uvc_parse_format()