Lines Matching refs:pixfmt
36 .pixfmt = V4L2_PIX_FMT_NV12,
40 .pixfmt = V4L2_PIX_FMT_MPEG4,
44 .pixfmt = V4L2_PIX_FMT_H263,
48 .pixfmt = V4L2_PIX_FMT_H264,
52 .pixfmt = V4L2_PIX_FMT_VP8,
56 .pixfmt = V4L2_PIX_FMT_HEVC,
63 find_format(struct venus_inst *inst, u32 pixfmt, u32 type) in find_format() argument
70 if (fmt[i].pixfmt == pixfmt) in find_format()
78 !venus_helper_check_codec(inst, fmt[i].pixfmt)) in find_format()
100 venus_helper_check_codec(inst, fmt[i].pixfmt); in find_format_by_index()
161 f->pixelformat = fmt->pixfmt; in venc_enum_fmt()
255 pixfmt_cap = inst->fmt_cap->pixfmt; in venc_s_fmt()
258 pixfmt_out = inst->fmt_out->pixfmt; in venc_s_fmt()
312 pixmp->pixelformat = fmt->pixfmt; in venc_g_fmt()
627 if (inst->fmt_cap->pixfmt == V4L2_PIX_FMT_H264) { in venc_set_properties()
675 if (inst->fmt_cap->pixfmt == V4L2_PIX_FMT_H264 || in venc_set_properties()
676 inst->fmt_cap->pixfmt == V4L2_PIX_FMT_HEVC) { in venc_set_properties()
689 if (inst->fmt_cap->pixfmt == V4L2_PIX_FMT_HEVC) { in venc_set_properties()
774 if (inst->fmt_cap->pixfmt == V4L2_PIX_FMT_H264 || in venc_set_properties()
775 inst->fmt_cap->pixfmt == V4L2_PIX_FMT_HEVC) { in venc_set_properties()
801 if (inst->fmt_cap->pixfmt == V4L2_PIX_FMT_HEVC) { in venc_set_properties()
816 if (inst->fmt_cap->pixfmt == V4L2_PIX_FMT_HEVC) { in venc_set_properties()
868 if (inst->fmt_cap->pixfmt == V4L2_PIX_FMT_H264 || in venc_set_properties()
869 inst->fmt_cap->pixfmt == V4L2_PIX_FMT_HEVC) { in venc_set_properties()
880 if ((inst->fmt_cap->pixfmt == V4L2_PIX_FMT_H264 || in venc_set_properties()
881 inst->fmt_cap->pixfmt == V4L2_PIX_FMT_HEVC) && in venc_set_properties()
936 ret = venus_helper_set_color_format(inst, inst->fmt_out->pixfmt); in venc_init_session()
1030 sizes[0] = venus_helper_get_framesz(inst->fmt_out->pixfmt, in venc_queue_setup()
1039 sizes[0] = venus_helper_get_framesz(inst->fmt_cap->pixfmt, in venc_queue_setup()