edith_codecs
Clone
https://git.tahinli.com/Tahinli/edith_codecs.git
0 watching0 forksRust370.3 MiB9b67700Tahinli3 days ago4021 commits
| 1 | #!/usr/bin/env bash |
| 2 | # seed.sh: fill fuzz/corpus/<target>/ with TrueHD/MLP seeds. |
| 3 | # |
| 4 | # There are no TrueHD fixtures in the repo, so the seeds are generated with ffmpeg's |
| 5 | # truehd and mlp encoders: stereo, 2.1, 5.1 and mono MLP, 1 s of sine each. |
| 6 | # (Any *thd*, *truehd* or *mlp* file under the root fixtures/ is also used when present.) |
| 7 | # |
| 8 | # decode_stream gets each stream as-is (elementary stream of access units). |
| 9 | # parse_sync gets the first access unit of each stream (its header and major sync). |
| 10 | # |
| 11 | # Corpus lives under fuzz/corpus, which is git-ignored. |
| 12 | |
| 13 | |
| 14 | FUZZ_DIR= |
| 15 | ROOT= |
| 16 | FIXTURES="/fixtures" |
| 17 | |
| 18 | STREAM_DIR="/corpus/decode_stream" |
| 19 | SYNC_DIR="/corpus/parse_sync" |
| 20 | |
| 21 | |
| 22 | GEN= |
| 23 | |
| 24 | |
| 25 | || { ; ; } |
| 26 | |
| 27 | |
| 28 | |
| 29 | |
| 30 | |
| 31 | |
| 32 | |
| 33 | |
| 34 | |
| 35 | # Repo fixtures, if the root fixtures/ directory is linked in this worktree. |
| 36 | if [; then |
| 37 | |
| 38 | || |
| 39 | fi |
| 40 | |
| 41 | |
| 42 | |
| 43 | |
| 44 | |
| 45 | |
| 46 | |
| 47 | |
| 48 | |
| 49 | |
| 50 | |
| 51 | |
| 52 | |
| 53 | |
| 54 | |
| 55 | |
| 56 | |
| 57 | |
| 58 | |
| 59 | |
| 60 | |
| 61 | |
| 62 | |
| 63 |