enum Gdk::CicpRange

Overview

The values of this enumeration describe whether image data uses the full range of 8-bit values.

In digital broadcasting, it is common to reserve the lowest and highest values. Typically the allowed values for the narrow range are 16-235 for Y and 16-240 for u,v (when dealing with YUV data).

Defined in:

lib/gi-crystal/src/auto/gdk-4.0/gdk.cr

Enum Members

Narrow = 0_u32

The values use the range of 16-235 (for Y) and 16-240 for u and v.

Full = 1_u32

The values use the full range.

Class Method Summary

Instance Method Summary

Class methods inherited from struct Enum

g_type : UInt64 g_type

Class Method Detail

def self.g_type : UInt64 #

Returns the type id (GType) registered in GLib type system.


Instance Method Detail

def full? #

def narrow? #