This interface provides access to the IAAFEssenceGroup interface, which contains multiple representations of the same media within a MasterMob. More...
Public Member Functions | |
HRESULT | SetStillFrame ([in] IAAFSourceClip *pStillFrame) |
This method sets the still frame property on a essence group to be the source clip passed as the stillFrame argument. | |
HRESULT | GetStillFrame ([out] IAAFSourceClip **ppStillFrame) |
Gets the still frame property on a essence group. | |
HRESULT | AppendChoice ([in] IAAFSegment *pChoice) |
Append another choice to this AAFEssenceGroup. | |
HRESULT | PrependChoice ([in] IAAFSegment *pChoice) |
Prepend another choice to this AAFEssenceGroup. | |
HRESULT | InsertChoiceAt ([in] aafUInt32 index,[in] IAAFSegment *pChoice) |
Insert another choice to this AAFEssenceGroup at the given index. | |
HRESULT | CountChoices ([out] aafUInt32 *pCount) |
Returns the number of choices attached to this AAFEssenceGroup., excepting the still frame. | |
HRESULT | GetChoiceAt ([in] aafUInt32 index,[out] IAAFSegment **ppChoice) |
Given an index, returns the corresponding source clip choice. | |
HRESULT | RemoveChoiceAt ([in] aafUInt32 index) |
Removes the choice at the given index. |
This interface provides access to the IAAFEssenceGroup interface, which contains multiple representations of the same media within a MasterMob.
The IAAFEssenceAccess methods allow specifying parameters such as "best quality", or "lowest frame rate" for and follow the correct path through the EssenceGroup in order to find the media which matches the criteria.
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
Objects that implement IAAFEssenceGroup also implement the following interfaces:
HRESULT IAAFEssenceGroup::AppendChoice | ( | [in] IAAFSegment * | pChoice | ) |
Append another choice to this AAFEssenceGroup.
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_NULL_PARAM
pChoice | [in] Source clip to add as a choice |
HRESULT IAAFEssenceGroup::CountChoices | ( | [out] aafUInt32 * | pCount | ) |
Returns the number of choices attached to this AAFEssenceGroup., excepting the still frame.
Succeeds if all of the following are true:
If this method fails nothing is written to *pCount.
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_NULL_PARAM
pCount | [out] The number of representations contained within. |
HRESULT IAAFEssenceGroup::GetChoiceAt | ( | [in] aafUInt32 | index, |
[out] IAAFSegment ** | ppChoice | ||
) |
Given an index, returns the corresponding source clip choice.
Succeeds if all of the following are true:
If this method fails nothing will be written to *ppChoice.
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_MISSING_INDEX
AAFRESULT_NULL_PARAM
index | [in] The 0-based index into the array |
ppChoice | [out] The representation at that index |
HRESULT IAAFEssenceGroup::GetStillFrame | ( | [out] IAAFSourceClip ** | ppStillFrame | ) |
Gets the still frame property on a essence group.
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_NULL_PARAM
AAFRESULT_NOT_INITIALIZED
ppStillFrame | [out] Still Frame source clip |
HRESULT IAAFEssenceGroup::InsertChoiceAt | ( | [in] aafUInt32 | index, |
[in] IAAFSegment * | pChoice | ||
) |
Insert another choice to this AAFEssenceGroup at the given index.
Choices already existing at the given and higher indices will be moved up by one index to accommodate.
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_NULL_PARAM
AAFRESULT_BADINDEX
index | [in] place to insert new choice |
pChoice | [in] Source clip to add as a choice |
HRESULT IAAFEssenceGroup::PrependChoice | ( | [in] IAAFSegment * | pChoice | ) |
Prepend another choice to this AAFEssenceGroup.
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_NULL_PARAM
pChoice | [in] Source clip to add as a choice |
HRESULT IAAFEssenceGroup::RemoveChoiceAt | ( | [in] aafUInt32 | index | ) |
Removes the choice at the given index.
Items already existing at higher indices will be moved down by one index to accommodate.
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_NULL_PARAM
AAFRESULT_BADINDEX
index | [in] The 0-based index into the array |
HRESULT IAAFEssenceGroup::SetStillFrame | ( | [in] IAAFSourceClip * | pStillFrame | ) |
This method sets the still frame property on a essence group to be the source clip passed as the stillFrame argument.
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_NULL_PARAM
AAFRESULT_NOT_INITIALIZED
pStillFrame | [in] Still Frame source clip |