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