Lines Matching refs:num_fmts
37 hantro_get_formats(const struct hantro_ctx *ctx, unsigned int *num_fmts) in hantro_get_formats() argument
43 *num_fmts = ctx->dev->variant->num_enc_fmts; in hantro_get_formats()
46 *num_fmts = ctx->dev->variant->num_dec_fmts; in hantro_get_formats()
54 unsigned int *num_fmts) in hantro_get_postproc_formats() argument
59 *num_fmts = 0; in hantro_get_postproc_formats()
63 *num_fmts = ctx->dev->variant->num_postproc_fmts; in hantro_get_postproc_formats()
107 unsigned int i, num_fmts; in hantro_find_format() local
109 formats = hantro_get_formats(ctx, &num_fmts); in hantro_find_format()
110 for (i = 0; i < num_fmts; i++) in hantro_find_format()
114 formats = hantro_get_postproc_formats(ctx, &num_fmts); in hantro_find_format()
115 for (i = 0; i < num_fmts; i++) in hantro_find_format()
125 unsigned int i, num_fmts; in hantro_get_default_fmt() local
127 formats = hantro_get_formats(ctx, &num_fmts); in hantro_get_default_fmt()
128 for (i = 0; i < num_fmts; i++) { in hantro_get_default_fmt()
184 unsigned int num_fmts, i, j = 0; in vidioc_enum_fmt() local
199 formats = hantro_get_formats(ctx, &num_fmts); in vidioc_enum_fmt()
200 for (i = 0; i < num_fmts; i++) { in vidioc_enum_fmt()
222 formats = hantro_get_postproc_formats(ctx, &num_fmts); in vidioc_enum_fmt()
223 for (i = 0; i < num_fmts; i++) { in vidioc_enum_fmt()