🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.graphics
Article #20

Video For Windows, Palletes

#20
From: axh96c
Date: Fri, 20 Mar 1998 00:00
25 lines
1798 bytes
Dear All,


To use the capSetCallbackOnVideoStream we must set the number of buffers that
the driver will use and also tell it how many frames we would desire a second.
Well I have done that and it does respond by varying the fps but can do a
maximum of 6 fps. Shouldn't streaming be faster? Why is it not the case for
me?

Also, I have used the capPalleteAuto macro to set how many colours we would
like to have in our frame. I have mangaed by using this macro to reduce the
number of colours used but I do not have any control on which colours are
selected. I know these will be the ones at the beginning of the bmiColors []
array (table) but how can I chnge the colours in the table?


Thankyou for any suggestions.



axh96c@cs.nott.ac.uk

-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/   Now offering spam-free web-based newsreading
Technical Details
Message-ID: <6eu8ia$i40$1@nnrp1.dejanews.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10e433,7c3ec010deb41964,start
X-Google-Attributes: gid10e433,public
X-Google-Thread: 1421f1,7c3ec010deb41964,start
X-Google-Attributes: gid1421f1,public
X-Google-Thread: 113dfb,7c3ec010deb41964,start
X-Google-Attributes: gid113dfb,public
X-Google-Thread: 101278,7c3ec010deb41964,start
X-Google-Attributes: gid101278,public
From: axh96c@cs.nott.ac.uk
Subject: Video For Windows, Palletes
Date: 1998/03/20
Message-ID: <6eu8ia$i40$1@nnrp1.dejanews.com>
X-Deja-AN: 336001050
X-Http-User-Agent: Mozilla/3.01 (X11; I; SunOS 5.6 sun4m)
Organization: Deja News - The Leader in Internet Discussion
X-Article-Creation-Date: Fri Mar 20 17:21:23 1998 GMT
Newsgroups: comp.os.ms-windows.programmer.graphics,comp.os.ms-windows.programmer.win32,borland.public.cppbuilder.graphics,comp.os.ms.ms-windows.programmer.tools.mfc