hi all,
Now I need output video to cvbs, but I don't know how to config display, give a hand, pls.
Thanks !
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
hi all,
Now I need output video to cvbs, but I don't know how to config display, give a hand, pls.
Thanks !
Please refer to FBDev user guide, it explains how to display over SD VENC/Composite output.
Rgds,
Brijesh
Thanks for your reply.
I modified my configure according to http://processors.wiki.ti.com/index.php/TI81XX_PSP_VPSS_Video_Driver_User_Guide#FBDEV_Driver, but that didn't work .
Configure the SD VENC(Composite output)
# # ls -1 /sys/devices/platform/vpss/display2/ clksrc enabled mode name order output timings #
Acronym | Definition |
---|---|
clksrc | not supported |
enabled | Enable/Disable the VENC.
# echo 0/1 > /sys/devices/platform/vpss/display2/enabled |
mode | Set the right VENC mode:ntsc/pal are supported (default ntsc).
# echo ntsc/pal > /sys/devices/platform/vpss/display2/mode |
order | reshuffle display order
echo A,B/C/D/E > /sys/devices/platform/vpss/display2/order A: enable(1)/disable(0) global reorder. if 0 is set, then only B value is required, C,D and E should not be used. B: 0-3: display order of video(0:lowest, 3:highest) C: 0-3: display order of graphics0 D: 0-3: display order of graphics1 E: 0-3: display order of graphics2 |
output | set the output for SD VENC
echo composite/svideo > /sys/devices/platform/vpss/display2/output |
timings | Displays the timing configuration.(Not available now) |
What else can I do ?
Thanks.
Follow below steps,
Disable VENC, check if it is really disabled
changed output to composite
Change mode to either ntsc/pal
enable/start the venc,
These steps should work.
Rgds,
Brijesh
Thanks.
I failed again when I did follow your advice.
fbdev config:
cd /sys/devices/platform/vpss/display2/
echo 0 > enabled
echo composite > output
echo ntsc > mode
echo 1 > enabled
cd -
displayLink config:
gVdisModuleContext.displayId[0] = SYSTEM_LINK_ID_DISPLAY_2;
192 MULTICH_INIT_STRUCT(DisplayLink_CreateParams,displayPrm[0]);
193 displayPrm[0].inQueParams[0].prevLinkId = gVcapModuleContext.sclrId[1] ;
194 displayPrm[0].inQueParams[0].prevLinkQueId = 0;
195 displayPrm[0].displayRes = VSYS_STD_NTSC;
196
197
198 System_linkCreate (gVcapModuleContext.captureId, &capturePrm, sizeof(capturePrm));
199 System_linkCreate(gVcapModuleContext.sclrId[0], &mpSclrPrm1, sizeof(mpSclrPrm1));
200 System_linkCreate(gVcapModuleContext.sclrId[1], &sclrPrm1, sizeof(sclrPrm1));
201
202 System_linkCreate(gVdisModuleContext.displayId[0], &displayPrm[0], sizeof(displayPrm[0]));
linkChains:
cature(2448*2048) -> mpscalar (1080p) -> scalar(ntsc) -> display
is there any error ? 3Q