dataclasses ¶
AllNeddedDvdFrameData dataclass ¶
D2VIndexFileInfo dataclass ¶
D2VIndexFileInfo(
path: SPath,
file_idx: int,
header: D2VIndexHeader,
frame_data: list[D2VIndexFrameData],
)
Bases: _IndexFileInfoBase
D2VIndexFrameData dataclass ¶
D2VIndexFrameData(
matrix: int,
pic_type: str,
vob: int,
cell: int,
info: int,
skip: int,
position: int,
frameflags: list[int],
)
Bases: IndexFileFrameData
D2VIndexHeader dataclass ¶
D2VIndexHeader(
stream_type: int = 0,
MPEG_type: int = 0,
iDCT_algorithm: int = 0,
YUVRGB_scale: int = 1,
luminance_filter: tuple[int, ...] = (0, 0),
clipping: list[int] = lambda: [0, 0, 0, 0](),
aspect: Fraction = Fraction(16, 9),
pic_size: str = "",
field_op: int = 0,
frame_rate: Fraction = Fraction(30000, 1001),
location: list[int] = lambda: [0, 0, 0, 0](),
)
DGIndexFileInfo dataclass ¶
DGIndexFileInfo(
path: SPath,
file_idx: int,
header: DGIndexHeader,
frame_data: list[DGIndexFrameData],
footer: DGIndexFooter,
)
Bases: _IndexFileInfoBase
DGIndexFooter dataclass ¶
DGIndexFrameData dataclass ¶
DGIndexHeader dataclass ¶
DGIndexHeader(
device: int = 0,
decode_modes: list[int] = lambda: [0, 0, 0, 0, 0](),
stream: tuple[int, ...] = (1, 0),
ranges: list[int] = lambda: [0, 0, 0, 0](),
depth: int = 8,
aspect: Fraction = Fraction(16, 9),
colorimetry: tuple[int, ...] = (2, 2, 2),
packet_size: int | None = None,
vpid: int | None = None,
)
IndexFileFrameData dataclass ¶
IndexFileInfo dataclass ¶
IndexFileInfo(path: SPath, file_idx: int, frame_data: list[IndexFileFrameData])