edith_codecs
Clone
https://git.tahinli.com/Tahinli/edith_codecs.git
0 watching0 forksRust370.3 MiBe713fbeTahinli2 months ago2540 commits
| 1 | #!/usr/bin/env python3 |
| 2 | """Emit `default_filter_intra_cdfs` as (width, height, default) straight from |
| 3 | the libaom oracle source, so the ec-av1 test that pins those rows is never |
| 4 | transcribed by hand (class: shared-oracle blindness / table-indexed-by-raw). |
| 5 | |
| 6 | Reads BLOCK_SIZES_ALL's order from av1/common/enums.h and the CDF table from |
| 7 | av1/common/entropymode.c, and prints the Rust literal rows for the shapes |
| 8 | `av1_filter_intra_allowed_bsize` allows (both sides <= 32). |
| 9 | |
| 10 | scripts/extract-filter-intra-cdfs.py [<aom source tree>] |
| 11 | """ |
| 12 | |
| 13 | |
| 14 | |
| 15 | |
| 16 | = |
| 17 | |
| 18 | = |
| 19 | = |
| 20 | = |
| 21 | |
| 22 | = |
| 23 | = |
| 24 | = |
| 25 | = |
| 26 | |
| 27 | assert == , f |
| 28 | |
| 29 | |
| 30 |