Comments (10)
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.
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.
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.
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.
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.
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.
Original comment by tdomhan
on 27 Apr 2010 at 5:31
- Changed state: Accepted
from andar.
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.
updated in issue 11
Original comment by [email protected]
on 28 Apr 2010 at 3:18
from andar.
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)
- Problem with andar HOT 2
- Model viewer doesn't work for Dell Streak, even though the test app does.
- asus prime transformer problem
- Not able to load the obj file HOT 2
- Can't run the AndarSample. Help please! HOT 9
- andAR for beginner
- How to custom load texture images ?
- Possible to load an image format? png? jpet? bmp?
- ClassLoader error on example running. HOT 1
- Does it work with Virtual Devices?
- error in installation in MICROMAX A75
- Zenithink C94 White Screen
- AndroA
- AndroAR Model Viewer does not work on HTC EVO HOT 3
- Error while runnig the AndARSampleProject
- unregisterARObject method raises an exception
- Problem loading a model made in Blender
- How can i touch the 3d object and show a menu please help ?
- Mix AndAR and Min3D Problems
- AndARModelViewer clashes during the 3d model list is selected HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from andar.