Video and Image Processing Suite User Guide

ID 683416
Date 2/12/2021
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

12.4. Color Space Converter Parameter Settings

Table 38.  Color Space Converter II Parameter Settings
Parameter Value Description
General
Color planes transmitted in parallel On or Off Turn on to transmit the color planes in parallel.
Number of pixels in parallel 1, 2, 4, or 8 Specify the number of pixels transmitted or received in parallel.
Input data type: Input bits per pixel per color plane 4–20, Default = 8 Specify the number of input bits per pixel (per color plane).
Input data type: Signed On or Off Turn to specify the output as signed 2's complement.
Input data type: Guard bands On or Off Turn to use a defined input range.
Input data type: Max -524288–1048575,

Default = 255

Specify the input range maximum value.
Input data type: Min -524288–1048575,

Default = 0

Specify the input range minimum value.
Output data type: Bits per pixel per color plane 4–20, Default = 8 Select the number of output bits per pixel (per color plane).
Output data type: Signed On or Off Turn to specify the output as signed 2's complement.
Output data type: Guard bands On or Off Turn on to enable a defined output range.
Output data type: Max -524288–1048575,

Default = 255

Specify the output range maximum value.
Output data type: Min -524288–1048575,

Default = 0

Specify the output range minimum value.
How user packets are handled
  • No user packets allowed
  • Discard all user packets received
  • Pass all user packets through to the output

If you design does not require the IP core to propagate user packets, then you may select to discard all user packets to reduce ALM usage.

If your design guarantees there will never be any user packets in the input data stream, then you further reduce ALM usage by selecting No user packets allowed. In this case, the IP core may lock if it encounters a user packet.

Conversion method LSB or MSB

This parameter is enabled when input and output bits per sample per color plane differ and when user packets are propagated.

When the propagation of user packets requires padding or truncation, the IP can do one of the following:
  • Truncate or zero-pad the most significant bits
  • Truncate or pad the least significant bits
Run-time control

On or Off

Turn on to enable runtime control of the conversion values.
Reduced control register readback On or Off

If you do not turn on this parameter, the values of all the registers in the control slave interface can be read back after they are written.

If you turn on this parameter, the values written to registers 3 and upwards cannot be read back through the control slave interface. This option reduces ALM usage.

Operands
Coefficient and summand fractional bits 0–31, Default = 8 Specify the number of fraction bits for the fixed point type used to store the coefficients and summands.
Coefficient precision: Signed On or Off Turn on to set the fixed point type used to store the constant coefficients as having a sign bit.
Coefficient precision: Integer bits 0–16,

Default = 1

Specifies the number of integer bits for the fixed point type used to store the constant coefficients.
Summand precision: Signed On or Off Turn on to set the fixed point type used to store the constant summands as having a sign bit.
Summand precision: Integer bits 0–22,

Default = 10

Specifies the number of integer bits for the fixed point type used to store the constant summands.
Coefficients and Summand Table

A0, B0, C0, S0

A1, B1, C1, S1

A2, B2, C2, S2

12 fixed-point values Each coefficient or summand is represented by a white cell with a gray cell underneath. The value in the white cell is the desired value, and is editable. The value in the gray cell is the actual value, determined by the fixed-point type specified. The gray cells are not editable. You can create a custom coefficient and summand set by specifying one fixed-point value for each entry.
Move binary point right -16 to +16, Default = 0 Specify the number of places to move the binary point.
Remove fraction bits by
  • Round values - Half up
  • Round values - Half even
  • Truncate values to integer
Select the method of discarding fraction bits resulting from the calculation.
Convert from signed to unsigned by
  • Saturating to minimum value at stage 4
  • Replacing negative with absolute value
Select the method of signed to unsigned conversion for the results.