48 #define FBSDK_DLL K_DLLIMPORT
54 #ifdef FBSDKUseNamespace
69 #define FBVideoDeclare( ClassName, Parent ) \
70 FBClassDeclare( ClassName,Parent ); \
72 ClassName(const char* pName):Parent(pName) { FBClassInit; } \
78 #define FBVideoImplementation( ThisComponent ) \
79 FBClassImplementation( ThisComponent )
194 virtual void FBDelete();
237 virtual void DrawImage(
int pX = 0,
int pY = 0,
int pW = -1,
int pH = -1,
int pFrame = -1);
243 virtual unsigned char* GetImage(
int pFrame = -1 );
247 virtual void ImageIncUpdateID();
252 virtual unsigned char* GetPowerOfTwoImage();
264 virtual bool GetEmbeddedTimecode(
int pFrame,
FBTimeCode& pTimeCode );
315 virtual void SetObjectImageSize(
int pW,
int pH);
349 virtual bool LiveSetCompressor(
int pCompressorIndex);
354 virtual int LiveGetCompressor();
359 virtual int LiveGetCompressorCount();
364 virtual const char* LiveGetCompressorName(
int pCompressorIndex);
369 virtual void LiveSetResolutionFR(
int pIndex);
374 virtual int LiveGetResolutionFR();
379 virtual int LiveGetResolutionFRCount();
385 virtual const char* LiveGetResolutionFRName(
int pIndex);
460 virtual void ResetVideoSwitcher();
463 virtual void FinishCurrentVideo();
466 virtual void PrepareNextFrame();
470 virtual void SwapCurrent(
FBVideo* pVideo );
479 virtual bool IsSDKSwitcher();
536 #ifdef FBSDKUseNamespace
class FBPropertyBase< kReference, kFBPT_kReference > FBPropertykReference
Property: kReference
PropertyEvent: Base event class.
FBPropertyTime CurrentFrameTimeCode
Read Only Property: Embedded timecode from current frame in clip.
#define __FBClassDeclare(Name, Parent)
For internal use only.
FBPropertyInt CurrentFrame
Read Write Property: Current frame.
class FBPropertyBaseComponent< FBVideoSwitcher * > FBPropertyVideoSwitcher
FBPropertyInt Height
Read Only Property: Height of image.
FBPropertyDevice DeviceOwner
Read Write Property: Hook onto owner device.
class FBPropertyBaseEnum< enum FBVideoProxyMode > FBPropertyVideoProxyMode
A box is a fundamental building block in the application architecture.
FBVideoResolution
Video Resolution (1D)
FBPropertyClipEnd EndType
Read Only Property: Clip end action.
#define FB_DEFINE_COMPONENT(DllTag, Type)
Define a component and give it the ability to be a property.
FBPropertyEvent OnClipEnd
Event: Clip end event.
class FBPropertyBaseComponent< FBVideo * > FBPropertyVideo
FBPropertyTime TimeOffset
Read Write Property: Temporal offset for beginning of video.
FBVideoFormat
Video color modes.
Property class: const char * (String).
FBPropertyTime FrameTime
Read Only Property: Inverse of FPS, time per frame
FBPropertyTime TimeRemaining
Read Only Property: Time remaining.
FBPropertyBool UseSystemFrameRate
Read Write Property: Clip is using system frame rate?
FBPropertyInt PowerOfTwoHeight
Read Only Property: Closest power of two value superior to height of image.
FBPropertyVideoStorageMode StorageMode
Read Write Property: Storage mode.
class FBPropertyBase< int, kFBPT_int > FBPropertyInt
Property: int
FBVideoLiveType
Video Live type.
FBPropertyVideo CurrentVideo
Read Only Property: Current video.
FBPropertyBool Online
Read Write Property: If true, the device is online and will output display.
class FBPropertyBaseEnum< enum FBVideoStorageMode > FBPropertyVideoStorageMode
FBPropertyBool ImageSequence
Read Write Property: Clip is an image sequence?
Contains definitions for devices, boxes and models.
FBPropertyDouble FrameRate
Read Write Property: Frame rate.
FBClipEnd
Clip end actions.
#define FB_DEFINE_ENUM(DllTag, Type)
Define an enum and give it the ability to be a property.
FBPropertyVideoInterlaceMode InterlaceMode
Read Write Property: Interlace mode.
FBPropertykReference Reference
Read Only Property: Data.
FBPropertyVideoResolution MaxMipMapResolution
Read Write Property: Maximum MipMap resolution will be loaded into GPU.
class FBPropertyBaseComponent< FBDevice * > FBPropertyDevice
FBVideoMemory allow external media source (which can't be supported by MoBu natively) ...
FBVideoProxyMode
Video proxy modes.
FBPropertyInt StopFrame
Read Write Property: Frame to end video playback at.
class FBPropertyBaseEnum< enum FBVideoResolution > FBPropertyVideoResolution
FBPropertyTime CurrentFrameTime
Read Write Property: Current time in clip.
FBPropertyVideoProxyMode ProxyMode
Read Write Property: Proxy mode.
PropertyList: Concrete class for PropertyList of component
FBPropertyBool Online
Read Write Property: If true, the device is online and will display the current video feed...
#define FBSDK_DLL
Be sure that FBSDK_DLL is defined only once...
FBPropertyInt Width
Read Only Property: Width of image.
#define __FB_FORWARD(ClassName)
Forwarding of class and typedef declaration.
FBPropertyBool Recording
Read Write Property: If true, the device will record during a recording session.
#define FBSDKNamespace
FBSDKNamespace define.
FBVideoInterlaceMode
Video interlace modes.
Storage on disk async access.
FBPropertyVideoFormat Format
Read Only Property: Video format.
FBPropertyDouble PlaySpeed
Read Write Property: Playback speed.
FBPropertyBool UsingSystemTime
Read Write Property: Using the system time?
FBPropertyInt PowerOfTwoWidth
Read Only Property: Closest power of two value superior to width of image.
FBPropertyString FilePath
Read Write Property: Location of the generated movie file after a recording session.
FBPropertyTime LastFrameTime
Read Only Property: Time of last frame
FBPropertyVideoSwitcher VideoSwitcher
Read Only Property: Video switcher.
class FBPropertyBase< double, kFBPT_double > FBPropertyDouble
Property: double
class FBPropertyBase< FBTime, kFBPT_Time > FBPropertyTime
Property: FBTime
FBPropertyInt LastFrame
Read Only Property: Last frame in clip.
FBPropertyBool RecordAudio
Read Write Property: If true, the device will also record audio during a recording session...
FBPropertyPlayMode PlayMode
Read Write Property: Current play mode.
Video switcher callback event.
Generic video input, type not specified.
FBPropertyBool Loop
Read Write Property: Loop video clip?
FBPropertyBool KeepOnGPU
Read Write Property: Don't auto flush from GPU if true.
class FBPropertyBaseEnum< enum FBVideoInterlaceMode > FBPropertyVideoInterlaceMode
FBVideoStorageMode
Video storage modes.
FBPropertyString Filename
Read Write Property: Filename of media.
class FBPropertyBaseEnum< enum FBPlayMode > FBPropertyPlayMode
FBPropertyInt StartFrame
Read Write Property: Frame to begin video playback from.
Basic video input class, supporting webcam and DV device.
class FBPropertyBaseEnum< enum FBVideoFormat > FBPropertyVideoFormat
class FBPropertyBaseEnum< enum FBClipEnd > FBPropertyClipEnd
FBPropertyInt TextureOGLId
Read Write Property: OpenGL texture buffer object id (GL_TEXTURE_2D type).
FBPropertyBool FreeRunning
Read Write Property: Is free Running on?
FBPropertyInt CurrentFrame
Read Write Property: Current frame.
Basic video input, like webcam and dv camera.
FBPropertyString RelativePath
Read Only Property: Relative path of media.
class FBPropertyBase< bool, kFBPT_bool > FBPropertyBool
Property: bool