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 quick get YUV420 video data in dsp?

Other Parts Discussed in Thread: OMAP-L138, OMAPL138, TVP5147

Hi 

   I want to get YUV420 Image data in dsp. Is there a quick start method to do it ?

Thanks.

  • Hi Changsheng,

    Thanks for your post.

    Y'UV signals are typically created from RGB (red, green and blue) source. Weighted values of R, G, and B are summed to produce Y', a measure of overall brightness or luminance. U and V.

    Y = 0.299R + 0.587G + 0.114B
    
    U'= (B-Y)*0.565
    
    V'= (R-Y)*0.713

    Please check the below wiki article for more details:

    http://en.wikipedia.org/wiki/YUV#Luminance.2Fchrominance_systems_in_general

    I am not very clear about your question, but anyway, kindly check whether the above articled answered your question, if not, could you please elloborate your query with more details?

    Thanks & regards,

    Sivaraj K

    -------------------------------------------------------------------------------------------------------
    Please click the Verify Answer button on this post if it answers your question.
    -------------------------------------------------------------------------------------------------------

     

  • Hi Sivaraj:

         Thanks for your reply!

         I worked with 8168 DVRRDK before. And now I must quickly finish a project about OMAP-L138. As it is not same with DVRRDK.

         I want to process frame YUV420 Data in dsp, can you tell me a shortcut to do that?

         Thanks very much!

     

  • Hi Changsheng,

    Thanks for your update.

    In OMAPL138, there is an VPIF interface which is connected to TVP5147 ADC to accept composite video frame data with YUV420 and there is an VPIF loopback example sample application availabe from OMAPL138 starterware package, by which, you shall utilise this sample example to understand processing frame YUV420 data in dsp.

    Please check the below link to download starterware software, userguide, quick start guide, release notes and so on:

    http://processors.wiki.ti.com/index.php/StarterWare

    After installation of startware software, you shall see the vpif loopback example in the below path:

    ~\OMAPL138_StarterWare_1_10_03_03\build\c674x\cgt_ccs\omapl138\evmOMAPL138\vpif_lcd_loopback

    Thanks & regards,

    Sivaraj K

    -------------------------------------------------------------------------------------------------------
    Please click the Verify Answer button on this post if it answers your question.
    -------------------------------------------------------------------------------------------------------
  • Hi Sivaraj :

        Thanks very much for your help!

        I will check and try it.

       Thanks