Giter Club home page Giter Club logo

Comments (10)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 20, 2024
Hi,

Is there anything that looks like an error printed in the log? ( capture the 
output
from 'adb logcat' when you run the app). 

Original comment by [email protected] on 15 Apr 2010 at 12:42

from andar.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 20, 2024
here's the logcat

V/QualcommCameraHardware(   37): startPreview E
V/QualcommCameraHardware(   37): camera hardware has been started already
V/QualcommCameraHardware(   37): initPreview: preview size=240x160
V/QualcommCameraHardware(   37): constructing MemPool preview backed by pmem 
pool
/dev/pmem_adsp: 3 frames @ 57600 bytes, offset 72, buffer size 76872
V/QualcommCameraHardware(   37): pmem pool /dev/pmem_adsp ioctl(PMEM_GET_SIZE) 
is 262144
V/QualcommCameraHardware(   37): constructing PreviewPmemPool
I/libqcamera(   37): libqcamera:camera_add_pmem_fd:1000 module 
/dev/adsp/VFETASK:
(enabled 0) added pmem 0x40e28000 fd 24 len 262144 flags 0 to pmem map!
V/QualcommCameraHardware(   37): ----------------------------------    camera 
start
preview  !!!
V/QualcommCameraHardware(   37): get_preview_mem: base 0x40e28000 MALLOC size 
76872
index 0 --> 0x40e28000
V/QualcommCameraHardware(   37): get_preview_mem: base 0x40e28000 MALLOC size 
76872
index 1 --> 0x40e3ac48
V/QualcommCameraHardware(   37): get_preview_mem: base 0x40e28000 MALLOC size 
76872
index 2 --> 0x40e4d890
V/QualcommCameraHardware(   37): waiting for QCS_PREVIEW_IN_PROGRESS
I/libqcamera(   37): libqcamera:VFE_RTOSMsgCBHandler:2519 VFE_RTOSMsgCBHandler:
Unknown MsgID:65535
I/libqcamera(   37): libqcamera:VFE_ConfigureVideo:2902 Output1 is configure 
larger
than camsensor FOV.
I/libqcamera(   37): libqcamera:VFE_ResetCamif_2:2572 -----------------send VFE 
DSP
CAMIF reset 2---------------
I/libqcamera(   37): libqcamera:VFE_UpdateScaleOutput1CfgCmd:7650 Output1 Y 
PolyPhase
Scaler is configured larger than input.
V/QualcommCameraHardware(   37): STATE CAMERA_FUNC_START_PREVIEW // STATUS 0
V/QualcommCameraHardware(   37): camera_cb: state transition
QCS_INTERNAL_PREVIEW_REQUESTED --> QCS_PREVIEW_IN_PROGRESS
V/QualcommCameraHardware(   37): startPreview X
V/QualcommCameraHardware(   37): getPreviewHeap
I/ActivityManager(   71): Displayed activity
edu.dhbw.andopenglcam/.OpenGLCamActivity: 2785 ms
I/MarkerInfo(  476): setting screen width(480) and height(320)
I/MarkerInfo(  476): going to initialize the native library now
D/dalvikvm(  476): +++ not scanning '/system/lib/libwebcore.so' for 
'artoolkit_init'
(wrong CL)
D/dalvikvm(  476): +++ not scanning '/system/lib/libmedia_jni.so' for
'artoolkit_init' (wrong CL)
I/AR      (  476): --------------------------------------
I/AR      (  476): SIZE = 240, 160
I/AR      (  476): Distortion factor = 119.437500 98.812500 186.311111 1.012757
I/AR      (  476): 262.85680 0.00000 118.68750 0.00000
I/AR      (  476): 0.00000 272.28532 90.56250 0.00000
I/AR      (  476): 0.00000 0.00000 1.00000 0.00000
I/AR      (  476): --------------------------------------
I/MarkerInfo(  476): alright, done initializing the native library
I/MarkerInfo(  476): going to draw opengl stuff now
D/ConversionWorker(  476): starting conversion
D/dalvikvm(  476): +++ not scanning '/system/lib/libwebcore.so' for 
'yuv420sp2rgb'
(wrong CL)
D/dalvikvm(  476): +++ not scanning '/system/lib/libmedia_jni.so' for 
'yuv420sp2rgb'
(wrong CL)
D/dalvikvm(  476): +++ not scanning '/system/lib/libwebcore.so' for
'artoolkit_detectmarkers' (wrong CL)
D/dalvikvm(  476): +++ not scanning '/system/lib/libmedia_jni.so' for
'artoolkit_detectmarkers' (wrong CL)
D/ConversionWorker(  476): handing frame over to sink
D/dalvikvm(  476): +++ not scanning '/system/lib/libwebcore.so' for 'draw' 
(wrong CL)
D/dalvikvm(  476): +++ not scanning '/system/lib/libmedia_jni.so' for 'draw' 
(wrong CL)
D/dalvikvm(  476): GC freed 1516 objects / 101072 bytes in 127ms
I/MarkerInfo(  476): going to draw opengl stuff now
D/dalvikvm(   71): GC freed 1680 objects / 107432 bytes in 225ms
D/dalvikvm(  309): GC freed 2031 objects / 121776 bytes in 159ms
D/dalvikvm(  126): GC freed 549 objects / 24696 bytes in 173ms

Original comment by [email protected] on 16 Apr 2010 at 3:19

from andar.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 20, 2024
try setting the USE_ONE_SHOT_PREVIEW in the Config class to false. 

I don't have any android 1.5 device at hand...yet

though I might get one temporarly, soon.

Original comment by tdomhan on 16 Apr 2010 at 8:11

from andar.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 20, 2024
yes it works! after setting the USE_ONE_SHOT_PREVIEW to false, AndOpenGLCam work
perfectly in my hTc Hero!
but here comes another problem,
1) after i run the AndOpenGLCam, marker detected and grey box appear
2) exit using back or home button,
3) then re-open AndOpenGLCam (not rerun, just select it in the android menu),  
camera
works but doesn't see the grey box
4) if i shut down the phone and reopen AndOpenGLCam, it works like normal

any idea?

Original comment by [email protected] on 19 Apr 2010 at 2:52

from andar.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 20, 2024
yeah, this is a known bug that has been fixed.
the other bug was also fixed in the new version.
can you check out the newest version of AndAR and set  USE_ONE_SHOT_PREVIEW to 
true. It 
should work.

will close this issue for now, feel free to reopen it, if it still fails.

Original comment by tdomhan on 23 Apr 2010 at 3:17

  • Changed state: Fixed

from andar.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 20, 2024
hi, i tried the new andar,
with the USE_ONE_SHOT_PREVIEW set to true or false, it comes a beautiful white 
screen.

ps:the previous version of andar do give me a green cube

Original comment by [email protected] on 26 Apr 2010 at 2:39

Attachments:

from andar.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 20, 2024

Original comment by tdomhan on 27 Apr 2010 at 5:31

  • Changed state: Accepted

from andar.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 20, 2024
could you run the attached version and provide the output of adb logcat to me?
it has logging enabled.

Original comment by tdomhan on 27 Apr 2010 at 5:38

Attachments:

from andar.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 20, 2024
updated in issue 11

Original comment by [email protected] on 28 Apr 2010 at 3:18

from andar.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 20, 2024
alright, fixed by commit 117-120

Original comment by tdomhan on 30 Apr 2010 at 6:46

  • Changed state: Fixed

from andar.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.