This interface is used with an object which converts between film frame rates and videotape frame rates by describing the mapping between them. More...
Public Member Functions | |
HRESULT | GetInputSegment ([out] IAAFSegment **ppInputSegment) |
Places the input Segment object in this pulldown into the ppInputSegment argument. | |
HRESULT | SetInputSegment ([in] IAAFSegment *pInputSegment) |
Sets the input segment . | |
HRESULT | GetPulldownKind ([out] aafPulldownKind_t *pPulldownKind) |
Returns the pulldownKind property of this pulldown through the pPulldownKind argument. | |
HRESULT | SetPulldownKind ([in] aafPulldownKind_t pulldownKind) |
Sets the pulldown kind field of this pulldown object. | |
HRESULT | GetPulldownDirection ([out] aafPulldownDir_t *pPulldownDirection) |
Returns the pulldownDirection field of this pulldown through the pPulldownDirection argument. | |
HRESULT | SetPulldownDirection ([in] aafPulldownDir_t pulldownDirection) |
Sets the pulldown direction field of this pulldown object. | |
HRESULT | GetPhaseFrame ([out] aafPhaseFrame_t *pPhaseFrame) |
Returns the phaseFrame field of this pulldown through the pPhaseFrame argument. | |
HRESULT | SetPhaseFrame ([in] aafPhaseFrame_t phaseFrame) |
Sets the phase frame field of this pulldown object. |
This interface is used with an object which converts between film frame rates and videotape frame rates by describing the mapping between them.
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 IAAFPulldown::GetInputSegment | ( | [out] IAAFSegment ** | ppInputSegment | ) |
Places the input Segment object in this pulldown into the ppInputSegment argument.
If none exists yet, NULL is placed into the *ppInputSegment argument.
The returned segment object, if it exists, is AddRef()ed before it is returned.
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_NOT_INITIALIZED
AAFRESULT_NULL_PARAM
ppInputSegment | [out] Returns the input Segment object |
HRESULT IAAFPulldown::GetPhaseFrame | ( | [out] aafPhaseFrame_t * | pPhaseFrame | ) |
Returns the phaseFrame field of this pulldown through the pPhaseFrame argument.
The phase frame field specifies the phase within the repeating pattern used to map between the two edit rates. A value of zero specifies that the pulldown object starts at the begining of the pattern.
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_NOT_INITIALIZED
AAFRESULT_NULL_PARAM
pPhaseFrame | [out] Returns the input Segment object |
HRESULT IAAFPulldown::GetPulldownDirection | ( | [out] aafPulldownDir_t * | pPulldownDirection | ) |
Returns the pulldownDirection field of this pulldown through the pPulldownDirection argument.
The valid pulldown directions are: kVideoToFilmSpeed -- The input segment is at videoSpeed, and the pulldown object is on a mob slot at film edit rate. kFilmToVideoSpeed -- The input segment is at film edit rate.
The value kVideoToFilmSpeed is used when connecting 24fps file mobs to tape mobs.
The value kFilmToVideoSpeed is used when connecting tape mobs to film mobs.
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_NOT_INITIALIZED
AAFRESULT_NULL_PARAM
pPulldownDirection | [out] Returns the input Segment object |
HRESULT IAAFPulldown::GetPulldownKind | ( | [out] aafPulldownKind_t * | pPulldownKind | ) |
Returns the pulldownKind property of this pulldown through the pPulldownKind argument.
The pulldown kinds include kThreeTwoPD, kPalPD, kOneToOneNTSC, kOneToOnePAL, and kVideoTapNTSC.
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_NOT_INITIALIZED
AAFRESULT_NULL_PARAM
pPulldownKind | [out] Returns the pulldownKind property |
HRESULT IAAFPulldown::SetInputSegment | ( | [in] IAAFSegment * | pInputSegment | ) |
Sets the input segment .
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_NOT_INITIALIZED
AAFRESULT_NULL_PARAM
pInputSegment | [in] A Segment object |
HRESULT IAAFPulldown::SetPhaseFrame | ( | [in] aafPhaseFrame_t | phaseFrame | ) |
Sets the phase frame field of this pulldown object.
The phase frame field specifies the phase within the repeating pattern used to map between the two edit rates. A value of zero specifies that the pulldown object starts at the begining of the pattern.
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
phaseFrame | [in] A Segment object |
HRESULT IAAFPulldown::SetPulldownDirection | ( | [in] aafPulldownDir_t | pulldownDirection | ) |
Sets the pulldown direction field of this pulldown object.
The valid pulldown directions are: kVideoToFilmSpeed -- The input segment is at videoSpeed, and the pulldown object is on a mob slot at film edit rate. kFilmToVideoSpeed -- The input segment is at film edit rate.
The value kVideoToFilmSpeed is used when connecting 24fps file mobs to tape mobs.
The value kFilmToVideoSpeed is used when connecting tape mobs to film mobs.
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
pulldownDirection | [in] A Segment object |
HRESULT IAAFPulldown::SetPulldownKind | ( | [in] aafPulldownKind_t | pulldownKind | ) |
Sets the pulldown kind field of this pulldown object.
The pulldown kinds include kThreeTwoPD, kPalPD, kOneToOneNTSC, kOneToOnePAL, and kVideoTapNTSC.
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
pulldownKind | [in] A Segment object |