Changes between Version 11 and Version 12 of colorspace


Ignore:
Timestamp:
Jun 27, 2023, 3:03:54 PM (3 years ago)
Author:
Mingye Wang
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • colorspace

    v11 v12  
    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`).[[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`. Don't repeat this mistake!
     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 screenshot sRGB is incorrectly specified as Bt. 601, while it should have been `ispace=bt709:itrc=srgb`. Don't repeat this mistake!
    6161- `colormatrix` is C only, whereas `colorspace` uses x86 SIMD (i.e. it's faster).
    6262[[BR]]