edith
Clone
https://git.tahinli.com/Tahinli/edith.git
0 watching0 forksRust18.3 MiBcc667e6Tahinli3 months ago285 commits
| 1 | //! The chain a click on a PGS row actually runs, against a real BluRay remux: |
| 2 | //! the session lists the track, maps its cues onto the timeline and hands over |
| 3 | //! the picture of one -- which is what the window draws over the film. |
| 4 | //! |
| 5 | //! Gated on the film being there: it is a 4K remux in a local folder and no |
| 6 | //! fixture in this repository, so on a machine without it this says so and |
| 7 | //! passes. What it guards is what a hand-made display set cannot -- that a real |
| 8 | //! disc's blocks come whole out of the demuxer and decode, and that the map a |
| 9 | //! repaint asks for is cheap enough to ask sixty times a second. |
| 10 | //! |
| 11 | //! ```text |
| 12 | //! cargo test -p engine --release --test pgs_bitmaps -- --nocapture |
| 13 | //! ``` |
| 14 | |
| 15 | use Path; |
| 16 | use Instant; |
| 17 | |
| 18 | /// A remux with `S_TEXT/UTF8` + 4x `S_HDMV/PGS`. |
| 19 | const FILM: &str = "/path/to/a-real-4k-pgs-film.mkv"; |
| 20 | |
| 21 | |
| 22 | |
| 23 | |
| 24 | |
| 25 | |
| 26 | |
| 27 | |
| 28 | |
| 29 | |
| 30 | |
| 31 | |
| 32 | |
| 33 | |
| 34 | |
| 35 | |
| 36 | |
| 37 | |
| 38 | |
| 39 | |
| 40 | |
| 41 | |
| 42 | |
| 43 | |
| 44 | |
| 45 | |
| 46 | |
| 47 | |
| 48 | |
| 49 | |
| 50 | |
| 51 | |
| 52 | |
| 53 | |
| 54 | |
| 55 | |
| 56 | |
| 57 | |
| 58 | |
| 59 | |
| 60 | |
| 61 | |
| 62 | |
| 63 | |
| 64 | |
| 65 | |
| 66 | |
| 67 | |
| 68 | |
| 69 | |
| 70 | |
| 71 | |
| 72 | |
| 73 | |
| 74 | |
| 75 | |
| 76 | |
| 77 | |
| 78 | |
| 79 | |
| 80 | |
| 81 | |
| 82 | |
| 83 | |
| 84 | |
| 85 | |
| 86 | |
| 87 | |
| 88 | |
| 89 | |
| 90 | |
| 91 | |
| 92 | |
| 93 |