jgfntu2013-05-15 13:32:57
/**
* save rgb24 frame [PGM]
*/
void pgm_save(AVFrame *pFrame, AVCodecContext *pCodecCtx)
{
int i;
int width = pCodecCtx->width, height = pCodecCtx->height;
fprintf(pfout,"P5\n%d %d\n%d\n", width, height, 255);
for(i =0;i < height; i++)
fwri