mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-25 20:14:31 +01:00
Merges main at d7c9632bfb.
- Cargo.toml: both sides' new workspace crates (next's font-subset, harfbuzz-subset-sys and
host; main's gpu, gpu-null, gpu-providers and gpu-wgpu).
- crates/jpeg: next split lib.rs into modules; main's reduced-size decoding goes to them: the
scaled IDCT, reconstruction and render_scaled to idct.rs, MAX_SHRINK, reduced_estimate and
decode_reduced stay public in lib.rs. Main's new test added; the frame test next removed
stays removed.
- crates/audio, crates/media: next builds the integration tests into the library's test
executable (autotests off, tests/main.rs); main's new DSD and MPEG-TS mux tests are modules
there behind their features instead of [[test]] targets, and the mux tests reach their shared
helper module through the integration module.
- crates/media/src/matroska/track.rs: main's new FFV1 codec-parameter test added; the test
modules next removed stay removed.
- crates/file-formats: main's JXL capability test, which asks the codec whether JXL reads,
replaces next's interim check.
54 lines
1.5 KiB
Rust
54 lines
1.5 KiB
Rust
//! Integration tests, built into the library's own test executable.
|
|
|
|
#[cfg(feature = "adpcm")]
|
|
#[path = "adpcm_oracle.rs"]
|
|
mod adpcm_oracle;
|
|
#[cfg(all(feature = "decode", feature = "lossless-encode", feature = "peaks"))]
|
|
#[path = "audio/main.rs"]
|
|
mod audio;
|
|
#[cfg(all(feature = "decode", feature = "encode"))]
|
|
#[path = "codecs/main.rs"]
|
|
mod codecs;
|
|
#[cfg(feature = "dsd")]
|
|
#[path = "dsd_bounds.rs"]
|
|
mod dsd_bounds;
|
|
#[cfg(feature = "dsd")]
|
|
#[path = "dsd_metadata.rs"]
|
|
mod dsd_metadata;
|
|
#[cfg(feature = "dsd")]
|
|
#[path = "dsd_oracle.rs"]
|
|
mod dsd_oracle;
|
|
#[cfg(all(feature = "flac-decode", feature = "flac-encode"))]
|
|
#[path = "flac_decode.rs"]
|
|
mod flac_decode;
|
|
#[cfg(feature = "g722")]
|
|
#[path = "g722_oracle.rs"]
|
|
mod g722_oracle;
|
|
#[cfg(feature = "g726")]
|
|
#[path = "g726_oracle.rs"]
|
|
mod g726_oracle;
|
|
#[cfg(feature = "gsm")]
|
|
#[path = "gsm_oracle.rs"]
|
|
mod gsm_oracle;
|
|
#[cfg(feature = "mpa-encode")]
|
|
#[path = "mp2_encoder_oracle.rs"]
|
|
mod mp2_encoder_oracle;
|
|
#[cfg(feature = "qoa")]
|
|
#[path = "qoa_oracle.rs"]
|
|
mod qoa_oracle;
|
|
#[cfg(feature = "sbc")]
|
|
#[path = "sbc_oracle.rs"]
|
|
mod sbc_oracle;
|
|
#[cfg(feature = "vmd-decode")]
|
|
#[path = "vmd.rs"]
|
|
mod vmd;
|
|
#[cfg(all(feature = "vorbis-decode", feature = "vorbis-encode"))]
|
|
#[path = "vorbis_decode_hostile.rs"]
|
|
mod vorbis_decode_hostile;
|
|
#[cfg(all(feature = "vorbis-decode", feature = "vorbis-encode", feature = "decode"))]
|
|
#[path = "vorbis_decode_oracle.rs"]
|
|
mod vorbis_decode_oracle;
|
|
#[cfg(feature = "vorbis-decode")]
|
|
#[path = "vorbis_decode_synthetic.rs"]
|
|
mod vorbis_decode_synthetic;
|