[SDL] alsa and DMA..
airlied at linux.ie
Mon Jan 31 14:39:52 PST 2005
Firstly, I have known the below:
unsigned char * pBuff; ( the pointer to data buffer, it is successfully initiated at before)
int nBuffLen=230400; (320*240*3)
int nPixedBpp=24; (Frame data's Format type : RGB24 i.e.3 bytes)
Secondly, I want to fill the video image into the whole window which is 640(width)*480(heigh), how to write the code? Should I build a SDL_Surface which is 320*240*24 or 640*480*24?
Thanks a lot.
E-mail: zhouyb at blrcsv.china.bell-labs.com
More information about the SDL