From 528c43c8f04dcd4a8c61abd8100fbe19174a8a71 Mon Sep 17 00:00:00 2001 From: Andrei-Liviu Simion Date: Tue, 18 Nov 2014 12:09:17 -0800 Subject: [PATCH] video_common: Moved DMT table into generic timing table. Signed-off-by: Andrei-Liviu Simion --- XilinxProcessorIPLib/drivers/video_common/src/xvid.h | 4 ++-- .../src/{xvid_dmt_table.c => xvid_timings_table.c} | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) rename XilinxProcessorIPLib/drivers/video_common/src/{xvid_dmt_table.c => xvid_timings_table.c} (98%) diff --git a/XilinxProcessorIPLib/drivers/video_common/src/xvid.h b/XilinxProcessorIPLib/drivers/video_common/src/xvid.h index 8aeba525..0e8f04bf 100644 --- a/XilinxProcessorIPLib/drivers/video_common/src/xvid.h +++ b/XilinxProcessorIPLib/drivers/video_common/src/xvid.h @@ -60,7 +60,7 @@ /** * This typedef enumerates the list of available standard display monitor - * timings as specified in the xvid_dmt_table.c file. The naming format is: + * timings as specified in the xvid_timings_table.c file. The naming format is: * * XVID_VM___ * @@ -191,7 +191,7 @@ typedef struct { /*************************** Variable Declarations ****************************/ -extern XVid_DmtMode XVid_DmtModes[]; +extern const XVid_DmtMode XVid_DmtModes[]; /**************************** Function Prototypes *****************************/ diff --git a/XilinxProcessorIPLib/drivers/video_common/src/xvid_dmt_table.c b/XilinxProcessorIPLib/drivers/video_common/src/xvid_timings_table.c similarity index 98% rename from XilinxProcessorIPLib/drivers/video_common/src/xvid_dmt_table.c rename to XilinxProcessorIPLib/drivers/video_common/src/xvid_timings_table.c index 50396506..f40793c4 100644 --- a/XilinxProcessorIPLib/drivers/video_common/src/xvid_dmt_table.c +++ b/XilinxProcessorIPLib/drivers/video_common/src/xvid_timings_table.c @@ -32,9 +32,9 @@ /******************************************************************************/ /** * - * @file xvid_dmt_table.c + * @file xvid_timings_table.c * - * Contains display monitor timing (DMT) modes for various standard resolutions. + * Contains video timings for various standard resolutions. * * @note None. * @@ -71,7 +71,7 @@ * 13) Vertical sync time (lines) * 14) Vertical back porch (lines) */ -XVid_DmtMode XVid_DmtModes[] = +const XVid_DmtMode XVid_DmtModes[] = { {XVID_VM_640x480_60_P, 0x04, 640, 480, 25175, 0, 1, 1, 8, 96, 40, 2, 2, 25}, {XVID_VM_800x600_60_P, 0x09, 800, 600, 40000, 0, 0, 0, 40, 128, 88, 1, 4, 23},