4:2:2 8bit ycrcb

Hi,

I have the EVAL-ADV7612-7511p video evaluation board .I'm using 7612 to receive  HDMI inputs from camera(720p @60) , and then feed to 7511 to output the video to the screen. 

camera -> 7612 --> 7511 --> screen

When adv7612 output 4:4:4 8bit ycrcb,i can see correct image on the screen,

But when i configure it to 4:2:2,the color is incorrect.

i change two registers:

1)ADV7612: 0x98 03            OP_FORMAT_SEL[7:0] 

2)ADV7511: 0x72 15 

if there are any other registers i should configure?

thanks,

heven



adv7612 7511
[edited by: heaven at 7:54 AM (GMT 0) on 23 Jan 2019]
Parents
  • 0
    •  Analog Employees 
    on Jan 23, 2019 9:45 AM over 1 year ago

    Hi,

     When the ADV7612 pixel output format is set to 4:2:2 (refer to the Pixel Port Output Modes section), the DPP section down converts the 4:4:4 stream from the HDMI section according to DS_WITHOUT_FILTER
    For a 4:4:4 HDMI input stream to the ADV7612
      The DPP section filters and downsamples the video data from 4:4:4 to 4:2:2 format if DS_WITHOUT_FILTER is set to 0. The DPP section only downsamples, without filtering, the video data from the HDMI section if DS_WITHOUT_FILTER is set to 1.
    For a 4:2:2 HDMI input stream, the functionality of DS_WITHOUT_FILTER is reversed.  
    This inversion ensures that for a 4:2:2 HDMI input stream no filtering will be applied if DS_WITHOUT_FILTER is left to its
    default value 0. When a 4:2:2 HDMI input stream is input to the
    ADV7612, the DPP section downsamples, without filtering, the video data from 4:4:4 to 4:2:2 format if DS_WITHOUT_FILTER is set to 0. If DS_WITHOUT_FILTER is set to 1, the DPP filters and downsamples the video data from 4:4:4 to 4:2:2 format.

    And also make sure the sink is interpreting what the ADV7612 is outputting.  Make sure the sink has the correct bus / pin alignment when 422 mode. 422 mode only uses 16 pins instead of 24.Please refer here ez.analog.com/.../25645
     The incoming HDMI can be either RGB 444 or YCbCr 444/422.  It converts the it to 444 internally for processing then converts it again to the output format, either 444 or 422
    422 implies there is one luminance output per input sample with the color information interleaved in the data stream with the output clock doubled.  422 also implies there is one color sample per 2 luminance sample.  The color information is subsampled.  RGB can not be output in 422 format.  Check out en.wikipedia.org/.../4:2:2 for a better description of this format.

    Thanks,

    Poornima

  • Thanks for the response.  https://ez.analog.com/video/f/qa/5442/adv7612-problems-with-hdmi-ycbcr-4-2-2-input/25645  it seems that his question hasn't been solved.

    I only want to know how to configure the registers. 

  • 0
    •  Analog Employees 
    on Jan 24, 2019 6:00 AM over 1 year ago in reply to heaven

    Hi,

     Could you please your register dump on this?

    Thanks,

    Poornima

  • 0
    •  Analog Employees 
    on Jan 24, 2019 6:30 AM over 1 year ago in reply to PoornimaSubramani

    Hi,

      Have you configure the CSC register?

      Have you verified the 4:2:2 Output mode in Pixel Output formats. Refer Page198 in ADV7612 Reference Manual.
      And also Refer to the DLL settings for 656, 8-/10-/12-bit modes in the DLL on LLC Clock Path section. Refer Page 29.
      And crosscheck with OP_CH_SEL[2:0] register for corresponding pin configuration.

    Thanks,

    Poornima

  • Hi,

    i didn't configure the CSC register.

     I Analyzed the data from ADV7612 with a logic analizer,and  the data is correct. So I think the problem is 7511, not 7612.

    Thanks,

    Heven

Reply Children