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.

how to get the data of Y\U\V separably?

MY main task is to get the data of Y U V separably and deal with them by my own algorithm!

Right now:

i know the data format is SWOSD_FORMAT_YUV422i as it had been set (   pSwOsdObj->videoWindowPrm.format = SWOSD_FORMAT_YUV422i;) in the function of AlgLink_OsdalgCreate().

i got thr the codes and knew that  pInA (pInA = swOsdCtrl->videoWindowAddr ) had been set to the address of video in the function of SWOSD_TI_algRun().  And i tried :

for(i=0;i<1080;i++)

  {

for(j=0;j<1920*2;j++)

   {

     if(j%2!=0)

        *(pInA+j)=0x80;

     else 

   }

 }

there was something wrong , could you tell how to get the data of Y U V separably ?