赞
踩
不需要经过算法处理,底层API封装好了。
mTextureView = findViewById(R.id.surface_yuv);
mTextureView.setRotation(90); // 顺时针旋转90°
mTextureView.setRotationY(180); // 镜面对称
只是预览的处理,原始数据不变。