• Leo Izen's avatar
    avutil/{color_utils, csp}: merge color_utils into csp and expose API · 719a93f4
    Leo Izen authored
    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: 's avatarLeo Izen <leo.izen@gmail.com>
    Signed-off-by: 's avatarAnton Khirnov <anton@khirnov.net>
    719a93f4
Name
Last commit
Last update
..
.gitignore Loading commit data...
adler32.c Loading commit data...
aes.c Loading commit data...
aes_ctr.c Loading commit data...
audio_fifo.c Loading commit data...
avstring.c Loading commit data...
base64.c Loading commit data...
blowfish.c Loading commit data...
bprint.c Loading commit data...
camellia.c Loading commit data...
cast5.c Loading commit data...
channel_layout.c Loading commit data...
color_utils.c Loading commit data...
cpu.c Loading commit data...
cpu_init.c Loading commit data...
crc.c Loading commit data...
des.c Loading commit data...
dict.c Loading commit data...
display.c Loading commit data...
encryption_info.c Loading commit data...
error.c Loading commit data...
eval.c Loading commit data...
fifo.c Loading commit data...
file.c Loading commit data...
hash.c Loading commit data...
hmac.c Loading commit data...
hwdevice.c Loading commit data...
imgutils.c Loading commit data...
integer.c Loading commit data...
lfg.c Loading commit data...
lls.c Loading commit data...
log.c Loading commit data...
lzo.c Loading commit data...
md5.c Loading commit data...
murmur3.c Loading commit data...
opt.c Loading commit data...
parseutils.c Loading commit data...
pca.c Loading commit data...
pixdesc.c Loading commit data...
pixelutils.c Loading commit data...
pixfmt_best.c Loading commit data...
random_seed.c Loading commit data...
rational.c Loading commit data...
ripemd.c Loading commit data...
sha.c Loading commit data...
sha512.c Loading commit data...
softfloat.c Loading commit data...
tea.c Loading commit data...
tree.c Loading commit data...
twofish.c Loading commit data...
utf8.c Loading commit data...
uuid.c Loading commit data...
xtea.c Loading commit data...