⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 thwoverlaycontroloverlay.cpp

📁 从FFMPEG转换而来的H264解码程序,VC下编译..
💻 CPP
字号:
/*
 * Copyright (c) 2006 Milan Cutka
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 */

#include "stdafx.h"
#include "ThwOverlayControlOverlay.h"
#include "IffdshowDecVideo.h"

/*
dwSize
Size of the structure, in bytes. This member must be initialized before the structure can be used.

dwFlags
The following flags specifying which structure members contain valid data . When the structure is returned by the IDirectDrawColorControl::GetColorControls method, it also indicates which options are supported by the device.

  DDCOLOR_BRIGHTNESS  The lBrightness member contains valid data.
  DDCOLOR_COLORENABLE The lColorEnable member contains valid data.
  DDCOLOR_CONTRAST    The lContrast member contains valid data.
  DDCOLOR_GAMMA       The lGamma member contains valid data.
  DDCOLOR_HUE         The lHue member contains valid data.
  DDCOLOR_SATURATION  The lSaturation member contains valid data.
  DDCOLOR_SHARPNESS   The lSharpness member contains valid data.

lBrightness
Luminance intensity, in IRE units times 100. The valid range is from 0 through 10,000. The default is 750, which translates to 7.5 IRE.

lContrast
Relative difference between higher and lower intensity luminance values in IRE units times 100. The valid range is from 0 through 20,000. The default value is 10,000 (100 IRE). Higher values of contrast cause darker luminance values to tend toward black and lighter luminance values to tend toward white. Lower values of contrast cause all luminance values to move toward the middle of the scale.

lHue
Phase relationship of the chrominance components. Hue is specified in degrees, and the valid range is from 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -