comparison avcodec.h @ 8511:531ddfe8a832 libavcodec

Add enum AVSubtitleType
author michael
date Sat, 03 Jan 2009 15:15:03 +0000
parents 469f3e5bcf13
children aa45029f5cd7
comparison
equal deleted inserted replaced
8510:cea216e44ee3 8511:531ddfe8a832
2373 * data is probably 6 bits in size and needs to be scaled. */ 2373 * data is probably 6 bits in size and needs to be scaled. */
2374 unsigned int palette[AVPALETTE_COUNT]; 2374 unsigned int palette[AVPALETTE_COUNT];
2375 2375
2376 } AVPaletteControl attribute_deprecated; 2376 } AVPaletteControl attribute_deprecated;
2377 2377
2378 enum AVSubtitleType {
2379 SUBTITLE_NONE,
2380
2381 SUBTITLE_BITMAP, ///< A bitmap, pict will be set
2382
2383 /**
2384 * Plain text, the text field must be set by the decoder and is
2385 * authoritative. ass and pict fields may contain approximations.
2386 */
2387 SUBTITLE_TEXT,
2388
2389 /**
2390 * Formatted text, the ass field must be set by the decoder and is
2391 * authoritative. pict and text fields may contain approximations.
2392 */
2393 SUBTITLE_ASS,
2394 };
2395
2378 typedef struct AVSubtitleRect { 2396 typedef struct AVSubtitleRect {
2379 uint16_t x; 2397 uint16_t x;
2380 uint16_t y; 2398 uint16_t y;
2381 uint16_t w; 2399 uint16_t w;
2382 uint16_t h; 2400 uint16_t h;