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

2022-05-21 Thread Leo Izen
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. It also converts those structs from double values to AVRational to make regression testing easier and more consistent. --- libavfi

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

2022-05-17 Thread Leo Izen
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| 94 +- libavfilter/colorspace.h| 31 ++ libavfilter/ff