summaryrefslogtreecommitdiff
path: root/libavcodec/vp9data.c
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2017-03-27 17:32:20 -0400
committerRonald S. Bultje <rsbultje@gmail.com>2017-03-28 18:04:26 -0400
commit6d0d1c4a43f5e5fc195226367fd1c49843d25d71 (patch)
tree31b7fd91dc158ea57d02a94b6f1f95fcbaaf29d5 /libavcodec/vp9data.c
parentb823bbc10cc7b8674bb2dea50bd5dfc081e28620 (diff)
downloadffmpeg-6d0d1c4a43f5e5fc195226367fd1c49843d25d71.tar.gz
vp9: split out reconstruction functions in their own source file.
Diffstat (limited to 'libavcodec/vp9data.c')
-rw-r--r--libavcodec/vp9data.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/libavcodec/vp9data.c b/libavcodec/vp9data.c
index 4057c73696..7af8a97b1e 100644
--- a/libavcodec/vp9data.c
+++ b/libavcodec/vp9data.c
@@ -22,6 +22,16 @@
#include "vp9.h"
#include "vp9data.h"
+const uint8_t ff_vp9_bwh_tab[2][N_BS_SIZES][2] = {
+ {
+ { 16, 16 }, { 16, 8 }, { 8, 16 }, { 8, 8 }, { 8, 4 }, { 4, 8 },
+ { 4, 4 }, { 4, 2 }, { 2, 4 }, { 2, 2 }, { 2, 1 }, { 1, 2 }, { 1, 1 },
+ }, {
+ { 8, 8 }, { 8, 4 }, { 4, 8 }, { 4, 4 }, { 4, 2 }, { 2, 4 },
+ { 2, 2 }, { 2, 1 }, { 1, 2 }, { 1, 1 }, { 1, 1 }, { 1, 1 }, { 1, 1 },
+ }
+};
+
const int8_t ff_vp9_partition_tree[3][2] = {
{ -PARTITION_NONE, 1 }, // '0'
{ -PARTITION_H, 2 }, // '10'