class CPreProcessorInfo : public CBase |
This class contains information about the pre-processing capabilities that an encoder or a pre-processor hardware has. Although it mainly contains static data, it is defined as a complete CBase-derived class since the data is relatively complex and proper memory management is necessary.
The objects are created by the pre-processor or encoder devices, and used by the MSL video client code.
Private Member Functions | |
---|---|
CPreProcessorInfo(TUid, TVersion, TBool, TBool, TBool, TBool, const TYuvToYuvCapabilities &, TUint32, TUint32) | |
void | ConstructL(const TDesC &, const TDesC &, const TArray< TUncompressedVideoFormat > &, const TArray< TUncompressedVideoFormat > &, const TArray< TUint32 > &, const TArray< TScaleFactor > &, const TDesC8 &) |
CPreProcessorInfo | ( | TUid | aUid, |
TVersion | aVersion, | ||
TBool | aAccelerated, | ||
TBool | aSupportsDirectCapture, | ||
TBool | aSupportsArbitraryScaling, | ||
TBool | aSupportsAntiAliasedScaling, | ||
const TYuvToYuvCapabilities & | aYuvToYuvCapabilities, | ||
TUint32 | aSupportedRgbRanges, | ||
TUint32 | aSupportedRotations | ||
) | [private] |
IMPORT_C TBool | Accelerated | ( | ) | const |
Returns whether the plug-in is hardware-accelerated. Hardware-accelerated pre-processors can run on an application DSP or dedicated hardware.
void | ConstructL | ( | const TDesC & | aManufacturer, |
const TDesC & | aIdentifier, | |||
const TArray< TUncompressedVideoFormat > & | aInputFormats, | |||
const TArray< TUncompressedVideoFormat > & | aOutputFormats, | |||
const TArray< TUint32 > & | aSupportedCombinations, | |||
const TArray< TScaleFactor > & | aSupportedScaleFactors, | |||
const TDesC8 & | aImplementationSpecificInfo | |||
) | [private] |
const TDesC & aManufacturer | |
const TDesC & aIdentifier | |
const TArray< TUncompressedVideoFormat > & aInputFormats | |
const TArray< TUncompressedVideoFormat > & aOutputFormats | |
const TArray< TUint32 > & aSupportedCombinations | |
const TArray< TScaleFactor > & aSupportedScaleFactors | |
const TDesC8 & aImplementationSpecificInfo |
IMPORT_C const TDesC & | Identifier | ( | ) | const |
Returns the hardware device manufacturer-specific identifier. The combination of the manufacturer and identifier uniquely identifies the plug-in.
IMPORT_C const TDesC8 & | ImplementationSpecificInfo | ( | ) | const |
Returns implementation-specific information about the pre-processor.
IMPORT_C CPreProcessorInfo * | NewL | ( | TUid | aUid, |
const TDesC & | aManufacturer, | |||
const TDesC & | aIdentifier, | |||
TVersion | aVersion, | |||
TBool | aAccelerated, | |||
TBool | aSupportsDirectCapture, | |||
const TArray< TUncompressedVideoFormat > & | aInputFormats, | |||
const TArray< TUncompressedVideoFormat > & | aOutputFormats, | |||
const TArray< TUint32 > & | aSupportedCombinations, | |||
TBool | aSupportsArbitraryScaling, | |||
TBool | aSupportsAntiAliasedScaling, | |||
const TArray< TScaleFactor > & | aSupportedScaleFactors, | |||
const TYuvToYuvCapabilities & | aYuvToYuvCapabilities, | |||
TUint32 | aSupportedRgbRanges, | |||
TUint32 | aSupportedRotations, | |||
const TDesC8 & | aImplementationSpecificInfo | |||
) | [static] |
TUid aUid | "The uid of the pre-processor." |
const TDesC & aManufacturer | "The manufacturer of the pre-processor." |
const TDesC & aIdentifier | "The manufacturer-specific identifier of the pre-processor." |
TVersion aVersion | "The version of the pre-processor." |
TBool aAccelerated | "Whether the pre-processor is hw accelerated or not." |
TBool aSupportsDirectCapture | "Whether the pre-processor supports direct capture." |
const TArray< TUncompressedVideoFormat > & aInputFormats | "An array of the supported input formats." |
const TArray< TUncompressedVideoFormat > & aOutputFormats | "An array of the supported output formats." |
const TArray< TUint32 > & aSupportedCombinations | "An array of the supported combinations." |
TBool aSupportsArbitraryScaling | "Whether the pre-processor supports arbitrary scaling." |
TBool aSupportsAntiAliasedScaling | "Whether the pre-processor supports anti-alias filtering on scaling."" @param "aSupportedScaleFactors" "An array of the supported scale factors if arbitrary scaling isn't suported" @param "aYuvToYuvCapabilities" "The yuv to yuv conversion capabilities of the pre-processor." @param "aSupportedRgbRanges" "The supported rgb ranges." @param "aSupportedRotations" "The supported rotations." @param "aImplementationSpecificInfo" "Implementation-specific information." @return"The newly created CPreProcessorInfo object." |
const TArray< TScaleFactor > & aSupportedScaleFactors | |
const TYuvToYuvCapabilities & aYuvToYuvCapabilities | |
TUint32 aSupportedRgbRanges | |
TUint32 aSupportedRotations | |
const TDesC8 & aImplementationSpecificInfo |
IMPORT_C const RArray< TUint32 > & | SupportedCombinations | ( | ) | const |
Lists all supported pre-processing combinations.
IMPORT_C const RArray< TUncompressedVideoFormat > & | SupportedInputFormats | ( | ) | const |
Returns the input formats that the pre-processor supports.
IMPORT_C const RArray< TUncompressedVideoFormat > & | SupportedOutputFormats | ( | ) | const |
Returns the output formats that the pre-processor supports.
IMPORT_C TUint32 | SupportedRgbRanges | ( | ) | const |
Returns RGB value ranges the hardware device supports for RGB to YUV conversion.
IMPORT_C TUint32 | SupportedRotations | ( | ) | const |
Returns the rotation types the plug-in supports.
IMPORT_C const RArray< TScaleFactor > & | SupportedScaleFactors | ( | ) | const |
Returns the scaling factors the plug-in supports. If the plug-in supports arbitrary scaling the list is empty - use SupportsArbitraryScaling() first.
IMPORT_C TBool | SupportsAntiAliasedScaling | ( | ) | const |
Returns whether the hardware device supports anti-aliasing filtering for scaling.
IMPORT_C TBool | SupportsArbitraryScaling | ( | ) | const |
Returns whether the pre-processor supports arbitrary scaling.
IMPORT_C TBool | SupportsCombination | ( | TUint32 | aCombination | ) | const |
Returns whether the pre-processor supports the given pre-processing combination.
TUint32 aCombination | "Pre-processing combination, a bitwise OR of values from TPrePostProcessType." |
IMPORT_C TBool | SupportsDirectCapture | ( | ) | const |
Returns whether the hardware device supports direct capture. Pre-processors supporting direct capture can get the input pictures directly from a camera, possibly using an efficient hardware-dependent data path.
IMPORT_C TBool | SupportsInputFormat | ( | const TUncompressedVideoFormat & | aFormat | ) | const |
Returns whether the pre-processor supports the given input format.
const TUncompressedVideoFormat & aFormat | "The format to be checked." |
IMPORT_C TBool | SupportsOutputFormat | ( | const TUncompressedVideoFormat & | aFormat | ) | const |
Returns whether the pre-processor supports the given output format.
const TUncompressedVideoFormat & aFormat | "The format to be checked." |
IMPORT_C const TYuvToYuvCapabilities & | YuvToYuvCapabilities | ( | ) | const |
Returns the YUV to YUV conversion capabilities for the pre-processor.
RArray< TUncompressedVideoFormat > | iInputFormats | [private] |
RArray< TUncompressedVideoFormat > | iOutputFormats | [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.