rect 833 fftools/ffplay.c SDL_Rect rect; rect 834 fftools/ffplay.c rect.x = x; rect 835 fftools/ffplay.c rect.y = y; rect 836 fftools/ffplay.c rect.w = w; rect 837 fftools/ffplay.c rect.h = h; rect 839 fftools/ffplay.c SDL_RenderFillRect(renderer, &rect); rect 866 fftools/ffplay.c static void calculate_display_rect(SDL_Rect *rect, rect 887 fftools/ffplay.c rect->x = scr_xleft + x; rect 888 fftools/ffplay.c rect->y = scr_ytop + y; rect 889 fftools/ffplay.c rect->w = FFMAX((int)width, 1); rect 890 fftools/ffplay.c rect->h = FFMAX((int)height, 1); rect 982 fftools/ffplay.c SDL_Rect rect; rect 1030 fftools/ffplay.c calculate_display_rect(&rect, is->xleft, is->ytop, is->width, is->height, vp->width, vp->height, vp->sar); rect 1040 fftools/ffplay.c SDL_RenderCopyEx(renderer, is->vid_texture, NULL, &rect, 0, NULL, vp->flip_v ? SDL_FLIP_VERTICAL : 0); rect 1044 fftools/ffplay.c SDL_RenderCopy(renderer, is->sub_texture, NULL, &rect); rect 1047 fftools/ffplay.c double xratio = (double)rect.w / (double)sp->width; rect 1048 fftools/ffplay.c double yratio = (double)rect.h / (double)sp->height; rect 1051 fftools/ffplay.c SDL_Rect target = {.x = rect.x + sub_rect->x * xratio, rect 1052 fftools/ffplay.c .y = rect.y + sub_rect->y * yratio, rect 1167 fftools/ffplay.c SDL_Rect rect = {.x = s->xpos, .y = 0, .w = 1, .h = s->height}; rect 1184 fftools/ffplay.c if (!SDL_LockTexture(s->vis_texture, &rect, (void **)&pixels, &pitch)) { rect 1330 fftools/ffplay.c SDL_Rect rect; rect 1335 fftools/ffplay.c calculate_display_rect(&rect, 0, 0, max_width, max_height, width, height, sar); rect 1336 fftools/ffplay.c default_width = rect.w; rect 1337 fftools/ffplay.c default_height = rect.h; rect 930 libavcodec/decode.c AVSubtitleRect *rect = sub->rects[i]; rect 934 libavcodec/decode.c if (rect->type != SUBTITLE_ASS || !strncmp(rect->ass, "Dialogue: ", 10)) rect 940 libavcodec/decode.c dialog = strchr(rect->ass, ','); rect 969 libavcodec/decode.c av_freep(&rect->ass); rect 970 libavcodec/decode.c rect->ass = final_dialog; rect 654 libavcodec/dvbsubdec.c static void compute_default_clut(DVBSubContext *ctx, uint8_t *clut, AVSubtitleRect *rect, int w, int h) rect 661 libavcodec/dvbsubdec.c ptrdiff_t stride = rect->linesize[0]; rect 665 libavcodec/dvbsubdec.c #define V(x,y) rect->data[0][(x) + (y)*stride] rect 726 libavcodec/dvbsubdec.c AVSubtitleRect *rect; rect 784 libavcodec/dvbsubdec.c rect = sub->rects[i]; rect 785 libavcodec/dvbsubdec.c rect->x = display->x_pos + offset_x; rect 786 libavcodec/dvbsubdec.c rect->y = display->y_pos + offset_y; rect 787 libavcodec/dvbsubdec.c rect->w = region->width; rect 788 libavcodec/dvbsubdec.c rect->h = region->height; rect 789 libavcodec/dvbsubdec.c rect->nb_colors = (1 << region->depth); rect 790 libavcodec/dvbsubdec.c rect->type = SUBTITLE_BITMAP; rect 791 libavcodec/dvbsubdec.c rect->linesize[0] = region->width; rect 811 libavcodec/dvbsubdec.c rect->data[1] = av_mallocz(AVPALETTE_SIZE); rect 812 libavcodec/dvbsubdec.c if (!rect->data[1]) { rect 816 libavcodec/dvbsubdec.c memcpy(rect->data[1], clut_table, (1 << region->depth) * sizeof(uint32_t)); rect 818 libavcodec/dvbsubdec.c rect->data[0] = av_malloc(region->buf_size); rect 819 libavcodec/dvbsubdec.c if (!rect->data[0]) { rect 824 libavcodec/dvbsubdec.c memcpy(rect->data[0], region->pbuf, region->buf_size); rect 828 libavcodec/dvbsubdec.c compute_default_clut(ctx, region->computed_clut, rect, rect->w, rect->h); rect 832 libavcodec/dvbsubdec.c memcpy(rect->data[1], region->computed_clut, sizeof(region->computed_clut)); rect 840 libavcodec/dvbsubdec.c rect->pict.data[j] = rect->data[j]; rect 841 libavcodec/dvbsubdec.c rect->pict.linesize[j] = rect->linesize[j]; rect 855 libavcodec/dvbsubdec.c rect = sub->rects[i]; rect 856 libavcodec/dvbsubdec.c if (rect) { rect 857 libavcodec/dvbsubdec.c av_freep(&rect->data[0]); rect 858 libavcodec/dvbsubdec.c av_freep(&rect->data[1]); rect 286 libavcodec/dvdsubenc.c AVSubtitleRect *rect = h->rects[i]; rect 289 libavcodec/dvdsubenc.c rect->data[j] = rect->pict.data[j]; rect 290 libavcodec/dvdsubenc.c rect->linesize[j] = rect->pict.linesize[j]; rect 494 libavcodec/fmvc.c uint32_t *rect = dst; rect 512 libavcodec/fmvc.c dst = &rect[block_h * s->stride]; rect 161 libavcodec/pgssubdec.c static int decode_rle(AVCodecContext *avctx, AVSubtitleRect *rect, rect 169 libavcodec/pgssubdec.c rect->data[0] = av_malloc_array(rect->w, rect->h); rect 171 libavcodec/pgssubdec.c if (!rect->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->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 ff_dlog(avctx, "Pixel Count = %d, Area = %d\n", pixel_count, rect->w * rect->h); rect 603 libavcodec/pgssubdec.c AVSubtitleRect *rect; rect 605 libavcodec/pgssubdec.c rect = sub->rects[i]; rect 607 libavcodec/pgssubdec.c rect->pict.data[j] = rect->data[j]; rect 608 libavcodec/pgssubdec.c rect->pict.linesize[j] = rect->linesize[j]; rect 139 libavcodec/xsubdec.c AVSubtitleRect *rect; rect 141 libavcodec/xsubdec.c rect = sub->rects[0]; rect 143 libavcodec/xsubdec.c rect->pict.data[j] = rect->data[j]; rect 144 libavcodec/xsubdec.c rect->pict.linesize[j] = rect->linesize[j]; rect 137 libavcodec/xsubenc.c AVSubtitleRect *rect = h->rects[0]; rect 140 libavcodec/xsubenc.c rect->data[j] = rect->pict.data[j]; rect 141 libavcodec/xsubenc.c rect->linesize[j] = rect->pict.linesize[j]; 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 483 libavdevice/gdigrab.c RECT rect; rect 485 libavdevice/gdigrab.c if (GetWindowRect(hwnd, &rect)) { rect 486 libavdevice/gdigrab.c pos.x = ci.ptScreenPos.x - clip_rect.left - info.xHotspot - rect.left; rect 487 libavdevice/gdigrab.c pos.y = ci.ptScreenPos.y - clip_rect.top - info.yHotspot - rect.top; rect 642 libavdevice/xcbgrab.c av_unused xcb_rectangle_t rect = { 0, 0, c->width, c->height }; rect 663 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 110 libavfilter/f_ebur128.c struct rect text; ///< rectangle for the LU legend on the left rect 111 libavfilter/f_ebur128.c struct rect graph; ///< rectangle for the main graph in the center rect 112 libavfilter/f_ebur128.c struct rect gauge; ///< rectangle for the gauge on the right rect 118 libavfilter/vf_lenscorrection.c LenscorrectionCtx *rect = ctx->priv; rect 121 libavfilter/vf_lenscorrection.c for (i = 0; i < FF_ARRAY_ELEMS(rect->correction); i++) { rect 122 libavfilter/vf_lenscorrection.c av_freep(&rect->correction[i]); rect 129 libavfilter/vf_lenscorrection.c LenscorrectionCtx *rect = ctx->priv; rect 132 libavfilter/vf_lenscorrection.c rect->hsub = pixdesc->log2_chroma_w; rect 133 libavfilter/vf_lenscorrection.c rect->vsub = pixdesc->log2_chroma_h; rect 134 libavfilter/vf_lenscorrection.c outlink->w = rect->width = inlink->w; rect 135 libavfilter/vf_lenscorrection.c outlink->h = rect->height = inlink->h; rect 136 libavfilter/vf_lenscorrection.c rect->nb_planes = av_pix_fmt_count_planes(inlink->format); rect 144 libavfilter/vf_lenscorrection.c LenscorrectionCtx *rect = (LenscorrectionCtx*)ctx->priv; rect 155 libavfilter/vf_lenscorrection.c for (plane = 0; plane < rect->nb_planes; ++plane) { rect 156 libavfilter/vf_lenscorrection.c int hsub = plane == 1 || plane == 2 ? rect->hsub : 0; rect 157 libavfilter/vf_lenscorrection.c int vsub = plane == 1 || plane == 2 ? rect->vsub : 0; rect 158 libavfilter/vf_lenscorrection.c int w = AV_CEIL_RSHIFT(rect->width, hsub); rect 159 libavfilter/vf_lenscorrection.c int h = AV_CEIL_RSHIFT(rect->height, vsub); rect 160 libavfilter/vf_lenscorrection.c int xcenter = rect->cx * w; rect 161 libavfilter/vf_lenscorrection.c int ycenter = rect->cy * h; rect 162 libavfilter/vf_lenscorrection.c int k1 = rect->k1 * (1<<24); rect 163 libavfilter/vf_lenscorrection.c int k2 = rect->k2 * (1<<24); rect 173 libavfilter/vf_lenscorrection.c if (!rect->correction[plane]) { rect 177 libavfilter/vf_lenscorrection.c rect->correction[plane] = av_malloc_array(w, h * sizeof(**rect->correction)); rect 178 libavfilter/vf_lenscorrection.c if (!rect->correction[plane]) rect 188 libavfilter/vf_lenscorrection.c rect->correction[plane][j * w + i] = radius_mult; rect 193 libavfilter/vf_lenscorrection.c td.correction = rect->correction[plane];