Lines Matching refs:max_w
122 #define CODA_CODEC(mode, src_fourcc, dst_fourcc, max_w, max_h) \ argument
123 { mode, src_fourcc, dst_fourcc, max_w, max_h }
340 int *max_w, int *max_h) in coda_get_max_dimensions() argument
348 w = codec->max_w; in coda_get_max_dimensions()
352 w = max(w, codecs[k].max_w); in coda_get_max_dimensions()
357 if (max_w) in coda_get_max_dimensions()
358 *max_w = w; in coda_get_max_dimensions()
591 unsigned int max_w, max_h; in coda_try_fmt() local
604 coda_get_max_dimensions(dev, codec, &max_w, &max_h); in coda_try_fmt()
605 v4l_bound_align_image(&f->fmt.pix.width, MIN_W, max_w, W_ALIGN, in coda_try_fmt()
1305 fsize->stepwise.max_width = codec->max_w; in coda_enum_framesizes()
1339 if (f->width < MIN_W || f->width > codec->max_w || in coda_enum_frameintervals()
1654 unsigned int max_w, max_h, usize, csize; in set_default_params() local
1658 max_w = min(ctx->codec->max_w, 1920U); in set_default_params()
1660 usize = max_w * max_h * 3 / 2; in set_default_params()
1661 csize = coda_estimate_sizeimage(ctx, usize, max_w, max_h); in set_default_params()
1681 ctx->q_data[V4L2_M2M_SRC].width = max_w; in set_default_params()
1683 ctx->q_data[V4L2_M2M_DST].width = max_w; in set_default_params()
1686 ctx->q_data[V4L2_M2M_SRC].bytesperline = max_w; in set_default_params()
1693 ctx->q_data[V4L2_M2M_DST].bytesperline = max_w; in set_default_params()
1696 ctx->q_data[V4L2_M2M_SRC].rect.width = max_w; in set_default_params()
1698 ctx->q_data[V4L2_M2M_DST].rect.width = max_w; in set_default_params()