Display Stream Compression: Difference between revisions

Content deleted Content added
Line 24:
** If RGB encoding is used, it is first converted to reversible [[YCgCo|YC{{sub|G}}C{{sub|O}}]].
** If "simple 4:2:2" is used, it is converted to 4:4:4 by adding missing chroma samples through interpolating neighboring pixels.
* Each component (1 luma, component2 chroma) is coded separately using three independent substreams (four substreams in native 4:2:2 mode). Prediction step is performed using one of the three modes: modified median adaptive coding (MMAP) algorithm similar to the one used by [[JPEG-LS]], block prediction (optional for decoders due to high computational complexity, negotiated at DSC handshake), and midpoint prediction.
* Bit rate control algorithm tracks color flatness and buffer fullness to adjust the quantization bit depth for a pixel group in a way that minimizes compression artifacts while staying within the bitrate limits.
** DSC can work in constant or variable bitrate mode. The minimum allowed bits-per-pixel (BPP) is 6&nbsp;bit/px;<ref name="dsc12a"/>{{rp|52}} the typical BPP given on VESA's website is 8&nbsp;bit/px.<ref name="VESA Codecs"/> The variable-bitrate is actually a way to temporarily disable the display link;<ref name="dsc12a"/>{{rp|125}} it only adds the possiblity of choosing 0&nbsp;bit/px.<ref name="dsc12a"/>{{rp|41}}