Android 相机应用图像数据流 NV21旋转代码
public static byte[] rotateYUV420Degree90(byte[] input, int width, int height, int rotation) {
int frameSize = width * height;
int qFrameSize = frameSize / 4;
byte[] output = new byte[frameSize + 2 * ...
原创
2018-03-09 19:03:12 ·
1735 阅读 ·
1 评论