CSS crypto tests + DVD pipeline fully wired

- CSS roundtrip tests: decrypt_key determinism, descramble XOR roundtrip
- CSS table verification: TAB1 is permutation, TAB4 is bit-reversal involution
- DVD scan pipeline confirmed: scan_dvd_titles, CSS crack, ContentReader descramble
- 229 tests, all passing
This commit is contained in:
MattJackson
2026-04-11 17:14:58 +00:00
parent 59e6916702
commit fd4c88e969
5 changed files with 326 additions and 25 deletions
+4
View File
@@ -48,6 +48,7 @@ fn sample_disc_title() -> DiscTitle {
}),
],
extents: Vec::new(),
content_format: ContentFormat::BdTs,
}
}
@@ -446,6 +447,7 @@ fn meta_codec_roundtrip() {
clips: Vec::new(),
streams,
extents: Vec::new(),
content_format: ContentFormat::BdTs,
};
let meta = M2tsMeta::from_title(&dt);
@@ -478,6 +480,7 @@ fn meta_empty_streams() {
clips: Vec::new(),
streams: Vec::new(),
extents: Vec::new(),
content_format: ContentFormat::BdTs,
};
let meta = M2tsMeta::from_title(&dt);
@@ -495,6 +498,7 @@ fn meta_all_stream_types() {
duration_secs: 3600.0,
size_bytes: 0,
clips: Vec::new(),
content_format: ContentFormat::BdTs,
streams: vec![
Stream::Video(VideoStream {
pid: 0x1011,