On 6/19/07, Gus Wirth <[EMAIL PROTECTED]> wrote:
I've been playing around with some video stuff and became curious about
the XvPutVideo function. The function has a man page, and my video card
supports the function directly as shown by the output of xvinfo. From
the man page:

XvPutVideo(3x)

Name
        XvPutVideo - write video into a drawable

Syntax
        #include <X11/extensions/Xvlib.h>

        XvPutVideo(dpy, port, d, gc, vx, vy, vw, vh, dx, dy, dw, dh)

        Display *dpy;
        XvPortID port;
        Drawable d;
        GC gc;
        int vx, vy, dx, dy;
        unsigned int vw, vh;
        unsigned int dw, dh;


So my question is: How do I find where Display, XvPortID, Drawable, and
GC are declared? I have tried to grep through the header files and it is
an overwhelming problem. Is there some search technique I can use? Or
perhaps build some tiny app and use a debugger to tell me where the
stuff comes from?

I just found a few of them in:

/usr/X11R6/include/X11/extensions/Xvlib.h

which seems compatible with the #include statement from the man.page.

My first search probe was:  $ locate Xvlib

   carl
--
   carl lowenstein         marine physical lab     u.c. san diego
                                                [EMAIL PROTECTED]

--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg

Reply via email to