I am new to this video processing.I have assigned a task of extracting a frame from a given yuv 4:2:0 file which is in QCIF format. basically I am using c program for this.
HELP me in coding
QCIF is a raw collection of pixels composed of what are called luma, cb, cr in the following array format.A luma frame is composed of 176x144 luma samples, followed by 88x72 cb samples followed by 88x72 cr samples. Reference
unsigned char luma[176][144];
unsigned char cb[88][72];
unsigned char cr[88][72];
Here you can find code that is used to read qcif file format.