In simple words, how to rotate Surface created by MediaCodec.

On Wednesday, September 21, 2016 at 3:42:43 PM UTC+5:30, AJ wrote:
>
> Hi,
>
> I am developing a Camera related App and I am using Camera2 APIs. I have 
> two surfaces added as target. One for the camera preview and second for 
> getting the encoded frames. The camera preview orientation can be easily 
> manipulated using the setTransform() method. But, how can the orientation 
> of the surface used for encoding be changed? In my case, for reverse 
> landscape orientation, the encoded frame is upside down.
>
> Best regards,
> Ajay
>

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/9fcb1238-60ec-4782-88d9-ce6606b9b2c6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to