mirror of
https://github.com/marqs85/ossc
synced 2026-10-30 19:57:20 +03:00
Misc updates
-optimizations from Borti -more code refactoring -fix build warnings -change scanline mode logic
This commit is contained in:
1 parent
51c43a7c10
commit
6c5f753245
24 files changed
+952
-642
No files matched your search
@@ -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"
|
||||
|
||||
@@ -78,6 +78,8 @@ HDCP_ResumeAuthentication()
|
||||
}
|
||||
#endif
|
||||
|
||||
void DelayMS(unsigned int ms);
|
||||
|
||||
//#include "edid.h"
|
||||
// #include "dss_sha.h"
|
||||
#include "it6613_drv.h"
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
#include "sysconfig.h"
|
||||
#include "system.h"
|
||||
#include "i2c_opencores.h"
|
||||
#include "it6613.h"
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
|
||||
@@ -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 ;
|
||||
|
||||
|
||||
Reference in new issue
Block a user