Lines Matching refs:vrect
264 AVSubtitleRect vrect;
283 vrect = *h->rects[0];
298 vrect.x = xmin;
299 vrect.y = ymin;
300 vrect.w = xmax - xmin;
301 vrect.h = ymax - ymin;
302 if ((ret = av_image_check_size(vrect.w, vrect.h, 0, avctx)) < 0)
306 global_palette_hits[0] = vrect.w * vrect.h;
316 if (!(vrect_data = av_calloc(vrect.w, vrect.h)))
318 vrect.data [0] = vrect_data;
319 vrect.linesize[0] = vrect.w;
323 copy_rectangle(&vrect, h->rects[i], cmap);
343 if ((q - outbuf) + vrect.w * vrect.h / 2 + 17 + 21 > outbuf_size) {
348 dvd_encode_rle(&q, vrect.data[0], vrect.w * 2,
349 vrect.w, (vrect.h + 1) >> 1, cmap);
351 dvd_encode_rle(&q, vrect.data[0] + vrect.w, vrect.w * 2,
352 vrect.w, vrect.h >> 1, cmap);
354 if (dvdc->even_rows_fix && (vrect.h & 1)) {
356 vrect.h++;
376 x2 = vrect.x + vrect.w - 1;
377 y2 = vrect.y + vrect.h - 1;
387 *q++ = vrect.x >> 4;
388 *q++ = (vrect.x << 4) | ((x2 >> 8) & 0xf);
391 *q++ = vrect.y >> 4;
392 *q++ = (vrect.y << 4) | ((y2 >> 8) & 0xf);