diff --git a/REUSE.toml b/REUSE.toml index 2d928bc9df..bb079f0bd3 100644 --- a/REUSE.toml +++ b/REUSE.toml @@ -9,6 +9,14 @@ precedence = "closest" SPDX-FileCopyrightText = "2026 Lusoris" SPDX-License-Identifier = "EUPL-1.2" +# The CLI golden transcripts (ADR-3402) are diff targets: no inline SPDX +# header may precede the pinned bytes, so their terms are annotated here +# (ADR-3401: outside contributors name themselves as holders). +[[annotations]] +path = ["core/tools/test/golden/*.txt"] +precedence = "override" +SPDX-FileCopyrightText = "2026 luoye-cpu" +SPDX-License-Identifier = "EUPL-1.2" # These six files descend from Netflix/vmaf root files. ADR-1250 requires # inherited work, and every fork contribution to it, to remain on the terms it # already carried rather than being swept into the fork-local EUPL default. diff --git a/core/tools/test/golden/vmaf_help.txt b/core/tools/test/golden/vmaf_help.txt new file mode 100644 index 0000000000..93599e6a07 --- /dev/null +++ b/core/tools/test/golden/vmaf_help.txt @@ -0,0 +1,189 @@ +Usage: [options] + +Supported options: + --reference/-r $path: Reference video: a .y4m file, or raw planar .yuv + together with the width, height, pixel format and + bit depth. + --distorted/-d $path: Distorted video, in the same form as the + reference. + --width/-w $unsigned: Width of raw .yuv input in pixels. + --height/-h $unsigned: Height of raw .yuv input in pixels. + --width_ref $unsigned: Width of the raw .yuv reference in pixels, if it + differs from --width. Only models that scale + their inputs accept different sizes. + --width_dist $unsigned: Width of the raw .yuv distorted video in pixels, + if it differs from --width. Only models that + scale their inputs accept different sizes. + --height_ref $unsigned: Height of the raw .yuv reference in pixels, if it + differs from --height. Only models that scale + their inputs accept different sizes. + --height_dist $unsigned: Height of the raw .yuv distorted video in pixels, + if it differs from --height. Only models that + scale their inputs accept different sizes. + --pixel_format/-p $string: Layout of raw .yuv input: 400 (luma only), 420, + 422 or 444 planar, or a layout of the input + format table (semi-planar, packed, or RGB + converted to Y'CbCr with the rgb_* statement, + ADR-2145, ADR-2146). One of: + 400|420|422|444|nv12|nv16|nv24|p010|p016|p210|p216|p410|p416|yuyv422|uyvy422|v210|y210|y212|xv30|xv36|vuyx|ayuv|yuv444p16msb|rgb|rgba|bgra. + --bitdepth/-b $unsigned: Bits per sample of raw .yuv input, 8 to 16 + (implied by a layout that fixes it). + --check-sample-range, --check_sample_range: + Refuse a frame with a sample above 2^bpc - 1 and + name the plane, row, column and value (ADR-1918). + --color_range_ref $string: Colour range of the reference input. One of: + unknown|limited|full. + --color_range_dist $string: Colour range of the distorted input. One of: + unknown|limited|full. + --color_primaries_ref $string: + Colour primaries of the reference input. One of: + unknown|bt709|bt2020. + --color_primaries_dist $string: + Colour primaries of the distorted input. One of: + unknown|bt709|bt2020. + --color_trc_ref $string: Transfer characteristic of the reference input. + One of: unknown|bt709|smpte2084|pq. + --color_trc_dist $string: Transfer characteristic of the distorted input. + One of: unknown|bt709|smpte2084|pq. + --color_matrix_ref $string: Matrix coefficients of the reference input. One + of: unknown|bt709|bt2020nc|ictcp. + --color_matrix_dist $string: Matrix coefficients of the distorted input. One + of: unknown|bt709|bt2020nc|ictcp. + --rgb_matrix $string: Raw rgb, rgba and bgra input: the Y'CbCr matrix + of the conversion; no default, the input is + refused without it (ADR-2146). One of: + bt601|bt709|bt2020ncl. + --rgb_range $string: Raw RGB input: the range of the R'G'B' samples; + no default. One of: limited|full. + --rgb_transfer $string: Raw RGB input: the transfer characteristic of the + R'G'B' samples (checked, not applied); no + default. One of: bt709|srgb|pq|hlg. + --rgb_out_range $string: Raw RGB input: the range of the Y'CbCr frame + made; limited is the range the VMAF models are + trained on; no default. One of: limited|full. + --model/-m $params: Model, colon-delimited: version= a built-in + model, path= a model file, name= the name in the + report, disable_clip, enable_transform, + .