Hi! I can not understand this part of code:
for(int y=0; y<240; y++)
//fwrite(pFrame->data[0]+y*pFrameRGB->linesize[0], 1, 320*3, bufptr);
I know, it outputs image file with frame. But, for sample, what linesize[0] is
there for? And why there is only 240 output steps? Not 240*320?. Is there a way
to access every pixel as I need in my program? Put it one by one.
If I understand correct, all pixel data are stored here, at data[0]? Can I, for
sample, access pixel number 32 in a row?
Regards,
Konstantin.
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user