|
Hello, I have been trying to display data captured
from a webcam. When I use a surface under the Cooperative
Level normal I can see something which seems like the webcam
output as when I move the cam the data on the display on the
surface seems to catch that. This is probably because of improper
handling of the data format. However, when I try to create a Window on
the primary layer and then try to display the captured data
(which I get using a read on the /dev/video0) on the window’s surface
I get this: ---------------------- DirectFB
v0.9.25 ---------------------
(c) 2000-2002 convergence integrated media GmbH
(c) 2002-2004 convergence
GmbH
----------------------------------------------------------- (*) DirectFB/Core: Single Application Core.
(2006-10-06 05:28) (*) Direct/Memcpy: Using MMXEXT optimized
memcpy() (*) Direct/Thread: Running 'VT Switcher'
(CRITICAL, 10535)... (*) Direct/Thread: Running 'PS/2 Input'
(INPUT, 10536)... (!!!) *** UNIMPLEMENTED
[fusion_reactor_set_lock] *** [reactor.c:853] (*) DirectFB/Input: IMPS/2 Mouse 1.0
(Convergence GmbH) (*) Direct/Thread: Running 'Keyboard Input'
(INPUT, 10537)... (*) DirectFB/Input: Keyboard 0.9
(convergence integrated media GmbH) (*) DirectFB/Genefx: MMX detected and
enabled (*) DirectFB/Graphics: MMX Software
Rasterizer 0.6 (convergence integrated media GmbH) (*) DirectFB/Core/WM: Default 0.2
(Convergence GmbH) (!) DirectFB/FBDev: Panning display
failed! --> Invalid argument (!) DirectFB/FBDev: Panning display failed! --> Invalid argument +++++++++++ surface_pitch (640),
win.width(320), win.height(240) (!) [10514: 0.000] -->
Caught signal 11 (at 0xb7010000, invalid permissions) <-- Killed The ++++++++ is the result of a printf
statement I used and it clearly shows that the surface_pitch is not correct for the window that I’m creating. It is
retaining the width of the Layer. What mistakes am I committing? Please guide me. Kaushik Choudhary
|
_______________________________________________ directfb-users mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
