comparison avcodec.h @ 8515:45506d633cdc libavcodec

Replace some fixed width variable from AVSubtitle* by normal int.
author michael
date Sat, 03 Jan 2009 18:41:35 +0000
parents 1d2c018a7ac7
children 315b302fcd1d
comparison
equal deleted inserted replaced
8514:b866cb2a5330 8515:45506d633cdc
2392 */ 2392 */
2393 SUBTITLE_ASS, 2393 SUBTITLE_ASS,
2394 }; 2394 };
2395 2395
2396 typedef struct AVSubtitleRect { 2396 typedef struct AVSubtitleRect {
2397 uint16_t 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 uint16_t 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 uint16_t w; ///< width of pict, undefined when pict is not set 2399 int w; ///< width of pict, undefined when pict is not set
2400 uint16_t h; ///< height of pict, undefined when pict is not set 2400 int h; ///< height of pict, undefined when pict is not set
2401 uint16_t 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 int linesize;
2403 uint32_t *rgba_palette; 2403 uint32_t *rgba_palette;
2404 uint8_t *bitmap; 2404 uint8_t *bitmap;
2405 } AVSubtitleRect; 2405 } AVSubtitleRect;
2406 2406
2407 typedef struct AVSubtitle { 2407 typedef struct AVSubtitle {
2408 uint16_t format; /* 0 = graphics */ 2408 uint16_t format; /* 0 = graphics */
2409 uint32_t start_display_time; /* relative to packet pts, in ms */ 2409 uint32_t start_display_time; /* relative to packet pts, in ms */
2410 uint32_t end_display_time; /* relative to packet pts, in ms */ 2410 uint32_t end_display_time; /* relative to packet pts, in ms */
2411 uint32_t num_rects; 2411 unsigned num_rects;
2412 AVSubtitleRect **rects; 2412 AVSubtitleRect **rects;
2413 } AVSubtitle; 2413 } AVSubtitle;
2414 2414
2415 2415
2416 /* resample.c */ 2416 /* resample.c */