Virtual Method

HsSoftwareContextset_colorburst

Declaration [src]

void
set_colorburst (
  HsSoftwareContext* self,
  float cycle_length,
  float line_offset,
  float field_offset
)

Description [src]

Sets the colorburst for this field.

Frontend can use this information to simulate TV signal.

Setting cycle_length to a negative value disables color carrier, producing a monochrome picture.

For PAL, the integer part of field_offset determines the V phase offset for the current field.

Platforms that don’t produce TV signal should set cycle_length to 0, or avoid calling this function.

Parameters

cycle_length

Type: float

How many pixels fit into a single chroma cycle.

line_offset

Type: float

How much the colorburst phase shifts between each line.

field_offset

Type: float

How much is colorburst phase shifted for the entire field.