5 ms·
A word of caution: CABAC, as well as many use cases that surround it, are heavily patented. This is one of the reasons why Opus and Daala use (different) range
by TD-Linux 11y ago
A word of caution: CABAC, as well as many use cases that surround it, are heavily patented. This is one of the reasons why Opus and Daala use (different) range coders instead: https://datatracker.ietf.org/doc/draft-terriberry-netvc-codingtools/?include_text=1 https://datatracker.ietf.org/doc/draft-terriberry-netvc-codi...
- danbmil99 11y agoIndeed, VP* codecs (Webm etc, from On2 acquisition) avoid arithmetic coding like the plague due to patents.
- astrange 11y agoHmm, I think the range coder used in VPx is basically just an arithmetic coder with the labels changed. It's not any less efficient. Also, JPEG and LZMA have arithmetic coders with no current patent claims. CABAC just has specific patents. CABAC is not good on CPUs anyway - it's only fast on hardware due to using lookup tables in the critical path.
- jwr 11y agoI was about to point this out. I remember back from my H.264 days that arithmetic coding, while providing excellent compression, was terribly encumbered with patents.
- nemoniac 11y agoNote that these are US patents. They don't necessarily apply elsewhere in the world.