Hi Tim,

I am doing same thing as well. I dont know if my model is correct or not, but this is what i am doing.
My camera produces mono-8bpp image.

create a LUT8 surface.
create a colors array, make it monoscale, apply it to surface.
memcpy camera buffer to surface ( of course lock& get a pointer to surface).

It works for me, but when i use a YUV color camera surface had to be changed etc etc...

Hpe this helps~

On 8/22/05, Tim Lapawa <[EMAIL PROTECTED]> wrote:
Hello list members,
with my actual project I am acquiring imagedata from a IEEE1394 DCAM picture
sensor.
The picture is already in memory and I have to convert the colors and scale
it onto a DirectFB surface.
Can this be done by a ImageProvider? Or will I have to do it on my own
before using a blitting function on the surface?

Thanks for any advice
        Tim


--
                \\\///
  Tim Lapawa    (o  -)   [EMAIL PROTECTED]
-------------oo0-(_)-0oo----------------------
   ,ooo0                 Where do you want
  (     )         0ooo,     to go tomorrow?
---\   (---------(     )----------------------
    \ _ )         )   /
                 ( _ /

_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to