A FilmDescriptor 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
Objects that implement IAAFFilmDescriptor also implement the following interfaces:
Definition at line 7814 of file AAF.idl.
Public Member Functions | |
| HRESULT | SetFilmManufacturer ([in, string] aafCharacter_constptr pFilmManufacturer) |
| Sets the Film Manufacturer string property. | |
| HRESULT | GetFilmManufacturer ([out, string, size_is(bufSize)] aafCharacter *pFilmManufacturer,[in] aafUInt32 bufSize) |
| Gets the Film Manufacturer string property. | |
| HRESULT | GetFilmManufacturerBufLen ([out] aafUInt32 *pBufSize) |
| Returns size of buffer (in bytes) required for GetFilmManufacturer(). | |
| HRESULT | SetFilmModel ([in, string] aafCharacter_constptr pFilmModel) |
| Sets the Film Model string property. | |
| HRESULT | GetFilmModel ([out, string, size_is(bufSize)] aafCharacter *pFilmModel,[in] aafUInt32 bufSize) |
| Gets the Film Model string property. | |
| HRESULT | GetFilmModelBufLen ([out] aafUInt32 *pBufSize) |
| Returns size of buffer (in bytes) required for GetFilmModel(). | |
| HRESULT | GetFilmFormat ([out] aafFilmType_t *pFilmFormat) |
| Gets the film format. | |
| HRESULT | GetFrameRate ([out] aafUInt32 *pRate) |
| Get the frame rate of the film. | |
| HRESULT | GetPerfPerFrame ([out] aafUInt8 *pPerfPerFrame) |
| Get the number of perforations per frame. | |
| HRESULT | GetFilmAspectRatio ([out] aafRational_t *pAspectRatio) |
| Get the image aspect ratio. | |
| HRESULT | SetFilmFormat ([in] aafFilmType_t filmFormat) |
| Sets the film format of the film. | |
| HRESULT | SetFrameRate ([in] aafUInt32 rate) |
| Set the frame rate of the film. | |
| HRESULT | SetPerfPerFrame ([in] aafUInt8 perfPerFrame) |
| Set the number of perforations per frame. | |
| HRESULT | SetFilmAspectRatio ([in] aafRational_t aspectRatio) |
| Set the image aspect ratio. | |
|
|
Get the image aspect ratio. 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
AAFRESULT_NULL_PARAM
|
|
|
Gets the film format. Valid values include:
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
AAFRESULT_NULL_PARAM
|
|
||||||||||||
|
Gets the Film Manufacturer string property. Writes the FilmManufacturer property, with a trailing null character, into the pFilmManufacturer buffer. The buffer is allocated by the caller. The size of the buffer is given by bufSize. If the FilmManufacturer property has not yet been set, a zero-length string will be written (that is, only the trailing null character). Caller may call GetFilmManufacturerBufLen() to determine the required buffer size. If this method fails nothing will be written to pFilmManufacturer. 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_NULL_PARAM
AAFRESULT_SMALL_BUF
|
|
|
Returns size of buffer (in bytes) required for GetFilmManufacturer(). 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_NULL_PARAM
|
|
||||||||||||
|
Gets the Film Model string property. Writes the FilmModel property, with a trailing null character, into the pFilmModel buffer. The buffer is allocated by the caller. The size of the buffer is given by bufSize. If the FilmModel property has not yet been set, a zero-length string will be written (that is, only the trailing null character). Caller may call GetFilmModelBufLen() to determine the required buffer size. If this method fails nothing will be written to pFilmModel. 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_NULL_PARAM
AAFRESULT_SMALL_BUF
|
|
|
Returns size of buffer (in bytes) required for GetFilmModel(). 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_NULL_PARAM
|
|
|
Get the frame rate of the film. 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
AAFRESULT_NULL_PARAM
|
|
|
Get the number of perforations per frame. 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
AAFRESULT_NULL_PARAM
|
|
|
Set the image aspect ratio. 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
|
|
|
Sets the film format of the film. Valid values include:
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
AAFRESULT_BAD_TYPE
|
|
|
Sets the Film Manufacturer string property. Set the FilmManufacturer property to the value specified in pFilmManufacturer. A copy is made of the data so the caller retains ownership of the *pFilmManufacturer buffer and is responsible for de-allocating it. There is no pre-set limit to the length of the name, other than available system memory or disk space. Succeeds if all of the following are true:
If this method fails the FilmManufacturer property will not 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
|
|
|
Sets the Film Model string property. Set the FilmModel property to the value specified in pFilmModel. A copy is made of the data so the caller retains ownership of the *pFilmModel buffer and is responsible for de-allocating it. There is no pre-set limit to the length of the name, other than available system memory or disk space. Succeeds if all of the following are true:
If this method fails the FilmModel property will not 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
|
|
|
Set the frame rate of the film. 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
|
|
|
Set the number of perforations per frame. 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
|
1.4.1