goldfish-codecs: add support for UseAndroidNativeBuffers

1. guest will send the host color buffer id in the
getImage call to host

2. host should send decoded Frame to the specified
host color buffer id

3. return other metadata about the decoded frame;
except the frame data.

BUG: 124388359
Test: Build
ANDROID_EMU_CODEC_USE_CUVID_DECODER=1 emulator -qemu -append qemu.hwcodec.avcdec=2
adb shell stagefright -S /data/local/tmp/buck1080p_h264.mp4

Change-Id: I5c684f3e0d438b38f66f9a9f41597f20832c9654
9 files changed