Open Reality Reference Guide
fbvideo.h
Go to the documentation of this file.
1 #ifndef __FBVIDEO_H__
2 #define __FBVIDEO_H__
3 /**************************************************************************
4 Copyright (c) 1994 - 2009 Autodesk, Inc. and/or its licensors.
5 All Rights Reserved.
6 
7 The coded instructions, statements, computer programs, and/or related
8 material (collectively the "Data") in these files contain unpublished
9 information proprietary to Autodesk, Inc. and/or its licensors, which is
10 protected by Canada and United States of America federal copyright law
11 and by international treaties.
12 
13 The Data may not be disclosed or distributed to third parties, in whole
14 or in part, without the prior written consent of Autodesk, Inc.
15 ("Autodesk").
16 
17 THE DATA IS PROVIDED "AS IS" AND WITHOUT WARRANTY.
18 ALL WARRANTIES ARE EXPRESSLY EXCLUDED AND DISCLAIMED. AUTODESK MAKES NO
19 WARRANTY OF ANY KIND WITH RESPECT TO THE DATA, EXPRESS, IMPLIED OR
20 ARISING BY CUSTOM OR TRADE USAGE, AND DISCLAIMS ANY IMPLIED WARRANTIES
21 OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR
22 PURPOSE OR USE. WITHOUT LIMITING THE FOREGOING, AUTODESK DOES NOT
23 WARRANT THAT THE OPERATION OF THE DATA WILL BE UNINTERRUPTED OR ERROR
24 FREE.
25 
26 IN NO EVENT SHALL AUTODESK, ITS AFFILIATES, PARENT COMPANIES, LICENSORS
27 OR SUPPLIERS ("AUTODESK GROUP") BE LIABLE FOR ANY LOSSES, DAMAGES OR
28 EXPENSES OF ANY KIND (INCLUDING WITHOUT LIMITATION PUNITIVE OR MULTIPLE
29 DAMAGES OR OTHER SPECIAL, DIRECT, INDIRECT, EXEMPLARY, INCIDENTAL, LOSS
30 OF PROFITS, REVENUE OR DATA, COST OF COVER OR CONSEQUENTIAL LOSSES OR
31 DAMAGES OF ANY KIND), HOWEVER CAUSED, AND REGARDLESS OF THE THEORY OF
32 LIABILITY, WHETHER DERIVED FROM CONTRACT, TORT (INCLUDING, BUT NOT
33 LIMITED TO, NEGLIGENCE), OR OTHERWISE, ARISING OUT OF OR RELATING TO THE
34 DATA OR ITS USE OR ANY OTHER PERFORMANCE, WHETHER OR NOT AUTODESK HAS
35 BEEN ADVISED OF THE POSSIBILITY OF SUCH LOSS OR DAMAGE.
36 
37 **************************************************************************/
38 
43 #include <kaydaradef.h>
44 #ifndef FBSDK_DLL
45 
48 #define FBSDK_DLL K_DLLIMPORT
49 #endif
50 
51 #include <fbsdk/fbcomponent.h>
52 #include <fbsdk/fbcore.h>
53 
54 #ifdef FBSDKUseNamespace
55 namespace FBSDKNamespace {
56 #endif
57 
59  FB_DEFINE_COMPONENT( FBSDK_DLL, VideoIn );
60  FB_DEFINE_COMPONENT( FBSDK_DLL, VideoOut );
61  FB_DEFINE_COMPONENT( FBSDK_DLL, VideoClip );
62  FB_DEFINE_COMPONENT( FBSDK_DLL, VideoClipImage );
63  FB_DEFINE_COMPONENT( FBSDK_DLL, VideoSwitcher );
64 
69 #define FBVideoDeclare( ClassName, Parent ) \
70  FBClassDeclare( ClassName,Parent ); \
71 public: \
72  ClassName(const char* pName):Parent(pName) { FBClassInit; } \
73 private:
74 
78 #define FBVideoImplementation( ThisComponent ) \
79  FBClassImplementation( ThisComponent )
80 
82  // FBVideo
86 
92  };
93 
99  };
100 
108  };
109 
112  kFBVideoFormat_Any,
113  kFBVideoFormat_Other,
114  kFBVideoFormat_RGBA_32,
115  kFBVideoFormat_RGB_24,
116  kFBVideoFormat_BGRA_32,
117  kFBVideoFormat_BGR_24,
118  kFBVideoFormat_BGR_16,
119  kFBVideoFormat_ABGR_32,
120  kFBVideoFormat_ARGB_32,
121  kFBVideoFormat_422
122  };
123 
126  {
127  kFBVideo_RES_FULL = 0,
128  kFBVideo_RES_1,
129  kFBVideo_RES_2,
130  kFBVideo_RES_4,
131  kFBVideo_RES_8,
132  kFBVideo_RES_16,
133  kFBVideo_RES_32,
134  kFBVideo_RES_64,
135  kFBVideo_RES_128,
136  kFBVideo_RES_256,
137  kFBVideo_RES_512,
138  kFBVideo_RES_1K,
139  kFBVideo_RES_2K,
140  kFBVideo_RES_4K,
141  kFBVideo_RES_8K,
142  kFBVideo_RES_16K
143  };
144 
145  FB_DEFINE_ENUM( FBSDK_DLL, TimeMode );
146  FB_DEFINE_ENUM( FBSDK_DLL, VideoProxyMode );
147  FB_DEFINE_ENUM( FBSDK_DLL, VideoStorageMode );
148  FB_DEFINE_ENUM( FBSDK_DLL, VideoInterlaceMode );
149  FB_DEFINE_ENUM( FBSDK_DLL, VideoFormat );
150  FB_DEFINE_ENUM( FBSDK_DLL, VideoResolution );
151 
167  class FBSDK_DLL FBVideo : public FBBox {
169  public:
177  FBVideo(const char* pName, HIObject pObject=NULL);
178 
180  };
181 
182  class FBSDK_DLL FBVideoClip : public FBVideo {
184  public:
192  FBVideoClip(const char* pName, HIObject pObject=NULL);
193 
194  virtual void FBDelete() override;
195 
199  bool IsValid();
200 
201  //--- Video (generic) properties.
204  FBPropertyVideoProxyMode ProxyMode;
205  FBPropertyVideoStorageMode StorageMode;
210  FBPropertyVideoInterlaceMode InterlaceMode;
211  FBPropertyVideoFormat Format;
212 
213  //--- Video (clip) properties
221 
227 
229 
237  virtual void DrawImage(int pX = 0, int pY = 0, int pW = -1, int pH = -1, int pFrame = -1);
238 
243  virtual unsigned char* GetImage(int pFrame = -1 );
244 
247  virtual void ImageIncUpdateID();
248 
252  virtual unsigned char* GetPowerOfTwoImage();
253 
258 
264  virtual bool GetEmbeddedTimecode( int pFrame, FBTimeCode& pTimeCode );
265  };
266 
268 
271  public:
276  FBVideoClipImage(const char* pName, HIObject pObject=NULL);
277 
286  FBPropertyVideoResolution MaxMipMapResolution;
287  };
288 
290  // FBVideoMemory
293 
302  class FBSDK_DLL FBVideoMemory : public FBVideo {
304  public:
309  FBVideoMemory(const char* pName, HIObject pObject=NULL);
310 
315  virtual void SetObjectImageSize(int pW,int pH);
316 
318  };
319 
321  // FBVideoIn
324 
329  };
330 
332  class FBSDK_DLL FBVideoIn : public FBVideo {
334  public:
338  FBVideoIn(HIObject pObject=NULL);
339 
344 
349  virtual bool LiveSetCompressor(int pCompressorIndex);
350 
354  virtual int LiveGetCompressor();
355 
359  virtual int LiveGetCompressorCount();
360 
364  virtual const char* LiveGetCompressorName(int pCompressorIndex);
365 
369  virtual void LiveSetResolutionFR(int pIndex);
370 
374  virtual int LiveGetResolutionFR();
375 
380 
385  virtual const char* LiveGetResolutionFRName(int pIndex);
386 
391  };
392 
394  // FBVideoOut
397 
399  class FBSDK_DLL FBVideoOut : public FBVideo {
401  public:
405  FBVideoOut(HIObject pObject=NULL);
407  };
408 
409 
411  // FBVideoSwitcher
415 
417  enum FBClipEnd {
420  };
422  enum FBPlayMode {
428  };
429 
430  FB_DEFINE_ENUM( FBSDK_DLL, ClipEnd );
431  FB_DEFINE_ENUM( FBSDK_DLL, PlayMode );
432 
435  {
436  public:
440  FBEventVideoSwitcher( HKEventBase pEvent );
441 
442  FBPropertyVideoSwitcher VideoSwitcher;
444  FBPropertyClipEnd EndType;
445  };
446 
449  {
451  public:
456  FBVideoSwitcher( const char* pName = NULL, HIObject pObject = NULL );
457 
460  virtual void ResetVideoSwitcher();
463  virtual void FinishCurrentVideo();
466  virtual void PrepareNextFrame();
470  virtual void SwapCurrent( FBVideo* pVideo );
475  virtual void SetNextClip( FBVideo* pVideo, FBPlayMode pMode );
476 
479  virtual bool IsSDKSwitcher();
480 
482  FBPropertyPlayMode PlayMode;
484 
485  FBPropertyVideo CurrentVideo;
487  FBPropertyDevice DeviceOwner;
489  };
490 
492  // FBPropertyListVideoClip
496  {
497  public:
503  FBVideoClip* operator[](int pIndex);
504  };
505 
507  // FBPropertyListVideoIn
511  {
512  public:
518  FBVideoIn* operator[](int pIndex);
519  };
520 
522  // FBPropertyListVideoOut
526  {
527  public:
533  FBVideoOut* operator[](int pIndex);
534  };
535 
536 #ifdef FBSDKUseNamespace
537 }
538 #endif
539 #endif
FBVideoResolution
FBVideoResolution
Video Resolution (1D)
Definition: fbvideo.h:126
kFBVideoInterlaceHalfFrameEven
@ kFBVideoInterlaceHalfFrameEven
Half frame (even field).
Definition: fbvideo.h:104
kFBPlayModePlayToEnd
@ kFBPlayModePlayToEnd
Play clip to end.
Definition: fbvideo.h:427
FBVideoClip::GetPowerOfTwoImage
virtual unsigned char * GetPowerOfTwoImage()
Get the current image buffer resized with width and height power of two.
FBVideoInterlaceMode
FBVideoInterlaceMode
Video interlace modes.
Definition: fbvideo.h:102
kFBPlayModePlay
@ kFBPlayModePlay
Play clip.
Definition: fbvideo.h:425
kFBVideoLiveBasic
@ kFBVideoLiveBasic
Basic video input, like webcam and dv camera.
Definition: fbvideo.h:328
FBVideoClip::DrawImage
virtual void DrawImage(int pX=0, int pY=0, int pW=-1, int pH=-1, int pFrame=-1)
Draw a frame of the image to the current view.
kFBPlayModeNoPlay
@ kFBPlayModeNoPlay
No play (most common).
Definition: fbvideo.h:423
FBVideoOut::FBVideoOut
FBVideoOut(HIObject pObject=NULL)
Constructor.
FBVideoIn::LiveGetCompressor
virtual int LiveGetCompressor()
Get the current compressor index.
FBVideoSwitcher::FBVideoSwitcher
FBVideoSwitcher(const char *pName=NULL, HIObject pObject=NULL)
Constructor.
FB_DEFINE_ENUM
#define FB_DEFINE_ENUM(DllTag, Type)
Define an enum and give it the ability to be a property.
Definition: fbproperties.h:150
FBPropertykReference
class K_DLLIMPORT FBPropertyBase< kReference, kFBPT_kReference > FBPropertykReference
Property: kReference
Definition: fbproperties.h:1355
kFBVideoStorageDisk
@ kFBVideoStorageDisk
Storage on disk.
Definition: fbvideo.h:96
FBEventVideoSwitcher::EndType
FBPropertyClipEnd EndType
Read Only Property: Clip end action.
Definition: fbvideo.h:444
FBPropertyInt
class K_DLLIMPORT FBPropertyBase< int, kFBPT_int > FBPropertyInt
Property: int
Definition: fbproperties.h:1331
FBEventVideoSwitcher::Reference
FBPropertykReference Reference
Read Only Property: Data.
Definition: fbvideo.h:443
kFBPlayModePreviewToEnd
@ kFBPlayModePreviewToEnd
Preview clip until end.
Definition: fbvideo.h:424
FBVideoIn::LiveGetCompressorName
virtual const char * LiveGetCompressorName(int pCompressorIndex)
Get the compressor name at a particular index.
FBVideoSwitcher::UsingSystemTime
FBPropertyBool UsingSystemTime
Read Write Property: Using the system time?
Definition: fbvideo.h:488
FBVideoClip::TimeOffset
FBPropertyTime TimeOffset
Read Write Property: Temporal offset for beginning of video.
Definition: fbvideo.h:214
FBVideoClipImage::UseSystemFrameRate
FBPropertyBool UseSystemFrameRate
Read Write Property: Clip is using system frame rate?
Definition: fbvideo.h:285
FBBox
A box is a fundamental building block in the application architecture.
Definition: fbcore.h:218
FBVideo
Video media class.
Definition: fbvideo.h:167
FBVideoSwitcher::PrepareNextFrame
virtual void PrepareNextFrame()
Prepare the next frame.
FBVideoClip::FrameTime
FBPropertyTime FrameTime
Read Only Property: Inverse of FPS, time per frame
Definition: fbvideo.h:222
FBVideoSwitcher::CurrentFrame
FBPropertyInt CurrentFrame
Read Write Property: Current frame.
Definition: fbvideo.h:481
FBVideoSwitcher::FinishCurrentVideo
virtual void FinishCurrentVideo()
Finish the current video.
kFBVideoInterlaceNone
@ kFBVideoInterlaceNone
No interacling.
Definition: fbvideo.h:103
FBVideoOut::Online
FBPropertyBool Online
Read Write Property: If true, the device is online and will output display.
Definition: fbvideo.h:406
FBVideo::KeepOnGPU
FBPropertyBool KeepOnGPU
Read Write Property: Don't auto flush from GPU if true. session runtime flag, won't be saved.
Definition: fbvideo.h:179
FBVideoIn::LiveSetCompressor
virtual bool LiveSetCompressor(int pCompressorIndex)
Set the current compressor to be used when recording.
FBVideoClip::FreeRunning
FBPropertyBool FreeRunning
Read Write Property: Is free Running on?
Definition: fbvideo.h:219
FBPropertyDouble
class K_DLLIMPORT FBPropertyBase< double, kFBPT_double > FBPropertyDouble
Property: double
Definition: fbproperties.h:1340
FBVideoClip::RelativePath
FBPropertyString RelativePath
Read Only Property: Relative path of media.
Definition: fbvideo.h:203
kFBVideoInterlaceHalfFrameOdd
@ kFBVideoInterlaceHalfFrameOdd
Half frame (odd field).
Definition: fbvideo.h:105
FBVideoClip::FBDelete
virtual void FBDelete() override
Open Reality deletion function.
FBPropertyListVideoIn
PropertyList: VideoIn
Definition: fbvideo.h:511
FBVideoClip::PowerOfTwoHeight
FBPropertyInt PowerOfTwoHeight
Read Only Property: Closest power of two value superior to height of image.
Definition: fbvideo.h:209
FBVideoClip::Height
FBPropertyInt Height
Read Only Property: Height of image.
Definition: fbvideo.h:207
FBVideoProxyMode
FBVideoProxyMode
Video proxy modes.
Definition: fbvideo.h:88
FBVideoClip::IsValid
bool IsValid()
Verifies the validity of the FBVideo object.
FBVideoMemory::SetObjectImageSize
virtual void SetObjectImageSize(int pW, int pH)
Set image size to allow MoBu preview texture with proper dimension / aspect.
FBTimeCode
TimeCode data structure.
Definition: fbtime.h:282
FBPropertyListVideoClip
PropertyList: VideoClip
Definition: fbvideo.h:496
FBVideoClip::InterlaceMode
FBPropertyVideoInterlaceMode InterlaceMode
Read Write Property: Interlace mode.
Definition: fbvideo.h:210
FBPropertyListVideoOut
PropertyList: VideoOut
Definition: fbvideo.h:526
FBVideoClip::Loop
FBPropertyBool Loop
Read Write Property: Loop video clip?
Definition: fbvideo.h:220
kFBClipEndEnd
@ kFBClipEndEnd
On clip end stop clip.
Definition: fbvideo.h:418
kFBPlayModeLoop
@ kFBPlayModeLoop
Loop clip.
Definition: fbvideo.h:426
FBVideoIn::FilePath
FBPropertyString FilePath
Read Write Property: Location of the generated movie file after a recording session.
Definition: fbvideo.h:343
FBVideoClip::CurrentFrame
FBPropertyInt CurrentFrame
Read Write Property: Current frame.
Definition: fbvideo.h:223
FBVideoClip::LastFrameTime
FBPropertyTime LastFrameTime
Read Only Property: Time of last frame
Definition: fbvideo.h:225
FBVideoClip::PowerOfTwoWidth
FBPropertyInt PowerOfTwoWidth
Read Only Property: Closest power of two value superior to width of image.
Definition: fbvideo.h:208
FBVideoClip::PlaySpeed
FBPropertyDouble PlaySpeed
Read Write Property: Playback speed.
Definition: fbvideo.h:218
FBVideoClip::StartFrame
FBPropertyInt StartFrame
Read Write Property: Frame to begin video playback from.
Definition: fbvideo.h:215
FBEventVideoSwitcher
Video switcher callback event.
Definition: fbvideo.h:435
FBVideoSwitcher::SetNextClip
virtual void SetNextClip(FBVideo *pVideo, FBPlayMode pMode)
Set the next clip.
FBPropertyTime
class K_DLLIMPORT FBPropertyBase< FBTime, kFBPT_Time > FBPropertyTime
Property: FBTime
Definition: fbproperties.h:1346
__FBClassDeclare
#define __FBClassDeclare(Name, Parent)
For internal use only.
Definition: fbcomponent.h:131
FBVideoMemory::FBVideoMemory
FBVideoMemory(const char *pName, HIObject pObject=NULL)
Constructor.
FBVideoSwitcher::ResetVideoSwitcher
virtual void ResetVideoSwitcher()
Reset the video switcher (clear all clips).
FBVideoSwitcher::PlayMode
FBPropertyPlayMode PlayMode
Read Write Property: Current play mode.
Definition: fbvideo.h:482
kFBVideoStorageDiskAsync
@ kFBVideoStorageDiskAsync
Storage on disk async access.
Definition: fbvideo.h:98
__FB_FORWARD
#define __FB_FORWARD(ClassName)
Forwarding of class and typedef declaration.
Definition: fbtypes.h:68
FBVideoClip::ImageIncUpdateID
virtual void ImageIncUpdateID()
Increase Image update id after modification to trigger internal state refresh.
FBVideoSwitcher::SwapCurrent
virtual void SwapCurrent(FBVideo *pVideo)
Swap the current video.
FBVideo::FBVideo
FBVideo(const char *pName, HIObject pObject=NULL)
Constructor.
FBEvent
Base Event class.
Definition: fbcomponent.h:940
FBVideoClip::GetImage
virtual unsigned char * GetImage(int pFrame=-1)
Get the current image buffer.
FBVideoIn::Recording
FBPropertyBool Recording
Read Write Property: If true, the device will record during a recording session.
Definition: fbvideo.h:341
FBVideoSwitcher::DeviceOwner
FBPropertyDevice DeviceOwner
Read Write Property: Hook onto owner device.
Definition: fbvideo.h:487
FBVideoIn::FBVideoIn
FBVideoIn(HIObject pObject=NULL)
Constructor.
FBVideoFormat
FBVideoFormat
Video color modes.
Definition: fbvideo.h:111
FBVideoSwitcher::TimeRemaining
FBPropertyTime TimeRemaining
Read Only Property: Time remaining.
Definition: fbvideo.h:483
FBVideoIn::LiveGetResolutionFR
virtual int LiveGetResolutionFR()
Get the current resolution and frame rate index.
FBVideoClip::GetTextureID
int GetTextureID()
Get the texture ID.
FBVideoClip
Definition: fbvideo.h:182
FBSDK_DLL
#define FBSDK_DLL
Be sure that FBSDK_DLL is defined only once...
Definition: fbvideo.h:48
FBVideoClipImage::MaxMipMapResolution
FBPropertyVideoResolution MaxMipMapResolution
Read Write Property: Maximum MipMap resolution will be loaded into GPU.
Definition: fbvideo.h:286
FBVideoIn::LiveGetType
virtual FBVideoLiveType LiveGetType()
Get the type of the video input device.
FBVideoClip::CurrentFrameTime
FBPropertyTime CurrentFrameTime
Read Write Property: Current time in clip.
Definition: fbvideo.h:226
FBVideoClipImage::ImageSequence
FBPropertyBool ImageSequence
Read Write Property: Clip is an image sequence?
Definition: fbvideo.h:284
FBPropertyEvent
PropertyEvent: Base event class.
Definition: fbproperties.h:515
FBVideoIn::LiveGetCompressorCount
virtual int LiveGetCompressorCount()
Get the compressor count.
FBVideoClip::StopFrame
FBPropertyInt StopFrame
Read Write Property: Frame to end video playback at.
Definition: fbvideo.h:216
FBVideoClip::Format
FBPropertyVideoFormat Format
Read Only Property: Video format.
Definition: fbvideo.h:211
FBVideoIn::LiveGetResolutionFRName
virtual const char * LiveGetResolutionFRName(int pIndex)
Get the resolution and frame rate string description at the specified index.
FBVideoClip::Filename
FBPropertyString Filename
Read Write Property: Filename of media.
Definition: fbvideo.h:202
FBVideoClip::FrameRate
FBPropertyDouble FrameRate
Read Write Property: Frame rate.
Definition: fbvideo.h:217
kFBClipEndLoop
@ kFBClipEndLoop
On clip end loop clip.
Definition: fbvideo.h:419
FBVideoClipImage::FBVideoClipImage
FBVideoClipImage(const char *pName, HIObject pObject=NULL)
Constructor.
FBPropertyBool
class K_DLLIMPORT FBPropertyBase< bool, kFBPT_bool > FBPropertyBool
Property: bool
Definition: fbproperties.h:1308
FBVideoIn::Online
FBPropertyBool Online
Read Write Property: If true, the device is online and will display the current video feed.
Definition: fbvideo.h:340
FBPropertyListVideoIn::operator[]
FBVideoIn * operator[](int pIndex)
Get the video at pIndex.
FBVideoMemory
FBVideoMemory allow external media source (which can't be supported by MoBu natively)
Definition: fbvideo.h:302
fbcomponent.h
Basic class definitions.
kFBVideoProxyOnPlay
@ kFBVideoProxyOnPlay
Video proxy on play.
Definition: fbvideo.h:90
FBVideoClip::StorageMode
FBPropertyVideoStorageMode StorageMode
Read Write Property: Storage mode.
Definition: fbvideo.h:205
FBPropertyListVideoOut::operator[]
FBVideoOut * operator[](int pIndex)
Get the video at pIndex.
FBPropertyListVideoClip::operator[]
FBVideoClip * operator[](int pIndex)
Get the video at pIndex.
FBVideoSwitcher::OnClipEnd
FBPropertyEvent OnClipEnd
Event: Clip end event.
Definition: fbvideo.h:486
FBVideoClip::LastFrame
FBPropertyInt LastFrame
Read Only Property: Last frame in clip.
Definition: fbvideo.h:224
FBVideoIn::LiveSetResolutionFR
virtual void LiveSetResolutionFR(int pIndex)
Set the current resolution and frame rate for the device.
FBPropertyListComponent
PropertyList: Concrete class for PropertyList of component
Definition: fbcomponent.h:536
kFBVideoProxyAlways
@ kFBVideoProxyAlways
Always video proxy.
Definition: fbvideo.h:91
FBClipEnd
FBClipEnd
Clip end actions.
Definition: fbvideo.h:417
fbcore.h
Contains definitions for devices, boxes and models.
kFBVideoInterlaceFullFrameOdd
@ kFBVideoInterlaceFullFrameOdd
Full frame (odd field).
Definition: fbvideo.h:107
FBVideoClip::FBVideoClip
FBVideoClip(const char *pName, HIObject pObject=NULL)
Constructor.
kFBVideoProxyNone
@ kFBVideoProxyNone
No video proxy.
Definition: fbvideo.h:89
FBVideoOut
Video media class.
Definition: fbvideo.h:399
FB_DEFINE_COMPONENT
FB_DEFINE_COMPONENT(K_DLLIMPORT, AnimationNode)
Animation node class.
kFBVideoStorageMemory
@ kFBVideoStorageMemory
Storage in memory.
Definition: fbvideo.h:97
FBPlayMode
FBPlayMode
Play modes.
Definition: fbvideo.h:422
kFBVideoLiveDefault
@ kFBVideoLiveDefault
Generic video input, type not specified.
Definition: fbvideo.h:327
FBEventVideoSwitcher::FBEventVideoSwitcher
FBEventVideoSwitcher(HKEventBase pEvent)
Constructor.
FBVideoStorageMode
FBVideoStorageMode
Video storage modes.
Definition: fbvideo.h:95
FBVideoIn::RecordAudio
FBPropertyBool RecordAudio
Read Write Property: If true, the device will also record audio during a recording session.
Definition: fbvideo.h:342
FBEventVideoSwitcher::VideoSwitcher
FBPropertyVideoSwitcher VideoSwitcher
Read Only Property: Video switcher.
Definition: fbvideo.h:442
FBPropertyString
Property class: const char * (String).
Definition: fbproperties.h:1281
kFBVideoInterlaceFullFrameEven
@ kFBVideoInterlaceFullFrameEven
Full frame (even field).
Definition: fbvideo.h:106
FBVideoClip::CurrentFrameTimeCode
FBPropertyTime CurrentFrameTimeCode
Read Only Property: Embedded timecode from current frame in clip. Use the method GetEmbeddedTimecode ...
Definition: fbvideo.h:228
FBVideoMemory::TextureOGLId
FBPropertyInt TextureOGLId
Read Write Property: OpenGL texture buffer object id (GL_TEXTURE_2D type).
Definition: fbvideo.h:317
FBVideoClip::Width
FBPropertyInt Width
Read Only Property: Width of image.
Definition: fbvideo.h:206
FBVideoLiveType
FBVideoLiveType
Video Live type.
Definition: fbvideo.h:326
FBVideoSwitcher::CurrentVideo
FBPropertyVideo CurrentVideo
Read Only Property: Current video.
Definition: fbvideo.h:485
FBVideoClip::GetEmbeddedTimecode
virtual bool GetEmbeddedTimecode(int pFrame, FBTimeCode &pTimeCode)
Get the embedded timecode associated to a video clip frame.
FBVideoIn
Basic video input class, supporting webcam and DV device.
Definition: fbvideo.h:332
FBVideoSwitcher
Video Switcher class.
Definition: fbvideo.h:449
FBVideoClipImage
Definition: fbvideo.h:269
FBVideoClip::ProxyMode
FBPropertyVideoProxyMode ProxyMode
Read Write Property: Proxy mode.
Definition: fbvideo.h:204
FBVideoIn::LiveGetResolutionFRCount
virtual int LiveGetResolutionFRCount()
Get the number of resolution and frame rate available for the device.