edith_codecs
Clone
https://git.tahinli.com/Tahinli/edith_codecs.git
0 watching0 forksRust370.3 MiB7ea5133Tahinli2 months ago3000 commits
| 1 | """Batch probe runner: many one-pair probes per ffmpeg invocation.""" |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | = 150 |
| 7 | = 2.0 ** |
| 8 | = 48 |
| 9 | |
| 10 | |
| 11 | |
| 12 | |
| 13 | = |
| 14 | |
| 15 | |
| 16 | """probes: list of (bits, table_select, big_values, count1table_select). |
| 17 | |
| 18 | Returns one array of 576 requantised coefficients per probe. |
| 19 | """ |
| 20 | = b |
| 21 | |
| 22 | = |
| 23 | , = , |
| 24 | |
| 25 | = + * |
| 26 | |
| 27 | |
| 28 | |
| 29 | |
| 30 | |
| 31 | |
| 32 | |
| 33 | |
| 34 | += |
| 35 | += |
| 36 | , = |
| 37 | = // 2 |
| 38 | assert >= * 2304, |
| 39 | = |
| 40 | = @ # (nframes, 1152) |
| 41 | = |
| 42 | |
| 43 | |
| 44 | return |
| 45 | |
| 46 | |
| 47 | |
| 48 | """First n integer magnitudes of a recovered granule.""" |
| 49 | = / |
| 50 | return |
| 51 | |
| 52 | |
| 53 | |
| 54 | return |