Mercurial > libavcodec.hg
comparison avcodec.h @ 8516:315b302fcd1d libavcodec
Replace AVSubtitleRect.rgba_palette and bitmap by AVPicture.
| author | michael |
|---|---|
| date | Sat, 03 Jan 2009 19:17:18 +0000 |
| parents | 45506d633cdc |
| children | 7e6cf3ff61d3 |
comparison
equal
deleted
inserted
replaced
| 8515:45506d633cdc | 8516:315b302fcd1d |
|---|---|
| 2397 int x; ///< top left corner of pict, undefined when pict is not set | 2397 int x; ///< top left corner of pict, undefined when pict is not set |
| 2398 int y; ///< top left corner of pict, undefined when pict is not set | 2398 int y; ///< top left corner of pict, undefined when pict is not set |
| 2399 int w; ///< width of pict, undefined when pict is not set | 2399 int w; ///< width of pict, undefined when pict is not set |
| 2400 int h; ///< height of pict, undefined when pict is not set | 2400 int h; ///< height of pict, undefined when pict is not set |
| 2401 int nb_colors; ///< number of colors in pict, undefined when pict is not set | 2401 int nb_colors; ///< number of colors in pict, undefined when pict is not set |
| 2402 int linesize; | 2402 |
| 2403 uint32_t *rgba_palette; | 2403 /** |
| 2404 uint8_t *bitmap; | 2404 * data+linesize for the bitmap of this subtitle. |
| 2405 * can be set for text/ass as well once they where rendered | |
| 2406 */ | |
| 2407 AVPicture pict; | |
| 2405 } AVSubtitleRect; | 2408 } AVSubtitleRect; |
| 2406 | 2409 |
| 2407 typedef struct AVSubtitle { | 2410 typedef struct AVSubtitle { |
| 2408 uint16_t format; /* 0 = graphics */ | 2411 uint16_t format; /* 0 = graphics */ |
| 2409 uint32_t start_display_time; /* relative to packet pts, in ms */ | 2412 uint32_t start_display_time; /* relative to packet pts, in ms */ |
