Initial import from Allwinner Linux-codec-1.2