Hi all,
I'm using a DM365, and my application needs to get a video stream coming from an Aptina sensor (VPFE side), and output it on 2 sides : one RTSP stream, and one Digital out (YCC16 -> external imager). Both of output have same resolution (720p or 1080i).
My issue is that the timings are not correct on the digital output. The RTSP stream is correct, and is used as the reference for the configuration of the Digital Out. The Digital Out has indeed blank portions.
I could fix the band on the right using VENC_HSDLY (see config below). Unfortunately, VENC_VSDLY could not fix the band on the bottom part of the video.
Could you please help ? What is the block I shall better configure (VPBE ? IPIPE ? RSZ ? Linux driver ? ...) ?
Thanks in advance
Guillaume
===
For the 720P config, on the VPBE driver, I have performed the following configuration (among others) :
dispc_reg_out(VENC_VMOD, ((HDTV_720P<<VENC_VMOD_TVTYP_SHIFT) | VENC_VMOD_VENC | VENC_VMOD_HDMD) & 0xFFFFFFFE);
dispc_reg_out(VENC_HSPLS, 40); // CLK
dispc_reg_out(VENC_VSPLS, 5); // H lines
dispc_reg_out(VENC_HINT, 1649); // CLK,
dispc_reg_out(VENC_VINT, 749); // H lines,
dispc_reg_out(VENC_HVALID, DISP_XRES720P); // 1280
dispc_reg_out(VENC_VVALID, DISP_YRES720P); // 720
dispc_reg_out(VENC_HSTART, 0); // should be 260 !
dispc_reg_out(VENC_VSTART, 26); // required 26 for correct timing
dispc_reg_out(VENC_VSTARTA, 0);
dispc_reg_out(VENC_HSDLY, 1390); // in master mode
// dispc_reg_out(VENC_VSDLY, 6600);
dispc_reg_out(VENC_VSDLY, 0);