Lines Matching refs:bit_depth
88 hantro_check_depth_match(const struct hantro_fmt *fmt, int bit_depth) in hantro_check_depth_match() argument
96 if (!bit_depth) in hantro_check_depth_match()
97 bit_depth = HANTRO_DEFAULT_BIT_DEPTH; in hantro_check_depth_match()
106 return fmt_depth <= bit_depth; in hantro_check_depth_match()
108 return fmt_depth == bit_depth; in hantro_check_depth_match()
131 int bit_depth, bool need_postproc) in hantro_get_default_fmt() argument
140 hantro_check_depth_match(&formats[i], bit_depth)) in hantro_get_default_fmt()
148 hantro_check_depth_match(&formats[i], bit_depth)) in hantro_get_default_fmt()
225 if (!hantro_check_depth_match(fmt, ctx->bit_depth)) in vidioc_enum_fmt()
245 if (!hantro_check_depth_match(fmt, ctx->bit_depth)) in vidioc_enum_fmt()
421 hantro_reset_raw_fmt(struct hantro_ctx *ctx, int bit_depth, bool need_postproc) in hantro_reset_raw_fmt() argument
427 raw_vpu_fmt = hantro_get_default_fmt(ctx, false, bit_depth, need_postproc); in hantro_reset_raw_fmt()
447 ctx->bit_depth = bit_depth; in hantro_reset_raw_fmt()