Lines Matching refs:num_fmts

40 hantro_get_formats(const struct hantro_ctx *ctx, unsigned int *num_fmts, bool need_postproc)  in hantro_get_formats()  argument
45 *num_fmts = 0; in hantro_get_formats()
51 *num_fmts = ctx->dev->variant->num_enc_fmts; in hantro_get_formats()
54 *num_fmts = ctx->dev->variant->num_dec_fmts; in hantro_get_formats()
62 unsigned int *num_fmts) in hantro_get_postproc_formats() argument
67 *num_fmts = 0; in hantro_get_postproc_formats()
71 *num_fmts = ctx->dev->variant->num_postproc_fmts; in hantro_get_postproc_formats()
115 unsigned int i, num_fmts; in hantro_find_format() local
117 formats = hantro_get_formats(ctx, &num_fmts, HANTRO_AUTO_POSTPROC); in hantro_find_format()
118 for (i = 0; i < num_fmts; i++) in hantro_find_format()
122 formats = hantro_get_postproc_formats(ctx, &num_fmts); in hantro_find_format()
123 for (i = 0; i < num_fmts; i++) in hantro_find_format()
134 unsigned int i, num_fmts; in hantro_get_default_fmt() local
136 formats = hantro_get_formats(ctx, &num_fmts, need_postproc); in hantro_get_default_fmt()
137 for (i = 0; i < num_fmts; i++) { in hantro_get_default_fmt()
144 formats = hantro_get_postproc_formats(ctx, &num_fmts); in hantro_get_default_fmt()
145 for (i = 0; i < num_fmts; i++) { in hantro_get_default_fmt()
203 unsigned int num_fmts, i, j = 0; in vidioc_enum_fmt() local
218 formats = hantro_get_formats(ctx, &num_fmts, HANTRO_AUTO_POSTPROC); in vidioc_enum_fmt()
219 for (i = 0; i < num_fmts; i++) { in vidioc_enum_fmt()
241 formats = hantro_get_postproc_formats(ctx, &num_fmts); in vidioc_enum_fmt()
242 for (i = 0; i < num_fmts; i++) { in vidioc_enum_fmt()