This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Question on YCrCb Demultiplexing for DM6437

Other Parts Discussed in Thread: TMS320DM6437

Hi, I am using TMS320DM6437 video development platform.
If i want to demux a YCrCb image into corresponding unpacked luma, chroma r and chroma b data using the 'IMG_yc_demux_le16' function, can I do it this way?


    #include <img_yc_demux_le16.h>   

    /* Video Frame buffers: */
    static FVID_Frame *frameBuffPtr = NULL;

    /* Video Driver Handles: */
    static FVID_Handle hGioVpfeCcdc = NULL;

    /* for NTSC image 720 x 480 which in 345600 pixels, and YCrCb ratio is 4:2:2 */
    short        y[172800];    /*initialize array for Unpacked luma data.*/
    short        cr[86400];    /*initialize array for Unpacked chroma r data.*/
    short        cb[86400];    /*initialize array for Unpacked chroma r data.*/

   
    /* suppose the video display driver is properly set */

    FVID_exchange(hGioVpfeCcdc, &frameBuffPtr);
    IMG_yc_demux_le16(345600,frameBuffPtr->frame.frameBufferPtr,y,cr,cb)


When I debugged the program, it will always run up to the 'FVID_exchange' function, step over and not executing the 'IMG_yc_demux_le16' function. Can anyone tell me what's the problem is and how to fix it? Any help and suggestion is greatly appreciated.