From linux-sunxi.org
Jump to: navigation, search



CedarX is a proprietary multimedia framework distributed by Allwinner and not supported by the linux-sunxi community.

It's the name of the proprietary software libraries responsible for hardware accelerated video and audio de-/encoding (CedarV + CedarA) in conjunction with with a hardware block. As for audio, the hardware ACE (Audio Codec Engine) appears to only exist in A10 and older SoCs. Allwinner refactored their proprietary userspace libraries and published them partly under GPLv2 naming them "media-codec" while some codecs are still only available as proprietary binary blobs linked in like plugins.

After some pressure caused by the controversies [1] [2] [3] [4] surrounding the license of this library, Allwinner released a new media-codec library called Sunxi-CedarX [5] , which is a rewrite that up to now only partial implements some codecs as open source, letting the rest of the codecs and features such an encoding dependents of a closed source plugin binary.

Disadvantages Allwinner's CedarX technology and libraries:

  • Allwinner's own CedarX proprietary libraries are known to have no clear usage license, so even if the source code for some versions is available the terms-of-use is unknown in open source software. Allwinner is slowly working towards to resolve this issue.

Reverse engineering

The video engine was and is currently being reverse engineered with successful results. To the point of making possible an experimental vdpau implementation capable of being used to play videos.


CedarX official source code libraries and third-party forks

The following are old and obsolete, is not recommend for any use.

Possibly irrelevant observations

  • There seems to be a distinction in the Android code between audio decoding ("CedarA") and video decoding ("CedarV").


  1. http://www.phoronix.com/scan.php?page=news_item&px=Allwinner-GPL-Violate-Proof
  2. http://www.phoronix.com/scan.php?page=news_item&px=Allwinner-Obfuscating-Code
  3. http://www.phoronix.com/scan.php?page=news_item&px=allwinner-stripped-symbols
  4. https://www.phoronix.com/scan.php?page=news_item&px=Allwinner-Actions-Internally
  5. http://www.phoronix.com/scan.php?page=news_item&px=Allwinner-CedarX-New-OSS

See also

Personal tools