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