The IAAFTimecode interface is implemented by objects which store videotape or audio tape timecode information. More...
Public Member Functions | |
HRESULT | Initialize ([in] aafLength_t length,[in] aafTimecode_t *pTimecode) |
Initializes this object with the given length and timecode values. | |
HRESULT | GetTimecode ([out] aafTimecode_t *pTimecode) |
Get the timecode fields. | |
HRESULT | SetTimecode ([in] aafTimecode_t *timecode) |
Set the timecode fields. |
The IAAFTimecode interface is implemented by objects which store videotape or audio tape timecode information.
In addition to the specific error results listed for each method, all methods in this interface may also return one of the following values:
AAFRESULT_NOMEMORY
HRESULT IAAFTimecode::GetTimecode | ( | [out] aafTimecode_t * | pTimecode | ) |
Get the timecode fields.
Succeeds if all of the following are true:
If this method fails nothing will be written to *pTimecode.
This method will return the following codes. If more than one of the listed errors is in effect, it will return the first one encountered in the order given below:
AAFRESULT_SUCCESS
AAFRESULT_NOT_INITIALIZED
AAFRESULT_NULL_PARAM
pTimecode | [out] Timecode (startFrame, drop, fps) |
HRESULT IAAFTimecode::Initialize | ( | [in] aafLength_t | length, |
[in] aafTimecode_t * | pTimecode | ||
) |
Initializes this object with the given length and timecode values.
Length is specified in units of the edit rate of the containing timeline mob slot.
Succeeds if all of the following are true:
This method will return the following codes. If more than one of the listed errors is in effect, it will return the first one encountered in the order given below:
AAFRESULT_SUCCESS
AAFRESULT_ALREADY_INITIALIZED
AAFRESULT_NULL_PARAM
length | [in] Length Property Value |
pTimecode | [in] Timecode Value (startFrame, drop, fps) |
HRESULT IAAFTimecode::SetTimecode | ( | [in] aafTimecode_t * | timecode | ) |
Set the timecode fields.
Succeeds if all of the following are true:
If this method fails no state will be changed.
This method will return the following codes. If more than one of the listed errors is in effect, it will return the first one encountered in the order given below:
AAFRESULT_SUCCESS
AAFRESULT_NOT_INITIALIZED
AAFRESULT_NULL_PARAM
timecode | [in] Timecode (startFrame, drop, fps) |