1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-03-03 14:32:16 +02:00
FFmpeg/libavcodec
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
..
2022-11-06 14:39:36 +01:00
2022-11-06 14:39:36 +01:00
2022-11-06 17:37:21 +01:00
2022-09-17 10:32:16 +02:00
2022-11-06 14:39:35 +01:00
2022-11-06 14:39:35 +01:00
2022-11-06 14:39:35 +01:00
2022-09-27 13:19:52 +02:00
2022-11-06 14:39:35 +01:00
2022-11-06 14:39:35 +01:00
2022-11-06 14:39:27 +01:00
2022-11-06 14:39:27 +01:00
2022-11-06 14:39:27 +01:00
2022-11-06 14:39:27 +01:00
2022-11-06 14:39:27 +01:00
2023-01-30 20:57:37 +01:00
2022-10-24 00:46:56 +02:00
2023-02-04 09:36:01 +01:00
2022-11-06 14:39:39 +01:00
2022-11-06 14:39:40 +01:00
2022-11-06 14:39:40 +01:00
2022-11-06 14:39:40 +01:00
2022-11-06 14:39:34 +01:00
2022-12-13 08:48:59 -05:00
2022-10-17 09:56:47 +02:00
2022-10-05 08:26:19 +02:00
2022-10-05 08:26:19 +02:00
2022-10-22 17:28:01 +02:00
2023-02-04 09:36:01 +01:00
2023-02-04 09:36:01 +01:00
2023-02-09 15:35:14 +01:00
2022-11-06 14:39:36 +01:00
2023-02-09 15:35:08 +01:00
2023-02-04 13:12:28 +01:00
2022-11-06 14:39:36 +01:00
2022-11-06 14:39:36 +01:00
2022-11-06 14:39:37 +01:00
2022-11-06 14:39:37 +01:00
2022-11-06 14:39:36 +01:00
2022-11-06 14:39:36 +01:00
2023-02-09 15:35:14 +01:00
2022-11-06 14:39:36 +01:00
2023-01-27 19:45:36 +01:00
2022-09-07 00:07:45 +02:00
2022-09-07 00:07:45 +02:00
2023-01-26 20:37:14 +01:00
2022-10-20 06:57:30 +02:00
2023-01-11 12:12:27 +01:00
2022-10-24 00:46:58 +02:00
2022-09-29 00:05:32 +02:00
2022-09-29 00:05:32 +02:00
2023-02-04 09:36:01 +01:00
2022-09-16 10:02:19 +02:00
2023-02-09 15:35:14 +01:00
2023-02-09 15:35:14 +01:00
2023-01-31 09:00:56 +01:00
2023-02-04 13:40:20 +01:00
2022-11-06 14:39:38 +01:00
2022-10-08 10:19:30 +02:00
2022-10-27 13:17:07 +03:00
2023-01-25 08:09:24 -05:00
2022-11-06 14:39:42 +01:00
2023-02-09 15:35:14 +01:00
2022-10-02 20:27:36 +02:00
2022-11-06 14:39:35 +01:00
2023-01-17 12:54:54 +01:00
2023-01-11 12:12:26 +01:00
2022-11-12 11:23:04 +11:00
2022-12-24 23:43:45 +01:00
2022-10-14 16:14:24 +02:00
2022-11-06 14:39:36 +01:00
2022-10-17 09:51:47 +02:00
2022-11-06 14:39:33 +01:00
2022-11-06 14:39:41 +01:00
2022-10-26 20:30:25 +11:00
2022-12-08 17:48:21 +01:00
2023-02-07 20:58:59 +01:00
2022-11-06 14:39:39 +01:00
2022-11-06 14:39:39 +01:00
2022-09-17 10:15:01 +02:00