c2-codecs: implement hardware codecs in c2

The conversion to c2 is needed because of the following reasons:

1, The current goldfish hardware codecs (avcdec,vpxdec)
are based on OMX framework, which is deprecated by C2.

2, OMX only supports 32bit native code, and it cannot
work on 64bit only guest.

most of the skeleton code come from C2 SW; with some
additional modification to talk to host side.

Change-Id: I1a7b368137f87ff312848478d79d907280e9d84f
25 files changed