Lines Matching refs:max_h
122 #define CODA_CODEC(mode, src_fourcc, dst_fourcc, max_w, max_h) \ argument
123 { mode, src_fourcc, dst_fourcc, max_w, max_h }
303 int *max_w, int *max_h) in coda_get_max_dimensions() argument
312 h = codec->max_h; in coda_get_max_dimensions()
316 h = max(h, codecs[k].max_h); in coda_get_max_dimensions()
322 if (max_h) in coda_get_max_dimensions()
323 *max_h = h; in coda_get_max_dimensions()
524 unsigned int max_w, max_h; in coda_try_fmt() local
537 coda_get_max_dimensions(dev, codec, &max_w, &max_h); in coda_try_fmt()
539 &f->fmt.pix.height, MIN_H, max_h, H_ALIGN, in coda_try_fmt()
1184 fsize->stepwise.max_height = codec->max_h; in coda_enum_framesizes()
1523 unsigned int max_w, max_h, usize, csize; in set_default_params() local
1528 max_h = min(ctx->codec->max_h, 1088U); in set_default_params()
1529 usize = max_w * max_h * 3 / 2; in set_default_params()
1530 csize = coda_estimate_sizeimage(ctx, usize, max_w, max_h); in set_default_params()
1546 ctx->q_data[V4L2_M2M_SRC].height = max_h; in set_default_params()
1548 ctx->q_data[V4L2_M2M_DST].height = max_h; in set_default_params()
1561 ctx->q_data[V4L2_M2M_SRC].rect.height = max_h; in set_default_params()
1563 ctx->q_data[V4L2_M2M_DST].rect.height = max_h; in set_default_params()