/linux/drivers/gpu/drm/ |
H A D | drm_format_internal.h | 39 static inline u32 drm_pixel_xrgb8888_to_r8_bt601(u32 pix) in drm_pixel_xrgb8888_to_r8_bt601() 49 static inline u32 drm_pixel_xrgb8888_to_rgb332(u32 pix) in drm_pixel_xrgb8888_to_rgb332() 56 static inline u32 drm_pixel_xrgb8888_to_rgb565(u32 pix) in drm_pixel_xrgb8888_to_rgb565() 63 static inline u32 drm_pixel_xrgb8888_to_rgb565be(u32 pix) in drm_pixel_xrgb8888_to_rgb565be() 68 static inline u32 drm_pixel_xrgb8888_to_rgbx5551(u32 pix) in drm_pixel_xrgb8888_to_rgbx5551() 75 static inline u32 drm_pixel_xrgb8888_to_rgba5551(u32 pix) in drm_pixel_xrgb8888_to_rgba5551() 81 static inline u32 drm_pixel_xrgb8888_to_xrgb1555(u32 pix) in drm_pixel_xrgb8888_to_xrgb1555() 88 static inline u32 drm_pixel_xrgb8888_to_argb1555(u32 pix) in drm_pixel_xrgb8888_to_argb1555() 94 static inline u32 drm_pixel_xrgb8888_to_rgb888(u32 pix) in drm_pixel_xrgb8888_to_rgb888() 99 static inline u32 drm_pixel_xrgb8888_to_bgr888(u32 pix) in drm_pixel_xrgb8888_to_bgr888() [all …]
|
/linux/drivers/media/platform/ti/omap/ |
H A D | omap_voutlib.c | 43 void omap_vout_default_crop(struct v4l2_pix_format *pix, in omap_vout_default_crop() 169 int omap_vout_new_crop(struct v4l2_pix_format *pix, in omap_vout_new_crop() 285 void omap_vout_new_format(struct v4l2_pix_format *pix, in omap_vout_new_format()
|
H A D | omap_vout.c | 124 static int omap_vout_try_format(struct v4l2_pix_format *pix) in omap_vout_try_format() 204 struct v4l2_pix_format *pix = &vout->pix; in omap_vout_calculate_offset() local 242 struct v4l2_pix_format *pix = &vout->pix; in video_mode_to_dss_mode() local 793 struct v4l2_pix_format *pix = &vout->pix; in vidioc_g_selection() local 1310 struct v4l2_pix_format *pix; in omap_vout_setup_video_data() local
|
/linux/drivers/gpu/ipu-v3/ |
H A D | ipu-cpmem.c | 565 #define Y_OFFSET(pix, x, y) ((x) + pix->bytesperline * (y)) argument 566 #define U_OFFSET(pix, x, y) ((pix->bytesperline * pix->height) + \ argument 568 #define V_OFFSET(pix, x, y) ((pix->bytesperline * pix->height) + \ argument 571 #define U2_OFFSET(pix, x, y) ((pix->bytesperline * pix->height) + \ argument 573 #define V2_OFFSET(pix, x, y) ((pix->bytesperline * pix->height) + \ argument 576 #define UV_OFFSET(pix, x, y) ((pix->bytesperline * pix->height) + \ argument 578 #define UV2_OFFSET(pix, x, y) ((pix->bytesperline * pix->height) + \ argument 743 struct v4l2_pix_format *pix = &image->pix; in ipu_cpmem_set_image() local
|
/linux/drivers/media/platform/renesas/rcar-vin/ |
H A D | rcar-v4l2.c | 143 struct v4l2_pix_format *pix) in rvin_format_bytesperline() 166 static u32 rvin_format_sizeimage(struct v4l2_pix_format *pix) in rvin_format_sizeimage() 178 static void rvin_format_align(struct rvin_dev *vin, struct v4l2_pix_format *pix) in rvin_format_align() 501 struct v4l2_pix_format *pix) in rvin_mc_try_format()
|
/linux/drivers/media/common/saa7146/ |
H A D | saa7146_hlp.c | 410 struct v4l2_pix_format *pix = &vv->video_fmt; in calculate_video_dma_grab_packed() local 472 struct v4l2_pix_format *pix = &vv->video_fmt; in calc_planar_422() local 504 struct v4l2_pix_format *pix = &vv->video_fmt; in calc_planar_420() local 535 struct v4l2_pix_format *pix = &vv->video_fmt; in calculate_video_dma_grab_planar() local 724 struct v4l2_pix_format *pix = &vv->video_fmt; in saa7146_set_capture() local
|
/linux/drivers/media/platform/renesas/ |
H A D | sh_vou.c | 80 struct v4l2_pix_format pix; member 242 struct v4l2_pix_format *pix = &vou_dev->pix; in sh_vou_queue_setup() local 257 struct v4l2_pix_format *pix = &vou_dev->pix; in sh_vou_buf_prepare() local 422 struct v4l2_pix_format *pix = &vou_dev->pix; in sh_vou_configure_geometry() local 653 struct v4l2_pix_format *pix = &fmt->fmt.pix; in sh_vou_try_fmt_vid_out() local 686 struct v4l2_pix_format *pix) in sh_vou_set_fmt_vid_out() 930 struct v4l2_pix_format *pix = &vou_dev->pix; in sh_vou_s_selection() local 1220 struct v4l2_pix_format *pix; in sh_vou_probe() local
|
H A D | renesas-ceu.c | 280 static bool ceu_fmt_mplane(struct v4l2_pix_format_mplane *pix) in ceu_fmt_mplane() 351 struct v4l2_pix_format_mplane *pix = &ceudev->v4l2_pix; in ceu_hw_config() local 466 struct v4l2_pix_format_mplane *pix = &ceudev->v4l2_pix; in ceu_capture() local 579 struct v4l2_pix_format_mplane *pix) in ceu_calc_plane_sizes() 625 struct v4l2_pix_format_mplane *pix = &ceudev->v4l2_pix; in ceu_vb2_setup() local 660 struct v4l2_pix_format_mplane *pix = &ceudev->v4l2_pix; in ceu_vb2_prepare() local 782 struct v4l2_pix_format_mplane *pix = &v4l2_fmt->fmt.pix_mp; in __ceu_try_fmt() local
|
/linux/drivers/media/platform/nxp/imx8-isi/ |
H A D | imx8-isi-video.c | 409 mxc_isi_format_try(struct mxc_isi_pipe *pipe, struct v4l2_pix_format_mplane *pix, in mxc_isi_format_try() 838 const struct v4l2_pix_format_mplane *pix) in mxc_isi_video_buffer_init() 862 const struct v4l2_pix_format_mplane *pix) in mxc_isi_video_buffer_prepare() 1137 struct v4l2_pix_format_mplane *pix = &f->fmt.pix_mp; in mxc_isi_video_s_fmt() local 1411 struct v4l2_pix_format_mplane *pix = &video->pix; in mxc_isi_video_register() local
|
/linux/drivers/media/pci/cobalt/ |
H A D | cobalt-v4l2.c | 704 struct v4l2_pix_format *pix = &f->fmt.pix; in cobalt_g_fmt_vid_cap() local 733 struct v4l2_pix_format *pix = &f->fmt.pix; in cobalt_try_fmt_vid_cap() local 794 struct v4l2_pix_format *pix = &f->fmt.pix; in cobalt_s_fmt_vid_cap() local 827 struct v4l2_pix_format *pix = &f->fmt.pix; in cobalt_try_fmt_vid_out() local 869 struct v4l2_pix_format *pix = &f->fmt.pix; in cobalt_g_fmt_vid_out() local 906 struct v4l2_pix_format *pix = &f->fmt.pix; in cobalt_s_fmt_vid_out() local
|
/linux/drivers/media/platform/ti/vpe/ |
H A D | vpe.c | 1024 struct v4l2_pix_format_mplane *pix; in add_out_dtd() local 1088 struct v4l2_pix_format_mplane *pix; in add_in_dtd() local 1564 struct v4l2_pix_format_mplane *pix = &f->fmt.pix_mp; in vpe_g_fmt() local 1599 struct v4l2_pix_format_mplane *pix = &f->fmt.pix_mp; in __vpe_try_fmt() local 1733 struct v4l2_pix_format_mplane *pix = &f->fmt.pix_mp; in __vpe_s_fmt() local 1807 struct v4l2_pix_format_mplane *pix; in __vpe_try_selection() local 1876 struct v4l2_pix_format_mplane *pix; in vpe_g_selection() local 2031 struct v4l2_pix_format_mplane *pix; in vpe_queue_setup() local 2056 struct v4l2_pix_format_mplane *pix; in vpe_buf_prepare() local 2273 struct v4l2_pix_format_mplane *pix; in vpe_open() local
|
H A D | csc.c | 145 const struct v4l2_pix_format *pix; in csc_set_coeff() local
|
/linux/drivers/media/test-drivers/vivid/ |
H A D | vivid-vid-common.c | 867 const struct v4l2_pix_format *pix = &sp_fmt->fmt.pix; in fmt_sp2mp() local 895 struct v4l2_pix_format *pix = &f->fmt.pix; in fmt_sp2mp_func() local
|
/linux/drivers/media/platform/st/sti/delta/ |
H A D | delta-v4l2.c | 429 struct v4l2_pix_format *pix = &f->fmt.pix; in delta_g_fmt_stream() local 457 struct v4l2_pix_format *pix = &f->fmt.pix; in delta_g_fmt_frame() local 496 struct v4l2_pix_format *pix = &f->fmt.pix; in delta_try_fmt_stream() local 550 struct v4l2_pix_format *pix = &f->fmt.pix; in delta_try_fmt_frame() local 611 struct v4l2_pix_format *pix = &f->fmt.pix; in delta_s_fmt_stream() local 647 struct v4l2_pix_format *pix = &f->fmt.pix; in delta_s_fmt_frame() local
|
/linux/drivers/media/platform/st/stm32/ |
H A D | stm32-dcmi.c | 930 struct v4l2_pix_format *pix, in __find_outer_frame_size() 960 struct v4l2_pix_format *pix = &f->fmt.pix; in dcmi_try_fmt() local 1048 struct v4l2_pix_format *pix = &f->fmt.pix; in dcmi_set_fmt() local 1121 struct v4l2_pix_format *pix) in dcmi_get_sensor_format() 1138 struct v4l2_pix_format *pix) in dcmi_set_sensor_format() 1171 struct v4l2_pix_format pix; in dcmi_get_sensor_bounds() local 1263 struct v4l2_pix_format pix; in dcmi_s_selection() local
|
/linux/drivers/media/test-drivers/vicodec/ |
H A D | vicodec-core.c | 766 struct v4l2_pix_format *pix; in vidioc_g_fmt() local 834 struct v4l2_pix_format *pix; in vidioc_try_fmt() local 897 struct v4l2_pix_format *pix; in vidioc_try_fmt_vid_cap() local 934 struct v4l2_pix_format *pix; in vidioc_try_fmt_vid_out() local 976 struct v4l2_pix_format *pix; in vidioc_s_fmt() local 1063 struct v4l2_pix_format *pix; in vidioc_s_fmt_vid_out() local
|
/linux/drivers/staging/media/starfive/camss/ |
H A D | stf-video.c | 66 struct v4l2_pix_format *pix = &f->fmt.pix; in __video_try_fmt() local 245 struct v4l2_pix_format *pix = &video->active_fmt.fmt.pix; in stf_video_check_format() local
|
/linux/drivers/media/pci/solo6x10/ |
H A D | solo6x10-v4l2.c | 462 struct v4l2_pix_format *pix = &f->fmt.pix; in solo_try_fmt_cap() local 494 struct v4l2_pix_format *pix = &f->fmt.pix; in solo_get_fmt_cap() local
|
H A D | solo6x10-v4l2-enc.c | 847 struct v4l2_pix_format *pix = &f->fmt.pix; in solo_enc_try_fmt_cap() local 886 struct v4l2_pix_format *pix = &f->fmt.pix; in solo_enc_set_fmt_cap() local 922 struct v4l2_pix_format *pix = &f->fmt.pix; in solo_enc_get_fmt_cap() local
|
/linux/drivers/gpu/drm/gud/ |
H A D | gud_pipe.c | 60 u8 pix, *pix8, *block = dst; /* Assign to silence compiler warning */ in gud_xrgb8888_to_r124() local 108 u8 r, g, b, pix, *block = dst; /* Assign to silence compiler warning */ in gud_xrgb8888_to_color() local
|
/linux/drivers/media/platform/st/sti/hva/ |
H A D | hva-v4l2.c | 340 struct v4l2_pix_format *pix = &f->fmt.pix; in hva_try_fmt_stream() local 404 struct v4l2_pix_format *pix = &f->fmt.pix; in hva_try_fmt_frame() local 484 struct v4l2_pix_format *pix = &f->fmt.pix; in hva_s_fmt_frame() local
|
/linux/drivers/media/test-drivers/ |
H A D | vim2m.c | 310 u16 pix = le16_to_cpu(*(__le16 *)(src[i])); in copy_two_pixels() local 319 u16 pix = be16_to_cpu(*(__be16 *)(src[i])); in copy_two_pixels() local 352 u16 pix; in copy_two_pixels() local 365 u16 pix; in copy_two_pixels() local
|
/linux/samples/v4l/ |
H A D | v4l2-pci-skeleton.c | 305 struct v4l2_pix_format *pix) in skeleton_fill_pix_format() 340 struct v4l2_pix_format *pix = &f->fmt.pix; in skeleton_try_fmt_vid_cap() local
|
/linux/drivers/media/platform/qcom/camss/ |
H A D | camss-video.c | 43 struct v4l2_pix_format_mplane *pix, in video_mbus_to_pix_mp() 208 struct v4l2_pix_format_mplane *pix = &video->active_fmt.fmt.pix_mp; in video_check_format() local
|
/linux/drivers/gpu/drm/xe/display/ |
H A D | intel_bo.c | 121 u32 *pix = panic->vaddr + offset; in xe_panic_page_set_pixel() local
|