Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
SDL_SetGammaRamp.3
Package: NETVIDEO.rar [view]
Upload User: sun1608
Upload Date: 2007-02-02
Package Size: 6116k
Code Size: 1k
Category:
Streaming_Mpeg4
Development Platform:
Visual C++
- .TH "SDL_SetGammaRamp" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference"
- .SH "NAME"
- SDL_SetGammaRamp- Sets the color gamma lookup tables for the display
- .SH "SYNOPSIS"
- .PP
- fB#include "SDL&.h"
- .sp
- fBint fBSDL_SetGammaRampfPfR(fBUint16 *redtable, Uint16 *greentable, Uint16 *bluetablefR);
- .SH "DESCRIPTION"
- .PP
- Sets the gamma lookup tables for the display for each color component&. Each table is an array of 256 Uint16 values, representing a mapping between the input and output for that channel&. The input is the index into the array, and the output is the 16-bit gamma value at that index, scaled to the output color precision&. You may pass NULL to any of the channels to leave them unchanged&.
- .PP
- This function adjusts the gamma based on lookup tables, you can also have the gamma calculated based on a "gamma function" parameter with fISDL_SetGammafR&.
- .PP
- Not all display hardware is able to change gamma&.
- .SH "RETURN VALUE"
- .PP
- Returns -1 on error (or if gamma adjustment is not supported)&.
- .SH "SEE ALSO"
- .PP
- fISDL_SetGammafR fISDL_GetGammaRampfR
- ..." created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01