/Linux-v6.1/Documentation/userspace-api/media/v4l/ |
D | pixfmt-reserved.rst | 36 * .. _V4L2-PIX-FMT-DV: 41 * .. _V4L2-PIX-FMT-ET61X251: 46 * .. _V4L2-PIX-FMT-HI240: 51 * .. _V4L2-PIX-FMT-CPIA1: 56 * .. _V4L2-PIX-FMT-JPGL: 62 * .. _V4L2-PIX-FMT-SPCA501: 67 * .. _V4L2-PIX-FMT-SPCA505: 72 * .. _V4L2-PIX-FMT-SPCA508: 77 * .. _V4L2-PIX-FMT-SPCA561: 82 * .. _V4L2-PIX-FMT-PAC207: [all …]
|
D | libv4l-introduction.rst | 28 :ref:`V4L2_PIX_FMT_BGR24 <V4L2-PIX-FMT-BGR24>`, 29 :ref:`V4L2_PIX_FMT_NV12_16L16 <V4L2-PIX-FMT-NV12-16L16>`, 30 :ref:`V4L2_PIX_FMT_JPEG <V4L2-PIX-FMT-JPEG>`, 31 :ref:`V4L2_PIX_FMT_MJPEG <V4L2-PIX-FMT-MJPEG>`, 32 :ref:`V4L2_PIX_FMT_MR97310A <V4L2-PIX-FMT-MR97310A>`, 33 :ref:`V4L2_PIX_FMT_OV511 <V4L2-PIX-FMT-OV511>`, 34 :ref:`V4L2_PIX_FMT_OV518 <V4L2-PIX-FMT-OV518>`, 35 :ref:`V4L2_PIX_FMT_PAC207 <V4L2-PIX-FMT-PAC207>`, 36 :ref:`V4L2_PIX_FMT_PJPG <V4L2-PIX-FMT-PJPG>`, 37 :ref:`V4L2_PIX_FMT_RGB24 <V4L2-PIX-FMT-RGB24>`, [all …]
|
D | pixfmt-compressed.rst | 26 * .. _V4L2-PIX-FMT-JPEG: 32 * .. _V4L2-PIX-FMT-MPEG: 39 * .. _V4L2-PIX-FMT-H264: 49 * .. _V4L2-PIX-FMT-H264-NO-SC: 54 * .. _V4L2-PIX-FMT-H264-MVC: 59 * .. _V4L2-PIX-FMT-H264-SLICE: 86 * .. _V4L2-PIX-FMT-H263: 91 * .. _V4L2-PIX-FMT-MPEG1: 100 * .. _V4L2-PIX-FMT-MPEG2: 109 * .. _V4L2-PIX-FMT-MPEG2-SLICE: [all …]
|
D | pixfmt-rgb.rst | 122 * .. _V4L2-PIX-FMT-RGB332: 136 * .. _V4L2-PIX-FMT-ARGB444: 159 * .. _V4L2-PIX-FMT-XRGB444: 182 * .. _V4L2-PIX-FMT-RGBA444: 205 * .. _V4L2-PIX-FMT-RGBX444: 228 * .. _V4L2-PIX-FMT-ABGR444: 251 * .. _V4L2-PIX-FMT-XBGR444: 274 * .. _V4L2-PIX-FMT-BGRA444: 297 * .. _V4L2-PIX-FMT-BGRX444: 320 * .. _V4L2-PIX-FMT-ARGB555: [all …]
|
D | v4l2grab.c.rst | 77 fmt.fmt.pix.width = 640; 78 fmt.fmt.pix.height = 480; 79 fmt.fmt.pix.pixelformat = V4L2_PIX_FMT_RGB24; 80 fmt.fmt.pix.field = V4L2_FIELD_INTERLACED; 82 if (fmt.fmt.pix.pixelformat != V4L2_PIX_FMT_RGB24) { 86 if ((fmt.fmt.pix.width != 640) || (fmt.fmt.pix.height != 480)) 88 fmt.fmt.pix.width, fmt.fmt.pix.height); 155 fmt.fmt.pix.width, fmt.fmt.pix.height);
|
/Linux-v6.1/drivers/media/pci/cobalt/ |
D | cobalt-v4l2.c | 710 struct v4l2_pix_format *pix = &f->fmt.pix; in cobalt_g_fmt_vid_cap() local 713 pix->width = s->width; in cobalt_g_fmt_vid_cap() 714 pix->height = s->height; in cobalt_g_fmt_vid_cap() 715 pix->bytesperline = s->stride; in cobalt_g_fmt_vid_cap() 716 pix->field = V4L2_FIELD_NONE; in cobalt_g_fmt_vid_cap() 719 pix->colorspace = V4L2_COLORSPACE_SRGB; in cobalt_g_fmt_vid_cap() 724 v4l2_fill_pix_format(pix, &sd_fmt.format); in cobalt_g_fmt_vid_cap() 727 pix->pixelformat = s->pixfmt; in cobalt_g_fmt_vid_cap() 728 pix->sizeimage = pix->bytesperline * pix->height; in cobalt_g_fmt_vid_cap() 737 struct v4l2_pix_format *pix = &f->fmt.pix; in cobalt_try_fmt_vid_cap() local [all …]
|
/Linux-v6.1/drivers/media/pci/zoran/ |
D | zoran_driver.c | 294 fmt->fmt.pix.width = zr->jpg_settings.img_width / zr->jpg_settings.hor_dcm; in zoran_g_fmt_vid_out() 295 fmt->fmt.pix.height = zr->jpg_settings.img_height * 2 / in zoran_g_fmt_vid_out() 297 fmt->fmt.pix.sizeimage = zr->buffer_size; in zoran_g_fmt_vid_out() 298 fmt->fmt.pix.pixelformat = V4L2_PIX_FMT_MJPEG; in zoran_g_fmt_vid_out() 300 fmt->fmt.pix.field = (zr->jpg_settings.odd_even ? in zoran_g_fmt_vid_out() 303 fmt->fmt.pix.field = (zr->jpg_settings.odd_even ? in zoran_g_fmt_vid_out() 305 fmt->fmt.pix.bytesperline = 0; in zoran_g_fmt_vid_out() 306 fmt->fmt.pix.colorspace = V4L2_COLORSPACE_SMPTE170M; in zoran_g_fmt_vid_out() 318 fmt->fmt.pix.width = zr->v4l_settings.width; in zoran_g_fmt_vid_cap() 319 fmt->fmt.pix.height = zr->v4l_settings.height; in zoran_g_fmt_vid_cap() [all …]
|
/Linux-v6.1/drivers/media/platform/st/sti/hva/ |
D | hva-v4l2.c | 301 f->fmt.pix.width = streaminfo->width; in hva_g_fmt_stream() 302 f->fmt.pix.height = streaminfo->height; in hva_g_fmt_stream() 303 f->fmt.pix.field = V4L2_FIELD_NONE; in hva_g_fmt_stream() 304 f->fmt.pix.colorspace = ctx->colorspace; in hva_g_fmt_stream() 305 f->fmt.pix.xfer_func = ctx->xfer_func; in hva_g_fmt_stream() 306 f->fmt.pix.ycbcr_enc = ctx->ycbcr_enc; in hva_g_fmt_stream() 307 f->fmt.pix.quantization = ctx->quantization; in hva_g_fmt_stream() 308 f->fmt.pix.pixelformat = streaminfo->streamformat; in hva_g_fmt_stream() 309 f->fmt.pix.bytesperline = 0; in hva_g_fmt_stream() 310 f->fmt.pix.sizeimage = ctx->max_stream_size; in hva_g_fmt_stream() [all …]
|
/Linux-v6.1/drivers/gpu/ipu-v3/ |
D | ipu-cpmem.c | 460 ipu_ch_param_write_field(ch, IPU_FIELD_PFS, 0xA);/* pix fmt */ in ipu_cpmem_set_yuv_interleaved() 465 ipu_ch_param_write_field(ch, IPU_FIELD_PFS, 0x8);/* pix fmt */ in ipu_cpmem_set_yuv_interleaved() 588 #define Y_OFFSET(pix, x, y) ((x) + pix->bytesperline * (y)) argument 589 #define U_OFFSET(pix, x, y) ((pix->bytesperline * pix->height) + \ argument 590 (pix->bytesperline * ((y) / 2) / 2) + (x) / 2) 591 #define V_OFFSET(pix, x, y) ((pix->bytesperline * pix->height) + \ argument 592 (pix->bytesperline * pix->height / 4) + \ 593 (pix->bytesperline * ((y) / 2) / 2) + (x) / 2) 594 #define U2_OFFSET(pix, x, y) ((pix->bytesperline * pix->height) + \ argument 595 (pix->bytesperline * (y) / 2) + (x) / 2) [all …]
|
/Linux-v6.1/drivers/media/platform/st/sti/delta/ |
D | delta-v4l2.c | 429 struct v4l2_pix_format *pix = &f->fmt.pix; in delta_g_fmt_stream() local 439 pix->pixelformat = streaminfo->streamformat; in delta_g_fmt_stream() 440 pix->width = streaminfo->width; in delta_g_fmt_stream() 441 pix->height = streaminfo->height; in delta_g_fmt_stream() 442 pix->field = streaminfo->field; in delta_g_fmt_stream() 443 pix->bytesperline = 0; in delta_g_fmt_stream() 444 pix->sizeimage = ctx->max_au_size; in delta_g_fmt_stream() 445 pix->colorspace = streaminfo->colorspace; in delta_g_fmt_stream() 446 pix->xfer_func = streaminfo->xfer_func; in delta_g_fmt_stream() 447 pix->ycbcr_enc = streaminfo->ycbcr_enc; in delta_g_fmt_stream() [all …]
|
/Linux-v6.1/drivers/media/platform/renesas/rcar-vin/ |
D | rcar-v4l2.c | 121 struct v4l2_pix_format *pix) in rvin_format_bytesperline() argument 126 fmt = rvin_format_from_pixel(vin, pix->pixelformat); in rvin_format_bytesperline() 131 switch (pix->pixelformat) { in rvin_format_bytesperline() 141 if (V4L2_FIELD_IS_SEQUENTIAL(pix->field)) in rvin_format_bytesperline() 144 return ALIGN(pix->width, align) * fmt->bpp; in rvin_format_bytesperline() 147 static u32 rvin_format_sizeimage(struct v4l2_pix_format *pix) in rvin_format_sizeimage() argument 149 switch (pix->pixelformat) { in rvin_format_sizeimage() 151 return pix->bytesperline * pix->height * 3 / 2; in rvin_format_sizeimage() 153 return pix->bytesperline * pix->height * 2; in rvin_format_sizeimage() 155 return pix->bytesperline * pix->height; in rvin_format_sizeimage() [all …]
|
/Linux-v6.1/drivers/staging/media/imx/ |
D | imx-media-csc-scaler.c | 187 f->fmt.pix = q_data->cur_fmt; in ipu_csc_scaler_g_fmt() 200 field = f->fmt.pix.field; in ipu_csc_scaler_try_fmt() 210 test_out.pix = f->fmt.pix; in ipu_csc_scaler_try_fmt() 211 test_in.pix = q_data_in->cur_fmt; in ipu_csc_scaler_try_fmt() 216 test_in.pix = f->fmt.pix; in ipu_csc_scaler_try_fmt() 217 test_out.pix = q_data_out->cur_fmt; in ipu_csc_scaler_try_fmt() 222 f->fmt.pix = (f->type == V4L2_BUF_TYPE_VIDEO_CAPTURE) ? in ipu_csc_scaler_try_fmt() 223 test_out.pix : test_in.pix; in ipu_csc_scaler_try_fmt() 226 f->fmt.pix.colorspace = q_data->cur_fmt.colorspace; in ipu_csc_scaler_try_fmt() 227 f->fmt.pix.ycbcr_enc = q_data->cur_fmt.ycbcr_enc; in ipu_csc_scaler_try_fmt() [all …]
|
/Linux-v6.1/drivers/media/platform/st/stm32/dma2d/ |
D | dma2d.c | 366 f->fmt.pix.width = frm->width; in vidioc_g_fmt() 367 f->fmt.pix.height = frm->height; in vidioc_g_fmt() 368 f->fmt.pix.field = V4L2_FIELD_NONE; in vidioc_g_fmt() 369 f->fmt.pix.pixelformat = frm->fmt->fourcc; in vidioc_g_fmt() 370 f->fmt.pix.bytesperline = (frm->width * frm->fmt->depth) >> 3; in vidioc_g_fmt() 371 f->fmt.pix.sizeimage = frm->size; in vidioc_g_fmt() 372 f->fmt.pix.colorspace = ctx->colorspace; in vidioc_g_fmt() 373 f->fmt.pix.xfer_func = ctx->xfer_func; in vidioc_g_fmt() 374 f->fmt.pix.ycbcr_enc = ctx->ycbcr_enc; in vidioc_g_fmt() 375 f->fmt.pix.quantization = ctx->quant; in vidioc_g_fmt() [all …]
|
/Linux-v6.1/drivers/media/platform/renesas/ |
D | sh_vou.c | 80 struct v4l2_pix_format pix; member 193 switch (vou_dev->pix.pixelformat) { in sh_vou_schedule_next() 196 addr2 = addr1 + vou_dev->pix.width * vou_dev->pix.height; in sh_vou_schedule_next() 215 switch (vou_dev->pix.pixelformat) { in sh_vou_stream_config() 233 sh_vou_reg_ab_write(vou_dev, VOUAIR, vou_dev->pix.width * row_coeff); in sh_vou_stream_config() 242 struct v4l2_pix_format *pix = &vou_dev->pix; in sh_vou_queue_setup() local 243 int bytes_per_line = vou_fmt[vou_dev->pix_idx].bpp * pix->width / 8; in sh_vou_queue_setup() 248 return sizes[0] < pix->height * bytes_per_line ? -EINVAL : 0; in sh_vou_queue_setup() 250 sizes[0] = pix->height * bytes_per_line; in sh_vou_queue_setup() 257 struct v4l2_pix_format *pix = &vou_dev->pix; in sh_vou_buf_prepare() local [all …]
|
D | renesas-ceu.c | 281 static bool ceu_fmt_mplane(struct v4l2_pix_format_mplane *pix) in ceu_fmt_mplane() argument 283 switch (pix->pixelformat) { in ceu_fmt_mplane() 352 struct v4l2_pix_format_mplane *pix = &ceudev->v4l2_pix; in ceu_hw_config() local 364 capwr = (pix->height << 16) | pix->width * mbus_fmt->bpp / 8; in ceu_hw_config() 393 switch (pix->pixelformat) { in ceu_hw_config() 401 cfzsr = (pix->height << 16) | pix->width; in ceu_hw_config() 402 cdwdr = pix->plane_fmt[0].bytesperline; in ceu_hw_config() 415 cfzsr = (pix->height << 16) | pix->width; in ceu_hw_config() 416 cdwdr = pix->width; in ceu_hw_config() 429 cfzsr = (pix->height << 16) | pix->width; in ceu_hw_config() [all …]
|
/Linux-v6.1/drivers/media/pci/cx25821/ |
D | cx25821-video.c | 322 f->fmt.pix.width = chan->width; in cx25821_vidioc_g_fmt_vid_cap() 323 f->fmt.pix.height = chan->height; in cx25821_vidioc_g_fmt_vid_cap() 324 f->fmt.pix.field = chan->field; in cx25821_vidioc_g_fmt_vid_cap() 325 f->fmt.pix.pixelformat = chan->fmt->fourcc; in cx25821_vidioc_g_fmt_vid_cap() 326 f->fmt.pix.bytesperline = (chan->width * chan->fmt->depth) >> 3; in cx25821_vidioc_g_fmt_vid_cap() 327 f->fmt.pix.sizeimage = chan->height * f->fmt.pix.bytesperline; in cx25821_vidioc_g_fmt_vid_cap() 328 f->fmt.pix.colorspace = V4L2_COLORSPACE_SMPTE170M; in cx25821_vidioc_g_fmt_vid_cap() 339 enum v4l2_field field = f->fmt.pix.field; in cx25821_vidioc_try_fmt_vid_cap() 343 fmt = cx25821_format_by_fourcc(f->fmt.pix.pixelformat); in cx25821_vidioc_try_fmt_vid_cap() 348 w = f->fmt.pix.width; in cx25821_vidioc_try_fmt_vid_cap() [all …]
|
/Linux-v6.1/drivers/media/platform/sunxi/sun4i-csi/ |
D | sun4i_v4l2.c | 92 struct v4l2_pix_format_mplane *pix) in _sun4i_csi_try_fmt() argument 98 _fmt = sun4i_csi_find_format(&pix->pixelformat, NULL); in _sun4i_csi_try_fmt() 102 pix->field = V4L2_FIELD_NONE; in _sun4i_csi_try_fmt() 103 pix->colorspace = V4L2_COLORSPACE_SRGB; in _sun4i_csi_try_fmt() 104 pix->xfer_func = V4L2_MAP_XFER_FUNC_DEFAULT(pix->colorspace); in _sun4i_csi_try_fmt() 105 pix->ycbcr_enc = V4L2_MAP_YCBCR_ENC_DEFAULT(pix->colorspace); in _sun4i_csi_try_fmt() 106 pix->quantization = V4L2_MAP_QUANTIZATION_DEFAULT(true, pix->colorspace, in _sun4i_csi_try_fmt() 107 pix->ycbcr_enc); in _sun4i_csi_try_fmt() 109 pix->num_planes = _fmt->num_planes; in _sun4i_csi_try_fmt() 110 pix->pixelformat = _fmt->fourcc; in _sun4i_csi_try_fmt() [all …]
|
/Linux-v6.1/drivers/media/test-drivers/ |
D | vim2m.c | 299 u16 pix = le16_to_cpu(*(__le16 *)(src[i])); in copy_two_pixels() local 301 *r++ = (u8)(((pix & 0xf800) >> 11) << 3) | 0x07; in copy_two_pixels() 302 *g++ = (u8)((((pix & 0x07e0) >> 5)) << 2) | 0x03; in copy_two_pixels() 303 *b++ = (u8)((pix & 0x1f) << 3) | 0x07; in copy_two_pixels() 308 u16 pix = be16_to_cpu(*(__be16 *)(src[i])); in copy_two_pixels() local 310 *r++ = (u8)(((pix & 0xf800) >> 11) << 3) | 0x07; in copy_two_pixels() 311 *g++ = (u8)((((pix & 0x07e0) >> 5)) << 2) | 0x03; in copy_two_pixels() 312 *b++ = (u8)((pix & 0x1f) << 3) | 0x07; in copy_two_pixels() 341 u16 pix; in copy_two_pixels() local 344 pix = ((*r << 8) & 0xf800) | ((*g << 3) & 0x07e0) | in copy_two_pixels() [all …]
|
/Linux-v6.1/drivers/media/platform/ti/vpe/ |
D | vpe.c | 365 return __find_format(f->fmt.pix.pixelformat); in find_format() 1024 struct v4l2_pix_format_mplane *pix; in add_out_dtd() local 1034 pix = &q_data->format.fmt.pix_mp; in add_out_dtd() 1035 stride = ALIGN((pix->width * vpdma_fmt->depth) >> 3, in add_out_dtd() 1041 pix = &q_data->format.fmt.pix_mp; in add_out_dtd() 1047 if (pix->num_planes == 1 && plane) { in add_out_dtd() 1050 offset = pix->plane_fmt[0].bytesperline * pix->height; in add_out_dtd() 1064 stride = pix->plane_fmt[VPE_LUMA].bytesperline; in add_out_dtd() 1075 vpdma_add_out_dtd(&ctx->desc_list, pix->width, in add_out_dtd() 1088 struct v4l2_pix_format_mplane *pix; in add_in_dtd() local [all …]
|
/Linux-v6.1/drivers/media/platform/ti/omap/ |
D | omap_vout.c | 124 static int omap_vout_try_format(struct v4l2_pix_format *pix) in omap_vout_try_format() argument 128 pix->height = clamp(pix->height, (u32)VID_MIN_HEIGHT, in omap_vout_try_format() 130 pix->width = clamp(pix->width, (u32)VID_MIN_WIDTH, (u32)VID_MAX_WIDTH); in omap_vout_try_format() 133 if (pix->pixelformat == omap_formats[ifmt].pixelformat) in omap_vout_try_format() 140 pix->pixelformat = omap_formats[ifmt].pixelformat; in omap_vout_try_format() 141 pix->field = V4L2_FIELD_NONE; in omap_vout_try_format() 143 switch (pix->pixelformat) { in omap_vout_try_format() 147 pix->colorspace = V4L2_COLORSPACE_SRGB; in omap_vout_try_format() 152 pix->colorspace = V4L2_COLORSPACE_SRGB; in omap_vout_try_format() 156 pix->colorspace = V4L2_COLORSPACE_SRGB; in omap_vout_try_format() [all …]
|
D | omap_voutlib.c | 38 * size in pix and the video display size in fbuf. The default 43 void omap_vout_default_crop(struct v4l2_pix_format *pix, in omap_vout_default_crop() argument 46 crop->width = (pix->width < fbuf->fmt.width) ? in omap_vout_default_crop() 47 pix->width : fbuf->fmt.width; in omap_vout_default_crop() 48 crop->height = (pix->height < fbuf->fmt.height) ? in omap_vout_default_crop() 49 pix->height : fbuf->fmt.height; in omap_vout_default_crop() 52 crop->left = ((pix->width - crop->width) >> 1) & ~1; in omap_vout_default_crop() 53 crop->top = ((pix->height - crop->height) >> 1) & ~1; in omap_vout_default_crop() 169 int omap_vout_new_crop(struct v4l2_pix_format *pix, in omap_vout_new_crop() argument 188 try_crop.width = (try_crop.width < pix->width) ? in omap_vout_new_crop() [all …]
|
/Linux-v6.1/drivers/media/platform/ |
D | m2m-deinterlace.c | 111 (fmt->fourcc == f->fmt.pix.pixelformat)) in find_format() 492 f->fmt.pix.width = q_data->width; in vidioc_g_fmt() 493 f->fmt.pix.height = q_data->height; in vidioc_g_fmt() 494 f->fmt.pix.field = q_data->field; in vidioc_g_fmt() 495 f->fmt.pix.pixelformat = q_data->fmt->fourcc; in vidioc_g_fmt() 499 f->fmt.pix.bytesperline = q_data->width * 3 / 2; in vidioc_g_fmt() 503 f->fmt.pix.bytesperline = q_data->width * 2; in vidioc_g_fmt() 506 f->fmt.pix.sizeimage = q_data->sizeimage; in vidioc_g_fmt() 507 f->fmt.pix.colorspace = ctx->colorspace; in vidioc_g_fmt() 526 switch (f->fmt.pix.pixelformat) { in vidioc_try_fmt() [all …]
|
/Linux-v6.1/drivers/media/platform/ti/cal/ |
D | cal-video.c | 172 v4l_bound_align_image(&f->fmt.pix.width, 48, max_width, 2, in cal_calc_format_size() 173 &f->fmt.pix.height, 32, CAL_MAX_HEIGHT_LINES, in cal_calc_format_size() 176 bpl = (f->fmt.pix.width * ALIGN(fmtinfo->bpp, 8)) >> 3; in cal_calc_format_size() 177 f->fmt.pix.bytesperline = ALIGN(bpl, 16); in cal_calc_format_size() 179 f->fmt.pix.sizeimage = f->fmt.pix.height * in cal_calc_format_size() 180 f->fmt.pix.bytesperline; in cal_calc_format_size() 183 __func__, fourcc_to_str(f->fmt.pix.pixelformat), in cal_calc_format_size() 184 f->fmt.pix.width, f->fmt.pix.height, in cal_calc_format_size() 185 f->fmt.pix.bytesperline, f->fmt.pix.sizeimage); in cal_calc_format_size() 196 fmtinfo = find_format_by_pix(ctx, f->fmt.pix.pixelformat); in cal_legacy_try_fmt_vid_cap() [all …]
|
/Linux-v6.1/drivers/staging/media/atomisp/pci/ |
D | css_receiver_2400_defs.h | 231 …2400_BE_CUST_PIX_EXT_S0P0_REG_IDX 15 /* Pixel Extractor config for Data State 0 & Pix 0 */ 232 …2400_BE_CUST_PIX_EXT_S0P1_REG_IDX 16 /* Pixel Extractor config for Data State 0 & Pix 1 */ 233 …2400_BE_CUST_PIX_EXT_S0P2_REG_IDX 17 /* Pixel Extractor config for Data State 0 & Pix 2 */ 234 …2400_BE_CUST_PIX_EXT_S0P3_REG_IDX 18 /* Pixel Extractor config for Data State 0 & Pix 3 */ 235 …2400_BE_CUST_PIX_EXT_S1P0_REG_IDX 19 /* Pixel Extractor config for Data State 1 & Pix 0 */ 236 …2400_BE_CUST_PIX_EXT_S1P1_REG_IDX 20 /* Pixel Extractor config for Data State 1 & Pix 1 */ 237 …2400_BE_CUST_PIX_EXT_S1P2_REG_IDX 21 /* Pixel Extractor config for Data State 1 & Pix 2 */ 238 …2400_BE_CUST_PIX_EXT_S1P3_REG_IDX 22 /* Pixel Extractor config for Data State 1 & Pix 3 */ 239 …2400_BE_CUST_PIX_EXT_S2P0_REG_IDX 23 /* Pixel Extractor config for Data State 2 & Pix 0 */ 240 …2400_BE_CUST_PIX_EXT_S2P1_REG_IDX 24 /* Pixel Extractor config for Data State 2 & Pix 1 */ [all …]
|
/Linux-v6.1/drivers/usb/gadget/function/ |
D | uvc_v4l2.c | 223 fmt->fmt.pix.pixelformat = video->fcc; in uvc_v4l2_get_format() 224 fmt->fmt.pix.width = video->width; in uvc_v4l2_get_format() 225 fmt->fmt.pix.height = video->height; in uvc_v4l2_get_format() 226 fmt->fmt.pix.field = V4L2_FIELD_NONE; in uvc_v4l2_get_format() 227 fmt->fmt.pix.bytesperline = video->bpp * video->width / 8; in uvc_v4l2_get_format() 228 fmt->fmt.pix.sizeimage = video->imagesize; in uvc_v4l2_get_format() 229 fmt->fmt.pix.colorspace = V4L2_COLORSPACE_SRGB; in uvc_v4l2_get_format() 230 fmt->fmt.pix.priv = 0; in uvc_v4l2_get_format() 248 fcc = (u8 *)&fmt->fmt.pix.pixelformat; in uvc_v4l2_try_format() 250 fmt->fmt.pix.pixelformat, in uvc_v4l2_try_format() [all …]
|