AlphamaxMedia / netv2-fpga

Quickstart for building FPGA code for NeTV2
78 stars 8 forks source link

Problem with adjusting cropping #14

Closed Lanthade closed 4 years ago

Lanthade commented 4 years ago

I've been trying to adjust the cropping per the posted instructions and every time I try it I completely loose the overlay.

I'm not sure if the command I should be issuing is:

debug setrect 32 32 10 10

or if it should be:

debug setrect <32> <32> <10> <10>

Either way I loose overlay till I do a reboot on the fpga board (thanks for the button BTW).

bunnie commented 4 years ago

The cropping got phased out in the latest firmware release. Have you updated your firmware since you received the board?

The original purpose of the cropping was to prevent image material from smashing sync signals that would cause you to lose the overlay. With the latest release the sync areas are detected and automatically masked out, so if there is some problem aligning the pixel streams you don't accidentally smash the sync signals on the outgoing stream.

The idea being that subsequent to this, you can the crop the image reliably by rendering it within a box, instead of having to rely on this feature (which was unreliable and can cause the sync loss as you noted).

Lanthade commented 4 years ago

Ahh, good to know. Maybe mark that instruction page as depreciated then?

bunnie commented 4 years ago

Good point. I've gone and added a note to the page.