Lines Matching refs:is_enc
118 bool is_enc; member
262 if (ctx->is_enc || ctx->is_stateless) in device_process()
305 if (ctx->is_enc) { in device_process()
431 if (ctx->is_enc || ctx->is_stateless) { in device_run()
452 if (ctx->is_enc) in device_run()
556 v4l2_m2m_buf_copy_metadata(src_buf, dst_buf, !ctx->is_enc); in set_last_buffer()
582 if (ctx->is_stateless || ctx->is_enc || ctx->comp_has_frame) in job_ready()
708 bool is_uncomp = (ctx->is_enc && is_out) || (!ctx->is_enc && !is_out); in enum_fmt()
719 if (ctx->is_enc || in enum_fmt()
736 if (!ctx->is_enc && !ctx->is_stateless) in enum_fmt()
902 pix->pixelformat = ctx->is_enc ? V4L2_PIX_FMT_FWHT : in vidioc_try_fmt_vid_cap()
913 pix_mp->pixelformat = ctx->is_enc ? V4L2_PIX_FMT_FWHT : in vidioc_try_fmt_vid_cap()
939 if (ctx->is_enc) in vidioc_try_fmt_vid_out()
952 if (ctx->is_enc) in vidioc_try_fmt_vid_out()
988 if (ctx->is_enc && V4L2_TYPE_IS_OUTPUT(f->type)) in vidioc_s_fmt()
1011 if (ctx->is_enc && V4L2_TYPE_IS_OUTPUT(f->type)) in vidioc_s_fmt()
1074 if (ctx->is_enc) { in vidioc_s_fmt_vid_out()
1102 if (ctx->is_enc) { in vidioc_s_fmt_vid_out()
1145 if (ctx->is_enc && s->type == V4L2_BUF_TYPE_VIDEO_OUTPUT) { in vidioc_g_selection()
1161 } else if (!ctx->is_enc && s->type == V4L2_BUF_TYPE_VIDEO_CAPTURE) { in vidioc_g_selection()
1194 if (!ctx->is_enc || s->target != V4L2_SEL_TGT_CROP) in vidioc_s_selection()
1306 if (ctx->is_enc) in vicodec_subscribe_event()
1477 if (ctx->is_stateless || ctx->is_enc || in vicodec_buf_queue()
1572 if ((V4L2_TYPE_IS_OUTPUT(q->type) && !ctx->is_enc) || in vicodec_start_streaming()
1573 (V4L2_TYPE_IS_CAPTURE(q->type) && ctx->is_enc)) in vicodec_start_streaming()
1653 if (!ctx->is_enc && V4L2_TYPE_IS_OUTPUT(q->type)) in vicodec_stop_streaming()
1656 if ((!V4L2_TYPE_IS_OUTPUT(q->type) && !ctx->is_enc) || in vicodec_stop_streaming()
1657 (V4L2_TYPE_IS_OUTPUT(q->type) && ctx->is_enc)) { in vicodec_stop_streaming()
1665 if (V4L2_TYPE_IS_OUTPUT(q->type) && !ctx->is_enc) { in vicodec_stop_streaming()
1710 if (ctx->is_enc) in queue_init()
1842 ctx->is_enc = true; in vicodec_open()
1857 if (ctx->is_enc) in vicodec_open()
1871 if (ctx->is_enc) in vicodec_open()
1884 if (ctx->is_enc) in vicodec_open()
1892 if (ctx->is_enc) { in vicodec_open()
1903 if (ctx->is_enc) { in vicodec_open()
2034 const char *name, bool is_enc, bool is_stateless) in register_instance() argument
2054 if (is_enc || is_stateless) { in register_instance()
2058 if (!is_enc) { in register_instance()