[FFmpeg-devel] [PATCH] avutil/csp: create public API for colorspace structs

Ronald S. Bultje rsbultje at gmail.com
Fri May 13 22:14:45 EEST 2022


Hi,

On Fri, May 13, 2022 at 11:42 AM Leo Izen <leo.izen at gmail.com> wrote:

> This commit moves some of the functionality from avfilter/colorspace
> into avutil/csp and exposes it as a public API so it can be used by
> libavcodec and/or libavformat.
> ---
>  libavfilter/colorspace.c    |  88 ----------------------------
>  libavfilter/colorspace.h    |  25 +-------
>  libavfilter/fflcms2.c       |   3 +-
>  libavfilter/fflcms2.h       |   2 +-
>  libavfilter/vf_colorspace.c |   9 +--
>  libavfilter/vf_iccdetect.c  |   3 +-
>  libavutil/Makefile          |   2 +
>  libavutil/csp.c             | 111 ++++++++++++++++++++++++++++++++++++
>  libavutil/csp.h             |  49 ++++++++++++++++
>  9 files changed, 173 insertions(+), 119 deletions(-)
>  create mode 100644 libavutil/csp.c
>  create mode 100644 libavutil/csp.h
>

I don't have objections.

Ronald


More information about the ffmpeg-devel mailing list