/openbmc/linux/drivers/media/platform/nxp/imx-jpeg/ |
H A D | mxc-jpeg.c | 1630 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 D | mtk-mdp3-m2m.c | 128 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 D | mtk-mdp3-regs.c | 157 if (V4L2_TYPE_IS_CAPTURE(f->type)) { in mdp_try_fmt_mplane()
|
/openbmc/linux/drivers/media/platform/verisilicon/ |
H A D | hantro_v4l2.c | 301 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 D | vdec.c | 135 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 D | helpers.c | 1432 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 D | v4l2-mem2mem.c | 593 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 D | v4l2.c | 159 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 D | rkvdec.c | 523 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 D | cedrus_video.c | 501 if (V4L2_TYPE_IS_CAPTURE(vq->type)) in cedrus_buf_prepare()
|
/openbmc/linux/drivers/media/common/videobuf2/ |
H A D | videobuf2-v4l2.c | 101 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 D | mtk_mdp_m2m.c | 196 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 D | vicodec-core.c | 1436 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 D | visl-video.c | 650 if (V4L2_TYPE_IS_CAPTURE(vq->type)) { in visl_start_streaming()
|
/openbmc/linux/drivers/media/platform/samsung/exynos-gsc/ |
H A D | gsc-m2m.c | 256 if (V4L2_TYPE_IS_CAPTURE(vb->vb2_queue->type)) { in gsc_m2m_buf_prepare()
|
H A D | gsc-core.c | 578 if (V4L2_TYPE_IS_CAPTURE(s->type) && in gsc_try_selection()
|
/openbmc/linux/drivers/media/platform/amphion/ |
H A D | vdec.c | 341 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 D | hva-v4l2.c | 1090 (V4L2_TYPE_IS_CAPTURE(vq->type) && in hva_stop_streaming()
|
/openbmc/linux/include/uapi/linux/ |
H A D | videodev2.h | 174 #define V4L2_TYPE_IS_CAPTURE(type) (!V4L2_TYPE_IS_OUTPUT(type)) macro
|
/openbmc/linux/drivers/media/platform/renesas/ |
H A D | rcar_jpu.c | 1057 if (!ctx->encoder && V4L2_TYPE_IS_CAPTURE(vb->vb2_queue->type)) in jpu_buf_prepare()
|
/openbmc/linux/drivers/media/platform/mediatek/jpeg/ |
H A D | mtk_jpeg_core.c | 869 V4L2_TYPE_IS_CAPTURE(q->type)) { in mtk_jpeg_dec_stop_streaming()
|
/openbmc/linux/drivers/media/platform/ti/vpe/ |
H A D | vpe.c | 1579 if (V4L2_TYPE_IS_CAPTURE(f->type)) { in vpe_g_fmt()
|
/openbmc/linux/drivers/media/platform/allegro-dvt/ |
H A D | allegro-core.c | 2813 if (V4L2_TYPE_IS_CAPTURE(q->type) && in allegro_buf_queue()
|
/openbmc/openbmc/meta-raspberrypi/recipes-multimedia/rpidistro-ffmpeg/files/ |
H A D | 0001-ffmpeg-5.1.4-rpi_24.patch | 3239 + 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)) {
|