Home
last modified time | relevance | path

Searched refs:V4L2_TYPE_IS_CAPTURE (Results 1 – 24 of 24) sorted by relevance

/openbmc/linux/drivers/media/platform/nxp/imx-jpeg/
H A Dmxc-jpeg.c1630 if (ctx->mxc_jpeg->mode == MXC_JPEG_DECODE && V4L2_TYPE_IS_CAPTURE(q->type)) in mxc_jpeg_start_streaming()
1635 if (V4L2_TYPE_IS_CAPTURE(q->type)) in mxc_jpeg_start_streaming()
1669 if (V4L2_TYPE_IS_CAPTURE(q->type) && ctx->source_change && ctx->fh.m2m_ctx->last_src_buf) in mxc_jpeg_stop_streaming()
1892 if (V4L2_TYPE_IS_CAPTURE(vb->vb2_queue->type) && in mxc_jpeg_buf_queue()
1954 if (V4L2_TYPE_IS_CAPTURE(vb->vb2_queue->type)) { in mxc_jpeg_buf_prepare()
2217 return V4L2_TYPE_IS_CAPTURE(type) ? MXC_JPEG_FMT_TYPE_ENC : MXC_JPEG_FMT_TYPE_RAW; in mxc_jpeg_get_fmt_type()
2225 return V4L2_TYPE_IS_CAPTURE(type) ? V4L2_PIX_FMT_JPEG : MXC_JPEG_DEFAULT_PFMT; in mxc_jpeg_get_default_fourcc()
2350 if (ctx->mxc_jpeg->mode != MXC_JPEG_DECODE && V4L2_TYPE_IS_CAPTURE(f->type)) in mxc_jpeg_try_fmt_vid_cap()
2377 if (ctx->mxc_jpeg->mode != MXC_JPEG_DECODE || !V4L2_TYPE_IS_CAPTURE(f->type)) in mxc_jpeg_s_parsed_fmt()
/openbmc/linux/drivers/media/platform/mediatek/mdp3/
H A Dmtk-mdp3-m2m.c128 if (V4L2_TYPE_IS_CAPTURE(q->type)) in mdp_m2m_start_streaming()
139 (V4L2_TYPE_IS_CAPTURE(q->type) && out_streaming)) { in mdp_m2m_start_streaming()
223 if (V4L2_TYPE_IS_CAPTURE(vb->type)) { in mdp_m2m_buf_prepare()
H A Dmtk-mdp3-regs.c157 if (V4L2_TYPE_IS_CAPTURE(f->type)) { in mdp_try_fmt_mplane()
/openbmc/linux/drivers/media/platform/verisilicon/
H A Dhantro_v4l2.c301 bool capture = V4L2_TYPE_IS_CAPTURE(type); in hantro_try_fmt()
869 if (V4L2_TYPE_IS_CAPTURE(vq->type)) { in hantro_buf_prepare()
884 if (V4L2_TYPE_IS_CAPTURE(vb->vb2_queue->type) && in hantro_buf_queue()
/openbmc/linux/drivers/media/platform/qcom/venus/
H A Dvdec.c135 if (V4L2_TYPE_IS_CAPTURE(type) && in find_format()
139 if (V4L2_TYPE_IS_CAPTURE(type) && fmt[i].pixfmt == V4L2_PIX_FMT_QC10C && in find_format()
164 } else if (V4L2_TYPE_IS_CAPTURE(type)) { in find_format_by_index()
1369 if (inst->next_buf_last && V4L2_TYPE_IS_CAPTURE(vb->vb2_queue->type) && in vdec_vb2_buf_queue()
H A Dhelpers.c1432 if (!V4L2_TYPE_IS_CAPTURE(type) || in venus_helper_change_dpb_owner()
1507 V4L2_TYPE_IS_CAPTURE(vb->vb2_queue->type) && in venus_helper_vb2_buf_queue()
/openbmc/linux/drivers/media/v4l2-core/
H A Dv4l2-mem2mem.c593 if (buf->memory == V4L2_MEMORY_MMAP && V4L2_TYPE_IS_CAPTURE(vq->type)) { in v4l2_m2m_adjust_mem_offset()
766 if (V4L2_TYPE_IS_CAPTURE(vq->type) && in v4l2_m2m_qbuf()
786 if (V4L2_TYPE_IS_CAPTURE(vq->type) && in v4l2_m2m_qbuf()
/openbmc/linux/drivers/media/platform/nvidia/tegra-vde/
H A Dv4l2.c159 if (V4L2_TYPE_IS_CAPTURE(vq->type) && vb->num_planes > 1) { in tegra_buf_init()
241 if (V4L2_TYPE_IS_CAPTURE(vq->type)) { in tegra_buf_prepare()
/openbmc/linux/drivers/staging/media/rkvdec/
H A Drkvdec.c523 if (V4L2_TYPE_IS_CAPTURE(vq->type)) in rkvdec_buf_prepare()
558 if (V4L2_TYPE_IS_CAPTURE(q->type)) in rkvdec_start_streaming()
/openbmc/linux/drivers/staging/media/sunxi/cedrus/
H A Dcedrus_video.c501 if (V4L2_TYPE_IS_CAPTURE(vq->type)) in cedrus_buf_prepare()
/openbmc/linux/drivers/media/common/videobuf2/
H A Dvideobuf2-v4l2.c101 if (V4L2_TYPE_IS_CAPTURE(b->type)) in __verify_length()
314 if (!vb->vb2_queue->copy_timestamp || V4L2_TYPE_IS_CAPTURE(b->type)) { in vb2_fill_vb2_v4l2_buffer()
/openbmc/linux/drivers/media/platform/mediatek/mdp/
H A Dmtk_mdp_m2m.c196 if (V4L2_TYPE_IS_CAPTURE(f->type)) { in mtk_mdp_try_fmt_mplane()
327 if (V4L2_TYPE_IS_CAPTURE(type) && in mtk_mdp_try_crop()
/openbmc/linux/drivers/media/test-drivers/vicodec/
H A Dvicodec-core.c1436 if (V4L2_TYPE_IS_CAPTURE(vb->vb2_queue->type) && in vicodec_buf_queue()
1473 V4L2_TYPE_IS_CAPTURE(vb->vb2_queue->type)) { in vicodec_buf_queue()
1568 (V4L2_TYPE_IS_CAPTURE(q->type) && ctx->is_enc)) in vicodec_start_streaming()
/openbmc/linux/drivers/media/test-drivers/visl/
H A Dvisl-video.c650 if (V4L2_TYPE_IS_CAPTURE(vq->type)) { in visl_start_streaming()
/openbmc/linux/drivers/media/platform/samsung/exynos-gsc/
H A Dgsc-m2m.c256 if (V4L2_TYPE_IS_CAPTURE(vb->vb2_queue->type)) { in gsc_m2m_buf_prepare()
H A Dgsc-core.c578 if (V4L2_TYPE_IS_CAPTURE(s->type) && in gsc_try_selection()
/openbmc/linux/drivers/media/platform/amphion/
H A Dvdec.c341 if (V4L2_TYPE_IS_CAPTURE(f->type) && vdec->fixed_fmt) { in vdec_enum_fmt()
400 if (V4L2_TYPE_IS_CAPTURE(f->type) && vdec->fixed_fmt) { in vdec_try_fmt()
/openbmc/linux/drivers/media/platform/st/sti/hva/
H A Dhva-v4l2.c1090 (V4L2_TYPE_IS_CAPTURE(vq->type) && in hva_stop_streaming()
/openbmc/linux/include/uapi/linux/
H A Dvideodev2.h174 #define V4L2_TYPE_IS_CAPTURE(type) (!V4L2_TYPE_IS_OUTPUT(type)) macro
/openbmc/linux/drivers/media/platform/renesas/
H A Drcar_jpu.c1057 if (!ctx->encoder && V4L2_TYPE_IS_CAPTURE(vb->vb2_queue->type)) in jpu_buf_prepare()
/openbmc/linux/drivers/media/platform/mediatek/jpeg/
H A Dmtk_jpeg_core.c869 V4L2_TYPE_IS_CAPTURE(q->type)) { in mtk_jpeg_dec_stop_streaming()
/openbmc/linux/drivers/media/platform/ti/vpe/
H A Dvpe.c1579 if (V4L2_TYPE_IS_CAPTURE(f->type)) { in vpe_g_fmt()
/openbmc/linux/drivers/media/platform/allegro-dvt/
H A Dallegro-core.c2813 if (V4L2_TYPE_IS_CAPTURE(q->type) && in allegro_buf_queue()
/openbmc/openbmc/meta-raspberrypi/recipes-multimedia/rpidistro-ffmpeg/files/
H A D0001-ffmpeg-5.1.4-rpi_24.patch3239 + if (V4L2_TYPE_IS_CAPTURE(ctx->type) && !want_mmap) {
3888 + if (V4L2_TYPE_IS_CAPTURE(ctx->type)) {
3994 + const int is_cap = V4L2_TYPE_IS_CAPTURE(ctx->type);
10398 + dmabuf_len_set(be->dh[i], V4L2_TYPE_IS_CAPTURE(f->type) ? planes[i].bytesused : 0);
10401 + dmabuf_len_set(be->dh[0], V4L2_TYPE_IS_CAPTURE(f->type) ? buffer.length : 0);
15936 …nable to set format %s on %s port\n", av_get_pix_fmt_name(avfmt), V4L2_TYPE_IS_CAPTURE(fmt.type) ?…
15940 + av_log(ctx->logctx, AV_LOG_DEBUG, "No supported format on %s port\n", V4L2_TYPE_IS_CAPTURE
16915 + if (V4L2_TYPE_IS_CAPTURE(avbuf->buffer.type)) {