Searched refs:pixmp (Results 1 – 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/drivers/staging/media/meson/vdec/ |
D | vdec.c | 495 struct v4l2_pix_format_mplane *pixmp = &f->fmt.pix_mp; in vdec_try_fmt_common() local 496 struct v4l2_plane_pix_format *pfmt = pixmp->plane_fmt; in vdec_try_fmt_common() 502 memset(pixmp->reserved, 0, sizeof(pixmp->reserved)); in vdec_try_fmt_common() 506 fmt_out = find_format(fmts, size, pixmp->pixelformat); in vdec_try_fmt_common() 508 pixmp->pixelformat = V4L2_PIX_FMT_MPEG2; in vdec_try_fmt_common() 509 fmt_out = find_format(fmts, size, pixmp->pixelformat); in vdec_try_fmt_common() 519 pixmp->width = clamp(pixmp->width, (u32)256, fmt_out->max_width); in vdec_try_fmt_common() 520 pixmp->height = clamp(pixmp->height, (u32)144, fmt_out->max_height); in vdec_try_fmt_common() 521 output_size = get_output_size(pixmp->width, pixmp->height); in vdec_try_fmt_common() 527 pixmp->num_planes = 1; in vdec_try_fmt_common() [all …]
|
/kernel/linux/linux-5.10/drivers/media/platform/qcom/venus/ |
D | venc.c | 169 struct v4l2_pix_format_mplane *pixmp = &f->fmt.pix_mp; in venc_try_fmt_common() local 170 struct v4l2_plane_pix_format *pfmt = pixmp->plane_fmt; in venc_try_fmt_common() 175 memset(pixmp->reserved, 0, sizeof(pixmp->reserved)); in venc_try_fmt_common() 177 fmt = find_format(inst, pixmp->pixelformat, f->type); in venc_try_fmt_common() 180 pixmp->pixelformat = V4L2_PIX_FMT_H264; in venc_try_fmt_common() 182 pixmp->pixelformat = V4L2_PIX_FMT_NV12; in venc_try_fmt_common() 185 fmt = find_format(inst, pixmp->pixelformat, f->type); in venc_try_fmt_common() 190 pixmp->width = clamp(pixmp->width, frame_width_min(inst), in venc_try_fmt_common() 192 pixmp->height = clamp(pixmp->height, frame_height_min(inst), in venc_try_fmt_common() 196 pixmp->height = ALIGN(pixmp->height, 32); in venc_try_fmt_common() [all …]
|
D | vdec.c | 144 struct v4l2_pix_format_mplane *pixmp = &f->fmt.pix_mp; in vdec_try_fmt_common() local 145 struct v4l2_plane_pix_format *pfmt = pixmp->plane_fmt; in vdec_try_fmt_common() 150 memset(pixmp->reserved, 0, sizeof(pixmp->reserved)); in vdec_try_fmt_common() 152 fmt = find_format(inst, pixmp->pixelformat, f->type); in vdec_try_fmt_common() 155 pixmp->pixelformat = V4L2_PIX_FMT_NV12; in vdec_try_fmt_common() 157 pixmp->pixelformat = V4L2_PIX_FMT_H264; in vdec_try_fmt_common() 160 fmt = find_format(inst, pixmp->pixelformat, f->type); in vdec_try_fmt_common() 163 pixmp->width = clamp(pixmp->width, frame_width_min(inst), in vdec_try_fmt_common() 165 pixmp->height = clamp(pixmp->height, frame_height_min(inst), in vdec_try_fmt_common() 169 pixmp->height = ALIGN(pixmp->height, 32); in vdec_try_fmt_common() [all …]
|
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/ |
D | 0038_linux_drivers_mxc.patch | 172857 + struct v4l2_pix_format_mplane *pixmp = &fmt->fmt.pix_mp; 172867 + pcfg->width_src = pixmp->width; 172868 + pcfg->height_src = pixmp->height; 172871 + pcfg->encparams.general.width = pixmp->width; 172872 + pcfg->encparams.general.height = pixmp->height; 172874 + pcfg->infmt_fourcc = pixmp->pixelformat; 172875 + pcfg->bytesperline = pixmp->plane_fmt[0].bytesperline; 172876 + for (i = 0; i < pixmp->num_planes; i++) 172877 + pcfg->sizeimagesrc[i] = pixmp->plane_fmt[i].sizeimage; 172879 + pcfg->encparams.general.width = pixmp->width; [all …]
|