IPS-VIDEO Altera, IPS-VIDEO Datasheet - Page 118

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
5–34
Video and Image Processing Suite User Guide
1
Given a set of nine coefficients [A0, A1, A2, B0, B1, B2, C0, C1, C2] and a set of three
summands [S0, S1, S2], the output values on channels 0, 1, and 2 (denoted dout_0,
dout_1, and dout_2) are calculated as follows:
User-specified custom constants and the following predefined conversions are
supported:
The values are assigned in the order indicated by the conversion name. For example,
if you select Computer B’G’R’ to CbCrY’: SDTV, din_0 = B’, din_1 = G’, din_2 = R’,
dout_0 = Cb’, dout_1 = Cr, and dout_2 = Y’.
If the channels are in sequence, din_0 is first, then din_1, and din_2. If the channels are
in parallel, din_0 occupies the least significant bits of the word, din_1 the middle bits
and din_2 the most significant bits. For example, if there are 8 bits per sample and one
of the predefined conversions inputs B’G’R’, din_0 carries B’ in bits 0–7, din_1 carries
G’ in bits 8–15, and din_2 carries R’ in bits 16–23.
Predefined conversions only support unsigned input and output data. If signed input
or output data is selected, the predefined conversion produces incorrect results. When
using a predefined conversion, the precision of the constants must still be defined.
Predefined conversions are based on the input bits per pixel per color plane. If using
different input and output bits per pixel per color plane, the results should be scaled
by the correct number of binary places to compensate.
dout_0 = (A0 × din_0) + (B0 × din_1) + (C0 × din_2) + S0
dout_1 = (A1 × din_0) + (B1 × din_1) + (C1 × din_2) + S1
dout_2 = (A2 × din_0) + (B2 × din_1) + (C2 × din_2) + S2
where din_0, din_1, and din_2 are inputs read from channels 0, 1, and 2
respectively.
Computer B’G’R’ to CbCrY’: SDTV
CbCrY’: SDTV to Computer B’G’R’
Computer B’G’R’ to CbCrY’: HDTV
CbCrY’: HDTV to Computer B’G’R’
Studio B’G’R’ to CbCrY’: SDTV
CbCrY’: SDTV to Studio B’G’R’
Studio B’G’R’ to CbCrY’: HDTV
CbCrY’: HDTV to Studio B’G’R’
IQY' to Computer B'G'R'
Computer B'G'R' to IQY'
UVY' to Computer B'G'R'
Computer B'G'R' to UVY'
Chapter 5: Functional Descriptions
May 2011 Altera Corporation
Color Space Converter

Related parts for IPS-VIDEO