1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00
FFmpeg/libavutil/tests
Leo Izen 719a93f4e4 avutil/{color_utils, csp}: merge color_utils into csp and expose API
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>
2023-02-09 15:35:14 +01:00
..
.gitignore avutil/tests/.gitignore: Add channel_layout testtool 2022-09-05 02:00:08 +02:00
adler32.c avutil/tests/adler32: Remove unnecessary volatile 2022-01-29 21:26:26 +01:00
aes_ctr.c avutil/avassert: Don't include avutil.h 2022-02-24 12:56:49 +01:00
aes.c
audio_fifo.c avutil/tests/audio_ffio: add missing header 2021-06-13 13:39:57 -03:00
avstring.c avutil: remove FF_API_D2STR 2023-02-09 15:35:14 +01:00
base64.c
blowfish.c
bprint.c Remove unnecessary avassert.h inclusions 2021-07-22 15:02:30 +02:00
camellia.c avutil/log: Don't include avutil.h 2022-02-24 12:56:49 +01:00
cast5.c avutil/log: Don't include avutil.h 2022-02-24 12:56:49 +01:00
channel_layout.c avutil/tests/channel_layout: also test ambisonic layouts in av_channel_layout_subset() 2022-03-25 17:10:39 -03:00
color_utils.c avutil/{color_utils, csp}: merge color_utils into csp and expose API 2023-02-09 15:35:14 +01:00
cpu_init.c
cpu.c avutil/tests/cpu: print the avx512icl flag 2022-11-04 19:37:46 +01:00
crc.c
des.c lavu/mem: move the DECLARE_ALIGNED macro family to mem_internal on next+1 bump 2021-01-01 14:14:57 +01:00
dict.c avutil/tests/dict: Explicitly test av_dict_iterate() 2022-12-07 10:22:02 +01:00
display.c avutil/display: Don't include avutil.h 2022-02-24 12:56:49 +01:00
encryption_info.c avutil/avassert: Don't include avutil.h 2022-02-24 12:56:49 +01:00
error.c
eval.c
fifo.c lavu/fifo: add a test for _cb functions 2022-02-15 10:16:16 +01:00
file.c
hash.c
hmac.c
hwdevice.c
imgutils.c tests/imgutils: test the output of av_image_fill_* functions 2020-07-30 19:33:09 -03:00
integer.c
lfg.c
lls.c lavu: move LOCAL_ALIGNED from internal.h to mem_internal.h 2021-01-01 14:11:01 +01:00
log.c
lzo.c avutil/tests/lzo: remove timer macros 2021-06-13 13:39:57 -03:00
md5.c libavutil/tests/md5: Remove 'volatile workaround' to avoid warnings 2022-06-08 22:24:31 +02:00
murmur3.c
opt.c lavu: support AVChannelLayout AVOptions 2022-03-15 09:42:29 -03:00
parseutils.c avutil/tests/parseutils: add some big duration tests 2018-10-07 20:26:29 +02:00
pca.c
pixdesc.c
pixelutils.c avutil/tests/pixelutils: Test that all non-hw pix fmts have components 2022-09-30 14:33:08 +02:00
pixfmt_best.c lavu/pixdesc: favour formats where depth and subsampling exactly match 2022-09-17 15:11:13 -07:00
random_seed.c avutil/tests/random_seed: seeds[] is uint32_t, therefore use PRIX32 macro 2018-12-16 13:52:21 +11:00
rational.c
ripemd.c
sha512.c
sha.c
softfloat.c
tea.c
tree.c
twofish.c avutil/log: Don't include avutil.h 2022-02-24 12:56:49 +01:00
utf8.c
uuid.c avutil/tests/uuid: add uuid tests 2022-06-12 18:34:37 +10:00
xtea.c