Changes between Version 7 and Version 8 of colorspace


Ignore:
Timestamp:
Jun 27, 2023, 2:53:42 PM (3 years ago)
Author:
Mingye Wang
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • colorspace

    v7 v8  
    5858- They both do only YUV to YUV colorspace conversion; YUV to RGB, and scaling requires swscale.
    5959- `colormatrix` supports only 8bpc (8-bit per component) pixel formats, whereas `colorspace` supports 10bpc, 12bpc also.
    60 - `colormatrix` does not apply gamma and primaries (i.e. which exact color "red", "green", and "blue" each is) correction, whereas `colorspace` does (it has an option `fast=1` to disable this if you want faster conversion, or compatible output with that produced by `colormatrix`). Note: the examples are significantly worse with `fast=0` than with `fast=1`. This is because sRGB is incorrectly specified as Bt. 601, while it should have been `ispace=bt709:itrc=srgb`. Do not do what the example does!
     60- `colormatrix` does not apply gamma and primaries (i.e. which exact color "red", "green", and "blue" each is) correction, whereas `colorspace` does (it has an option `fast=1` to disable this if you want faster conversion, or compatible output with that produced by `colormatrix`).[[BR]]Note: the examples are significantly worse with `fast=0` than with `fast=1`. This is because sRGB is incorrectly specified as Bt. 601, while it should have been `ispace=bt709:itrc=srgb`. Do not do what the example does!
    6161- `colormatrix` is C only, whereas `colorspace` uses x86 SIMD (i.e. it's faster).
    6262[[BR]]