Lines Matching refs:max_w
114 #define CODA_CODEC(mode, src_fourcc, dst_fourcc, max_w, max_h) \ argument
115 { mode, src_fourcc, dst_fourcc, max_w, max_h }
273 int *max_w, int *max_h) in coda_get_max_dimensions() argument
281 w = codec->max_w; in coda_get_max_dimensions()
285 w = max(w, codecs[k].max_w); in coda_get_max_dimensions()
290 if (max_w) in coda_get_max_dimensions()
291 *max_w = w; in coda_get_max_dimensions()
432 unsigned int max_w, max_h; in coda_try_fmt() local
445 coda_get_max_dimensions(dev, codec, &max_w, &max_h); in coda_try_fmt()
446 v4l_bound_align_image(&f->fmt.pix.width, MIN_W, max_w, W_ALIGN, in coda_try_fmt()
1088 unsigned int max_w, max_h, usize, csize; in set_default_params() local
1092 max_w = min(ctx->codec->max_w, 1920U); in set_default_params()
1094 usize = max_w * max_h * 3 / 2; in set_default_params()
1095 csize = coda_estimate_sizeimage(ctx, usize, max_w, max_h); in set_default_params()
1104 ctx->q_data[V4L2_M2M_SRC].width = max_w; in set_default_params()
1106 ctx->q_data[V4L2_M2M_DST].width = max_w; in set_default_params()
1109 ctx->q_data[V4L2_M2M_SRC].bytesperline = max_w; in set_default_params()
1116 ctx->q_data[V4L2_M2M_DST].bytesperline = max_w; in set_default_params()
1119 ctx->q_data[V4L2_M2M_SRC].rect.width = max_w; in set_default_params()
1121 ctx->q_data[V4L2_M2M_DST].rect.width = max_w; in set_default_params()