Home
last modified time | relevance | path

Searched refs:fmt_cap (Results 1 – 10 of 10) sorted by relevance

/drivers/media/test-drivers/vivid/
Dvivid-vid-cap.c117 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()
539 mp->pixelformat = dev->fmt_cap->fourcc; in vivid_g_fmt_vid_cap()
542 if (dev->fmt_cap->color_enc == TGP_COLOR_ENC_HSV) in vivid_g_fmt_vid_cap()
547 mp->num_planes = dev->fmt_cap->buffers; in vivid_g_fmt_vid_cap()
[all …]
Dvivid-kthread-cap.c86 if (dev->fmt_cap->alpha_mask) { in copy_pix()
91 *cap & dev->fmt_cap->alpha_mask) in copy_pix()
94 !(*cap & dev->fmt_cap->alpha_mask)) in copy_pix()
461 if (p < tpg_g_buffers(tpg) && dev->fmt_cap->data_offset[p]) { in vivid_fillbuff()
462 memset(vbuf, dev->fmt_cap->data_offset[p] & 0xff, in vivid_fillbuff()
463 dev->fmt_cap->data_offset[p]); in vivid_fillbuff()
464 vbuf += dev->fmt_cap->data_offset[p]; in vivid_fillbuff()
733 dev->fb_cap.fmt.pixelformat == dev->fmt_cap->fourcc) in vivid_thread_vid_cap_tick()
Dvivid-core.h398 const struct vivid_fmt *fmt_cap; member
Dvivid-core.c1762 dev->fmt_cap = &vivid_formats[0]; in vivid_create_instance()
1768 tpg_s_fourcc(&dev->tpg, dev->fmt_cap->fourcc); in vivid_create_instance()
1828 dev->fb_cap.fmt.pixelformat = dev->fmt_cap->fourcc; in vivid_create_instance()
Dvivid-vid-common.c762 if (dev->fmt_cap->fourcc != dev->fmt_out->fourcc) in vivid_vid_can_loop()
/drivers/media/platform/qcom/venus/
Dvenc.c253 pixfmt_cap = inst->fmt_cap->pixfmt; in venc_s_fmt()
290 inst->fmt_cap = fmt; in venc_s_fmt()
304 fmt = inst->fmt_cap; in venc_g_fmt()
557 if (inst->fmt_cap->pixfmt == V4L2_PIX_FMT_H264) { in venc_set_properties()
729 ret = hfi_session_init(inst, inst->fmt_cap->pixfmt); in venc_init_session()
794 *num_planes != inst->fmt_cap->num_planes) in venc_queue_setup()
826 *num_planes = inst->fmt_cap->num_planes; in venc_queue_setup()
829 sizes[0] = venus_helper_get_framesz(inst->fmt_cap->pixfmt, in venc_queue_setup()
1033 inst->fmt_cap = &venc_formats[2]; in venc_inst_init()
Dvdec.c244 fmt = inst->fmt_cap; in vdec_g_fmt()
296 pixfmt_cap = inst->fmt_cap->pixfmt; in vdec_s_fmt()
334 inst->fmt_cap = fmt; in vdec_s_fmt()
676 ret = venus_helper_get_out_fmts(inst, inst->fmt_cap->pixfmt, &out_fmt, in vdec_output_conf()
831 *num_planes != inst->fmt_cap->num_planes) in vdec_queue_setup()
874 *num_planes = inst->fmt_cap->num_planes; in vdec_queue_setup()
875 sizes[0] = venus_helper_get_framesz(inst->fmt_cap->pixfmt, in vdec_queue_setup()
1356 format.fmt.pix_mp.pixelformat = inst->fmt_cap->pixfmt; in vdec_event_change()
1458 inst->fmt_cap = &vdec_formats[0]; in vdec_inst_init()
Dcore.h397 const struct venus_format *fmt_cap; member
Dhelpers.c1056 inst->fmt_out->pixfmt : inst->fmt_cap->pixfmt; in venus_helper_init_codec_freq_data()
/drivers/media/spi/
Dgs1662.c72 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()