1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-03-23 04:24:35 +02:00
FFmpeg/libavfilter
rcombs 6c3a82f043 lavfi/drawutils: improve colorspace support
- Introduce ff_draw_init2, which takes explicit colorspace and range
  args
- Use lavu/csp and lavfi/colorspace for conversion, rather than the
  lavu/colorspace.h macros
- Use the passed-in colorspace when performing RGB->YUV conversions

The upshot of this is:
- Support for YUV spaces other than BT601
- Better rounding for all conversions
- Particular rounding improvements in >8-bit formats, which previously
  used simple left-shifts
- Support for limited-range RGB
- Support for full-range YUV in non-J pixfmts

Due to the rounding improvements, this results in a large number of
minor changes to FATE tests.

Signed-off-by: rcombs <rcombs@rcombs.me>
2022-06-19 19:18:34 -05:00
..
2021-04-19 14:34:10 +02:00
2022-06-16 10:23:30 +02:00
2021-07-22 14:47:57 +02:00
2022-02-20 12:38:52 +01:00
2022-06-16 10:23:30 +02:00
2022-02-09 09:40:33 +01:00
2022-02-07 00:31:23 +01:00
2022-03-07 15:29:39 +01:00
2022-03-16 14:05:26 +02:00
2022-06-16 10:23:30 +02:00
2022-04-23 10:58:29 +02:00