Searched refs:fmt_cap (Results 1 – 4 of 4) sorted by relevance
259 pixfmt_cap = inst->fmt_cap->pixfmt; in venc_s_fmt()296 inst->fmt_cap = fmt; in venc_s_fmt()310 fmt = inst->fmt_cap; in venc_g_fmt()690 if (inst->fmt_cap->pixfmt == V4L2_PIX_FMT_H264) { in venc_set_properties()761 if (inst->fmt_cap->pixfmt == V4L2_PIX_FMT_H264 || in venc_set_properties()762 inst->fmt_cap->pixfmt == V4L2_PIX_FMT_HEVC) { in venc_set_properties()775 if (inst->fmt_cap->pixfmt == V4L2_PIX_FMT_HEVC && in venc_set_properties()876 if (inst->fmt_cap->pixfmt == V4L2_PIX_FMT_H264 || in venc_set_properties()877 inst->fmt_cap->pixfmt == V4L2_PIX_FMT_HEVC) { in venc_set_properties()890 if (inst->fmt_cap->pixfmt == V4L2_PIX_FMT_HEVC) { in venc_set_properties()[all …]
291 fmt = inst->fmt_cap; in vdec_g_fmt()341 pixfmt_cap = inst->fmt_cap->pixfmt; in vdec_s_fmt()383 inst->fmt_cap = fmt; in vdec_s_fmt()779 ret = venus_helper_get_out_fmts(inst, inst->fmt_cap->pixfmt, &out_fmt, in vdec_output_conf()935 *num_planes != inst->fmt_cap->num_planes) in vdec_queue_setup()988 *num_planes = inst->fmt_cap->num_planes; in vdec_queue_setup()989 sizes[0] = venus_helper_get_framesz(inst->fmt_cap->pixfmt, in vdec_queue_setup()1489 format.fmt.pix_mp.pixelformat = inst->fmt_cap->pixfmt; in vdec_event_change()1524 inst->fmt_cap = &vdec_formats[VENUS_FMT_P010]; in vdec_event_change()1526 inst->fmt_cap = &vdec_formats[VENUS_FMT_NV12]; in vdec_event_change()[all …]
579 struct v4l2_pix_format fmt_cap; in vidioc_try_fmt_cap() local581 vidioc_setup_cap_fmt(ctx, &fmt_cap); in vidioc_try_fmt_cap()583 fmt_cap.pixelformat = fmt->fourcc; in vidioc_try_fmt_cap()585 fmt_cap.bytesperline = max(f->fmt.pix.bytesperline, in vidioc_try_fmt_cap()586 ALIGN((fmt_cap.width * fmt->depth) >> 3, 8)); in vidioc_try_fmt_cap()588 fmt_cap.sizeimage = max(f->fmt.pix.sizeimage, in vidioc_try_fmt_cap()589 fmt_cap.height * fmt_cap.bytesperline); in vidioc_try_fmt_cap()591 f->fmt.pix = fmt_cap; in vidioc_try_fmt_cap()
64 static const struct v4l2_dv_timings fmt_cap[] = { variable329 if (timings->index >= ARRAY_SIZE(fmt_cap)) in gs_enum_dv_timings()335 timings->timings = fmt_cap[timings->index]; in gs_enum_dv_timings()