Searched refs:fmt_cap (Results 1 – 11 of 11) sorted by relevance
/Linux-v6.6/drivers/media/platform/qcom/venus/ |
D | venc.c | 258 pixfmt_cap = inst->fmt_cap->pixfmt; in venc_s_fmt() 295 inst->fmt_cap = fmt; in venc_s_fmt() 309 fmt = inst->fmt_cap; in venc_g_fmt() 691 if (inst->fmt_cap->pixfmt == V4L2_PIX_FMT_H264) { in venc_set_properties() 739 if (inst->fmt_cap->pixfmt == V4L2_PIX_FMT_H264 || in venc_set_properties() 740 inst->fmt_cap->pixfmt == V4L2_PIX_FMT_HEVC) { in venc_set_properties() 753 if (inst->fmt_cap->pixfmt == V4L2_PIX_FMT_HEVC && in venc_set_properties() 839 if (inst->fmt_cap->pixfmt == V4L2_PIX_FMT_H264 || in venc_set_properties() 840 inst->fmt_cap->pixfmt == V4L2_PIX_FMT_HEVC) { in venc_set_properties() 866 if (inst->fmt_cap->pixfmt == V4L2_PIX_FMT_HEVC) { in venc_set_properties() [all …]
|
D | vdec.c | 292 fmt = inst->fmt_cap; in vdec_g_fmt() 344 pixfmt_cap = inst->fmt_cap->pixfmt; in vdec_s_fmt() 386 inst->fmt_cap = fmt; in vdec_s_fmt() 774 ret = venus_helper_get_out_fmts(inst, inst->fmt_cap->pixfmt, &out_fmt, in vdec_output_conf() 930 *num_planes != inst->fmt_cap->num_planes) in vdec_queue_setup() 983 *num_planes = inst->fmt_cap->num_planes; in vdec_queue_setup() 984 sizes[0] = venus_helper_get_framesz(inst->fmt_cap->pixfmt, in vdec_queue_setup() 1474 format.fmt.pix_mp.pixelformat = inst->fmt_cap->pixfmt; in vdec_event_change() 1509 inst->fmt_cap = &vdec_formats[VENUS_FMT_P010]; in vdec_event_change() 1511 inst->fmt_cap = &vdec_formats[VENUS_FMT_NV12]; in vdec_event_change() [all …]
|
D | core.h | 481 const struct venus_format *fmt_cap; member
|
D | helpers.c | 642 params.hfi_color_fmt = to_hfi_raw_fmt(inst->fmt_cap->pixfmt); in platform_get_bufreq() 654 params.codec = inst->fmt_cap->pixfmt; in platform_get_bufreq() 1712 inst->fmt_out->pixfmt : inst->fmt_cap->pixfmt; in venus_helper_session_init()
|
/Linux-v6.6/drivers/media/test-drivers/vivid/ |
D | vivid-vid-cap.c | 110 dev->fmt_cap->data_offset[p]) in vid_cap_queue_setup() 116 dev->fmt_cap->vdownsampling[p] + in vid_cap_queue_setup() 117 dev->fmt_cap->data_offset[p]; in vid_cap_queue_setup() 141 if (WARN_ON(NULL == dev->fmt_cap)) in vid_cap_buf_prepare() 155 dev->fmt_cap->vdownsampling[p] + in vid_cap_buf_prepare() 156 dev->fmt_cap->data_offset[p]; in vid_cap_buf_prepare() 165 vb->planes[p].data_offset = dev->fmt_cap->data_offset[p]; in vid_cap_buf_prepare() 536 mp->pixelformat = dev->fmt_cap->fourcc; in vivid_g_fmt_vid_cap() 539 if (dev->fmt_cap->color_enc == TGP_COLOR_ENC_HSV) in vivid_g_fmt_vid_cap() 544 mp->num_planes = dev->fmt_cap->buffers; in vivid_g_fmt_vid_cap() [all …]
|
D | vivid-kthread-cap.c | 66 if (dev->fmt_cap->alpha_mask) { in copy_pix() 71 *cap & dev->fmt_cap->alpha_mask) in copy_pix() 74 !(*cap & dev->fmt_cap->alpha_mask)) in copy_pix() 442 if (p < tpg_g_buffers(tpg) && dev->fmt_cap->data_offset[p]) { in vivid_fillbuff() 443 memset(vbuf, dev->fmt_cap->data_offset[p] & 0xff, in vivid_fillbuff() 444 dev->fmt_cap->data_offset[p]); in vivid_fillbuff() 445 vbuf += dev->fmt_cap->data_offset[p]; in vivid_fillbuff()
|
D | vivid-core.h | 382 const struct vivid_fmt *fmt_cap; member
|
D | vivid-vid-common.c | 777 if (dev->fmt_cap->fourcc != dev->fmt_out->fourcc) in vivid_vid_can_loop()
|
D | vivid-core.c | 1802 dev->fmt_cap = &vivid_formats[0]; in vivid_create_instance() 1808 tpg_s_fourcc(&dev->tpg, dev->fmt_cap->fourcc); in vivid_create_instance()
|
/Linux-v6.6/drivers/media/platform/amlogic/meson-ge2d/ |
D | ge2d.c | 576 struct v4l2_pix_format fmt_cap; in vidioc_try_fmt_cap() local 578 vidioc_setup_cap_fmt(ctx, &fmt_cap); in vidioc_try_fmt_cap() 580 fmt_cap.pixelformat = fmt->fourcc; in vidioc_try_fmt_cap() 582 fmt_cap.bytesperline = max(f->fmt.pix.bytesperline, in vidioc_try_fmt_cap() 583 ALIGN((fmt_cap.width * fmt->depth) >> 3, 8)); in vidioc_try_fmt_cap() 585 fmt_cap.sizeimage = max(f->fmt.pix.sizeimage, in vidioc_try_fmt_cap() 586 fmt_cap.height * fmt_cap.bytesperline); in vidioc_try_fmt_cap() 588 f->fmt.pix = fmt_cap; in vidioc_try_fmt_cap()
|
/Linux-v6.6/drivers/media/spi/ |
D | gs1662.c | 72 static const struct v4l2_dv_timings fmt_cap[] = { variable 328 if (timings->index >= ARRAY_SIZE(fmt_cap)) in gs_enum_dv_timings() 334 timings->timings = fmt_cap[timings->index]; in gs_enum_dv_timings()
|