diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-05-24 20:50:15 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-05-24 20:50:15 +0200 |
commit | e0f2e0fcf0acb6c78b0ecd69ad59c6c1c87b186c (patch) | |
tree | 536ad259ddf4b97c9a342e54ae054646abc87d2c | |
parent | 42bb3e4db672ebb6d8b86e869602a02dcae0f4ca (diff) | |
download | ffmpeg-e0f2e0fcf0acb6c78b0ecd69ad59c6c1c87b186c.tar.gz |
vf_fade: remove unused function
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavfilter/vf_fade.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/libavfilter/vf_fade.c b/libavfilter/vf_fade.c index b899dc1db9..6c9b2252a0 100644 --- a/libavfilter/vf_fade.c +++ b/libavfilter/vf_fade.c @@ -139,25 +139,6 @@ static int config_props(AVFilterLink *inlink) return 0; } -static void fade_plane(int y, int h, int w, - int fade_factor, int black_level, int black_level_scaled, - uint8_t offset, uint8_t step, int bytes_per_plane, - uint8_t *data, int line_size) -{ - uint8_t *p; - int i, j; - - /* luma, alpha or rgb plane */ - for (i = 0; i < h; i++) { - p = data + offset + (y+i) * line_size; - for (j = 0; j < w * bytes_per_plane; j++) { - /* s->factor is using 16 lower-order bits for decimal places. */ - *p = ((*p - black_level) * fade_factor + black_level_scaled) >> 16; - p+=step; - } - } -} - static int filter_slice_luma(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) { |