isotest

package
v0.3.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 16, 2026 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Package isotest builds ISO 9660 images and Blu-ray playlists for tests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Base

func Base(p string) string

Base returns the file name of p.

func Build

func Build(label string, files []File) []byte

Build returns an ISO 9660 image holding files, with volume identifier label. Every file is one contiguous extent; names are stored as given.

func MPLS

func MPLS(items []PlayItem) []byte

MPLS returns a Blu-ray playlist file listing items.

Types

type File

type File struct {
	Path string
	Data []byte
}

File is one file of the image, with '/'-separated directories in Path.

type PlayItem

type PlayItem struct {
	Clip    string // five digits, e.g. "00001"
	In, Out uint32
}

PlayItem is one clip of a playlist, with IN and OUT times at 45 kHz.

Directories

Path Synopsis
cmd
genbluray command
Command genbluray writes the small Blu-ray disc image used by the encrypted disc fixtures (see internal/archive/testdata/gen-iso7z.sh) and the main feature's bytes next to it.
Command genbluray writes the small Blu-ray disc image used by the encrypted disc fixtures (see internal/archive/testdata/gen-iso7z.sh) and the main feature's bytes next to it.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL