[Gta04-owner] Camera scaling down to VGA

Benjamin Deering ben_deering at swissmail.org
Sat Jun 8 23:13:11 CEST 2013

> Do you use the preview pad here? With the  CCDC->resizer->output
> pipeline, i get no picture. Is it for some
> CCDC->previewer->resizer->output pipeline?
> again, swapuv is wrong!
yes, swapuv is wrong, I grabbed that from an email that predates your 
patch.  I have not yet gotten a picture through the preview pad.

media-ctl -r
media-ctl -v -l '"ov9655 2-0030":0->"OMAP3 ISP CCDC":0[1]'
media-ctl -v -l '"OMAP3 ISP CCDC":1->"OMAP3 ISP resizer":0[1]'
media-ctl -v -l '"OMAP3 ISP resizer":1->"OMAP3 ISP resizer output":0[1]'
media-ctl -v -V '"ov9655 2-0030":0 [UYVY2X8 1280x1024]'
media-ctl -v -V '"OMAP3 ISP CCDC":1 [UYVY2X8 1280x1024]'
media-ctl -v -V '"OMAP3 ISP resizer":0 [UYVY 1280x1024]'
media-ctl -v -V '"OMAP3 ISP resizer":1 [UYVY 640x475]'
mplayer -v tv:// -vf rotate=2 -tv driver=v4l2:device=$(media-ctl -e "OMAP3 ISP resizer output"):outfmt=uyvy:width=640:height=475 -vo x11

These lines work for me (give a picture), but I was wrong about the sync, it does lose sync.

Maybe with your patch the preview pad will work?  The preview pad also crops lines, and it will not work right if the number of lines is wrong.  I wonder if previously we were not getting the color space we asked for due to registers not being set?  I should be able to spend time on this in the next couple days.


More information about the Gta04-owner mailing list