Revision cf1d794a libavcodec/ass.h

View differences:

libavcodec/ass.h
40 40
/** @} */
41 41

  
42 42
/**
43
 * Generate a suitable AVCodecContext.subtitle_header for SUBTITLE_ASS.
44
 *
45
 * @param avctx pointer to the AVCodecContext
46
 * @param font name of the default font face to use
47
 * @param font_size default font size to use
48
 * @param color default text color to use (ABGR)
49
 * @param back_color default background color to use (ABGR)
50
 * @param bold 1 for bold text, 0 for normal text
51
 * @param italic 1 for italic text, 0 for normal text
52
 * @param underline 1 for underline text, 0 for normal text
53
 * @param alignment position of the text (left, center, top...), defined after
54
 *                  the layout of the numpad (1-3 sub, 4-6 mid, 7-9 top)
55
 * @return >= 0 on success otherwise an error code <0
56
 */
57
int ff_ass_subtitle_header(AVCodecContext *avctx,
58
                           const char *font, int font_size,
59
                           int color, int back_color,
60
                           int bold, int italic, int underline,
61
                           int alignment);
62

  
63
/**
64 43
 * Generate a suitable AVCodecContext.subtitle_header for SUBTITLE_ASS
65 44
 * with default style.
66 45
 *

Also available in: Unified diff