Forum Discussion
Altera_Forum
Honored Contributor
16 years agoYou have to do away with the scaling to get the raw unscaled input video stored in your ram video buffer. For that you have to decide what should be your avid etc which will depend on your camera specifications because the tvp5154 will assume it to be standard NTSC and in case your input video is not standard NTSC, it will upset your input video buffers.
you can stop or start any channel by writing 0 or 1 respectively to this register : IOWR(video_in_base[cam_id], 0x0, 1 ); where cam_id can be 0,1,2 or 3. If you want to have unscaled input, stop scaling and use registers 11,12,13,14 and set your pane registers accordingly. In the demo code , all those registers used after i2c_write(I2C_BASE, 0xb8>>1, 0x1F, 0x01 ); // Enable scaler mode is just for scaling images down to 320x240 resolution. So you may not need them. Rama.