Home
last modified time | relevance | path

Searched refs:pixfmt (Results 1 – 25 of 112) sorted by relevance

12345

/linux/drivers/staging/media/meson/vdec/
A Dvdec_platform.c18 .pixfmt = V4L2_PIX_FMT_H264,
30 .pixfmt = V4L2_PIX_FMT_MPEG1,
41 .pixfmt = V4L2_PIX_FMT_MPEG2,
56 .pixfmt = V4L2_PIX_FMT_VP9,
68 .pixfmt = V4L2_PIX_FMT_H264,
80 .pixfmt = V4L2_PIX_FMT_MPEG1,
91 .pixfmt = V4L2_PIX_FMT_MPEG2,
106 .pixfmt = V4L2_PIX_FMT_H264,
144 .pixfmt = V4L2_PIX_FMT_VP9,
156 .pixfmt = V4L2_PIX_FMT_H264,
[all …]
A Dcodec_hevc_common.h33 static inline int codec_hevc_use_fbc(u32 pixfmt, int is_10bit) in codec_hevc_use_fbc() argument
40 static inline int codec_hevc_use_downsample(u32 pixfmt, int is_10bit) in codec_hevc_use_downsample() argument
46 static inline int codec_hevc_use_mmu(u32 revision, u32 pixfmt, int is_10bit) in codec_hevc_use_mmu() argument
49 codec_hevc_use_fbc(pixfmt, is_10bit); in codec_hevc_use_mmu()
/linux/Documentation/userspace-api/media/v4l/
A Dpixfmt-bayer.rst22 pixfmt-srggb8
23 pixfmt-srggb10
24 pixfmt-srggb10p
25 pixfmt-srggb10alaw8
26 pixfmt-srggb10dpcm8
27 pixfmt-srggb10-ipu3
28 pixfmt-srggb12
29 pixfmt-srggb12p
30 pixfmt-srggb14
31 pixfmt-srggb14p
[all …]
A Dsdr-formats.rst15 pixfmt-sdr-cu08
16 pixfmt-sdr-cu16le
17 pixfmt-sdr-cs08
18 pixfmt-sdr-cs14le
19 pixfmt-sdr-ru12le
20 pixfmt-sdr-pcu16be
21 pixfmt-sdr-pcu18be
22 pixfmt-sdr-pcu20be
A Dmeta-formats.rst15 pixfmt-meta-d4xx
16 pixfmt-meta-intel-ipu3
17 pixfmt-meta-rkisp1
18 pixfmt-meta-uvc
19 pixfmt-meta-vsp1-hgo
20 pixfmt-meta-vsp1-hgt
21 pixfmt-meta-vivid
A Dpixfmt.rst22 pixfmt-v4l2
23 pixfmt-v4l2-mplane
24 pixfmt-intro
25 pixfmt-indexed
26 pixfmt-rgb
27 pixfmt-bayer
31 pixfmt-compressed
35 pixfmt-reserved
A Dtch-formats.rst15 pixfmt-tch-td16
16 pixfmt-tch-td08
17 pixfmt-tch-tu16
18 pixfmt-tch-tu08
A Ddepth-formats.rst15 pixfmt-inzi
16 pixfmt-z16
17 pixfmt-cnf4
A Dyuv-formats.rst267 pixfmt-packed-yuv
268 pixfmt-yuv-planar
269 pixfmt-yuv-luma
270 pixfmt-y8i
271 pixfmt-y12i
272 pixfmt-uv8
273 pixfmt-m420
/linux/drivers/media/platform/davinci/
A Dvpbe_osd.c105 (((pixfmt) == PIXFMT_RGB565) || ((pixfmt) == PIXFMT_RGB888))
106 #define is_yc_pixfmt(pixfmt) \ argument
107 (((pixfmt) == PIXFMT_YCBCRI) || ((pixfmt) == PIXFMT_YCRCBI) || \
108 ((pixfmt) == PIXFMT_NV12))
209 switch (pixfmt) { in _osd_set_palette_map()
318 switch (pixfmt) { in _osd_enable_color_key()
841 pixfmt = osd->win[WIN_OSD1].lconfig.pixfmt; in try_layer_config()
843 pixfmt = osd->win[WIN_OSD0].lconfig.pixfmt; in try_layer_config()
861 pixfmt = osd->win[WIN_VID1].lconfig.pixfmt; in try_layer_config()
863 pixfmt = osd->win[WIN_VID0].lconfig.pixfmt; in try_layer_config()
[all …]
A Dvpbe_display.c447 cfg->xsize = pixfmt->width; in vpbe_disp_calculate_scale_factor()
600 if (!pixfmt->width || (pixfmt->width < min_width) || in vpbe_try_format()
605 if (!pixfmt->height || (pixfmt->height < min_height) || in vpbe_try_format()
610 if (pixfmt->bytesperline < (pixfmt->width * bpp)) in vpbe_try_format()
611 pixfmt->bytesperline = pixfmt->width * bpp; in vpbe_try_format()
614 pixfmt->bytesperline = ((pixfmt->width * bpp + 31) & ~31); in vpbe_try_format()
617 pixfmt->sizeimage = pixfmt->bytesperline * pixfmt->height + in vpbe_try_format()
618 (pixfmt->bytesperline * pixfmt->height >> 1); in vpbe_try_format()
620 pixfmt->sizeimage = pixfmt->bytesperline * pixfmt->height; in vpbe_try_format()
836 layer->pix_fmt = *pixfmt; in vpbe_display_s_fmt()
[all …]
A Dvpfe_capture.c817 pixfmt->width, pixfmt->height, vpfe_pix_fmt->bpp); in vpfe_check_format()
819 pixfmt->width = clamp((pixfmt->width), min_width, max_width); in vpfe_check_format()
820 pixfmt->height = clamp((pixfmt->height), min_height, max_height); in vpfe_check_format()
824 pixfmt->height &= (~1); in vpfe_check_format()
829 pixfmt->bytesperline = (((pixfmt->width * vpfe_pix_fmt->bpp) + 31) in vpfe_check_format()
832 pixfmt->sizeimage = in vpfe_check_format()
833 pixfmt->bytesperline * pixfmt->height + in vpfe_check_format()
834 ((pixfmt->bytesperline * pixfmt->height) >> 1); in vpfe_check_format()
836 pixfmt->sizeimage = pixfmt->bytesperline * pixfmt->height; in vpfe_check_format()
839 pixfmt->width, pixfmt->height, vpfe_pix_fmt->bpp, in vpfe_check_format()
[all …]
A Dvpif_capture.c475 if (pixfmt->width && pixfmt->height) { in vpif_update_std_info()
476 if (pixfmt->field == V4L2_FIELD_ANY || in vpif_update_std_info()
477 pixfmt->field == V4L2_FIELD_NONE) in vpif_update_std_info()
478 pixfmt->field = V4L2_FIELD_NONE; in vpif_update_std_info()
965 pixfmt->field = common->fmt.fmt.pix.field; in vpif_try_fmt_vid_cap()
968 pixfmt->width = common->fmt.fmt.pix.width; in vpif_try_fmt_vid_cap()
970 pixfmt->sizeimage = pixfmt->bytesperline * pixfmt->height * 2; in vpif_try_fmt_vid_cap()
973 pixfmt->sizeimage = pixfmt->bytesperline * pixfmt->height; in vpif_try_fmt_vid_cap()
977 pixfmt->width, pixfmt->height, in vpif_try_fmt_vid_cap()
978 pixfmt->bytesperline, pixfmt->pixelformat, in vpif_try_fmt_vid_cap()
[all …]
A Ddm355_ccdc.c716 static int ccdc_set_pixel_format(u32 pixfmt) in ccdc_set_pixel_format() argument
722 if (pixfmt == V4L2_PIX_FMT_SBGGR8) in ccdc_set_pixel_format()
724 else if (pixfmt != V4L2_PIX_FMT_SBGGR16) in ccdc_set_pixel_format()
727 if (pixfmt == V4L2_PIX_FMT_YUYV) in ccdc_set_pixel_format()
729 else if (pixfmt == V4L2_PIX_FMT_UYVY) in ccdc_set_pixel_format()
739 u32 pixfmt; in ccdc_get_pixel_format() local
743 pixfmt = V4L2_PIX_FMT_SBGGR8; in ccdc_get_pixel_format()
745 pixfmt = V4L2_PIX_FMT_SBGGR16; in ccdc_get_pixel_format()
748 pixfmt = V4L2_PIX_FMT_YUYV; in ccdc_get_pixel_format()
750 pixfmt = V4L2_PIX_FMT_UYVY; in ccdc_get_pixel_format()
[all …]
/linux/drivers/media/usb/pwc/
A Dpwc-ctrl.c186 if (pEntry->compressed && pixfmt == V4L2_PIX_FMT_YUV420) in set_video_mode_Nala()
190 pdev->pixfmt = pixfmt; in set_video_mode_Nala()
249 if (pChoose->bandlength > 0 && pixfmt == V4L2_PIX_FMT_YUV420) in set_video_mode_Timon()
253 pdev->pixfmt = pixfmt; in set_video_mode_Timon()
300 if (pChoose->bandlength > 0 && pixfmt == V4L2_PIX_FMT_YUV420) in set_video_mode_Kiara()
304 pdev->pixfmt = pixfmt; in set_video_mode_Kiara()
320 int pixfmt, int frames, int *compression, int send_to_cam) in pwc_set_video_mode() argument
325 width, height, frames, pixfmt); in pwc_set_video_mode()
330 ret = set_video_mode_Nala(pdev, size, pixfmt, frames, in pwc_set_video_mode()
333 ret = set_video_mode_Kiara(pdev, size, pixfmt, frames, in pwc_set_video_mode()
[all …]
/linux/drivers/video/fbdev/
A Dgxt4500.c299 par->pixfmt = DFA_PIX_32BIT; in gxt4500_var_to_par()
301 par->pixfmt = DFA_PIX_24BIT; in gxt4500_var_to_par()
304 par->pixfmt = DFA_PIX_24BIT; in gxt4500_var_to_par()
310 par->pixfmt = DFA_PIX_16BIT_565; in gxt4500_var_to_par()
313 par->pixfmt = DFA_PIX_8BIT; in gxt4500_var_to_par()
326 int pixfmt) in gxt4500_unpack_pixfmt() argument
334 switch (pixfmt) { in gxt4500_unpack_pixfmt()
350 if (pixfmt != DFA_PIX_8BIT) { in gxt4500_unpack_pixfmt()
477 pixfmt = par->pixfmt; in gxt4500_set_par()
478 dfa_ctl |= DFA_FB_ENABLE | pixfmt; in gxt4500_set_par()
[all …]
/linux/drivers/media/usb/gspca/
A Dw996Xcf.c432 fw = SC(sd->gspca_dev.pixfmt.width) / max_width; in w9968cf_set_crop_window()
433 fh = SC(sd->gspca_dev.pixfmt.height) / max_height; in w9968cf_set_crop_window()
456 reg_w(sd, 0x14, sd->gspca_dev.pixfmt.width); in w9968cf_mode_init_regs()
457 reg_w(sd, 0x15, sd->gspca_dev.pixfmt.height); in w9968cf_mode_init_regs()
460 reg_w(sd, 0x30, sd->gspca_dev.pixfmt.width); in w9968cf_mode_init_regs()
461 reg_w(sd, 0x31, sd->gspca_dev.pixfmt.height); in w9968cf_mode_init_regs()
466 reg_w(sd, 0x2c, sd->gspca_dev.pixfmt.width / 2); in w9968cf_mode_init_regs()
467 reg_w(sd, 0x2d, sd->gspca_dev.pixfmt.width / 4); in w9968cf_mode_init_regs()
469 reg_w(sd, 0x2c, sd->gspca_dev.pixfmt.width); in w9968cf_mode_init_regs()
475 val = sd->gspca_dev.pixfmt.width * sd->gspca_dev.pixfmt.height; in w9968cf_mode_init_regs()
[all …]
A Dgspca.c54 __u32 pixfmt, int w, int h) in PDEBUG_MODE() argument
56 if ((pixfmt >> 24) >= '0' && (pixfmt >> 24) <= 'z') { in PDEBUG_MODE()
59 pixfmt & 0xff, in PDEBUG_MODE()
60 (pixfmt >> 8) & 0xff, in PDEBUG_MODE()
61 (pixfmt >> 16) & 0xff, in PDEBUG_MODE()
62 pixfmt >> 24, in PDEBUG_MODE()
67 pixfmt, in PDEBUG_MODE()
541 gspca_dev->pixfmt.height) in which_bandwidth()
949 int pixfmt) in gspca_get_mode() argument
957 == pixfmt) in gspca_get_mode()
[all …]
/linux/drivers/media/platform/sunxi/sun6i-csi/
A Dsun6i_video.c355 struct v4l2_pix_format *pixfmt = &f->fmt.pix; in sun6i_video_try_fmt() local
358 if (!is_pixformat_valid(pixfmt->pixelformat)) in sun6i_video_try_fmt()
359 pixfmt->pixelformat = supported_pixformats[0]; in sun6i_video_try_fmt()
364 bpp = sun6i_csi_get_bpp(pixfmt->pixelformat); in sun6i_video_try_fmt()
365 pixfmt->bytesperline = (pixfmt->width * bpp) >> 3; in sun6i_video_try_fmt()
366 pixfmt->sizeimage = pixfmt->bytesperline * pixfmt->height; in sun6i_video_try_fmt()
368 if (pixfmt->field == V4L2_FIELD_ANY) in sun6i_video_try_fmt()
369 pixfmt->field = V4L2_FIELD_NONE; in sun6i_video_try_fmt()
371 pixfmt->colorspace = V4L2_COLORSPACE_RAW; in sun6i_video_try_fmt()
372 pixfmt->ycbcr_enc = V4L2_YCBCR_ENC_DEFAULT; in sun6i_video_try_fmt()
[all …]
/linux/drivers/media/pci/ivtv/
A Divtv-ioctl.c344 pixfmt->sizeimage = pixfmt->height * 720 * 3 / 2; in ivtv_g_fmt_vid_cap()
345 pixfmt->bytesperline = 720; in ivtv_g_fmt_vid_cap()
349 pixfmt->bytesperline = 0; in ivtv_g_fmt_vid_cap()
421 pixfmt->bytesperline = 720; in ivtv_g_fmt_vid_out()
425 pixfmt->sizeimage = in ivtv_g_fmt_vid_out()
430 pixfmt->bytesperline = 0; in ivtv_g_fmt_vid_out()
1366 int pixfmt; in ivtv_g_fbuf() local
1423 pixfmt &= 7; in ivtv_g_fbuf()
1426 if (pixfmt == 1 || pixfmt > 4) in ivtv_g_fbuf()
1430 if (pixfmt == 2 || pixfmt == 3) in ivtv_g_fbuf()
[all …]
/linux/drivers/media/platform/qcom/venus/
A Dvenc.c36 .pixfmt = V4L2_PIX_FMT_NV12,
40 .pixfmt = V4L2_PIX_FMT_MPEG4,
44 .pixfmt = V4L2_PIX_FMT_H263,
48 .pixfmt = V4L2_PIX_FMT_H264,
52 .pixfmt = V4L2_PIX_FMT_VP8,
56 .pixfmt = V4L2_PIX_FMT_HEVC,
70 if (fmt[i].pixfmt == pixfmt) in find_format()
161 f->pixelformat = fmt->pixfmt; in venc_enum_fmt()
255 pixfmt_cap = inst->fmt_cap->pixfmt; in venc_s_fmt()
258 pixfmt_out = inst->fmt_out->pixfmt; in venc_s_fmt()
[all …]
A Dvdec.c34 .pixfmt = V4L2_PIX_FMT_NV12,
38 .pixfmt = V4L2_PIX_FMT_MPEG4,
43 .pixfmt = V4L2_PIX_FMT_MPEG2,
48 .pixfmt = V4L2_PIX_FMT_H263,
63 .pixfmt = V4L2_PIX_FMT_H264,
68 .pixfmt = V4L2_PIX_FMT_VP8,
73 .pixfmt = V4L2_PIX_FMT_VP9,
78 .pixfmt = V4L2_PIX_FMT_XVID,
83 .pixfmt = V4L2_PIX_FMT_HEVC,
98 if (fmt[i].pixfmt == pixfmt) in find_format()
[all …]
/linux/drivers/media/v4l2-core/
A Dv4l2-common.c367 pixfmt->width = width; in v4l2_fill_pixfmt_mp()
368 pixfmt->height = height; in v4l2_fill_pixfmt_mp()
369 pixfmt->pixelformat = pixelformat; in v4l2_fill_pixfmt_mp()
370 pixfmt->num_planes = info->mem_planes; in v4l2_fill_pixfmt_mp()
373 plane = &pixfmt->plane_fmt[0]; in v4l2_fill_pixfmt_mp()
400 plane = &pixfmt->plane_fmt[i]; in v4l2_fill_pixfmt_mp()
425 pixfmt->width = width; in v4l2_fill_pixfmt()
426 pixfmt->height = height; in v4l2_fill_pixfmt()
427 pixfmt->pixelformat = pixelformat; in v4l2_fill_pixfmt()
429 pixfmt->sizeimage = 0; in v4l2_fill_pixfmt()
[all …]
/linux/drivers/staging/media/hantro/
A Dhantro_v4l2.c582 struct v4l2_pix_format_mplane *pixfmt; in hantro_queue_setup() local
587 pixfmt = &ctx->dst_fmt; in hantro_queue_setup()
590 pixfmt = &ctx->src_fmt; in hantro_queue_setup()
598 if (*num_planes != pixfmt->num_planes) in hantro_queue_setup()
600 for (i = 0; i < pixfmt->num_planes; ++i) in hantro_queue_setup()
606 *num_planes = pixfmt->num_planes; in hantro_queue_setup()
607 for (i = 0; i < pixfmt->num_planes; ++i) in hantro_queue_setup()
608 sizes[i] = pixfmt->plane_fmt[i].sizeimage; in hantro_queue_setup()
614 struct v4l2_pix_format_mplane *pixfmt) in hantro_buf_plane_check() argument
619 for (i = 0; i < pixfmt->num_planes; ++i) { in hantro_buf_plane_check()
[all …]
/linux/drivers/staging/media/imx/
A Dimx-media-capture.c152 imx_media_enum_pixel_formats(&pixfmt->pixelformat, 0, in __capture_try_fmt()
154 cc = imx_media_find_pixel_format(pixfmt->pixelformat, in __capture_try_fmt()
159 if (V4L2_FIELD_IS_INTERLACED(pixfmt->field)) { in __capture_try_fmt()
160 switch (pixfmt->field) { in __capture_try_fmt()
162 pixfmt->field = V4L2_FIELD_INTERLACED_TB; in __capture_try_fmt()
165 pixfmt->field = V4L2_FIELD_INTERLACED_BT; in __capture_try_fmt()
172 v4l2_fill_mbus_format(&fmt_src, pixfmt, 0); in __capture_try_fmt()
173 imx_media_mbus_fmt_to_pix_fmt(pixfmt, &fmt_src, cc); in __capture_try_fmt()
398 struct v4l2_pix_format *pixfmt) in __capture_legacy_try_fmt() argument
407 if (V4L2_FIELD_IS_INTERLACED(pixfmt->field)) { in __capture_legacy_try_fmt()
[all …]

Completed in 45 milliseconds

12345