edith_codecs
Clone
https://git.tahinli.com/Tahinli/edith_codecs.git
0 watching0 forksRust370.3 MiB9b67700Tahinli3 days ago4021 commits
| 1 | //! Minimal IVF demuxing for the ec-vp8 test fixtures (RFC's companion |
| 2 | //! container; only what the witnesses need). |
| 3 | |
| 4 | /// One IVF frame: (pts, payload). |
| 5 | |
| 6 | |
| 7 | |
| 8 | |
| 9 | |
| 10 | |
| 11 | |
| 12 | |
| 13 | |
| 14 | /// The frame tag's `show_frame` bit (RFC 6386 §9.1): hidden frames |
| 15 | /// (`false`) update the reference buffers but are never displayed. |
| 16 | // not every witness binary needs the census |
| 17 | |
| 18 | |
| 19 | |
| 20 | |
| 21 | /// Parse an IVF file into (fourcc, width, height, frames). |
| 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 | /// Extract the VP8 payload from a lossy WebP file (RIFF/WEBP with a VP8 |
| 57 | /// chunk) — the same VP8 key-frame bytes in a different container. |
| 58 | // only the keyframe_exact binary exercises WebP |
| 59 | |
| 60 | |
| 61 | |
| 62 | |
| 63 | |
| 64 | |
| 65 | |
| 66 | |
| 67 | |
| 68 | |
| 69 | |
| 70 | |
| 71 | |
| 72 | |
| 73 | |
| 74 | |
| 75 | |
| 76 | |
| 77 | |
| 78 | |
| 79 | /// Root of the workspace checkout this test runs in (crates/ec-vp8/../..). |
| 80 | |
| 81 | |
| 82 | |
| 83 | |
| 84 | |
| 85 | /// ffmpeg's decoded rawvideo byte stream for an IVF file. |
| 86 | // the malformed-input binary does not compare against ffmpeg |
| 87 | |
| 88 | |
| 89 | |
| 90 | |
| 91 | |
| 92 | |
| 93 | |
| 94 | |
| 95 | |
| 96 |