android-gpuimage icon indicating copy to clipboard operation
android-gpuimage copied to clipboard

if I use updatePreviewFrame instead of setUpCamera, how can I control horizontal mirror

Open everlastxc opened this issue 5 years ago • 1 comments

I use updatePreviewFrame instead of setUpCamera, there is a question that the picture is not mirror when I switch to front Camera, I mention that setUpCamera has a parameter called flipHorizontal while updatePreviewFrame only has data, width, height. I think you got what I mean, so what should I do?

everlastxc avatar Mar 24 '20 09:03 everlastxc

GPUImage#

public void setRotation(final Rotation rotation,  final boolean flipHorizontal, final boolean flipVertical)

setup flipVertical=true while front camera need mirror effect.

act262 avatar Jun 02 '20 02:06 act262