Searched refs:fmt_cap (Results 1 – 11 of 11) sorted by relevance
/linux-5.19.10/drivers/media/platform/qcom/venus/ |
D | venc.c | 255 pixfmt_cap = inst->fmt_cap->pixfmt; in venc_s_fmt() 292 inst->fmt_cap = fmt; in venc_s_fmt() 306 fmt = inst->fmt_cap; in venc_g_fmt() 627 if (inst->fmt_cap->pixfmt == V4L2_PIX_FMT_H264) { in venc_set_properties() 675 if (inst->fmt_cap->pixfmt == V4L2_PIX_FMT_H264 || in venc_set_properties() 676 inst->fmt_cap->pixfmt == V4L2_PIX_FMT_HEVC) { in venc_set_properties() 689 if (inst->fmt_cap->pixfmt == V4L2_PIX_FMT_HEVC) { in venc_set_properties() 774 if (inst->fmt_cap->pixfmt == V4L2_PIX_FMT_H264 || in venc_set_properties() 775 inst->fmt_cap->pixfmt == V4L2_PIX_FMT_HEVC) { in venc_set_properties() 801 if (inst->fmt_cap->pixfmt == V4L2_PIX_FMT_HEVC) { in venc_set_properties() [all …]
|
D | vdec.c | 267 fmt = inst->fmt_cap; in vdec_g_fmt() 319 pixfmt_cap = inst->fmt_cap->pixfmt; in vdec_s_fmt() 361 inst->fmt_cap = fmt; in vdec_s_fmt() 730 ret = venus_helper_get_out_fmts(inst, inst->fmt_cap->pixfmt, &out_fmt, in vdec_output_conf() 886 *num_planes != inst->fmt_cap->num_planes) in vdec_queue_setup() 939 *num_planes = inst->fmt_cap->num_planes; in vdec_queue_setup() 940 sizes[0] = venus_helper_get_framesz(inst->fmt_cap->pixfmt, in vdec_queue_setup() 1430 format.fmt.pix_mp.pixelformat = inst->fmt_cap->pixfmt; in vdec_event_change() 1556 inst->fmt_cap = &vdec_formats[0]; in vdec_inst_init()
|
D | core.h | 437 const struct venus_format *fmt_cap; member
|
D | helpers.c | 643 params.hfi_color_fmt = to_hfi_raw_fmt(inst->fmt_cap->pixfmt); in platform_get_bufreq() 653 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-5.19.10/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-5.19.10/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()
|
/linux-5.19.10/drivers/media/test-drivers/vivid/ |
D | vivid-vid-cap.c | 117 dev->fmt_cap->data_offset[p]) in vid_cap_queue_setup() 123 dev->fmt_cap->vdownsampling[p] + in vid_cap_queue_setup() 124 dev->fmt_cap->data_offset[p]; in vid_cap_queue_setup() 148 if (WARN_ON(NULL == dev->fmt_cap)) in vid_cap_buf_prepare() 162 dev->fmt_cap->vdownsampling[p] + in vid_cap_buf_prepare() 163 dev->fmt_cap->data_offset[p]; in vid_cap_buf_prepare() 172 vb->planes[p].data_offset = dev->fmt_cap->data_offset[p]; in vid_cap_buf_prepare() 533 mp->pixelformat = dev->fmt_cap->fourcc; in vivid_g_fmt_vid_cap() 536 if (dev->fmt_cap->color_enc == TGP_COLOR_ENC_HSV) in vivid_g_fmt_vid_cap() 541 mp->num_planes = dev->fmt_cap->buffers; in vivid_g_fmt_vid_cap() [all …]
|
D | vivid-kthread-cap.c | 87 if (dev->fmt_cap->alpha_mask) { in copy_pix() 92 *cap & dev->fmt_cap->alpha_mask) in copy_pix() 95 !(*cap & dev->fmt_cap->alpha_mask)) in copy_pix() 463 if (p < tpg_g_buffers(tpg) && dev->fmt_cap->data_offset[p]) { in vivid_fillbuff() 464 memset(vbuf, dev->fmt_cap->data_offset[p] & 0xff, in vivid_fillbuff() 465 dev->fmt_cap->data_offset[p]); in vivid_fillbuff() 466 vbuf += dev->fmt_cap->data_offset[p]; in vivid_fillbuff() 735 dev->fb_cap.fmt.pixelformat == dev->fmt_cap->fourcc) in vivid_thread_vid_cap_tick()
|
D | vivid-core.h | 396 const struct vivid_fmt *fmt_cap; member
|
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() 1868 dev->fb_cap.fmt.pixelformat = dev->fmt_cap->fourcc; in vivid_create_instance()
|
D | vivid-vid-common.c | 762 if (dev->fmt_cap->fourcc != dev->fmt_out->fourcc) in vivid_vid_can_loop()
|