Previous Next Contents

5.8   Frame Data Access






5.8.1   PmGetFrameTime

Synopsis
float PmGetFrameTime (PmFrameSet aFS, int frame_index)
Returns the time of frame in position frame_index in FrameSet aFS.

Returns PM_MAXFLOAT if frame_index is equal to or greater than the number of active frames in FrameSet aFS.






5.8.2   PmPutFrameTime

Synopsis
void PmPutFrameTime (PmFrameSet aFS, int frame_index, float time)
Sets to time the time of frame in position frame_index in FrameSet aFS.






5.8.3   PmGetParamSetAllocSize

Synopsis
int PmGetParamSetAllocSize (PmFrameSet aFS, int frame_index, PmParamSetId aParamSetId)
Returns the allocated number of elements, in frame number frame_index, for a ParamSet identified by aParamSetId in FrameSet aFS,

-1 if frame_index is equal to or greater than the number of allocated frames in FrameSet aFS.






5.8.4   PmGetParamSetNb

Synopsis
int PmGetParamSetNb (PmFrameSet aFS, int frame_index, PmParamSetId aParamSetId)
Returns the current number of elements, in frame number frame_index, of a ParamSet identified by aParamSetId in FrameSet aFS.

-1 if frame_index is equal to or greater than the number of active frames in FrameSet aFS.






5.8.5   PmGetParamSetPtr

Synopsis
void * PmGetParamSetPtr (PmFrameSet aFS, int frame_index, PmParamSetId aParamSetId)
Returns the data pointer of ParamSet identified by aParamSetId in FrameSet aFS, in frame number frame_index.

NULL if frame_index is equal to or greater than the number of allocated frames in FrameSet aFS.



Formatted and maintained by Diemo Schwarz --- last change
Previous Next Contents