Drop comments added by the ec-testkit migration (house style: no comments in code)
Browse files at this commitfde442f8efbe94c6d7b4d2236a5a2c7a95fa572bParent: 2c7500a7 changed files +0 -14
- crates/ec-vp8/fuzz/seed.sh +0 -1
- crates/ec-vp9-syntax/tests/streams.rs +0 -3
- crates/ec-vp9/fuzz/seed.sh +0 -1
- crates/ec-vp9/tests/it/hbd_exact.rs +0 -3
- crates/ec-vp9/tests/it/inter_pixels_exact.rs +0 -2
- crates/ec-vp9/tests/it/libvpx_vectors.rs +0 -1
- crates/ec-vp9/tests/it/subsampling_exact.rs +0 -3
crates/ec-vp8/fuzz/seed.shmodified+0 -1
| @@ -5,7 +5,6 @@ | |||
| 5 | # into corpus/decode_frame/. Whole IVF files up to 256 KiB go into corpus/decode_ivf/, and | 5 | # into corpus/decode_frame/. Whole IVF files up to 256 KiB go into corpus/decode_ivf/, and |
| 6 | # a 10-frame prefix of every larger file too. The corpus is generated, not committed. | 6 | # a 10-frame prefix of every larger file too. The corpus is generated, not committed. |
| 7 | # | 7 | # |
| 8 | -# Usage: crates/ec-vp8/fuzz/seed.sh (from any directory; needs python3 and fixtures from scripts/fixtures.sh) | ||
| 9 | set -euo pipefail | 8 | set -euo pipefail |
| 10 | here=$(cd -- "$(dirname -- "$0")" && pwd) | 9 | here=$(cd -- "$(dirname -- "$0")" && pwd) |
| 11 | repo=$(cd -- "$here/../../.." && pwd) | 10 | repo=$(cd -- "$here/../../.." && pwd) |
crates/ec-vp9-syntax/tests/streams.rsmodified+0 -3
| @@ -1,7 +1,4 @@ | |||
| 1 | //! Every VP9 fixture stream parsed end to end, field-compared against ffprobe. | 1 | //! Every VP9 fixture stream parsed end to end, field-compared against ffprobe. |
| 2 | -//! | ||
| 3 | -//! `scripts/fixtures.sh` builds the `bitstreams/` fixtures (superframes, 4:4:4, tiles); | ||
| 4 | -//! a missing fixture fails the test. | ||
| 5 | 2 | ||
| 6 | use std::path::{Path, PathBuf}; | 3 | use std::path::{Path, PathBuf}; |
| 7 | 4 | ||
crates/ec-vp9/fuzz/seed.shmodified+0 -1
| @@ -5,7 +5,6 @@ | |||
| 5 | # into corpus/decode_frame/. Whole IVF files up to 256 KiB go into corpus/decode_stream/, and | 5 | # into corpus/decode_frame/. Whole IVF files up to 256 KiB go into corpus/decode_stream/, and |
| 6 | # a 10-frame prefix of every larger file too. The corpus is generated, not committed. | 6 | # a 10-frame prefix of every larger file too. The corpus is generated, not committed. |
| 7 | # | 7 | # |
| 8 | -# Usage: crates/ec-vp9/fuzz/seed.sh (from any directory; needs python3 and fixtures from scripts/fixtures.sh) | ||
| 9 | set -euo pipefail | 8 | set -euo pipefail |
| 10 | here=$(cd -- "$(dirname -- "$0")" && pwd) | 9 | here=$(cd -- "$(dirname -- "$0")" && pwd) |
| 11 | repo=$(cd -- "$here/../../.." && pwd) | 10 | repo=$(cd -- "$here/../../.." && pwd) |
crates/ec-vp9/tests/it/hbd_exact.rsmodified+0 -3
| @@ -2,9 +2,6 @@ | |||
| 2 | //! against ffmpeg's libvpx (`ffmpeg -v error -i in.ivf -f rawvideo -pix_fmt | 2 | //! against ffmpeg's libvpx (`ffmpeg -v error -i in.ivf -f rawvideo -pix_fmt |
| 3 | //! yuv420p10le -`). Pre-fix the decoder refuses `profile 2` by name, so this | 3 | //! yuv420p10le -`). Pre-fix the decoder refuses `profile 2` by name, so this |
| 4 | //! test fails at the first frame; post-fix every shown frame matches. | 4 | //! test fails at the first frame; post-fix every shown frame matches. |
| 5 | -//! | ||
| 6 | -//! Needs the `bitstreams/` fixtures from scripts/fixtures.sh. The 4:4:4 and | ||
| 7 | -//! 12-bit shapes are covered by `subsampling_exact.rs`. | ||
| 8 | 5 | ||
| 9 | use crate::ivf; | 6 | use crate::ivf; |
| 10 | 7 | ||
crates/ec-vp9/tests/it/inter_pixels_exact.rsmodified+0 -2
| @@ -118,8 +118,6 @@ fn inter_gop_with_tile_columns_matches_ffmpeg() { | |||
| 118 | /// write-back window runs past the frame bottom edge kept the window's | 118 | /// write-back window runs past the frame bottom edge kept the window's |
| 119 | /// TAIL slot set (`write_tx_context`), and the next row of blocks read it | 119 | /// TAIL slot set (`write_tx_context`), and the next row of blocks read it |
| 120 | /// as an entropy context. Every shown frame must match ffmpeg. | 120 | /// as an entropy context. Every shown frame must match ffmpeg. |
| 121 | -/// | ||
| 122 | -/// Needs the `bitstreams/vp9-1080p-60-8bit.ivf` fixture from scripts/fixtures.sh. | ||
| 123 | #[test] | 121 | #[test] |
| 124 | fn corpus_1080p_60fps_matches_ffmpeg_past_frame_72() { | 122 | fn corpus_1080p_60fps_matches_ffmpeg_past_frame_72() { |
| 125 | let path = ec_testkit::fixture("bitstreams/vp9-1080p-60-8bit.ivf"); | 123 | let path = ec_testkit::fixture("bitstreams/vp9-1080p-60-8bit.ivf"); |
crates/ec-vp9/tests/it/libvpx_vectors.rsmodified+0 -1
| @@ -9,7 +9,6 @@ | |||
| 9 | //! The test decodes every vector, digests every returned picture and compares | 9 | //! The test decodes every vector, digests every returned picture and compares |
| 10 | //! the digest with the matching line, in order. Any frame-count or digest | 10 | //! the digest with the matching line, in order. Any frame-count or digest |
| 11 | //! difference fails the test and is listed by vector name and frame index. | 11 | //! difference fails the test and is listed by vector name and frame index. |
| 12 | -//! Vectors come from the fixture tree (`scripts/fixtures.sh`); a missing tree fails. | ||
| 13 | 12 | ||
| 14 | use ec_vp9::decode::{Decoder, Picture}; | 13 | use ec_vp9::decode::{Decoder, Picture}; |
| 15 | use std::path::{Path, PathBuf}; | 14 | use std::path::{Path, PathBuf}; |
crates/ec-vp9/tests/it/subsampling_exact.rsmodified+0 -3
| @@ -2,9 +2,6 @@ | |||
| 2 | //! 4:2:2 / 4:4:0 at 8 and 10 bits) and profile 2/3 12-bit decode byte-exact | 2 | //! 4:2:2 / 4:4:0 at 8 and 10 bits) and profile 2/3 12-bit decode byte-exact |
| 3 | //! against ffmpeg's libvpx. | 3 | //! against ffmpeg's libvpx. |
| 4 | //! | 4 | //! |
| 5 | -//! Every fixture under `tests/data/` is committed. The two `corpus_*` cases | ||
| 6 | -//! need the `bitstreams/` fixtures from scripts/fixtures.sh. | ||
| 7 | -//! | ||
| 8 | //! The comparison is the whole flattened plane stream (u16 samples) against | 5 | //! The comparison is the whole flattened plane stream (u16 samples) against |
| 9 | //! ffmpeg's `rawvideo` output for the matching `pix_fmt` — full-resolution | 6 | //! ffmpeg's `rawvideo` output for the matching `pix_fmt` — full-resolution |
| 10 | //! chroma for 4:4:4, half-width for 4:2:2, half-height for 4:4:0, and the | 7 | //! chroma for 4:4:4, half-width for 4:2:2, half-height for 4:4:0, and the |