libavutil/color_utils contains some avpriv_ symbols that map
enum AVTransferCharacteristic values to gamma-curve approximations and
to the actual transfer functions to invert them (i.e. -> linear).
There's two issues with this:
(1) avpriv is evil and should be avoided whenever possible
(2) libavutil/csp.h exposes a public API for handling color that
already handles primaries and matricies
I don't see any reason this API has to be private, so this commit takes
the functionality from avutil/color_utils and merges it into avutil/csp
with an exposed av_ API rather than the previous avpriv_ API.
Every reference to the previous API has been updated to point to the
new one. color_utils.h has been deleted as well. This should not break
any applications as it only contained avpriv_ symbols in the first
place, so nothing in that header could be referenced by other
applications.
Signed-off-by: Leo Izen <leo.izen@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
|
||
|---|---|---|
| .. | ||
| .gitignore | ||
| adler32.c | ||
| aes.c | ||
| aes_ctr.c | ||
| audio_fifo.c | ||
| avstring.c | ||
| base64.c | ||
| blowfish.c | ||
| bprint.c | ||
| camellia.c | ||
| cast5.c | ||
| channel_layout.c | ||
| color_utils.c | ||
| cpu.c | ||
| cpu_init.c | ||
| crc.c | ||
| des.c | ||
| dict.c | ||
| display.c | ||
| encryption_info.c | ||
| error.c | ||
| eval.c | ||
| fifo.c | ||
| file.c | ||
| hash.c | ||
| hmac.c | ||
| hwdevice.c | ||
| imgutils.c | ||
| integer.c | ||
| lfg.c | ||
| lls.c | ||
| log.c | ||
| lzo.c | ||
| md5.c | ||
| murmur3.c | ||
| opt.c | ||
| parseutils.c | ||
| pca.c | ||
| pixdesc.c | ||
| pixelutils.c | ||
| pixfmt_best.c | ||
| random_seed.c | ||
| rational.c | ||
| ripemd.c | ||
| sha.c | ||
| sha512.c | ||
| softfloat.c | ||
| tea.c | ||
| tree.c | ||
| twofish.c | ||
| utf8.c | ||
| uuid.c | ||
| xtea.c | ||