dvisampler/decoding: hold C when DE=1
dvisampler: add sync polarity detection module (thanks Lars for suggestions)
dvisampler/resdetection: use DE instead of hsync
software/videomixer: use new resdetection regs