Display Stream Compression

From HandWiki
Revision as of 17:55, 8 February 2024 by Jworkorg (talk | contribs) (correction)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Short description: Video compression method for HDMI and DisplayPort links
Display Stream Compression
StatusIn force
Year started2013
OrganizationVESA
Related standardsHDMI, DisplayPort
DomainVideo compression
Websitevesa.org/vesa-display-compression-codecs/dsc/

Display Stream Compression (DSC) is a VESA-developed video compression algorithm designed to enable increased display resolutions and frame rates over existing physical interfaces, and make devices smaller and lighter, with longer battery life.[1] It is a low-latency algorithm based on delta PCM coding and YCGCO-R color space.[1][2]

Effect

Although DSC is mathematically lossy, it meets the ISO/IEC 29170 standard for "visually lossless" compression, a form of compression in which "the user cannot tell the difference between a compressed and uncompressed image".[3] ISO 29170 more specifically defines an algorithm as visually lossless "when all the observers fail to correctly identify the reference image more than 75% of the trials".[4]:18 However, the standard allows for images that "exhibit particularly strong artifacts" to be disregarded or excluded from testing, such as engineered test images.[4]:13,18 Research of DSC using the ISO/IEC 29170 interleaved protocol, in which an uncompressed reference image is presented side by side with a rapidly alternating sequence of the compressed test image and uncompressed reference image,[4]:10 and performed with various types of images (such as people, natural and man-made scenery, text, and known challenging imagery) shows that in most images DSC satisfies the standard's criterion for visually lossless performance, although in some trials participants were able to detect the presence of compression on certain images.[5][6]

Algorithm

DSC compression works on a horizontal line of pixels encoded using groups of three consecutive pixels for native 4:4:4 and simple 4:2:2 formats, or six pixels (three compressed containers) for native 4:2:2 and 4:2:0 formats.[7]

  • Preprocessing:
    • If RGB encoding is used, it is first converted to reversible YCGCO.
    • 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, 2 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 bit/px;[7]:52 the typical BPP given on VESA's website is 8 bit/px.[8] The variable-bitrate is actually a way to temporarily disable the display link;[7]:125 it only adds the possiblity of choosing 0 bit/px.[7]:41
  • Repeating recent pixels can be stored in 32-entry Indexed Color History (ICH) buffer, which can be referenced directly by each group in a slice; this improves compression quality of computer-generated images. Alternatively, prediction residuals are computed and encoded with entropy coding algorithm based on delta size unit-variable length coding (DSU-VLC).
  • Encoded pixel groups are then combined into slices of various height and width; common combinations include 100% or 25% picture width, and 8-, 32-, or 108-line height.

A modified version of DSC, VDC-M, is used in DSI-2. It allows for more compression at 6 bit/px at the cost of higher algorithmic complexity.[8]

History

DSC version 1.0 was released on 10 March 2014, but was soon deprecated by DSC version 1.1 released on 1 August 2014. The DSC standard supports up to a 3∶1 compression ratio (reducing the data stream to 8 bits per pixel) with constant or variable bit rate, RGB or Y′CBCR 4:4:4, 4:2:2, or 4:2:0 color format, and color depth of 6, 8, 10, or 12 bits per color component.

DSC version 1.2 was released on 27 January 2016 and is included in version 1.4 of the DisplayPort standard; DSC version 1.2a was released on 18 January 2017. The update includes native encoding of 4:2:2 and 4:2:0 formats in six-pixel containers, 14/16 bits per color, and minor modifications to the encoding algorithm.

On 4 January 2017, HDMI 2.1 was announced which supports up to 10K resolution and uses DSC 1.2 for video that is higher than 8K resolution with 4:2:0 chroma subsampling.[9][10][11]

Using DSC with HBR3 transmission rates, DisplayPort 1.4 can support 8K UHD (33177600 7680 × 4320) at 60 Hz or 4K UHD (8294400 3840 × 2160) at 120 Hz with 30 bit/px RGB color and HDR. 4K at 60 Hz 30 bit/px RGB/HDR can be achieved without the need for DSC. On displays which do not support DSC, the maximum limits are unchanged from DisplayPort 1.3 (4K 120 Hz, 5K 60 Hz, 8K 30 Hz).[12]

