Lines Matching defs:width
85 int width, height;
203 static int device_init(AVFormatContext *ctx, int *width, int *height,
210 fmt.fmt.pix.width = *width;
220 if ((*width != fmt.fmt.pix.width) || (*height != fmt.fmt.pix.height)) {
223 *width, *height, fmt.fmt.pix.width, fmt.fmt.pix.height);
224 *width = fmt.fmt.pix.width;
269 vfse.discrete.width, vfse.discrete.height);
779 int *width,
789 ret = device_init(ctx, width, height, *desired_format);
806 ret = device_init(ctx, width, height, *desired_format);
921 if (!s->width && !s->height) {
933 s->width = fmt.fmt.pix.width;
936 "Setting frame size to %dx%d\n", s->width, s->height);
939 res = device_try_init(ctx, pix_fmt, &s->width, &s->height, &desired_format, &codec_id);
950 if ((res = av_image_check_size(s->width, s->height, 0, ctx)) < 0)
961 s->width, s->height, 1);
981 st->codecpar->width = s->width;
1105 { "video_size", "set frame size", OFFSET(width), AV_OPT_TYPE_IMAGE_SIZE, {.str = NULL}, 0, 0, DEC },