The IAAFAES3PCMDescriptor2 interface is implemented by objects which describe video essence formatted with one luminance component and two color-difference components. More...
Public Member Functions | |
HRESULT | Initialize () |
Initializes a newly allocated, IAAFAES3PCMDescriptor-supporting object. | |
HRESULT | GetEmphasis ([out] aafEmphasisType_t *pEmphasisType) |
Gets the Emphasis type property. | |
HRESULT | SetEmphasis ([in] aafEmphasisType_t EmphasisType) |
Gets the Emphasis type property. | |
HRESULT | GetBlockStartOffset ([out] aafUInt16 *pBlockStartOffset) |
Gets the BlockStartOffset. | |
HRESULT | SetBlockStartOffset ([in] aafUInt16 BlockStartOffset) |
Sets the BlockStartOffset. | |
HRESULT | GetAuxBitsMode ([out] aafAuxBitsModeType_t *pAuxBitsMode) |
Gets the AuxBitsMode. | |
HRESULT | SetAuxBitsMode ([in] aafAuxBitsModeType_t AuxBitsMode) |
Sets the AuxBitsMode. | |
HRESULT | GetChannelStatusModeAt ([in] aafUInt32 index,[out] aafChannelStatusModeType_t *pChannelStatusMode) |
Gets the ChannelStatusMode for the channel referenced by the index. | |
HRESULT | SetChannelStatusModeAt ([in] aafUInt32 index,[in] aafChannelStatusModeType_t ChannelStatusMode) |
Sets the ChannelStatusMode for the channel referenced by the index. | |
HRESULT | GetFixedChannelStatusDataAt ([in] aafUInt32 index,[in] aafUInt32 sizeOfBuffer,[out] aafUInt8 *pFixedChannelStatusData) |
Gets the FixedChannelStatusData for the channel referenced by the index. | |
HRESULT | SetFixedChannelStatusDataAt ([in] aafUInt32 index,[in] aafUInt32 sizeOfBuffer,[in] aafUInt8 *pFixedChannelStatusData) |
Sets the FixedChannelStatusData for the channel referenced by the index. | |
HRESULT | GetUserDataModeAt ([in] aafUInt32 index,[out] aafUserDataModeType_t *pUserDataMode) |
Gets the UserDataMode for the channel referenced by the index. | |
HRESULT | SetUserDataModeAt ([in] aafUInt32 index,[in] aafUserDataModeType_t UserDataMode) |
Sets the UserDataMode for the channel referenced by the index. | |
HRESULT | GetFixedUserDataAt ([in] aafUInt32 index,[in] aafUInt32 sizeOfBuffer,[out] aafUInt8 *pFixedUserData) |
Gets the FixedUserData for the channel referenced by the index. | |
HRESULT | SetFixedUserDataAt ([in] aafUInt32 index,[in] aafUInt32 sizeOfBuffer,[in] aafUInt8 *pFixedUserData) |
Sets the FixedUserData for the channel referenced by the index. |
The IAAFAES3PCMDescriptor2 interface is implemented by objects which describe video essence formatted with one luminance component and two color-difference components.
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 IAAFAES3PCMDescriptor2::GetAuxBitsMode | ( | [out] aafAuxBitsModeType_t * | pAuxBitsMode | ) |
Gets the AuxBitsMode.
Succeeds if all of the following are true:
If this method fails, *pAuxBitsMode will not be changed.
This method will return the following codes:
AAFRESULT_SUCCESS
AAFRESULT_NOT_INITIALIZED
AAFRESULT_NULL_PARAM
pAuxBitsMode | [out] Address to store the AuxBitsMode. |
HRESULT IAAFAES3PCMDescriptor2::GetBlockStartOffset | ( | [out] aafUInt16 * | pBlockStartOffset | ) |
Gets the BlockStartOffset.
Succeeds if all of the following are true:
If this method fails, *pBlockStartOffset will not be changed.
This method will return the following codes:
AAFRESULT_SUCCESS
AAFRESULT_NOT_INITIALIZED
AAFRESULT_NULL_PARAM
pBlockStartOffset | [out] Address to store the BlockStartOffset. |
HRESULT IAAFAES3PCMDescriptor2::GetChannelStatusModeAt | ( | [in] aafUInt32 | index, |
[out] aafChannelStatusModeType_t * | pChannelStatusMode | ||
) |
Gets the ChannelStatusMode for the channel referenced by the index.
Succeeds if all of the following are true:
this method will return the following codes
AAFRESULT_SUCCESS
AAFRESULT_NOT_INITIALIZED
AAFRESULT_NULL_PARAM
AAFRESULT_BADINDEX
index | [in] Index of the channel desired. |
pChannelStatusMode | [out] Address to store ChannelStatusMode for the index given. |
HRESULT IAAFAES3PCMDescriptor2::GetEmphasis | ( | [out] aafEmphasisType_t * | pEmphasisType | ) |
Gets the Emphasis type property.
Succeeds if all of the following are true:
If this method fails, *pEmphasisType will not be changed.
This method will return the following codes:
AAFRESULT_SUCCESS
AAFRESULT_NOT_INITIALIZED
AAFRESULT_NULL_PARAM
pEmphasisType | [out] Address to store the emphasis type. |
HRESULT IAAFAES3PCMDescriptor2::GetFixedChannelStatusDataAt | ( | [in] aafUInt32 | index, |
[in] aafUInt32 | sizeOfBuffer, | ||
[out] aafUInt8 * | pFixedChannelStatusData | ||
) |
Gets the FixedChannelStatusData for the channel referenced by the index.
each channel's status is a 24 byte array that gets copied into the the address pointed to by pFixedChannelStatusData. Succeeds if all of the following are true:
this method will return the following codes
AAFRESULT_SUCCESS
AAFRESULT_NOT_INITIALIZED
AAFRESULT_NULL_PARAM
AAFRESULT_BADINDEX
AAFRESULT_WRONG_SIZE
index | [in] Index of the channel desired. |
sizeOfBuffer | [in] Size of pFixedChannelStatusData buffer in bytes. |
pFixedChannelStatusData | [out] Address to store FixedChannelStatusData for the index given. |
HRESULT IAAFAES3PCMDescriptor2::GetFixedUserDataAt | ( | [in] aafUInt32 | index, |
[in] aafUInt32 | sizeOfBuffer, | ||
[out] aafUInt8 * | pFixedUserData | ||
) |
Gets the FixedUserData for the channel referenced by the index.
each channel's status is a 24 byte array that gets copied into the the address pointed to by pFixedUserData. Succeeds if all of the following are true:
this method will return the following codes
AAFRESULT_SUCCESS
AAFRESULT_NOT_INITIALIZED
AAFRESULT_NULL_PARAM
AAFRESULT_BADINDEX
AAFRESULT_WRONG_SIZE
index | [in] Index of the channel desired. |
sizeOfBuffer | [in] Size of pFixedUserData buffer in bytes. |
pFixedUserData | [out] Address to store FixedUserData for the index given. |
HRESULT IAAFAES3PCMDescriptor2::GetUserDataModeAt | ( | [in] aafUInt32 | index, |
[out] aafUserDataModeType_t * | pUserDataMode | ||
) |
Gets the UserDataMode for the channel referenced by the index.
Succeeds if all of the following are true:
this method will return the following codes
AAFRESULT_SUCCESS
AAFRESULT_NOT_INITIALIZED
AAFRESULT_NULL_PARAM
AAFRESULT_BADINDEX
index | [in] Index of the channel desired. |
pUserDataMode | [out] Address to store UserDataMode for the index given. |
HRESULT IAAFAES3PCMDescriptor2::Initialize | ( | ) |
Initializes a newly allocated, IAAFAES3PCMDescriptor-supporting object.
This method must be called after allocation, and before any other method can be called.
Succeeds if:
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
HRESULT IAAFAES3PCMDescriptor2::SetAuxBitsMode | ( | [in] aafAuxBitsModeType_t | AuxBitsMode | ) |
Sets the AuxBitsMode.
Succeeds if all of the following are true:
This method will return the following codes:
AAFRESULT_SUCCESS
AAFRESULT_NOT_INITIALIZED
AuxBitsMode | [in] Sets the AuxBitsMode. |
HRESULT IAAFAES3PCMDescriptor2::SetBlockStartOffset | ( | [in] aafUInt16 | BlockStartOffset | ) |
Sets the BlockStartOffset.
Succeeds if all of the following are true:
This method will return the following codes:
AAFRESULT_SUCCESS
AAFRESULT_NOT_INITIALIZED
BlockStartOffset | [in] Sets the BlockStartOffset. |
HRESULT IAAFAES3PCMDescriptor2::SetChannelStatusModeAt | ( | [in] aafUInt32 | index, |
[in] aafChannelStatusModeType_t | ChannelStatusMode | ||
) |
Sets the ChannelStatusMode for the channel referenced by the index.
Succeeds if all of the following are true:
this method will return the following codes
AAFRESULT_SUCCESS
AAFRESULT_NOT_INITIALIZED
AAFRESULT_BADINDEX
index | [in] Index of the channel desired. |
ChannelStatusMode | [in] Set ChannelStatusMode for the index given. |
HRESULT IAAFAES3PCMDescriptor2::SetEmphasis | ( | [in] aafEmphasisType_t | EmphasisType | ) |
Gets the Emphasis type property.
Succeeds if all of the following are true:
This method will return the following codes:
AAFRESULT_SUCCESS
AAFRESULT_NOT_INITIALIZED
EmphasisType | [in] Sets the Emphasis type property. |
HRESULT IAAFAES3PCMDescriptor2::SetFixedChannelStatusDataAt | ( | [in] aafUInt32 | index, |
[in] aafUInt32 | sizeOfBuffer, | ||
[in] aafUInt8 * | pFixedChannelStatusData | ||
) |
Sets the FixedChannelStatusData for the channel referenced by the index.
each channel's status is a 24 byte array that gets copied from the the address pointed to by pFixedChannelStatusData . Succeeds if all of the following are true:
this method will return the following codes
AAFRESULT_SUCCESS
AAFRESULT_NOT_INITIALIZED
AAFRESULT_NULL_PARAM
AAFRESULT_BADINDEX
AAFRESULT_WRONG_SIZE
index | [in] Index of the channel desired. |
sizeOfBuffer | [in] Size of pFixedChannelStatusData buffer in bytes. |
pFixedChannelStatusData | [in] Set FixedChannelStatusData for the index given. |
HRESULT IAAFAES3PCMDescriptor2::SetFixedUserDataAt | ( | [in] aafUInt32 | index, |
[in] aafUInt32 | sizeOfBuffer, | ||
[in] aafUInt8 * | pFixedUserData | ||
) |
Sets the FixedUserData for the channel referenced by the index.
each channel's status is a 24 byte array that gets copied from the the address pointed to by pFixedUserData . Succeeds if all of the following are true:
this method will return the following codes
AAFRESULT_SUCCESS
AAFRESULT_NOT_INITIALIZED
AAFRESULT_NULL_PARAM
AAFRESULT_BADINDEX
AAFRESULT_WRONG_SIZE
index | [in] Index of the channel desired. |
sizeOfBuffer | [in] Size of pFixedUserData buffer in bytes. |
pFixedUserData | [in] Set FixedUserData for the index given. |
HRESULT IAAFAES3PCMDescriptor2::SetUserDataModeAt | ( | [in] aafUInt32 | index, |
[in] aafUserDataModeType_t | UserDataMode | ||
) |
Sets the UserDataMode for the channel referenced by the index.
Succeeds if all of the following are true:
this method will return the following codes
AAFRESULT_SUCCESS
AAFRESULT_NOT_INITIALIZED
AAFRESULT_BADINDEX
index | [in] Index of the channel desired. |
UserDataMode | [in] Set UserDataMode for the index given. |