Searched refs:rects (Results 1 - 15 of 15) sorted by relevance

/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/minidlna/ffmpeg-0.5.1/libavcodec/
H A Ddvdsubenc.c95 int i, imax, color, alpha, rects = h->num_rects; local
100 if (rects == 0 || h->rects == NULL)
102 if (rects > 20)
103 rects = 20;
110 for (object_id = 0; object_id < rects; object_id++)
111 for (i=0; i<h->rects[object_id]->w*h->rects[object_id]->h; ++i) {
112 color = h->rects[object_id]->pict.data[0][i];
114 alpha = ((uint32_t*)h->rects[object_i
[all...]
H A Dxsubdec.c84 if (!sub->rects) {
85 sub->rects = av_mallocz(sizeof(*sub->rects));
86 sub->rects[0] = av_mallocz(sizeof(*sub->rects[0]));
89 av_freep(&sub->rects[0]->pict.data[0]);
90 sub->rects[0]->x = x; sub->rects[0]->y = y;
91 sub->rects[0]->w = w; sub->rects[
[all...]
H A Ddvdsubdec.c176 sub_header->rects = NULL;
321 if (sub_header->rects != NULL) {
323 av_freep(&sub_header->rects[i]->pict.data[0]);
324 av_freep(&sub_header->rects[i]->pict.data[1]);
325 av_freep(&sub_header->rects[i]);
327 av_freep(&sub_header->rects);
332 sub_header->rects = av_mallocz(sizeof(*sub_header->rects));
333 sub_header->rects[0] = av_mallocz(sizeof(AVSubtitleRect));
335 sub_header->rects[
[all...]
H A Ddvbsub.c208 if (h->num_rects == 0 || h->rects == NULL)
231 bytestream_put_be16(&q, h->rects[region_id]->x); /* left pos */
232 bytestream_put_be16(&q, h->rects[region_id]->y); /* top pos */
242 if (h->rects[clut_id]->nb_colors <= 4) {
245 } else if (h->rects[clut_id]->nb_colors <= 16) {
260 for(i = 0; i < h->rects[clut_id]->nb_colors; i++) {
265 uint32_t x= ((uint32_t*)h->rects[clut_id]->pict.data[1])[i];
286 if (h->rects[region_id]->nb_colors <= 4) {
289 } else if (h->rects[region_id]->nb_colors <= 16) {
303 bytestream_put_be16(&q, h->rects[region_i
[all...]
H A Dvmnc.c230 int bg = 0, fg = 0, rects, color, flags, xy, wh; local
261 rects = 0;
263 rects = *src++;
268 if(src - ssrc > ssize - rects * (color * bpp + 2)) {
272 for(k = 0; k < rects; k++) {
H A Ddvbsubdec.c1281 sub->rects = NULL;
1289 sub->rects = av_mallocz(sizeof(*sub->rects) * sub->num_rects);
1291 sub->rects[i] = av_mallocz(sizeof(*sub->rects[i]));
1298 rect = sub->rects[i];
H A Davcodec.h2551 AVSubtitleRect **rects; member in struct:AVSubtitle
H A Dutils.c525 if(sub->num_rects == 0 || !sub->rects)
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/char/drm/
H A Ddrm_drawable.c163 drm_free(info[id]->rects, info[id]->num_rects *
238 drm_clip_rect_t *rects; local
268 rects = drm_alloc(update.num * sizeof(drm_clip_rect_t),
271 rects = info->rects;
273 if (update.num && !rects) {
279 if (update.num && DRM_COPY_FROM_USER(rects,
283 sizeof(*rects))) {
291 if (rects != info->rects) {
[all...]
H A Di915_irq.c102 drw_cmp->rects[0].y1 > drw->rects[0].y1) {
172 rect = drw->rects;
H A Ddrm.h124 drm_clip_rect_t *rects; member in struct:drm_drawable_info
H A Ddrm_drv.c160 drm_free(info->rects, info->num_rects *
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/minidlna/ffmpeg-0.5.1/
H A Dffplay.c642 av_freep(&sp->sub.rects[i]->pict.data[0]);
643 av_freep(&sp->sub.rects[i]->pict.data[1]);
644 av_freep(&sp->sub.rects[i]);
647 av_free(sp->sub.rects);
728 blend_subrect(&pict, sp->sub.rects[i],
1450 for (j = 0; j < sp->sub.rects[i]->nb_colors; j++)
1452 RGBA_IN(r, g, b, a, (uint32_t*)sp->sub.rects[i]->pict.data[1] + j);
1456 YUVA_OUT((uint32_t*)sp->sub.rects[i]->pict.data[1] + j, y, u, v, a);
H A Dffmpeg.c1419 if (subtitle_to_free->rects != NULL) {
1421 av_freep(&subtitle_to_free->rects[i]->pict.data[0]);
1422 av_freep(&subtitle_to_free->rects[i]->pict.data[1]);
1423 av_freep(&subtitle_to_free->rects[i]);
1425 av_freep(&subtitle_to_free->rects);
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/minidlna/include/libavcodec/
H A Davcodec.h2551 AVSubtitleRect **rects; member in struct:AVSubtitle

Completed in 198 milliseconds