Video timing, calculating blanking

  • Thread starter Thread starter kallisti5
  • Start date Start date
  • Tags Tags
    Video
Click For Summary
SUMMARY

The discussion focuses on calculating the horizontal and vertical blanking intervals for a video card driver. The user, Alex, is attempting to determine the correct start and end pixels for blanking using parameters from the display timing structure. Key calculations involve the front porch and back porch derived from horizontal and vertical sync timings. The conversation highlights the importance of adhering to established video signal specifications, particularly for digital display drivers.

PREREQUISITES
  • Understanding of video display timing parameters
  • Familiarity with digital display driver concepts
  • Knowledge of horizontal and vertical sync signals
  • Basic programming skills in C for driver development
NEXT STEPS
  • Research "digital display driver timing specifications"
  • Study "calculating blanking intervals in video signals"
  • Explore "PAL vs NTSC video timing differences"
  • Learn about "OVERSCAN adjustments in video display"
USEFUL FOR

Video driver developers, hardware engineers, and anyone involved in digital display technology will benefit from this discussion.

kallisti5
Messages
1
Reaction score
0
I am writing a video card driver. One timing parameter I have to pass is H/V Blanking interval start/end.

I have all the standard timing information but can't figure out how to get the blanking start / end pixels.Here are my current calculations, I don't think their right however (you can ignore the c code, just posting it for clarity) Horiz:
// Calculate blanking
uint16 frontPorch = displayTiming.h_sync_start - displayTiming.h_display;
uint16 backPorch = displayTiming.h_total - displayTiming.h_sync_end;

uint16 blankStart = frontPorch - OVERSCAN;
uint16 blankEnd = backPorch;

Vert:
frontPorch = displayTiming.v_sync_start - displayTiming.v_display;
backPorch = displayTiming.v_total - displayTiming.v_sync_end;

blankStart = frontPorch - OVERSCAN;
blankEnd = backPorch;Thanks!
-- Alex
 
Engineering news on Phys.org
anorlunda said:
I just tuned into PF.
I don’t know about digital display driving but, if it were an analogue signal you want to drive, the timings of the video signal are all in the spec.. they differ between PAL and NTSC but the spec is easy to find. At the moment , I am in bright sunlight which makes googling hard for me on my dim screen.
Try “digital display driver timing” I don’t thing any actual calculations should be necessary.
 
Last edited:

Similar threads

  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 18 ·
Replies
18
Views
2K
  • · Replies 30 ·
2
Replies
30
Views
7K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 14 ·
Replies
14
Views
3K
  • · Replies 16 ·
Replies
16
Views
12K
Replies
2
Views
4K