commit | e2ed411836bbbfc906908189134d523c3144e0e0 | [log] [tgz] |
---|---|---|
author | Nathan E. Egge <negge@mozilla.com> | Thu May 19 12:11:56 2016 -0400 |
committer | Yaowu Xu <yaowu@google.com> | Fri Oct 14 14:59:27 2016 -0700 |
tree | 6d2fdfb3073fe5e263e27dc4d4807212619af308 | |
parent | 43acafdee2cc90a837dcad2f5e402ae3abe5cb4e [diff] |
Add macro to build a simple cdf table. Add the av1_tree_to_cdf() macro which takes a aom_tree_index tree and associated aom_prob probabilities and constructs a daala uint16_t cdf. The av1_tree_to_cdf_1D() and av1_tree_to_cdf_2D() apply av1_tree_to_cdf() across 1D and 2D arrays respectively. Change-Id: If79fa5ae034263f279d7d0842493570885272fb2