Open Reality Reference Guide
 
Loading...
Searching...
No Matches
fbvideocodecmanager.h
Go to the documentation of this file.
1#ifndef __FBVIDEOCODEC_MANAGER_H__
2#define __FBVIDEOCODEC_MANAGER_H__
3/**************************************************************************
4Copyright (c) 1994 - 2009 Autodesk, Inc. and/or its licensors.
5All Rights Reserved.
6
7The coded instructions, statements, computer programs, and/or related
8material (collectively the "Data") in these files contain unpublished
9information proprietary to Autodesk, Inc. and/or its licensors, which is
10protected by Canada and United States of America federal copyright law
11and by international treaties.
12
13The Data may not be disclosed or distributed to third parties, in whole
14or in part, without the prior written consent of Autodesk, Inc.
15("Autodesk").
16
17THE DATA IS PROVIDED "AS IS" AND WITHOUT WARRANTY.
18ALL WARRANTIES ARE EXPRESSLY EXCLUDED AND DISCLAIMED. AUTODESK MAKES NO
19WARRANTY OF ANY KIND WITH RESPECT TO THE DATA, EXPRESS, IMPLIED OR
20ARISING BY CUSTOM OR TRADE USAGE, AND DISCLAIMS ANY IMPLIED WARRANTIES
21OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR
22PURPOSE OR USE. WITHOUT LIMITING THE FOREGOING, AUTODESK DOES NOT
23WARRANT THAT THE OPERATION OF THE DATA WILL BE UNINTERRUPTED OR ERROR
24FREE.
25
26IN NO EVENT SHALL AUTODESK, ITS AFFILIATES, PARENT COMPANIES, LICENSORS
27OR SUPPLIERS ("AUTODESK GROUP") BE LIABLE FOR ANY LOSSES, DAMAGES OR
28EXPENSES OF ANY KIND (INCLUDING WITHOUT LIMITATION PUNITIVE OR MULTIPLE
29DAMAGES OR OTHER SPECIAL, DIRECT, INDIRECT, EXEMPLARY, INCIDENTAL, LOSS
30OF PROFITS, REVENUE OR DATA, COST OF COVER OR CONSEQUENTIAL LOSSES OR
31DAMAGES OF ANY KIND), HOWEVER CAUSED, AND REGARDLESS OF THE THEORY OF
32LIABILITY, WHETHER DERIVED FROM CONTRACT, TORT (INCLUDING, BUT NOT
33LIMITED TO, NEGLIGENCE), OR OTHERWISE, ARISING OUT OF OR RELATING TO THE
34DATA OR ITS USE OR ANY OTHER PERFORMANCE, WHETHER OR NOT AUTODESK HAS
35BEEN ADVISED OF THE POSSIBILITY OF SUCH LOSS OR DAMAGE.
36
37**************************************************************************/
38
43#include <kaydaradef.h>
44#ifndef FBSDK_DLL
48#define FBSDK_DLL K_DLLIMPORT
49#endif
50
51#include <fbsdk/fbstring.h>
52
53#ifdef FBSDKUseNamespace
54namespace FBSDKNamespace {
55#endif
56
62 };
63
68 {
69 //--- Open Reality declaration.
70 public:
71
78 static void GetCodecIdList( const char* pFileFormatInfo, FBStringList& pCodecList );
79
84
89 static void SetVideoCodecMode( FBVideoCodecMode pVideoCodecMode );
90
96 static void SetDefaultCodec( const char* pFileFormatInfo, const char* pCodecId );
97
102 static const char* GetDefaultCodec( const char* pFileFormatInfo );
103
112 static bool RegisterExternalVideoFormat( const char* pFormatSuffix );
113 };
114
115
116#ifdef FBSDKUseNamespace
117}
118#endif
119#endif /* this must be the last line of this file */
String list.
Definition fbstring.h:208
Video Codec manager class.
static void GetCodecIdList(const char *pFileFormatInfo, FBStringList &pCodecList)
GetCodecIdList.
static void SetDefaultCodec(const char *pFileFormatInfo, const char *pCodecId)
SetDefaultCodec.
static FBVideoCodecMode GetVideoCodecMode()
GetVideoCodecMode.
static const char * GetDefaultCodec(const char *pFileFormatInfo)
GetDefaultCodec.
static bool RegisterExternalVideoFormat(const char *pFormatSuffix)
Register external video format suffix.
static void SetVideoCodecMode(FBVideoCodecMode pVideoCodecMode)
SetVideoCodecMode.
#define FBSDK_DLL
Be sure that FBSDK_DLL is defined only once...
String class.
FBVideoCodecMode
Enum FBVideoRenderDepth.
@ FBVideoCodecUncompressed
Assume uncompressed codec.
@ FBVideoCodecAsk
Pop codec selection dialog each render.
@ FBVideoCodecStored
Pop dialog and stored its value