Lines Matching defs:width
161 int width;
292 int width, height, xleft, ytop;
854 int64_t width, height, x, y;
863 width = av_rescale(height, aspect_ratio.num, aspect_ratio.den) & ~1;
864 if (width > scr_width) {
865 width = scr_width;
866 height = av_rescale(width, aspect_ratio.den, aspect_ratio.num) & ~1;
868 x = (scr_width - width) / 2;
872 rect->w = FFMAX((int)width, 1);
899 if (realloc_texture(tex, sdl_pix_fmt == SDL_PIXELFORMAT_UNKNOWN ? SDL_PIXELFORMAT_ARGB8888 : sdl_pix_fmt, frame->width, frame->height, sdl_blendmode, 0) < 0)
905 frame->width, frame->height, frame->format, frame->width, frame->height,
977 if (!sp->width || !sp->height) {
978 sp->width = vp->width;
981 if (realloc_texture(&is->sub_texture, SDL_PIXELFORMAT_ARGB8888, sp->width, sp->height, SDL_BLENDMODE_BLEND, 1) < 0)
987 sub_rect->x = av_clip(sub_rect->x, 0, sp->width );
989 sub_rect->w = av_clip(sub_rect->w, 0, sp->width - sub_rect->x);
1013 calculate_display_rect(&rect, is->xleft, is->ytop, is->width, is->height, vp->width, vp->height, vp->sar);
1032 double xratio = (double)rect.w / (double)sp->width;
1066 int data_used= s->show_mode == SHOW_MODE_WAVES ? s->width : (2*nb_freq);
1114 for (x = 0; x < s->width; x++) {
1133 fill_rectangle(s->xleft, y, s->width, 1);
1136 if (realloc_texture(&s->vis_texture, SDL_PIXELFORMAT_ARGB8888, s->width, s->height, SDL_BLENDMODE_NONE, 1) < 0)
1139 if (s->xpos >= s->width)
1313 static void set_default_window_size(int width, int height, AVRational sar)
1320 calculate_display_rect(&rect, 0, 0, max_width, max_height, width, height, sar);
1342 is->width = w;
1351 if (!is->width)
1747 vp->width = src_frame->width;
1756 set_default_window_size(vp->width, vp->height, vp->sar);
1876 frame->width, frame->height, frame->format,
2147 if ( last_w != frame->width
2156 frame->width, frame->height,
2174 last_w = frame->width;
2244 sp->width = is->subdec.avctx->width;
2894 if (codecpar->width)
2895 set_default_window_size(codecpar->width, codecpar->height, sar);
3283 if (!cur_stream->width)
3421 stream_seek(cur_stream, size*x/cur_stream->width, 0, 1);
3430 frac = x / cur_stream->width;
3447 screen_width = cur_stream->width = event.window.data1;
3564 { "x", HAS_ARG, { .func_arg = opt_width }, "force displayed width", "width" },
3652 "right mouse click seek to percentage in file corresponding to fraction of width\n"