Misc updates

-optimizations from Borti
-more code refactoring
-fix build warnings
-change scanline mode logic
This commit is contained in:
marqs committed 2016-06-12 23:43:24 +03:00
1 parent 51c43a7c10
commit 6c5f753245
24 files changed
+952 -642

No files matched your search

+1 -1
View File
@@ -241,7 +241,7 @@ void tvp_sel_clk(alt_u8 refclk)
}
}
void tvp_sel_csc(ypbpr_to_rgb_csc_t *csc)
void tvp_sel_csc(const ypbpr_to_rgb_csc_t *csc)
{
tvp_writereg(TVP_CSC1HI, (csc->G_Y >> 8));
tvp_writereg(TVP_CSC1LO, (csc->G_Y & 0xff));
+1 -1
View File
@@ -79,7 +79,7 @@ void tvp_setup_hpll(alt_u16 h_samplerate, alt_u16 v_lines, alt_u8 hz, alt_u8 pll
void tvp_sel_clk(alt_u8 refclk);
void tvp_sel_csc(ypbpr_to_rgb_csc_t *csc);
void tvp_sel_csc(const ypbpr_to_rgb_csc_t *csc);
void tvp_set_lpf(alt_u8 val);