Re: Silly Ideas?

2000-03-11 Thread Marcus Sundberg

"Brian S. Julin" [EMAIL PROTECTED] writes:

 On Fri, 3 Dec 1999, Ketil Froyn wrote:
  Second, and maybe a little more realistic, I was wondering about a
  'sample' target. This could for example be an extension to file, where the
  screen is drawn to different files at the specified frequency. Would be
  excellent for grabbing screens to make animations.
 
 There is a sample "extension" in the libedemo directory.

I think he meant sample as in sampling images, not sample as in
example. ;)

Doesn't the file target provide the capability to write several
images already btw?

//Marcus
-- 
---+
Marcus Sundberg| http://www.stacken.kth.se/~mackan
 Royal Institute of Technology |   Phone: +46 707 295404
   Stockholm, Sweden   |   E-Mail: [EMAIL PROTECTED]



Re: Silly Ideas?

1999-12-06 Thread Brian S. Julin

On Fri, 3 Dec 1999, Ketil Froyn wrote:
 First, I was wondering about a MPEG-target for ggi (or kgi?), so a target
 could be made for MPEG-decoder cards :) Would it be really CPU-intensive
 to implement the basic primitives? (I don't know much about mpg, so for
 all I know, this suggestion is "way out there").

If you just send I-frames, I think it would be relatively straightforward.
Just keep a buffer and send it out at regular intervals.

 Second, and maybe a little more realistic, I was wondering about a
 'sample' target. This could for example be an extension to file, where the
 screen is drawn to different files at the specified frequency. Would be
 excellent for grabbing screens to make animations.

There is a sample "extension" in the libedemo directory.  Extensions are
different than targets, but if you learn how an extension works, targets 
should be straightforward and easy.  See the GGI Extension HOWTO.

http://mojo.calyx.net/~bri/projects/GGI/GGPG/ext.html

--
Brian