rect 782 ffplay.c SDL_Rect rect; rect 783 ffplay.c rect.x = x; rect 784 ffplay.c rect.y = y; rect 785 ffplay.c rect.w = w; rect 786 ffplay.c rect.h = h; rect 787 ffplay.c SDL_FillRect(screen, &rect, color); rect 857 ffplay.c static void blend_subrect(AVPicture *dst, const AVSubtitleRect *rect, int imgw, int imgh) rect 866 ffplay.c dstw = av_clip(rect->w, 0, imgw); rect 867 ffplay.c dsth = av_clip(rect->h, 0, imgh); rect 868 ffplay.c dstx = av_clip(rect->x, 0, imgw - dstw); rect 869 ffplay.c dsty = av_clip(rect->y, 0, imgh - dsth); rect 877 ffplay.c wrap3 = rect->pict.linesize[0]; rect 878 ffplay.c p = rect->pict.data[0]; rect 879 ffplay.c pal = (const uint32_t *)rect->pict.data[1]; /* Now in YCrCb! */ rect 1065 ffplay.c static void calculate_display_rect(SDL_Rect *rect, rect 1090 ffplay.c rect->x = scr_xleft + x; rect 1091 ffplay.c rect->y = scr_ytop + y; rect 1092 ffplay.c rect->w = FFMAX(width, 1); rect 1093 ffplay.c rect->h = FFMAX(height, 1); rect 1101 ffplay.c SDL_Rect rect; rect 1130 ffplay.c calculate_display_rect(&rect, is->xleft, is->ytop, is->width, is->height, vp->width, vp->height, vp->sar); rect 1132 ffplay.c SDL_DisplayYUVOverlay(vp->bmp, &rect); rect 1134 ffplay.c if (rect.x != is->last_display_rect.x || rect.y != is->last_display_rect.y || rect.w != is->last_display_rect.w || rect.h != is->last_display_rect.h || is->force_refresh) { rect 1136 ffplay.c fill_border(is->xleft, is->ytop, is->width, is->height, rect.x, rect.y, rect.w, rect.h, bgcolor, 1); rect 1137 ffplay.c is->last_display_rect = rect; rect 1336 ffplay.c SDL_Rect rect; rect 1337 ffplay.c calculate_display_rect(&rect, 0, 0, INT_MAX, height, width, height, sar); rect 1338 ffplay.c default_width = rect.w; rect 1339 ffplay.c default_height = rect.h; rect 762 libavcodec/dvbsubdec.c AVSubtitleRect *rect; rect 815 libavcodec/dvbsubdec.c rect = sub->rects[i]; rect 816 libavcodec/dvbsubdec.c rect->x = display->x_pos + offset_x; rect 817 libavcodec/dvbsubdec.c rect->y = display->y_pos + offset_y; rect 818 libavcodec/dvbsubdec.c rect->w = region->width; rect 819 libavcodec/dvbsubdec.c rect->h = region->height; rect 820 libavcodec/dvbsubdec.c rect->nb_colors = (1 << region->depth); rect 821 libavcodec/dvbsubdec.c rect->type = SUBTITLE_BITMAP; rect 822 libavcodec/dvbsubdec.c rect->pict.linesize[0] = region->width; rect 842 libavcodec/dvbsubdec.c rect->pict.data[1] = av_mallocz(AVPALETTE_SIZE); rect 843 libavcodec/dvbsubdec.c if (!rect->pict.data[1]) { rect 847 libavcodec/dvbsubdec.c memcpy(rect->pict.data[1], clut_table, (1 << region->depth) * sizeof(uint32_t)); rect 849 libavcodec/dvbsubdec.c rect->pict.data[0] = av_malloc(region->buf_size); rect 850 libavcodec/dvbsubdec.c if (!rect->pict.data[0]) { rect 855 libavcodec/dvbsubdec.c memcpy(rect->pict.data[0], region->pbuf, region->buf_size); rect 865 libavcodec/dvbsubdec.c rect = sub->rects[i]; rect 866 libavcodec/dvbsubdec.c if (rect) { rect 867 libavcodec/dvbsubdec.c av_freep(&rect->pict.data[0]); rect 868 libavcodec/dvbsubdec.c av_freep(&rect->pict.data[1]); rect 161 libavcodec/pgssubdec.c static int decode_rle(AVCodecContext *avctx, AVSubtitleRect *rect, rect 169 libavcodec/pgssubdec.c rect->pict.data[0] = av_malloc_array(rect->w, rect->h); rect 171 libavcodec/pgssubdec.c if (!rect->pict.data[0]) rect 177 libavcodec/pgssubdec.c while (buf < rle_bitmap_end && line_count < rect->h) { rect 192 libavcodec/pgssubdec.c if (run > 0 && pixel_count + run <= rect->w * rect->h) { rect 193 libavcodec/pgssubdec.c memset(rect->pict.data[0] + pixel_count, color, run); rect 200 libavcodec/pgssubdec.c if (pixel_count % rect->w > 0) { rect 202 libavcodec/pgssubdec.c pixel_count % rect->w, rect->w); rect 211 libavcodec/pgssubdec.c if (pixel_count < rect->w * rect->h) { rect 216 libavcodec/pgssubdec.c av_dlog(avctx, "Pixel Count = %d, Area = %d\n", pixel_count, rect->w * rect->h); rect 90 libavdevice/gdigrab.c RECT rect; rect 96 libavdevice/gdigrab.c GetClientRect(hwnd, &rect); rect 97 libavdevice/gdigrab.c FrameRect(hdc, &rect, GetStockObject(BLACK_BRUSH)); rect 99 libavdevice/gdigrab.c rect.left++; rect.top++; rect.right--; rect.bottom--; rect 100 libavdevice/gdigrab.c FrameRect(hdc, &rect, GetStockObject(WHITE_BRUSH)); rect 102 libavdevice/gdigrab.c rect.left++; rect.top++; rect.right--; rect.bottom--; rect 103 libavdevice/gdigrab.c FrameRect(hdc, &rect, GetStockObject(BLACK_BRUSH)); rect 124 libavdevice/gdigrab.c RECT rect = gdigrab->clip_rect; rect 131 libavdevice/gdigrab.c rect.left -= REGION_WND_BORDER; rect.top -= REGION_WND_BORDER; rect 132 libavdevice/gdigrab.c rect.right += REGION_WND_BORDER; rect.bottom += REGION_WND_BORDER; rect 134 libavdevice/gdigrab.c AdjustWindowRectEx(&rect, style, FALSE, ex); rect 138 libavdevice/gdigrab.c hwnd = CreateWindowEx(ex, WC_DIALOG, NULL, style, rect.left, rect.top, rect 139 libavdevice/gdigrab.c rect.right - rect.left, rect.bottom - rect.top, rect 147 libavdevice/gdigrab.c GetClientRect(hwnd, &rect); rect 149 libavdevice/gdigrab.c rect.right - rect.left, rect.bottom - rect.top); rect 151 libavdevice/gdigrab.c rect.right - rect.left - REGION_WND_BORDER, rect 152 libavdevice/gdigrab.c rect.bottom - rect.top - REGION_WND_BORDER); rect 465 libavdevice/gdigrab.c RECT rect; rect 467 libavdevice/gdigrab.c if (GetWindowRect(hwnd, &rect)) { rect 468 libavdevice/gdigrab.c pos.x -= rect.left; rect 469 libavdevice/gdigrab.c pos.y -= rect.top; rect 122 libavdevice/x11grab.c XRectangle rect; rect 134 libavdevice/x11grab.c rect.x = 0; rect 135 libavdevice/x11grab.c rect.y = 0; rect 136 libavdevice/x11grab.c rect.width = s->width; rect 137 libavdevice/x11grab.c rect.height = s->height; rect 140 libavdevice/x11grab.c &rect, 1, ShapeSubtract, 0); rect 572 libavdevice/xcbgrab.c xcb_rectangle_t rect = { 0, 0, c->width, c->height }; rect 593 libavdevice/xcbgrab.c 1, &rect); rect 263 libavdevice/xv.c XRectangle rect[2]; rect 268 libavdevice/xv.c rect[0].width = rect[1].width = xv->dest_x; rect 269 libavdevice/xv.c rect[0].height = rect[1].height = window_attrs.height; rect 270 libavdevice/xv.c rect[0].y = rect[1].y = 0; rect 271 libavdevice/xv.c rect[0].x = 0; rect 272 libavdevice/xv.c rect[1].x = xv->dest_w + xv->dest_x; rect 273 libavdevice/xv.c XFillRectangles(xv->display, xv->window, xv->gc, rect, 2); rect 276 libavdevice/xv.c rect[0].width = rect[1].width = window_attrs.width; rect 277 libavdevice/xv.c rect[0].height = rect[1].height = xv->dest_y; rect 278 libavdevice/xv.c rect[0].x = rect[1].x = 0; rect 279 libavdevice/xv.c rect[0].y = 0; rect 280 libavdevice/xv.c rect[1].y = xv->dest_h + xv->dest_y; rect 281 libavdevice/xv.c XFillRectangles(xv->display, xv->window, xv->gc, rect, 2); rect 109 libavfilter/f_ebur128.c struct rect text; ///< rectangle for the LU legend on the left rect 110 libavfilter/f_ebur128.c struct rect graph; ///< rectangle for the main graph in the center rect 111 libavfilter/f_ebur128.c struct rect gauge; ///< rectangle for the gauge on the right rect 117 libavfilter/vf_lenscorrection.c LenscorrectionCtx *rect = ctx->priv; rect 120 libavfilter/vf_lenscorrection.c for (i = 0; i < FF_ARRAY_ELEMS(rect->correction); i++) { rect 121 libavfilter/vf_lenscorrection.c av_freep(&rect->correction[i]); rect 128 libavfilter/vf_lenscorrection.c LenscorrectionCtx *rect = ctx->priv; rect 131 libavfilter/vf_lenscorrection.c rect->hsub = pixdesc->log2_chroma_w; rect 132 libavfilter/vf_lenscorrection.c rect->vsub = pixdesc->log2_chroma_h; rect 133 libavfilter/vf_lenscorrection.c outlink->w = rect->width = inlink->w; rect 134 libavfilter/vf_lenscorrection.c outlink->h = rect->height = inlink->h; rect 135 libavfilter/vf_lenscorrection.c rect->nb_planes = av_pix_fmt_count_planes(inlink->format); rect 143 libavfilter/vf_lenscorrection.c LenscorrectionCtx *rect = (LenscorrectionCtx*)ctx->priv; rect 154 libavfilter/vf_lenscorrection.c for (plane = 0; plane < rect->nb_planes; ++plane) { rect 155 libavfilter/vf_lenscorrection.c int hsub = plane == 1 || plane == 2 ? rect->hsub : 0; rect 156 libavfilter/vf_lenscorrection.c int vsub = plane == 1 || plane == 2 ? rect->vsub : 0; rect 159 libavfilter/vf_lenscorrection.c int w = rect->width / hdiv; rect 160 libavfilter/vf_lenscorrection.c int h = rect->height / vdiv; rect 161 libavfilter/vf_lenscorrection.c int xcenter = rect->cx * w; rect 162 libavfilter/vf_lenscorrection.c int ycenter = rect->cy * h; rect 163 libavfilter/vf_lenscorrection.c int k1 = rect->k1 * (1<<24); rect 164 libavfilter/vf_lenscorrection.c int k2 = rect->k2 * (1<<24); rect 174 libavfilter/vf_lenscorrection.c if (!rect->correction[plane]) { rect 178 libavfilter/vf_lenscorrection.c rect->correction[plane] = av_malloc_array(w, h * sizeof(**rect->correction)); rect 179 libavfilter/vf_lenscorrection.c if (!rect->correction[plane]) rect 189 libavfilter/vf_lenscorrection.c rect->correction[plane][j * w + i] = radius_mult; rect 194 libavfilter/vf_lenscorrection.c td.correction = rect->correction[plane];