CCompressedVideoFormat Class Reference
class CCompressedVideoFormat : public CBase
|
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.
Constructor & Destructor Documentation
CCompressedVideoFormat()
CCompressedVideoFormat
|
(
|
)
|
[protected]
|
~CCompressedVideoFormat()
IMPORT_C
|
~CCompressedVideoFormat
|
(
|
)
|
[virtual]
|
Virtual destructor. Destroys iMimeType.
Member Functions Documentation
ConstructL(const TDesC8 &, const TDesC8 &)
void
|
ConstructL
|
(
|
const
TDesC8
&
|
aMimeType,
|
|
const
TDesC8
&
|
aOptionalData
|
|
)
|
[protected]
|
MimeType()
IMPORT_C const
TDesC8
&
|
MimeType
|
(
|
)
|
const
|
Returns the video codec MIME type.
NewL(const TDesC8 &, const TDesC8 &)
Static factory function for creating new
CCompressedVideoFormat
objects.
-
leave
-
"This method may leave with one of the system-wide error codes."
Parameters
const
TDesC8
& 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."
|
const
TDesC8
& aOptionalData =
KNullDesC8
|
"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."
|
NewL(const CCompressedVideoFormat &)
Static factory function for creating a copy of an existing
CCompressedVideoFormat
object.
-
leave
-
This method may leave with one of the system-wide error codes.
OptionalData()
IMPORT_C const
TDesC8
&
|
OptionalData
|
(
|
)
|
const
|
Returns the optional data.
operator==(const CCompressedVideoFormat &)
Member Data Documentation
HBufC8 * iOptionalData
HBufC8
*
|
iOptionalData
|
[private]
|
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.