How to convert argb to nv21 (yuv420sp) in Android ndk?
720 * 1280 ask if I should go to the following parameters api to change the color format of the image size.
argb image data size is 3,686,400.
(width : 720
height : 1280
bitPerPixel : 32
bytePerPexel: 4)
Api is down https://code.google.com/p/libyuv/
int ARGBToNV21 (const uint8 * src_argb, int src_stride_argb,
uint8 * dst_y, int dst_stride_y,
uint8 * dst_vu, int dst_stride_vu,
int width, int height);
What is the meaning of the parameters? int src_stride_argb? int dst_stride_y? int int dst_stride_vu?
Please help with a simple example.