#include <kfbxvideo.h>
Definition at line 54 of file kfbxvideo.h.
Video attributes Management |
|
enum | EInterlaceMode
{ None, Fields, HalfEven, HalfOdd, FullEven, FullOdd, FullEvenOdd, FullOddEven } |
Video interlace modes. More... |
|
enum | EAccessMode
{ Disk, Memory, DiskAsync } |
Video clip access mode. More... |
|
void | ImageTextureSetMipMap (bool pUseMipMap) |
Set the use of MipMap on the video. |
|
bool | ImageTextureGetMipMap () const |
Retrieve use MipMap state. |
|
bool | SetFileName (char const *pName) |
Specify the Video full filename. |
|
KString | GetFileName () const |
Retrieve the Video full filename. |
|
bool | SetRelativeFileName (char const *pName) |
Specify the Video relative filename.
|
|
const char * | GetRelativeFileName () const |
Retrieve the Video relative filename.
|
|
double | GetFrameRate () const |
Retrieve the Frame rate of the video clip.
|
|
int | GetLastFrame () const |
Retrieve the last frame of the video clip.
|
|
int | GetWidth () const |
Retrieve the clip width. |
|
int | GetHeight () const |
Retrieve the clip height. |
|
void | SetStartFrame (int pStartFrame) |
Set the start frame of the video clip.
|
|
int | GetStartFrame () const |
Retrieve the start frame of the video clip.
|
|
void | SetStopFrame (int pStopFrame) |
Set the stop frame of the video clip.
|
|
int | GetStopFrame () const |
Retrieve the stop frame of the video clip.
|
|
void | SetPlaySpeed (double pPlaySpeed) |
Set the play speed of the video clip.
|
|
double | GetPlaySpeed () const |
Retrieve the play speed of the video clip.
|
|
void | SetOffset (KTime pTime) |
Set the time offset. |
|
KTime | GetOffset () const |
Video interlace modes. |
|
void | SetFreeRunning (bool pState) |
Set the Free Running state of the video
clip. |
|
bool | GetFreeRunning () const |
Retrieve the Free Running state. |
|
void | SetLoop (bool pLoop) |
Set the Loop state of the video clip.
|
|
bool | GetLoop () const |
Retrieve the Loop state. |
|
void | SetInterlaceMode (EInterlaceMode pInterlaceMode) |
Set the Interlace mode. |
|
EInterlaceMode | GetInterlaceMode () const |
Retrieve the Interlace mode. |
|
void | SetAccessMode (EAccessMode pAccessMode) |
Set the clip Access Mode. |
|
EAccessMode | GetAccessMode () const |
Retrieve the clip Access Mode. |
|
Error Management |
|
enum | EError { eTAKE_NODE_ERROR, eERROR_COUNT } |
Error identifiers. More... |
|
KError & | GetError () |
Retrieve error object. |
|
EError | GetLastErrorID () const |
Get last error code. |
|
const char * | GetLastErrorString () const |
Get last error string. |
|
Reset video |
|
void | Reset () |
Reset the video to default values. |
enum EInterlaceMode |
Video interlace modes.
Definition at line 209 of file kfbxvideo.h.
enum EAccessMode |
enum EError |
void Reset | ( | ) |
Reset the video to default values.
void ImageTextureSetMipMap | ( | bool | pUseMipMap | ) |
Set the use of MipMap on the video.
pUseMipMap | If true , use MipMap on the video. |
bool ImageTextureGetMipMap | ( | ) | const |
Retrieve use MipMap state.
bool SetFileName | ( | char const * | pName | ) |
Specify the Video full filename.
pName | Video full filename. |
True
,if update successfully, false
otherwise.KString GetFileName | ( | ) | const |
Retrieve the Video full filename.
bool SetRelativeFileName | ( | char const * | pName | ) |
Specify the Video relative filename.
pName | Video relative filename. |
True
, if update successfully, false
otherwise.const char* GetRelativeFileName | ( | ) | const |
Retrieve the Video relative filename.
double GetFrameRate | ( | ) | const |
Retrieve the Frame rate of the video clip.
int GetLastFrame | ( | ) | const |
Retrieve the last frame of the video clip.
int GetWidth | ( | ) | const |
Retrieve the clip width.
int GetHeight | ( | ) | const |
Retrieve the clip height.
void SetStartFrame | ( | int | pStartFrame | ) |
Set the start frame of the video clip.
pStartFrame | Start frame number. |
int GetStartFrame | ( | ) | const |
Retrieve the start frame of the video clip.
void SetStopFrame | ( | int | pStopFrame | ) |
Set the stop frame of the video clip.
pStopFrame | Stop frame number. |
int GetStopFrame | ( | ) | const |
Retrieve the stop frame of the video clip.
void SetPlaySpeed | ( | double | pPlaySpeed | ) |
Set the play speed of the video clip.
pPlaySpeed | Playback speed of the clip. |
double GetPlaySpeed | ( | ) | const |
Retrieve the play speed of the video clip.
void SetOffset | ( | KTime | pTime | ) |
Set the time offset.
The offset can be used to shift the playback start time of the clip.
pTime | Time offset of the clip. |
KTime GetOffset | ( | ) | const |
Video interlace modes.
void SetFreeRunning | ( | bool | pState | ) |
Set the Free Running state of the video clip.
The Free Running flag can be used by a client application to implement a playback scheme that is independent of the main timeline.
pState | State of the Free running flag. |
bool GetFreeRunning | ( | ) | const |
Retrieve the Free Running state.
void SetLoop | ( | bool | pLoop | ) |
Set the Loop state of the video clip.
The Loop flag can be used by a client application to implement the loop playback of the video clip.
pLoop | State of the loop flag. |
bool GetLoop | ( | ) | const |
Retrieve the Loop state.
void SetInterlaceMode | ( | EInterlaceMode | pInterlaceMode | ) |
Set the Interlace mode.
pInterlaceMode | Interlace mode identifier. |
EInterlaceMode GetInterlaceMode | ( | ) | const |
Retrieve the Interlace mode.
void SetAccessMode | ( | EAccessMode | pAccessMode | ) |
Set the clip Access Mode.
pAccessMode | Clip access mode identifier. |
EAccessMode GetAccessMode | ( | ) | const |
Retrieve the clip Access Mode.
KError& GetError | ( | ) |
Retrieve error object.
EError GetLastErrorID | ( | ) | const |
Get last error code.
const char* GetLastErrorString | ( | ) | const |
Get last error string.