Lines Matching defs:bitmap
98 static int decode_rle(uint8_t *bitmap, int linesize, int w, int h, uint8_t used_color[256],
117 d = bitmap;
360 uint8_t *bitmap;
362 /* decode the bitmap */
379 bitmap = sub_header->rects[0]->data[0] = av_malloc(w * h);
380 if (!bitmap)
382 if (decode_rle(bitmap, w * 2, w, (h + 1) / 2, ctx->used_color,
385 if (decode_rle(bitmap + w, w * 2, w, h / 2, ctx->used_color,
444 uint8_t *bitmap;
482 bitmap = av_malloc(w * h);
483 if (!bitmap)
486 memcpy(bitmap + w * y, s->rects[0]->data[0] + x1 + (y1 + y) * s->rects[0]->linesize[0], w);
489 s->rects[0]->data[0] = bitmap;