Commit 2e9294aa authored by 吴智聪(John Wu)'s avatar 吴智聪(John Wu)

set the ccdc horizontal start parameter correctly, fix left black band bug

parent e3fd478f
......@@ -55,7 +55,7 @@ void ccdc_setwin(ccdc_params_ycbcr * params)
int vert_start, vert_nr_lines;
/* configure horizonal and vertical starts and sizes */
horz_start = params->win.left << 1;
horz_start = params->win.left;
horz_nr_pixels = (params->win.width <<1) - 1;
regw((horz_start << 16) | horz_nr_pixels, HORZ_INFO);
......
......@@ -54,10 +54,10 @@
#define VPFE_WIN_QCIF {0,0,176,144}
#define VPFE_WIN_QVGA {0,0,320,240}
#define VPFE_WIN_SIF {0,0,352,240}
#define VPFE_WIN_HD480P {0,0,720,480}
#define VPFE_WIN_HD576P {0,0,720,576}
#define VPFE_WIN_HD720P {0,0,1280,720}
#define VPFE_WIN_HD1080I {0,0,1920,1080}
#define VPFE_WIN_HD480P {69,0,720,480}
#define VPFE_WIN_HD576P {72,0,720,576}
#define VPFE_WIN_HD720P {185,0,1280,720}
#define VPFE_WIN_HD1080I {140,0,1920,1080}
#define VPFE_CAPTURE_ID_TVP5150 0
#define VPFE_CAPTURE_ID_TVP7000 1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment