blob: b6ac2661b693adf896bb84e81bdac51c689f9991 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
//========= Copyright Valve Corporation, All rights reserved. ============//
//
//=======================================================================================//
#ifndef REPLAYVIDEO_H
#define REPLAYVIDEO_H
#ifdef _WIN32
#pragma once
#endif
//-----------------------------------------------------------------------------
#include "video/ivideoservices.h"
//-----------------------------------------------------------------------------
struct ReplayVideoMode_t
{
int m_nWidth;
int m_nHeight;
int m_nBaseFPS;
bool m_bNTSCRate;
const char *m_pName; // Can be a localization token, e.g. "#Replay_Blah"
};
struct ReplayQualityPreset_t
{
const char *m_pName;
VideoEncodeCodec::EVideoEncodeCodec_t m_nCodecId;
int m_iQuality;
bool m_bMotionBlurEnabled;
int m_iMotionBlurQuality;
};
struct ReplayCodec_t
{
VideoEncodeCodec::EVideoEncodeCodec_t m_nCodecId;
const char *m_pName;
};
//-----------------------------------------------------------------------------
int ReplayVideo_GetVideoModeCount();
const ReplayVideoMode_t &ReplayVideo_GetVideoMode( int i );
int ReplayVideo_GetDefaultQualityPreset();
int ReplayVideo_GetQualityInterval(); // TODO: Wtf is this?
int ReplayVideo_GetQualityRange();
int ReplayVideo_GetQualityPresetCount();
const ReplayQualityPreset_t &ReplayVideo_GetQualityPreset( int i );
int ReplayVideo_GetCodecCount();
const ReplayCodec_t &ReplayVideo_GetCodec( int i );
int ReplayVideo_FindCodecPresetFromCodec( VideoEncodeCodec_t nCodec );
//-----------------------------------------------------------------------------
#endif // REPLAYVIDEO_H
|