Home
last modified time | relevance | path

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

/drivers/media/platform/qcom/venus/
Dvenc.c352 pixfmt_cap = inst->fmt_cap->pixfmt; in venc_s_fmt()
389 inst->fmt_cap = fmt; in venc_s_fmt()
401 fmt = inst->fmt_cap; in venc_g_fmt()
642 if (inst->fmt_cap->pixfmt == V4L2_PIX_FMT_H264) { in venc_set_properties()
718 if (inst->fmt_cap->pixfmt == V4L2_PIX_FMT_H264) { in venc_set_properties()
723 } else if (inst->fmt_cap->pixfmt == V4L2_PIX_FMT_VP8) { in venc_set_properties()
727 } else if (inst->fmt_cap->pixfmt == V4L2_PIX_FMT_MPEG4) { in venc_set_properties()
732 } else if (inst->fmt_cap->pixfmt == V4L2_PIX_FMT_H263) { in venc_set_properties()
752 ret = hfi_session_init(inst, inst->fmt_cap->pixfmt); in venc_init_session()
808 *num_planes != inst->fmt_cap->num_planes) in venc_queue_setup()
[all …]
Dvdec.c224 fmt = inst->fmt_cap; in vdec_g_fmt()
236 format.fmt.pix_mp.pixelformat = inst->fmt_cap->pixfmt; in vdec_g_fmt()
280 pixfmt_cap = inst->fmt_cap->pixfmt; in vdec_s_fmt()
317 inst->fmt_cap = fmt; in vdec_s_fmt()
595 ret = venus_helper_set_color_format(inst, inst->fmt_cap->pixfmt); in vdec_init_session()
637 *num_planes != inst->fmt_cap->num_planes) in vdec_queue_setup()
666 *num_planes = inst->fmt_cap->num_planes; in vdec_queue_setup()
895 inst->fmt_cap = &vdec_formats[0]; in vdec_inst_init()
Dcore.h271 const struct venus_format *fmt_cap; member
/drivers/media/spi/
Dgs1662.c76 static const struct v4l2_dv_timings fmt_cap[] = { variable
320 if (timings->index >= ARRAY_SIZE(fmt_cap)) in gs_enum_dv_timings()
326 timings->timings = fmt_cap[timings->index]; in gs_enum_dv_timings()
/drivers/media/platform/vivid/
Dvivid-kthread-cap.c97 if (dev->fmt_cap->alpha_mask) { in copy_pix()
102 *cap & dev->fmt_cap->alpha_mask) in copy_pix()
105 !(*cap & dev->fmt_cap->alpha_mask)) in copy_pix()
478 if (p < tpg_g_buffers(tpg) && dev->fmt_cap->data_offset[p]) { in vivid_fillbuff()
479 memset(vbuf, dev->fmt_cap->data_offset[p] & 0xff, in vivid_fillbuff()
480 dev->fmt_cap->data_offset[p]); in vivid_fillbuff()
481 vbuf += dev->fmt_cap->data_offset[p]; in vivid_fillbuff()
725 dev->fb_cap.fmt.pixelformat == dev->fmt_cap->fourcc) in vivid_thread_vid_cap_tick()
Dvivid-vid-cap.c136 dev->fmt_cap->data_offset[p]) in vid_cap_queue_setup()
142 dev->fmt_cap->data_offset[p]; in vid_cap_queue_setup()
166 if (WARN_ON(NULL == dev->fmt_cap)) in vid_cap_buf_prepare()
179 dev->fmt_cap->data_offset[p]; in vid_cap_buf_prepare()
188 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()
552 dev->fmt_cap->data_offset[p]; in vivid_g_fmt_vid_cap()
676 dev->fmt_cap = vivid_get_format(dev, mp->pixelformat); in vivid_s_fmt_vid_cap()
[all …]
Dvivid-core.h382 const struct vivid_fmt *fmt_cap; member
Dvivid-core.c965 dev->fmt_cap = &vivid_formats[0]; in vivid_create_instance()
971 tpg_s_fourcc(&dev->tpg, dev->fmt_cap->fourcc); in vivid_create_instance()
1026 dev->fb_cap.fmt.pixelformat = dev->fmt_cap->fourcc; in vivid_create_instance()
Dvivid-vid-common.c574 if (dev->fmt_cap->fourcc != dev->fmt_out->fourcc) in vivid_vid_can_loop()