Commit graph

5 commits

Author SHA1 Message Date
Shadul Shaikh
325b946207 video_common: XVid->XVidC and adherence to Xilinx coding guidelines.
Signed-off-by: Shadul Shaikh <shaduls@xilinx.com>
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:33:08 +05:30
Andrei-Liviu Simion
c9ef03a85f video_common: Added pixel frequency computation function.
There are now two functions used for this purpose:
- u32 XVid_GetPixelClockHzByHVFr(u32 HTotal, u32 VTotal, u8 Fr);
- u32 XVid_GetPixelClockHzByVmId(XVid_VideoMode VmId);

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:33:02 +05:30
Andrei-Liviu Simion
9bdd128712 video_common: F1PVTotal->F1VTotal.
Progressive video modes only have frame 0, no frame 1.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:32:59 +05:30
Andrei-Liviu Simion
75cca5dda4 video_common: Added function to check whether the video format is interlaced.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:32:57 +05:30
Andrei-Liviu Simion
740c3ea65e video_common: Removed pixel clock from table and structure. Now computing.
Added a new function that computes the pixel clock frequency rather than having
it as part of the video mode table and structure. This saves some space.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-04-26 10:32:54 +05:30