public void convert(byte[] data, ByteBuffer buffer) {
		byte[] result = convert(data);
		int min = buffer.capacity() < data.length?buffer.capacity() : data.length;
		buffer.put(result, 0, min);
	}
Converts from NV21 to YUV420 semi planar or planar.
src/net/majorkernelpanic/streaming/hw/NV21Convertor.java