Support for software rendering as well as some improvements to how the output buffers are released for use again for hardware decoding. Also updated the codec player (Android side) to be able to use the MediaCodec calls directly, or to test the media_codec_layer API.