Commit Graph

9 Commits

Author SHA1 Message Date
Stefano Sabatini 0fff764bdb drawtext: allow negative shadow offset values 2011-04-02 11:48:01 +02:00
Stefano Sabatini efc8c709c9 drawtext: draw glyphs for the strftime()-expanded text
In draw_glyphs(), draw glyphs in dtext->expanded_text rather than in
dtext->text. Fix crash if a strftime() sequence is used.
2011-03-27 19:00:03 +02:00
Michael Niedermayer f9c61974ae Add shadow support to the drawtext filter
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-02-22 01:49:54 +01:00
Michael Niedermayer a64a2c5f98 factor draw_glyphs out of drawtext filter
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-02-22 01:49:54 +01:00
Michael Niedermayer bccea08836 Fix and optimize yuv blend in the drawtext filter
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-02-22 01:49:54 +01:00
Michael Niedermayer 7d27902263 get rid of divisions in the inner loop of the drawtext filter
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-02-22 01:49:54 +01:00
Michael Niedermayer 476aaec637 fix chroma alpha in the drawtext filter
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-02-22 01:49:54 +01:00
Michael Niedermayer edbaedf7a0 Simplify chroma blend in the drawtext filter
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-02-22 01:49:54 +01:00
Stefano Sabatini bd8e750300 Port drawtext filter by Hemanth from the libavfilter soc repo, with
the following additions:
* support to anti-aliased glyph rendering
* support to UTF-8 text and Unicode chars rendering
* support for RGB packed formats

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-02-22 01:49:45 +01:00