How can I get video data of XFree86?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

I make a embedded system like a note pc.
It has x86 cpu(transmeta) and siliconmotion video chip.
I compiled XFree86-4.4.0 sucessfully, It works well.

I have a problem.
Camera device is connected to a siliconmotion chip(by I2C bus).
XvPutVideo function displays camera images to a widget.

code: (This is a part of xlive program)
static void
Redisplay(Widget gw, XEvent *event, Region region)
{
   LiveWidget w = (LiveWidget) gw;

   if (w->live.portid != -1)
       XvPutVideo(XtDisplay(w), w->live.portid, XtWindow(w), w->live.myGC,
                       0, 0, WIDTH, HEIGHT,
                       w->core.x, w->core.y, w->core.width, w->core.height);
}

I want to get camera data as a char buffer...
Because I must send camera data to another machine.

Is there any function to get a video data from siliconmotion_drv?
Or some other method?

Help me...

Best Regards,
Secrice
_______________________________________________
XFree86 mailing list
XFree86@xxxxxxxxxxx
http://XFree86.Org/mailman/listinfo/xfree86

[Index of Archives]     [X Forum]     [Xorg]     [XFree86 Newbie]     [IETF Announce]     [Security]     [Font Config]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux Kernel]

  Powered by Linux