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>/ from the repo's AAC fixtures (root fixtures/audio). |
| 3 | # |
| 4 | # decode_adts gets each ADTS fixture as-is. |
| 5 | # decode_he gets each HE-AAC v1/v2 ADTS fixture from tests/data/he as-is (no root fixtures needed). |
| 6 | # decode_raw gets each ADTS fixture re-packed as raw access units: selector byte, then |
| 7 | # u16 BE length + raw_data_block per ADTS frame. Mono/stereo/5.1 at 48 kHz pick |
| 8 | # their matching config; the stereo fixtures are also replayed through the HE-AAC |
| 9 | # config so SBR is reached. |
| 10 | # |
| 11 | # Corpus lives under fuzz/corpus, which is git-ignored. |
| 12 | |
| 13 | |
| 14 | FUZZ_DIR= |
| 15 | HE_DIR= |
| 16 | HE_CORPUS="/corpus/decode_he" |
| 17 | |
| 18 | for; do ; done |
| 19 | |
| 20 | |
| 21 | FIXTURES=/fixtures/audio |
| 22 | [ || { ; ; } |
| 23 | |
| 24 | ADTS=(""/aac-adts-*.aac) |
| 25 | [ || { ; ; } |
| 26 | |
| 27 | ADTS_DIR="/corpus/decode_adts" |
| 28 | RAW_DIR="/corpus/decode_raw" |
| 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 |