The IAAFTIFFDescriptor interface is implemented by objects which describe TIFF format media. More...
Public Member Functions | |
HRESULT | SetIsUniform ([in] aafBoolean_t IsUniform) |
Set to TRUE if essence data has the same number of rows per strip throughout. | |
HRESULT | GetIsUniform ([out] aafBoolean_t *pIsUniform) |
Places TRUE into *pIsUniform if the data has the same number of rows per strip throughout. | |
HRESULT | SetIsContiguous ([in] aafBoolean_t IsContiguous) |
Set to TRUE if essence data is stored in contiguous bytes. | |
HRESULT | GetIsContiguous ([out] aafBoolean_t *pIsContiguous) |
Places TRUE into *pIsContiguous if essence data is stored in contiguous bytes. | |
HRESULT | SetLeadingLines ([in] aafInt32 LeadingLines) |
Sets the number of leading lines in the TIFF image file. | |
HRESULT | GetLeadingLines ([out] aafInt32 *pLeadingLines) |
Gets the leading lines of the TIFF image. | |
HRESULT | SetTrailingLines ([in] aafInt32 TrailingLines) |
Sets the number of trailing lines in the TIFF image file. | |
HRESULT | GetTrailingLines ([out] aafInt32 *pTrailingLines) |
Gets the trailing lines of the TIFF image. | |
HRESULT | SetJPEGTableID ([in] aafJPEGTableID_t JPEGTableID) |
Sets the JPEG table code for the TIFF image file. | |
HRESULT | GetJPEGTableID ([out] aafJPEGTableID_t *pJPEGTableID) |
Gets the JPEG table code of the TIFF image. | |
HRESULT | GetSummary ([in] aafUInt32 size,[out, size_is(size)] aafDataValue_t pSummary) |
Gets a copy of the TIFF IFD file information without the media. | |
HRESULT | GetSummaryBufferSize ([out] aafUInt32 *pSize) |
Returns the size of the buffer required for the GetSummary() method. | |
HRESULT | SetSummary ([in] aafUInt32 size,[in, size_is(size)] aafDataValue_t pSummary) |
Sets the TIFF IFD file information. |
The IAAFTIFFDescriptor interface is implemented by objects which describe TIFF format media.
A TIFFDescriptor object shall be the EssenceDescription of a physical Source Mob.
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 IAAFTIFFDescriptor::GetIsContiguous | ( | [out] aafBoolean_t * | pIsContiguous | ) |
Places TRUE into *pIsContiguous if essence data is stored in contiguous bytes.
Succeeds if all of the following are true:
If this method fails nothing will be written to *pIsContiguous.
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
pIsContiguous | [out] is this data stored in contiguous bytes |
HRESULT IAAFTIFFDescriptor::GetIsUniform | ( | [out] aafBoolean_t * | pIsUniform | ) |
Places TRUE into *pIsUniform if the data has the same number of rows per strip throughout.
Succeeds if all of the following are true:
If this method fails nothing will be written to *pIsUniform.
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
pIsUniform | [out] Gets the IsUniform flag value |
HRESULT IAAFTIFFDescriptor::GetJPEGTableID | ( | [out] aafJPEGTableID_t * | pJPEGTableID | ) |
Gets the JPEG table code of the TIFF image.
This method succeeds if all of the following are true:
If this method fails nothing will be written to *pJPEGTableID.
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
pJPEGTableID | [out] Address to store the nJPEG table code |
HRESULT IAAFTIFFDescriptor::GetLeadingLines | ( | [out] aafInt32 * | pLeadingLines | ) |
Gets the leading lines of the TIFF image.
This method succeeds if all of the following are true:
If this method fails nothing will be written to *pLeadingLines.
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
pLeadingLines | [out] Address to store the number of leading lines |
HRESULT IAAFTIFFDescriptor::GetSummary | ( | [in] aafUInt32 | size, |
[out, size_is(size)] aafDataValue_t | pSummary | ||
) |
Gets a copy of the TIFF IFD file information without the media.
Succeeds if all of the following are true:
If this method fails pSummary will not be changed.
This method will return the following codes:
AAFRESULT_SUCCESS
AAFRESULT_NULL_PARAM
AAFRESULT_SMALLBUF
size | [in] Size of preallocated buffer |
pSummary | [out, size_is(size)] Preallocated buffer to hold the TIFF IFD file information |
HRESULT IAAFTIFFDescriptor::GetSummaryBufferSize | ( | [out] aafUInt32 * | pSize | ) |
Returns the size of the buffer required for the GetSummary() method.
The value is placed into the location specified by pSize.
Succeeds if all of the following are true:
If this method fails nothing will be written to *pSize.
This method will return the following codes:
AAFRESULT_SUCCESS
AAFRESULT_NULL_PARAM
pSize | [out] required buffer size |
HRESULT IAAFTIFFDescriptor::GetTrailingLines | ( | [out] aafInt32 * | pTrailingLines | ) |
Gets the trailing lines of the TIFF image.
This method succeeds if all of the following are true:
If this method fails nothing will be written to *pTrailingLines.
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
pTrailingLines | [out] Address to store the number of trailing lines. |
HRESULT IAAFTIFFDescriptor::SetIsContiguous | ( | [in] aafBoolean_t | IsContiguous | ) |
Set to TRUE if essence data is stored in contiguous bytes.
Always succeeds.
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
IsContiguous | [in] is data stores in contiguous bytes |
HRESULT IAAFTIFFDescriptor::SetIsUniform | ( | [in] aafBoolean_t | IsUniform | ) |
Set to TRUE if essence data has the same number of rows per strip throughout.
Always succeeds.
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
IsUniform | [in] Sets the IsUniform flag value |
HRESULT IAAFTIFFDescriptor::SetJPEGTableID | ( | [in] aafJPEGTableID_t | JPEGTableID | ) |
Sets the JPEG table code for the TIFF image file.
This method always succeeds .
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
JPEGTableID | [in] Registered JPEG table code or JT_NULL. |
HRESULT IAAFTIFFDescriptor::SetLeadingLines | ( | [in] aafInt32 | LeadingLines | ) |
Sets the number of leading lines in the TIFF image file.
This method 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
LeadingLines | [in] Number of leading lines to be thrown away Optional |
HRESULT IAAFTIFFDescriptor::SetSummary | ( | [in] aafUInt32 | size, |
[in, size_is(size)] aafDataValue_t | pSummary | ||
) |
Sets the TIFF IFD file information.
Succeeds if all of the following are true:
If this method fails the summary property will not be changed.
This method will return the following codes:
AAFRESULT_SUCCESS
AAFRESULT_NULL_PARAM
size | [in] Size of preallocated buffer |
pSummary | [in, size_is(size)] buffer containing value |
HRESULT IAAFTIFFDescriptor::SetTrailingLines | ( | [in] aafInt32 | TrailingLines | ) |
Sets the number of trailing lines in the TIFF image file.
This method 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
TrailingLines | [in] Number of trailing lines to be thrown away Optional. |