DisplayPort version 1.4a was published in April 2018.[13] VESA made no official press release for this version. It updated DisplayPort's DSC implementation from DSC 1.2 to 1.2a.[14]

References

  1. 1.0 1.1 "VESA Finalizes Requirements for Display Stream Compression Standard" (Press release). VESA. 24 January 2013. Archived from the original on 21 March 2018. Retrieved 20 March 2018.
  2. Walls, Frederick; MacInni, Sandy (3 March 2014). "VESA Display Stream Compression". VESA. http://www.vesa.org/wp-content/uploads/2014/04/VESA_DSC-ETP200.pdf. 
  3. Walls, Frederick; MacInnis, Alexander Sandy (June 2014). "27.4L: Late-News Paper : VESA Display Stream Compression: An Overview". SID Symposium Digest of Technical Papers 45 (1): 360–363. doi:10.1002/j.2168-0159.2014.tb00097.x. 
  4. 4.0 4.1 4.2 "ISO/IEC 29170-2:2015 — Information technology — Advanced image coding and evaluation — Part 2: Evaluation procedure for nearly lossless coding" (PDF). Geneva, Switzerland: International Organization for Standardization (ISO). August 2015. https://www.iso.org/standard/66094.html. 
  5. Sudhama, Aishwarya; Cutone, Matthew; Hou, Yuqian; Goel, James; Dale, Stolitzka; Jacobson, Natan; Allison, Robert; Wilcox, Laurie (May 2018). "Visually Lossless Compression of High Dynamic Range Images: A Large-Scale Evaluation". SID Symposium Digest of Technical Papers 49 (1): 1151–1154. doi:10.1002/sdtp.12106. https://static1.squarespace.com/static/565e05cee4b01c87068e7984/t/6000baf6782fa205430dc4b6/1610660599845/Sudhama_Allison_Wilcox_2018SID.pdf. Retrieved 4 March 2021. 
  6. Mohona, Sanjida; Au, Domenic; Kio, Onoise; Robinson, Richard; Hou, Yuqian; Wilcox, Laurie; Allison, Robert (May 2020). "Subjective Assessment of Stereoscopic Image Quality: The Impact of Visually Lossless Compression". 2020 Twelfth International Conference on Quality of Multimedia Experience (QoMEX). Athlone, Ireland. pp. 1–6. doi:10.1109/QoMEX48832.2020.9123129. ISBN 978-1-7281-5965-2. https://ieeexplore.ieee.org/document/9123129. Retrieved 4 March 2021. 
  7. 7.0 7.1 7.2 7.3 "VESA Display Stream Compression (DSC) Standard Version 1.2a [VESA-DSC-1.2a.pdf"]. 18 January 2017. https://glenwing.github.io/docs/VESA-DSC-1.2a.pdf. 
  8. 8.0 8.1 "VESA Display Compression Codecs". https://vesa.org/vesa-display-compression-codecs/. 
  9. "HDMI Forum announces version 2.1 of the HDMI specification". HDMI.org. 2017-01-04. http://www.hdmi.org/press/press_release.aspx?prid=145. 
  10. "Introducing HDMI 2.1". HDMI.org. http://www.hdmi.org/manufacturer/hdmi_2_1/index.aspx. 
  11. Anton Shilov (2017-01-05). "HDMI 2.1 Announced". Anandtech. http://www.anandtech.com/show/11003/hdmi-21-announced-8kp60-48gbps-cable. 
  12. "Next DisplayPort Can Drive 8K HDR Monitors". http://www.nextpowerup.com/news/26775/next-displayport-can-drive-8k-hdr-monitors/. 
  13. "FAQ – DisplayPort". https://www.displayport.org/faq/. 
  14. "DSC Display Stream Compression". https://vesa.org/vesa-display-compression-codecs/dsc/.