HDMI - decoder

Post Reply
hydronics_2
Posts: 1
Joined: May 6th, 2018, 7:20 pm

HDMI - decoder

Post by hydronics_2 » May 7th, 2018, 9:01 pm

I couldn't get HDMI decoder y row working. It always returned a zero....

I ended up going into the hdmi_decoder.luc and changing it around a bit. I was only interested in the first few 100 pixels so this may not work for everyone's application...

Code: Select all

      
dff vFlag[2]; //before always block

if (hdmi_in.de) 
{
   x_ctr.d = x_ctr.q + 1;
  //y_ctr.d = y_ctr.q + 1;
  //if (hedge.out)
  //y_ctr.d = y_ctr.q + 1;
}

if(x_ctr.q > d800 && vFlag.q == 0) //increments the vertical line once every horizontal line arbitrary set at 800 pixels across 
{
  y_ctr.d = y_ctr.q + 1;
  if(!&vFlag.q)  //increments this flag so the vertical line counter only increments once per row....
    {
      vFlag.d = vFlag.q + 1;
    }
}
    
if(x_ctr.q == d750) //resets flag 
{
  vFlag.d = 0;
}

hydronics
Posts: 4
Joined: April 27th, 2018, 7:33 pm

Re: HDMI - decoder

Post by hydronics » May 21st, 2018, 9:53 pm


Post Reply