[MPlayer-users] how to output compacted yuv data,without the stride extra space ?

lean fu fulean at gmail.com
Sat Sep 8 15:40:17 CEST 2012


hi list:

is it possible to make mplayer output continuous yuv420 dada ?, i need the
3 YUV components placed  in continuous area, without the stride extra
space.

the total memory size occupied should be  video_width*video_height*1.5
bytes.

for my android port,i'm trying to enhance yuv2rgb conversion performance by
using system api,which may take vantage of hw acceleration.

while system api like this : convert (unsigned char *yuvBuf,int32_t
videowith,int32_t videoheight,unsigned char *rgbBuf).

obviously, it won't work correctly  if pass mp_image->planes[0]  to
yuvbuffer.

are  there some options i can apply under slave mode for this purpose ?
 thanks very much!


More information about the MPlayer-users mailing list