1.3.12 OcaCodingManager

Class Hierarchy:

OcaRootOcaManagerOcaCodingManager

class OcaCodingManager : OcaManager

Optional manager that collects all media decoders/encoders (Codecs) which the device owns.

  • Must be instantiated in every device that implements more than one media encoding scheme and/or more than one media decoding scheme.

  • If instantiated, object number must be 12.

Properties:

static const OcaClassID ClassID = "1.3.12"

Number that uniquely identifies the class. Note that this differs from the object number, which identifies the instantiated object. This property is an override of the OcaRoot property.

This property has id 3.1.

static const OcaUint16 ClassVersion = 1

Identifies the interface version of the class. Any change to the class definition leads to a higher class version. This property is an override of the OcaRoot property.

This property has id 3.2.

OcaMap<OcaMediaCodingSchemeID, OcaString> AvailableEncodingSchemes

Map of names of media encoding schemes the device supports, indexed by scheme ID.

This property has id 3.1.

OcaMap<OcaMediaCodingSchemeID, OcaString> AvailableDecodingSchemes

Map of names of media decoding schemes the device supports, indexed by scheme ID.

This property has id 3.2.

Properties inherited from OcaRoot:

Methods:

OcaStatus GetAvailableEncodingSchemes(OcaMap<OcaMediaCodingSchemeID, OcaString> &Schemes)

Retrieves the map of available encoding schemes, indexed by scheme ID. Return value indicates success of the retrieval.

This method has id 3.1.

Parameters

OcaMap<OcaMediaCodingSchemeID, OcaString> Schemes – Output parameter.

OcaStatus GetAvailableDecodingSchemes(OcaMap<OcaMediaCodingSchemeID, OcaString> &Schemes)

Retrieves the map of available decoding schemes, indexed by scheme ID. Return value indicates success of the retrieval.

This method has id 3.2.

Parameters

OcaMap<OcaMediaCodingSchemeID, OcaString> Schemes – Output parameter.

Methods inherited from OcaRoot: