#include "devvideobase.h"
class CCompressedVideoFormat : public CBase |
Public Member Functions | |
---|---|
virtual | ~CCompressedVideoFormat() |
IMPORT_C const TDesC8 & | MimeType() |
IMPORT_C CCompressedVideoFormat * | NewL(const TDesC8 &, const TDesC8 &) |
IMPORT_C CCompressedVideoFormat * | NewL(const CCompressedVideoFormat &) |
IMPORT_C const TDesC8 & | OptionalData() |
IMPORT_C TBool | operator==(const CCompressedVideoFormat &) |
Protected Member Functions | |
---|---|
CCompressedVideoFormat() | |
void | ConstructL(const TDesC8 &, const TDesC8 &) |
Defines a compressed video format. The format is identified by its MIME type, which may include parameters that describe the used format profile and level. The MIME type used for H.263 is video/H263-2000, specified in TS 26.234, and the type for MPEG-4 is video/MP4V-ES, specified in RFC 3016.
IMPORT_C | ~CCompressedVideoFormat | ( | ) | [virtual] |
Virtual destructor. Destroys iMimeType.
IMPORT_C const TDesC8 & | MimeType | ( | ) | const |
Returns the video codec MIME type.
Returns: "Reference to a descriptor that contains the video codec MIME type."
IMPORT_C CCompressedVideoFormat * | NewL | ( | const TDesC8 & | aMimeType, |
const TDesC8 & | aOptionalData = KNullDesC8 | |||
) | [static] |
Static factory function for creating new CCompressedVideoFormat objects.
Parameter | Description |
---|---|
aMimeType | "Video codec MIME type, including optional parameters for profile, level and version information. The CCompressedVideoFormat object creates and owns a copy of this buffer and takes care of deallocation." |
aOptionalData | "Reference to a descriptor that contains optional codec-specific data. Set to KNullDesC8 if not used. [The format of the data is codec-specific, typically a package buffer containing a data structure may be used. The pointer lifetime and validity requirements are specified with each method that uses this structure." |
Returns: "Pointer to a fully constructed CCompressedVideoFormat object."
IMPORT_C CCompressedVideoFormat * | NewL | ( | const CCompressedVideoFormat & | aFormat | ) | [static] |
Static factory function for creating a copy of an existing CCompressedVideoFormat object.
Parameter | Description |
---|---|
aFormat | "The CCompressedVideoFormat object to copy." |
Returns: Pointer to a fully constructed CCompressedVideoFormat object.
IMPORT_C const TDesC8 & | OptionalData | ( | ) | const |
Returns the optional data.
Returns: "Reference to a descriptor that contains optional codec-specific data. Zero length if not used. The format of the data is codec-specific, typically a package buffer containing a data structure may be used."
IMPORT_C TBool | operator== | ( | const CCompressedVideoFormat & | aOther | ) | const |
Tests whether this CCompressedVideoFormat is identical to aOther or not.
Returns: "ETrue if the two objects are identical, EFalse if not."