diff options
author | Uoti Urpala <uau@symbol.nonexistent.invalid> | 2008-07-23 06:06:22 +0300 |
---|---|---|
committer | Uoti Urpala <uau@symbol.nonexistent.invalid> | 2008-07-25 01:55:14 +0300 |
commit | 577587ec6ce8dad59c303a76cba03af03db879a3 (patch) | |
tree | f77e514f22206918172affcea07beb871857e605 /stream/stream.c | |
parent | 4dab4347f5d7bb3642a2c5918fc29855f8f62482 (diff) | |
download | mpv-577587ec6ce8dad59c303a76cba03af03db879a3.tar.bz2 mpv-577587ec6ce8dad59c303a76cba03af03db879a3.tar.xz |
vf_ass: Copy less unnecessary data to/from work area
The filter copied the chroma planes from every potentially changed row
of the original image to its non-subsampled work area. Change it to
calculate the minimum and maximum x coordinate for each chroma row and
only copy the part between those.
The performance increase is only minor (though observable), but I
think the resulting code is no more complex than the original.
Diffstat (limited to 'stream/stream.c')
0 files changed, 0 insertions, 0 deletions