summaryrefslogtreecommitdiffstats
path: root/stream/stream.h
diff options
context:
space:
mode:
authorUoti Urpala <uau@symbol.nonexistent.invalid>2008-07-23 06:06:22 +0300
committerUoti Urpala <uau@symbol.nonexistent.invalid>2008-07-25 01:55:14 +0300
commit577587ec6ce8dad59c303a76cba03af03db879a3 (patch)
treef77e514f22206918172affcea07beb871857e605 /stream/stream.h
parent4dab4347f5d7bb3642a2c5918fc29855f8f62482 (diff)
downloadmpv-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.h')
0 files changed, 0 insertions, 0 deletions