Closed GoogleCodeExporter closed 9 years ago
When using rotation by 90 or 270, the caller should allocate a buffer that is
HxW instead of WxH.
The source and destination are non-rotated landscape. ie
source rect may be 640x480
dest rect could be 640x360, making the format 16:9 aspect ratio.
The destination buffer is really 360x640, inferred from the rotation being 90
or 270.
The destination stride should be 360 for Y and 180 for U and V planes.
FYI Also you shouldn't be using TransposeUVWx8_C - you should use NEON or SSE2.
Make sure you compile with rotate_neon.cc.neon
See Also
http://gitorious.org/0xdroid/development/blobs/93369c247069b116f39c30530287809f5
a190c22/ndk/apps/hello-neon/project/jni/Android.mk
Original comment by fbarch...@google.com
on 23 Mar 2012 at 1:11
Looks like this is the same issue as 18.
I'm pretty sure its confusion over the parameters to I420Rotate - a bug in
webrtc not libyuv.
Original comment by fbarch...@google.com
on 28 Mar 2012 at 11:58
Original issue reported on code.google.com by
leozw...@google.com
on 23 Mar 2012 at 12:49