naps.cores.hdmi package

Submodules

naps.cores.hdmi.InfoFrame module

class naps.cores.hdmi.InfoFrame.ActiveFormatAspectRatio(value)

Bases: enum.Enum

An enumeration.

SAME_AS_PICTURE_ASPECT = 8
class naps.cores.hdmi.InfoFrame.ActiveFormatInformationPresent(value)

Bases: enum.Enum

An enumeration.

INFORMATION_VALID = 1
NO_DATA = 0
class naps.cores.hdmi.InfoFrame.AviInfoFrame(scan_information: naps.cores.hdmi.InfoFrame.ScanInformation, rgb_or_ycbcr: naps.cores.hdmi.InfoFrame.RgbOrYcbcr, active_format_information_present: naps.cores.hdmi.InfoFrame.ActiveFormatInformationPresent, bar_info: naps.cores.hdmi.InfoFrame.BarInfo, colorimetry: naps.cores.hdmi.InfoFrame.Colorimetry, picture_aspect_ratio: naps.cores.hdmi.InfoFrame.PictureAspectRatio)

Bases: naps.cores.hdmi.InfoFrame.PacketConstructable

active_format_information_present: naps.cores.hdmi.InfoFrame.ActiveFormatInformationPresent
bar_info: naps.cores.hdmi.InfoFrame.BarInfo
colorimetry: naps.cores.hdmi.InfoFrame.Colorimetry
info_frame_lengh = 13
info_frame_version = 2
lower()
packet_type = 130
picture_aspect_ratio: naps.cores.hdmi.InfoFrame.PictureAspectRatio
rgb_or_ycbcr: naps.cores.hdmi.InfoFrame.RgbOrYcbcr
scan_information: naps.cores.hdmi.InfoFrame.ScanInformation
class naps.cores.hdmi.InfoFrame.BarInfo(value)

Bases: enum.Enum

An enumeration.

BOTH_VALID = 3
HORIZONTAL_BAR_INFO_VALID = 2
NOT_VALID = 0
VERTICAL_BAR_INFO_VALID = 1
class naps.cores.hdmi.InfoFrame.BitVec(len)

Bases: object

class naps.cores.hdmi.InfoFrame.Colorimetry(value)

Bases: enum.Enum

An enumeration.

EXTENDED = 3
ITU709 = 2
NO_DADA = 0
SMPTE170_OR_ITU601 = 1
class naps.cores.hdmi.InfoFrame.DataIslandPacket(header_bytes: list, data_bytes: list)

Bases: naps.cores.hdmi.InfoFrame.PacketConstructable, abc.ABC

data_bytes: list
header_bytes: list
class naps.cores.hdmi.InfoFrame.ExtendedColorimetry(value)

Bases: enum.Enum

An enumeration.

XVYCC601 = 0
XVYCC709 = 1
class naps.cores.hdmi.InfoFrame.ItContent(value)

Bases: enum.Enum

An enumeration.

IT_CONTENT = 1
NO_DATA = 0
class naps.cores.hdmi.InfoFrame.NonUniformPictureScaling(value)

Bases: enum.Enum

An enumeration.

BOTH = 3
HORIZONTAL = 1
NO_KNOWN = 0
VERTICAL = 2
class naps.cores.hdmi.InfoFrame.PacketConstructable

Bases: abc.ABC

abstract lower()
class naps.cores.hdmi.InfoFrame.PictureAspectRatio(value)

Bases: enum.Enum

An enumeration.

ASPECT_16_9 = 2
ASPECT_4_3 = 1
NO_DATA = 0
class naps.cores.hdmi.InfoFrame.RgbOrYcbcr(value)

Bases: enum.Enum

An enumeration.

RGB = 0
YCBCR422 = 1
YCBCR444 = 2
class naps.cores.hdmi.InfoFrame.RgbQuantizationRange(value)

Bases: enum.Enum

An enumeration.

DEFAULT = 0
FULL = 2
LIMITED = 1
class naps.cores.hdmi.InfoFrame.ScanInformation(value)

Bases: enum.Enum

An enumeration.

NO_DATA = 0
OVERSCANNED = 1
UNDERSCANNED = 2
class naps.cores.hdmi.InfoFrame.VideoIdentificationCode(value)

Bases: enum.Enum

An enumeration.

NO_INFORMATION = 0
VID_1920_1080_24p = 32
VID_1920_1080_25p = 33
VID_1920_1080_30p = 34
VID_1920_1080_50p = 31
VID_1920_1080_60p = 16

naps.cores.hdmi.cvt_python module

naps.cores.hdmi.cvt_python.generate_modeline(width, height, refresh, reduced_blanking=True)

naps.cores.hdmi.cvt_subprocess module

naps.cores.hdmi.cvt_subprocess.generate_modeline(width, height, refresh, reduced_blanking=True)

naps.cores.hdmi.parse_modeline module

class naps.cores.hdmi.parse_modeline.VideoTiming(pxclk: float, hres: int, hsync_start: int, hsync_end: int, hscan: int, vres: int, vsync_start: int, vsync_end: int, vscan: int)

Bases: object

hres: int
hscan: int
hsync_end: int
hsync_start: int
pxclk: float
vres: int
vscan: int
vsync_end: int
vsync_start: int
naps.cores.hdmi.parse_modeline.parse_modeline(modeline: str)

naps.cores.hdmi.tmds module

naps.cores.hdmi.tmds_test module

class naps.cores.hdmi.tmds_test.TestTmds(methodName='runTest')

Bases: unittest.case.TestCase

test_roundtrip()

Module contents