IPS-VIDEO Altera, IPS-VIDEO Datasheet - Page 119

MegaCore Suite W/ 17 DSP Video/image Processing Functions

IPS-VIDEO

Manufacturer Part Number
IPS-VIDEO
Description
MegaCore Suite W/ 17 DSP Video/image Processing Functions
Manufacturer
Altera
Type
-r
Datasheets

Specifications of IPS-VIDEO

Software Application
IP CORE, SUITES
Supported Families
Arria GX, Cyclone II, HardCopy II, Stratix II
Core Architecture
FPGA
Core Sub-architecture
Arria, Cyclone, Stratix
Rohs Compliant
NA
Function
Suite of IP Functions for Video and Image Processing
License
Initial License
Lead Free Status / RoHS Status
na
Lead Free Status / RoHS Status
na
Chapter 5: Functional Descriptions
Color Space Converter
May 2011 Altera Corporation
Constant Precision
Calculation Precision
Result of Output Data Type Conversion
The Color Space Converter MegaCore function requires fixed point types to be
defined for the constant coefficients and constant summands. The user entered
constants (in the white cells of the matrix in the parameter editor) are rounded to fit in
the chosen fixed point type (these are shown in the purple cells of the matrix).
The Color Space Converter MegaCore function does not lose calculation precision
during the conversion. The calculation and result data types are derived from the
range of the input data type, the fixed point types of the constants, and the values of
the constants. If scaling is selected, the result data type is scaled up appropriately such
that precision is not lost.
After the calculation, the fixed point type of the results must be converted to the
integer data type of the output. This conversion is performed in four stages, in the
following order:
1. Result Scaling. You can choose to scale up the results, increasing their range. This
2. Removal of Fractional Bits. If any fractional bits exist, you can choose to remove
3. Conversion from Signed to Unsigned. If any negative numbers can exist in the
4. Constrain to Range. If any of the results are beyond the range specified by the
is useful to quickly increase the color depth of the output. The available options
are a shift of the binary point right –16 to +16 places. This is implemented as a
simple shift operation so it does not require multipliers.
them. There are three methods:
results and the output type is unsigned, you can choose how they are converted.
There are two methods:
output data type (output guard bands, or if unspecified the minimum and
maximum values allowed by the output bits per pixel), logic that saturates the
results to the minimum and maximum output values is automatically added.
Truncate to integer. Fractional bits are removed from the data. This is
equivalent to rounding towards negative infinity.
Round - Half up. Round up to the nearest integer. If the fractional bits equal
0.5, rounding is towards positive infinity.
Round - Half even. Round to the nearest integer. If the fractional bits equal 0.5,
rounding is towards the nearest even integer.
Saturate to the minimum output value (constraining to range).
Replace negative numbers with their absolute positive value.
Video and Image Processing Suite User Guide
5–35

Related parts for IPS-VIDEO