How can I transplant spcaview to ARM9

Hi, everyone. The past few days I have been put in to transplant spcaview to ARM9. If I'm If I am successful, I can see the video on the LCD(640x480). Now I have finished transplanting the SDL_lib, and the examples that along with SDL_lib can run fine. And the spcaview I transplanted to ARM is run fine when I use cmd "spcaview -v -o test.avi", and the test.avi display fine in windows. Only when it display on ARM there is always breaking with "Segmentation error". The following is detail:

[/mnt/nfs]./spcaview -g Spcaview version: 1.1.5 date: 12:12:2005 (C) snipped-for-privacy@magic.fr Initializing SDL. SDL initialized. bpp 3 format 15 Using video device /dev/video0. Initializing v4l. **************** PROBING CAMERA ********************* Camera found: Z-star Vimicro zc0301p Bridge found: ZC301-2 Bridge find ZC301-2 number 13 StreamId: JPEG Camera quality 1 autoexpo 1 Timeframe 0 Bridge find ZC301-2 number 13 Available Resolutions width 640 heigth 480 native Available Resolutions width 352 heigth 288 decoded Available Resolutions width 320 heigth 240 native * Available Resolutions width 176 heigth 144 decoded ***************************************************** grabbing method READ asked VIDIOCGWIN height 240 width 320 VIDIOCGPICT brightnes=32768 hue=0 color=0 contrast=32768 whiteness=0 depth=24 palette=4 VIDIOCSPICT brightness=32768 hue=0 color=0 contrast=32768 whiteness=0 depth=24 palette=15

pc : [] lr : [] Not tainted sp : bffef6b8 ip : 401b9608 fp : bffef714 r10: 4026b3f8 r9 : bffef798 r8 : 40305008 r7 : 000000f0 r6 : 00000d50 r5 : 00000000 r4 : 4032b008 r3 : 400f7830 r2 : 00000000 r1 : 0000e130 r0 : 00000000 Flags: nzCv IRQs on FIQs on Mode USER_32 Segment user Control: C000317F Table: 33B80000 DAC: 00000015 Fatal signal: Segmentation Fault (SDL Parachute Deployed)

The problem has confused me for several days. Anyone can help? Thanks!

PS: I'm Asian. My English is poor. If you are not clear of my expression,you can tell me, I 'll improve. And you can use gmail contact me, my gmail is snipped-for-privacy@gmail.com.

Reply to
$BG$9>E/(B(ReadLine)
Loading thread data ...

Can anyone help me? Thanks!

Reply to
$BG$9>E/(B(ReadLine)

No.

-- [mail]: Chuck F (cbfalconer at maineline dot net) [page]: Try the download section.

Reply to
CBFalconer

NNND$B!*(B

Reply to
$BG$9>E/(B(ReadLine)

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.