naps.cores.hdmi package
Subpackages
Submodules
naps.cores.hdmi.InfoFrame module
- class naps.cores.hdmi.InfoFrame.ActiveFormatAspectRatio(value)
Bases:
Enum
- SAME_AS_PICTURE_ASPECT = 8
- class naps.cores.hdmi.InfoFrame.ActiveFormatInformationPresent(value)
Bases:
Enum
- 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:
PacketConstructable
- active_format_information_present: ActiveFormatInformationPresent
- colorimetry: Colorimetry
- info_frame_lengh = 13
- info_frame_version = 2
- lower()
- packet_type = 130
- picture_aspect_ratio: PictureAspectRatio
- rgb_or_ycbcr: RgbOrYcbcr
- scan_information: ScanInformation
- class naps.cores.hdmi.InfoFrame.BarInfo(value)
Bases:
Enum
- 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
- EXTENDED = 3
- ITU709 = 2
- NO_DADA = 0
- SMPTE170_OR_ITU601 = 1
- class naps.cores.hdmi.InfoFrame.DataIslandPacket(header_bytes: list, data_bytes: list)
Bases:
PacketConstructable
,ABC
- data_bytes: list
- header_bytes: list
- class naps.cores.hdmi.InfoFrame.NonUniformPictureScaling(value)
Bases:
Enum
- BOTH = 3
- HORIZONTAL = 1
- NO_KNOWN = 0
- VERTICAL = 2
- class naps.cores.hdmi.InfoFrame.PictureAspectRatio(value)
Bases:
Enum
- ASPECT_16_9 = 2
- ASPECT_4_3 = 1
- NO_DATA = 0
- class naps.cores.hdmi.InfoFrame.RgbQuantizationRange(value)
Bases:
Enum
- DEFAULT = 0
- FULL = 2
- LIMITED = 1
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)