- Visual C++源码
- Visual Basic源码
- C++ Builder源码
- Java源码
- Delphi源码
- C/C++源码
- PHP源码
- Perl源码
- Python源码
- Asm源码
- Pascal源码
- Borland C++源码
- Others源码
- SQL源码
- VBScript源码
- JavaScript源码
- ASP/ASPX源码
- C#源码
- Flash/ActionScript源码
- matlab源码
- PowerBuilder源码
- LabView源码
- Flex源码
- MathCAD源码
- VBA源码
- IDL源码
- Lisp/Scheme源码
- VHDL源码
- Objective-C源码
- Fortran源码
- tcl/tk源码
- QT源码
SDL_SetGammaRamp.3
资源名称:NETVIDEO.rar [点击查看]
上传用户:sun1608
上传日期:2007-02-02
资源大小:6116k
文件大小:1k
源码类别:
流媒体/Mpeg4/MP4
开发平台:
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