diff options
author | Nicolas George <nicolas.george@normalesup.org> | 2013-01-01 17:06:04 +0100 |
---|---|---|
committer | Nicolas George <nicolas.george@normalesup.org> | 2013-01-01 20:07:37 +0100 |
commit | 5ed5e90f2ae299cbec66996860d794771a85fee8 (patch) | |
tree | 42dbfc175bee04454d14efe83b804f113be6fbc6 /tests/fate/options.mak | |
parent | 8dbbaf568ed9b9c76af596fc7daecbe1b971a7ce (diff) | |
download | ffmpeg-5ed5e90f2ae299cbec66996860d794771a85fee8.tar.gz |
lavc/dvdsubenc: improve color distance function.
Consider the color space as an hypercone with apex alpha=0
and base alpha=1 instead of an hypercube.
Make the encoder consider very transparent colors more similar
even if the hue is very different.
This corresponds roughly to using the alpha as a weight for the
color difference.
Only 4 bits of alpha are used, because this is what dvdsub uses,
and it avoids overflows.
Fix trac ticket #2005.
Diffstat (limited to 'tests/fate/options.mak')
0 files changed, 0 insertions, 0 deletions