happycube / ld-decode

Software defined LaserDisc decoder
GNU General Public License v3.0
310 stars 82 forks source link

NTSC timing in TBC output frame incorrect #41

Closed simoninns closed 6 years ago

simoninns commented 6 years ago

The timing of the NTSC output frame from the TBC doesn't seem to be correct. The frame is supposed to start (according to ld-decode rather than the video standard) at the end of the sync-tip:

This should put the start of the active video line at 0.6 + 2.5 + 1.6uS from the beginning of the frame, but it's actually 0.6 + 2.5 + 1.6 + 0.4uS - and I have no idea where the extra .4uS is coming from.

Note: This isn't a problem for PAL frames where the timing appears correct.

simoninns commented 6 years ago

I looked at this a little more and it seems like the timing error is 0.6us (rather than 0.4)

happycube commented 6 years ago

There was an 8 pixel offset that was added for comb-ntsc compatiblity. Removed it and adjusted comb-ntsc instead.