1
0
mirror of https://github.com/marqs85/ossc.git synced 2026-04-21 05:16:31 +00:00

Misc updates

-optimizations from Borti
-more code refactoring
-fix build warnings
-change scanline mode logic
This commit is contained in:
marqs
2016-06-12 23:43:24 +03:00
parent 51c43a7c10
commit 6c5f753245
24 changed files with 952 additions and 642 deletions
+1
View File
@@ -1,5 +1,6 @@
//#include "terasic_includes.h"
//#include "mcu.h"
#include <unistd.h>
#include "it6613_sys.h"
#include "hdmitx.h"
#include "HDMI_TX.h"
+2
View File
@@ -78,6 +78,8 @@ HDCP_ResumeAuthentication()
}
#endif
void DelayMS(unsigned int ms);
//#include "edid.h"
// #include "dss_sha.h"
#include "it6613_drv.h"
+1
View File
@@ -1,5 +1,6 @@
#include <stdio.h>
#include <unistd.h>
#include "sysconfig.h"
#include "system.h"
#include "i2c_opencores.h"
#include "it6613.h"
+1 -1
View File
@@ -1225,7 +1225,7 @@ SetInputMode(BYTE InputMode,BYTE bInputSignalType)
static void
SetCSCScale(BYTE bInputMode,BYTE bOutputMode)
{
BYTE ucData,csc ;
BYTE ucData,csc=0 ;
BYTE filter = 0 ; // filter is for Video CTRL DN_FREE_GO,EN_DITHER,and ENUDFILT
+2 -2
View File
@@ -279,7 +279,7 @@ HDMITX_ChangeDisplayOption(HDMI_Video_Type OutputVideoTiming, HDMI_OutputColorMo
bInputColorMode &= ~F_VIDMODE_ITU709 ;
}
if( Colorimetry != HDMI_640x480p60)
if( OutputVideoTiming != HDMI_640x480p60)
{
bInputColorMode |= F_VIDMODE_16_235 ;
}
@@ -377,7 +377,7 @@ ParseEDID()
// collect the EDID ucdata of segment 0
BYTE CheckSum ;
BYTE BlockCount ;
BOOL err ;
BOOL err = FALSE ;
BOOL bValidCEA = FALSE ;
int i ;