Home
last modified time | relevance | path

Searched refs:vpu_fmt (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/drivers/media/platform/chips-media/wave5/
Dwave5-vpu-enc.c350 const struct vpu_format *vpu_fmt; in wave5_vpu_enc_enum_framesizes() local
355 vpu_fmt = wave5_find_vpu_fmt(fsize->pixel_format, enc_fmt_list[VPU_FMT_TYPE_CODEC]); in wave5_vpu_enc_enum_framesizes()
356 if (!vpu_fmt) { in wave5_vpu_enc_enum_framesizes()
357 vpu_fmt = wave5_find_vpu_fmt(fsize->pixel_format, enc_fmt_list[VPU_FMT_TYPE_RAW]); in wave5_vpu_enc_enum_framesizes()
358 if (!vpu_fmt) in wave5_vpu_enc_enum_framesizes()
363 fsize->stepwise.min_width = vpu_fmt->min_width; in wave5_vpu_enc_enum_framesizes()
364 fsize->stepwise.max_width = vpu_fmt->max_width; in wave5_vpu_enc_enum_framesizes()
366 fsize->stepwise.min_height = vpu_fmt->min_height; in wave5_vpu_enc_enum_framesizes()
367 fsize->stepwise.max_height = vpu_fmt->max_height; in wave5_vpu_enc_enum_framesizes()
376 const struct vpu_format *vpu_fmt; in wave5_vpu_enc_enum_fmt_cap() local
[all …]
Dwave5-vpu-dec.c535 const struct vpu_format *vpu_fmt; in wave5_vpu_dec_enum_framesizes() local
540 vpu_fmt = wave5_find_vpu_fmt(fsize->pixel_format, dec_fmt_list[VPU_FMT_TYPE_CODEC]); in wave5_vpu_dec_enum_framesizes()
541 if (!vpu_fmt) { in wave5_vpu_dec_enum_framesizes()
542 vpu_fmt = wave5_find_vpu_fmt(fsize->pixel_format, dec_fmt_list[VPU_FMT_TYPE_RAW]); in wave5_vpu_dec_enum_framesizes()
543 if (!vpu_fmt) in wave5_vpu_dec_enum_framesizes()
548 fsize->stepwise.min_width = vpu_fmt->min_width; in wave5_vpu_dec_enum_framesizes()
549 fsize->stepwise.max_width = vpu_fmt->max_width; in wave5_vpu_dec_enum_framesizes()
551 fsize->stepwise.min_height = vpu_fmt->min_height; in wave5_vpu_dec_enum_framesizes()
552 fsize->stepwise.max_height = vpu_fmt->max_height; in wave5_vpu_dec_enum_framesizes()
560 const struct vpu_format *vpu_fmt; in wave5_vpu_dec_enum_fmt_cap() local
[all …]
/linux-6.12.1/drivers/media/platform/verisilicon/
Dhantro_v4l2.c300 const struct hantro_fmt *vpu_fmt; in hantro_try_fmt() local
316 vpu_fmt = fmt; in hantro_try_fmt()
318 vpu_fmt = hantro_find_format(ctx, ctx->dst_fmt.pixelformat); in hantro_try_fmt()
326 vpu_fmt = fmt; in hantro_try_fmt()
332 &vpu_fmt->frmsize); in hantro_try_fmt()
385 const struct hantro_fmt *vpu_fmt) in hantro_reset_fmt() argument
389 fmt->pixelformat = vpu_fmt->fourcc; in hantro_reset_fmt()
400 const struct hantro_fmt *vpu_fmt; in hantro_reset_encoded_fmt() local
403 vpu_fmt = hantro_get_default_fmt(ctx, true, HANTRO_DEFAULT_BIT_DEPTH, HANTRO_AUTO_POSTPROC); in hantro_reset_encoded_fmt()
404 if (!vpu_fmt) in hantro_reset_encoded_fmt()
[all …]