MiniQuake

src/miniquake/render_evidence_corpus.ml

Package
miniquake.render_evidence_corpus
Reachable
No

Declarations

average

function average(values)

Implements the `average` operation for `miniquake.render_evidence_corpus` (average).

ParameterTypeDefaultDescription
valuesdynamic—The values input consumed by `average`.

View source

CAPTURE_HEIGHT

const CAPTURE_HEIGHT = 480

Defines the capture height value used by `miniquake.render_evidence_corpus`.

View source

CAPTURE_WIDTH

const CAPTURE_WIDTH = 640

Defines the capture width value used by `miniquake.render_evidence_corpus`.

View source

contractVector

function contractVector()

Implements the `contractVector` operation for `miniquake.render_evidence_corpus` (contract vector).

View source

CORPUS_SCHEMA

const CORPUS_SCHEMA = 1

Defines the corpus schema value used by `miniquake.render_evidence_corpus`.

View source

count

function count()

Return count derived from the active module state.

View source

EXACT_PAIR_REQUIRED

const EXACT_PAIR_REQUIRED = 1

Defines the exact pair required value used by `miniquake.render_evidence_corpus`.

View source

exactPair

function exactPair(hashA, hashB, sampleA, sampleB)

Implements the `exactPair` operation for `miniquake.render_evidence_corpus` (exact pair).

ParameterTypeDefaultDescription
hashAdynamic—The hash a input consumed by `exactPair`.
hashBdynamic—The hash b input consumed by `exactPair`.
sampleAdynamic—The sample a input consumed by `exactPair`.
sampleBdynamic—The sample b input consumed by `exactPair`.

View source

frame

function frame(index)

Implements the `frame` operation for `miniquake.render_evidence_corpus` (frame).

ParameterTypeDefaultDescription
indexdynamic—Zero-based index of the requested entry.

View source

mapName

function mapName(index)

Return map name derived from the active module state.

ParameterTypeDefaultDescription
indexdynamic—Zero-based index of the requested entry.

View source

minimum

function minimum(values)

Implements the `minimum` operation for `miniquake.render_evidence_corpus` (minimum).

ParameterTypeDefaultDescription
valuesdynamic—The values input consumed by `minimum`.

View source

miniPrefix

function miniPrefix(root, index, suffix)

Implements the `miniPrefix` operation for `miniquake.render_evidence_corpus` (mini prefix).

ParameterTypeDefaultDescription
rootdynamic—The root input consumed by `miniPrefix`.
indexdynamic—Zero-based index of the requested entry.
suffixdynamic—The suffix input consumed by `miniPrefix`.

View source

name

function name(index)

Return name derived from the active module state.

ParameterTypeDefaultDescription
indexdynamic—Zero-based index of the requested entry.

View source

ORIGINAL_SSIM_MILLI

const ORIGINAL_SSIM_MILLI = 950

Defines the original ssim milli value used by `miniquake.render_evidence_corpus`.

View source

originalFileName

function originalFileName(index)

Return original file name derived from the active module state.

ParameterTypeDefaultDescription
indexdynamic—Zero-based index of the requested entry.

View source

scenario

function scenario(index)

Implements the `scenario` operation for `miniquake.render_evidence_corpus` (scenario).

ParameterTypeDefaultDescription
indexdynamic—Zero-based index of the requested entry.

View source

scenarios

function scenarios()

[name, map, frame]

View source

ssimAccepted

function ssimAccepted(value)

Implements the `ssimAccepted` operation for `miniquake.render_evidence_corpus` (ssim accepted).

ParameterTypeDefaultDescription
valuedynamic—Value consumed by `ssimAccepted`.

View source