2 Star 0 Fork 0

mirrors_chromium_googlesource/webmdshow

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
vp8encoderproppage.h 4.23 KB
一键复制 编辑 原始数据 按行查看 历史
Tom Finegan 提交于 2014-11-20 05:40 +08:00 . webmdshow clean up: Mass file extension update.
// Copyright (c) 2010 The WebM project authors. All Rights Reserved.
//
// Use of this source code is governed by a BSD-style license
// that can be found in the LICENSE file in the root of the source
// tree. An additional intellectual property rights grant can be found
// in the file PATENTS. All contributing project authors may
// be found in the AUTHORS file in the root of the source tree.
namespace VP8EncoderLib
{
class PropPage : public IPropertyPage
{
friend HRESULT CreatePropPage(
IClassFactory*,
IUnknown*,
const IID&,
void**);
explicit PropPage(IClassFactory*);
virtual ~PropPage();
PropPage(const PropPage&);
PropPage& operator=(const PropPage&);
public:
HRESULT STDMETHODCALLTYPE QueryInterface(const IID&, void**);
ULONG STDMETHODCALLTYPE AddRef();
ULONG STDMETHODCALLTYPE Release();
//IPropertyPage interface:
HRESULT STDMETHODCALLTYPE SetPageSite(IPropertyPageSite*);
HRESULT STDMETHODCALLTYPE Activate(HWND, LPCRECT, BOOL);
HRESULT STDMETHODCALLTYPE Deactivate();
HRESULT STDMETHODCALLTYPE GetPageInfo(PROPPAGEINFO*);
HRESULT STDMETHODCALLTYPE SetObjects(ULONG, IUnknown**);
HRESULT STDMETHODCALLTYPE Show(UINT);
HRESULT STDMETHODCALLTYPE Move(LPCRECT);
HRESULT STDMETHODCALLTYPE IsPageDirty();
HRESULT STDMETHODCALLTYPE Apply();
HRESULT STDMETHODCALLTYPE Help(LPCOLESTR);
HRESULT STDMETHODCALLTYPE TranslateAccelerator(MSG*);
private:
IClassFactory* const m_pClassFactory;
LONG m_cRef;
IPropertyPageSite* m_pSite;
bool m_bDirty;
IVPXEncoder* m_pVPX;
HWND m_hWnd;
static INT_PTR CALLBACK DialogProc(HWND, UINT, WPARAM, LPARAM);
INT_PTR OnCommand(WPARAM, LPARAM);
static DWORD SetText(HWND, int, const std::wstring&);
static DWORD SetText(HWND, int);
DWORD GetText(int, std::wstring&) const;
typedef HRESULT (STDMETHODCALLTYPE IVPXEncoder::* pfnGetValue)(int*);
HRESULT GetIntValue(
HWND,
pfnGetValue,
int code,
const wchar_t*);
typedef HRESULT (STDMETHODCALLTYPE IVPXEncoder::* pfnSetValue)(int);
HRESULT SetIntValue(
pfnSetValue,
int code,
const wchar_t*);
HRESULT GetDeadline(HWND);
HRESULT SetDeadline();
HRESULT GetThreadCount(HWND);
HRESULT SetThreadCount();
HRESULT GetErrorResilient(HWND);
HRESULT SetErrorResilient();
HRESULT GetDropframeThreshold(HWND);
HRESULT SetDropframeThreshold();
HRESULT GetResizeAllowed(HWND);
HRESULT SetResizeAllowed();
HRESULT GetResizeUpThreshold(HWND);
HRESULT SetResizeUpThreshold();
HRESULT GetResizeDownThreshold(HWND);
HRESULT SetResizeDownThreshold();
HRESULT GetEndUsage(HWND);
HRESULT SetEndUsage();
HRESULT GetLagInFrames(HWND);
HRESULT SetLagInFrames();
HRESULT GetTokenPartitions(HWND);
HRESULT SetTokenPartitions();
HRESULT GetTargetBitrate(HWND);
HRESULT SetTargetBitrate();
HRESULT GetMinQuantizer(HWND);
HRESULT SetMinQuantizer();
HRESULT GetMaxQuantizer(HWND);
HRESULT SetMaxQuantizer();
HRESULT GetUndershootPct(HWND);
HRESULT SetUndershootPct();
HRESULT GetOvershootPct(HWND);
HRESULT SetOvershootPct();
HRESULT GetDecoderBufferSize(HWND);
HRESULT SetDecoderBufferSize();
HRESULT GetDecoderBufferInitialSize(HWND);
HRESULT SetDecoderBufferInitialSize();
HRESULT GetDecoderBufferOptimalSize(HWND);
HRESULT SetDecoderBufferOptimalSize();
HRESULT GetKeyframeMode(HWND);
HRESULT SetKeyframeMode();
HRESULT GetKeyframeMinInterval(HWND);
HRESULT SetKeyframeMinInterval();
HRESULT GetKeyframeMaxInterval(HWND);
HRESULT SetKeyframeMaxInterval();
HRESULT GetEncoderKind(HWND);
HRESULT SetEncoderKind();
void Initialize(HWND);
void InitializeEndUsage(HWND);
void InitializeKeyframeMode(HWND);
void InitializeEncoderKind(HWND);
HRESULT Clear();
HRESULT Reload();
HRESULT Reset();
void ErrorMessage(const wchar_t* msg) const;
};
} //end namespace VP8EncoderLib
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_chromium_googlesource/webmdshow.git
git@gitee.com:mirrors_chromium_googlesource/webmdshow.git
mirrors_chromium_googlesource
webmdshow
webmdshow
main

搜索帮助