diff options
author | wm4 <wm4@nowhere> | 2012-10-21 20:23:59 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2012-10-24 21:56:35 +0200 |
commit | 77016efd27c70b4e7c577cf2f7b351b78b71c7b9 (patch) | |
tree | 2d7bbed21b59257098bee2252274c8c316ea955d /sub | |
parent | 93b384a799ff23836700989db771735ff2df68ca (diff) | |
download | mpv-77016efd27c70b4e7c577cf2f7b351b78b71c7b9.tar.bz2 mpv-77016efd27c70b4e7c577cf2f7b351b78b71c7b9.tar.xz |
sub: add clarifying comments
Diffstat (limited to 'sub')
-rw-r--r-- | sub/sub.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -27,6 +27,7 @@ struct vo; struct sub_render_params; +// NOTE: VOs must support at least SUBBITMAP_LIBASS and SUBBITMAP_RGBA. enum sub_bitmap_format { SUBBITMAP_EMPTY = 0,// no bitmaps; always has num_parts==0 SUBBITMAP_LIBASS, // A8, with a per-surface blend color (libass.color) @@ -39,7 +40,8 @@ enum sub_bitmap_format { // For SUBBITMAP_INDEXED struct osd_bmp_indexed { uint8_t *bitmap; - // Each entry is like a pixel in SUBBITMAP_RGBA format + // Each entry is like a pixel in SUBBITMAP_RGBA format, but using straight + // alpha. uint32_t palette[256]; }; |