android Programming Glossary: pfile
Decoding Video using FFMpeg for android http://stackoverflow.com/questions/11322952/decoding-video-using-ffmpeg-for-android there Here SaveFrame function is used it looks like void SaveFrame AVFrame pFrame int width int height int iFrame FILE pFile char szFilename 32 int y Open file LOGI Opening file sprintf szFilename frame d.ppm iFrame pFile fopen szFilename wb if.. int iFrame FILE pFile char szFilename 32 int y Open file LOGI Opening file sprintf szFilename frame d.ppm iFrame pFile fopen szFilename wb if pFile NULL return Write header fprintf pFile P6 n d d n255 n width height LOGI width width Height.. szFilename 32 int y Open file LOGI Opening file sprintf szFilename frame d.ppm iFrame pFile fopen szFilename wb if pFile NULL return Write header fprintf pFile P6 n d d n255 n width height LOGI width width Height height Write pixel data for..
|