Re: Fast memcpy in kernel space

From: Tim Roberts (timr_at_probo.com)
Date: 08/12/03


Date: Mon, 11 Aug 2003 22:29:07 -0700

Jayr Al-Dyn <jayraldyn@jayraldyn.net> wrote:
>
>I think the best way is to have two processes: one of them in user mode,
>capturing from the X server (with XGetImage, I guess) and the other as a
>kernel module receiving data from the first one and delivering to a
>/dev/video device.

I doubt it. What are you actually trying to do? Are you trying to
implement a screen-capture program? You should probably investigate some
of the XFree86 extensions to get access to the frame buffer directly.
XGetImage is not the most efficient method. Xshm might be a good choice.

-- 
- Tim Roberts, timr@probo.com
  Providenza & Boekelheide, Inc.