ColorBalance

This interface is implemented by elements which can perform some color balance operation on video frames they process. For example, modifying the brightness, contrast, hue or saturation.

Example elements are 'xvimagesink' and 'colorbalance'

Members

Functions

connectValueChanged
ulong connectValueChanged(T callback, Flag!"After" after)

Connect to ValueChanged signal.

getBalanceType
gstvideo.types.ColorBalanceType getBalanceType()

Get the #GstColorBalanceType of this implementation.

getValue
int getValue(gstvideo.color_balance_channel.ColorBalanceChannel channel)

Retrieve the current value of the indicated channel, between min_value and max_value.

listChannels
gstvideo.color_balance_channel.ColorBalanceChannel[] listChannels()

Retrieve a list of the available channels.

setValue
void setValue(gstvideo.color_balance_channel.ColorBalanceChannel channel, int value)

Sets the current value of the channel to the passed value, which must be between min_value and max_value.

valueChanged
void valueChanged(gstvideo.color_balance_channel.ColorBalanceChannel channel, int value)

A helper function called by implementations of the GstColorBalance interface. It fires the #GstColorBalance::value-changed signal on the instance, and the #GstColorBalanceChannel::value-changed signal on the channel object.