diff options
author | Niklas Haas <git@haasn.dev> | 2022-04-09 18:40:59 +0200 |
---|---|---|
committer | Niklas Haas <git@haasn.dev> | 2022-04-23 21:51:55 +0200 |
commit | 6d83036662226f25ff0662b87b7455c77b985f5d (patch) | |
tree | 4d1b2ba85ce3d80c71176a3b36774c31e3b69373 /libavdevice | |
parent | 3ac23440ef4a5a203f53b33325fa38b2e8afa219 (diff) | |
download | ffmpeg-6d83036662226f25ff0662b87b7455c77b985f5d.tar.gz |
lavfi: generalize colorspace coefficent helpers
These are needed beyond just vf_colorspace, so give them a new home in
colorspace.h.
In addition to moving code around, also merge the white point and
primary coefficients into a single struct to slightly increase the
convenience and shrink the size of the new API by avoiding the need
to introduce an extra function just to look up the white point as well.
The only place the distinction matters is in a single enum comparison,
which can just as well be a single memcpy - the difference is
negligible.
Signed-off-by: Niklas Haas <git@haasn.dev>
Diffstat (limited to 'libavdevice')
0 files changed, 0 insertions, 0 deletions