#include "devvideorecord.h"
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.
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.
Returns: "True if the pre-processor is hardware-accelerated."
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.
Returns: "The hardware device identifier. The reference is valid until this object is destroyed."
IMPORT_C const TDesC8 & | ImplementationSpecificInfo | ( | ) | const |
Returns implementation-specific information about the pre-processor.
Returns: "Implementation- specific information about the pre-processor. The data format is implementation-specific, and defined separately by the pre-processor supplier. The reference is valid until the CPreProcessorInfo object is destroyed."
IMPORT_C const TDesC & | Manufacturer | ( | ) | const |
Returns the hardware device manufacturer.
Returns: "The hardware device manufacturer. The reference is valid until this is destroyed."
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] |
Parameter | Description |
---|---|
aUid | "The uid of the pre-processor." |
aManufacturer | "The manufacturer of the pre-processor." |
aIdentifier | "The manufacturer-specific identifier of the pre-processor." |
aVersion | "The version of the pre-processor." |
aAccelerated | "Whether the pre-processor is hw accelerated or not." |
aSupportsDirectCapture | "Whether the pre-processor supports direct capture." |
aInputFormats | "An array of the supported input formats." |
aOutputFormats | "An array of the supported output formats." |
aSupportedCombinations | "An array of the supported combinations." |
aSupportsArbitraryScaling | "Whether the pre-processor supports arbitrary scaling." |
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." |
Lists all supported pre-processing combinations.
Returns: "An RArray table of pre-processing combinations. Each value is a bitwise OR of values from TPrePostProcessType. The reference is valid until the CPreProcessorInfo object is destroyed."
IMPORT_C const RArray< TUncompressedVideoFormat > & | SupportedInputFormats | ( | ) | const |
Returns the input formats that the pre-processor supports.
Returns: "An RArray table of supported video formats (TUncompressedVideoFormat). The reference is valid until the CPreProcessorInfo object is destroyed."
IMPORT_C const RArray< TUncompressedVideoFormat > & | SupportedOutputFormats | ( | ) | const |
Returns the output formats that the pre-processor supports.
Returns: "An RArray table of supported video formats (TUncompressedVideoFormat). The reference is valid until the CPreProcessorInfo object is destroyed."
IMPORT_C TUint32 | SupportedRgbRanges | ( | ) | const |
Returns RGB value ranges the hardware device supports for RGB to YUV conversion.
Returns: "The supported RGB ranges as a bitwise OR of TRgbRange values."
IMPORT_C TUint32 | SupportedRotations | ( | ) | const |
Returns the rotation types the plug-in supports.
Returns: "The supported rotation types as a bitwise OR of TRotationType values. If the pre-processor does not support rotation, the return value is zero."
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.
Returns: "An RArray list of supported scale factors (TScaleFactor). The reference is valid until the CPreProcessorInfo object is destroyed. If the pre-processor supports arbitrary scaling or no scaling at all, the list is empty."
IMPORT_C TBool | SupportsAntiAliasedScaling | ( | ) | const |
Returns whether the hardware device supports anti-aliasing filtering for scaling.
Returns: "True if anti-aliasing filtering is supported."
IMPORT_C TBool | SupportsArbitraryScaling | ( | ) | const |
Returns whether the pre-processor supports arbitrary scaling.
Returns: "True if arbitrary scaling is supported. If arbitrary scaling is not supported, some specific scale factors can still be available."
Returns whether the pre-processor supports the given pre-processing combination.
Parameter | Description |
---|---|
aCombination | "Pre-processing combination, a bitwise OR of values from TPrePostProcessType." |
Returns: "True if the pre-processing combination is supported."
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.
Returns: "True if the pre-processor supports direct capture."
IMPORT_C TBool | SupportsInputFormat | ( | const TUncompressedVideoFormat & | aFormat | ) | const |
Returns whether the pre-processor supports the given input format.
Parameter | Description |
---|---|
aFormat | "The format to be checked." |
Returns: "True if the pre-processor supports the given input format."
IMPORT_C TBool | SupportsOutputFormat | ( | const TUncompressedVideoFormat & | aFormat | ) | const |
Returns whether the pre-processor supports the given output format.
Parameter | Description |
---|---|
aFormat | "The format to be checked." |
Returns: "True if the pre-processor supports the given input format."
IMPORT_C TVersion | Version | ( | ) | const |
Returns the pre-processor version.
Returns: "Pre-processor version."
IMPORT_C const TYuvToYuvCapabilities & | YuvToYuvCapabilities | ( | ) | const |
Returns the YUV to YUV conversion capabilities for the pre-processor.
Returns: "The conversion capabilities, as a TYuvToYuvCapabilities structure. The reference is valid until the CPreProcessorInfo object is destroyed."