annotate vp5data.h @ 12530:63edd10ad4bc libavcodec tip

Try to fix crashes introduced by r25218 r25218 made assumptions about the existence of past reference frames that weren't necessarily true.
author darkshikari
date Tue, 28 Sep 2010 09:06:22 +0000
parents 7dd2a45249a9
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3695
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
1 /**
11644
7dd2a45249a9 Remove explicit filename from Doxygen @file commands.
diego
parents: 8718
diff changeset
2 * @file
3695
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
3 * VP5 compatible video decoder
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
4 *
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
5 * Copyright (C) 2006 Aurelien Jacobs <aurel@gnuage.org>
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
6 *
3947
c8c591fe26f8 Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents: 3695
diff changeset
7 * This file is part of FFmpeg.
c8c591fe26f8 Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents: 3695
diff changeset
8 *
c8c591fe26f8 Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents: 3695
diff changeset
9 * FFmpeg is free software; you can redistribute it and/or
3695
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
10 * modify it under the terms of the GNU Lesser General Public
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
11 * License as published by the Free Software Foundation; either
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
12 * version 2.1 of the License, or (at your option) any later version.
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
13 *
3947
c8c591fe26f8 Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents: 3695
diff changeset
14 * FFmpeg is distributed in the hope that it will be useful,
3695
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
17 * Lesser General Public License for more details.
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
18 *
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
19 * You should have received a copy of the GNU Lesser General Public
3947
c8c591fe26f8 Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents: 3695
diff changeset
20 * License along with FFmpeg; if not, write to the Free Software
5215
2b72f9bc4f06 license header consistency cosmetics
diego
parents: 5162
diff changeset
21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
3695
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
22 */
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
23
7760
c4a4495715dd Globally rename the header inclusion guard names.
stefano
parents: 5830
diff changeset
24 #ifndef AVCODEC_VP5DATA_H
c4a4495715dd Globally rename the header inclusion guard names.
stefano
parents: 5830
diff changeset
25 #define AVCODEC_VP5DATA_H
3695
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
26
5162
4394344397d8 include all prerequisites in header files
mru
parents: 4078
diff changeset
27 #include <stdint.h>
4394344397d8 include all prerequisites in header files
mru
parents: 4078
diff changeset
28
3695
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
29 static const uint8_t vp5_coeff_groups[] = {
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
30 -1, 0, 1, 1, 2, 1, 1, 2,
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
31 2, 1, 1, 2, 2, 2, 1, 2,
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
32 2, 2, 2, 2, 1, 1, 2, 2,
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
33 3, 3, 4, 3, 4, 4, 4, 3,
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
34 3, 3, 3, 3, 4, 3, 3, 3,
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
35 4, 4, 4, 4, 4, 3, 3, 4,
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
36 4, 4, 3, 4, 4, 4, 4, 4,
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
37 4, 4, 5, 5, 5, 5, 5, 5,
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
38 };
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
39
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
40 static const uint8_t vp5_vmc_pct[2][11] = {
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
41 { 243, 220, 251, 253, 237, 232, 241, 245, 247, 251, 253 },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
42 { 235, 211, 246, 249, 234, 231, 248, 249, 252, 252, 254 },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
43 };
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
44
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
45 static const uint8_t vp5_dccv_pct[2][11] = {
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
46 { 146, 197, 181, 207, 232, 243, 238, 251, 244, 250, 249 },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
47 { 179, 219, 214, 240, 250, 254, 244, 254, 254, 254, 254 },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
48 };
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
49
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
50 static const uint8_t vp5_ract_pct[3][2][6][11] = {
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
51 { { { 227, 246, 230, 247, 244, 254, 254, 254, 254, 254, 254 },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
52 { 202, 254, 209, 231, 231, 249, 249, 253, 254, 254, 254 },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
53 { 206, 254, 225, 242, 241, 251, 253, 254, 254, 254, 254 },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
54 { 235, 254, 241, 253, 252, 254, 254, 254, 254, 254, 254 },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
55 { 234, 254, 248, 254, 254, 254, 254, 254, 254, 254, 254 },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
56 { 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254 } },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
57 { { 240, 254, 248, 254, 254, 254, 254, 254, 254, 254, 254 },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
58 { 238, 254, 240, 253, 254, 254, 254, 254, 254, 254, 254 },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
59 { 244, 254, 251, 254, 254, 254, 254, 254, 254, 254, 254 },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
60 { 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254 },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
61 { 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254 },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
62 { 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254 } } },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
63 { { { 206, 203, 227, 239, 247, 254, 253, 254, 254, 254, 254 },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
64 { 207, 199, 220, 236, 243, 252, 252, 254, 254, 254, 254 },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
65 { 212, 219, 230, 243, 244, 253, 252, 254, 254, 254, 254 },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
66 { 236, 237, 247, 252, 253, 254, 254, 254, 254, 254, 254 },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
67 { 240, 240, 248, 254, 254, 254, 254, 254, 254, 254, 254 },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
68 { 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254 } },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
69 { { 230, 233, 249, 254, 254, 254, 254, 254, 254, 254, 254 },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
70 { 238, 238, 250, 254, 254, 254, 254, 254, 254, 254, 254 },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
71 { 248, 251, 254, 254, 254, 254, 254, 254, 254, 254, 254 },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
72 { 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254 },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
73 { 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254 },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
74 { 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254 } } },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
75 { { { 225, 239, 227, 231, 244, 253, 243, 254, 254, 253, 254 },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
76 { 232, 234, 224, 228, 242, 249, 242, 252, 251, 251, 254 },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
77 { 235, 249, 238, 240, 251, 254, 249, 254, 253, 253, 254 },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
78 { 249, 253, 251, 250, 254, 254, 254, 254, 254, 254, 254 },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
79 { 251, 250, 249, 254, 254, 254, 254, 254, 254, 254, 254 },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
80 { 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254 } },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
81 { { 243, 244, 250, 250, 254, 254, 254, 254, 254, 254, 254 },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
82 { 249, 248, 250, 253, 254, 254, 254, 254, 254, 254, 254 },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
83 { 253, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254 },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
84 { 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254 },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
85 { 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254 },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
86 { 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254 } } },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
87 };
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
88
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
89 static const int16_t vp5_dccv_lc[5][36][2] = {
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
90 { {154, 61}, {141, 54}, { 90, 45}, { 54, 34}, { 54, 13}, {128, 109},
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
91 {136, 54}, {148, 45}, { 92, 41}, { 54, 33}, { 51, 15}, { 87, 113},
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
92 { 87, 44}, { 97, 40}, { 67, 36}, { 46, 29}, { 41, 15}, { 64, 80},
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
93 { 59, 33}, { 61, 31}, { 51, 28}, { 44, 22}, { 33, 12}, { 49, 63},
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
94 { 69, 12}, { 59, 16}, { 46, 14}, { 31, 13}, { 26, 6}, { 92, 26},
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
95 {128, 108}, { 77, 119}, { 54, 84}, { 26, 71}, { 87, 19}, { 95, 155} },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
96 { {154, 4}, {182, 0}, {159, -8}, {128, -5}, {143, -5}, {187, 55},
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
97 {182, 0}, {228, -3}, {187, -7}, {174, -9}, {189, -11}, {169, 79},
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
98 {161, -9}, {192, -8}, {187, -9}, {169, -10}, {136, -9}, {184, 40},
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
99 {164, -11}, {179, -10}, {174, -10}, {161, -10}, {115, -7}, {197, 20},
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
100 {195, -11}, {195, -11}, {146, -10}, {110, -6}, { 95, -4}, {195, 39},
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
101 {182, 55}, {172, 77}, {177, 37}, {169, 29}, {172, 52}, { 92, 162} },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
102 { {174, 80}, {164, 80}, { 95, 80}, { 46, 66}, { 56, 24}, { 36, 193},
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
103 {164, 80}, {166, 77}, {105, 76}, { 49, 68}, { 46, 31}, { 49, 186},
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
104 { 97, 78}, {110, 74}, { 72, 72}, { 44, 60}, { 33, 30}, { 69, 131},
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
105 { 61, 61}, { 69, 63}, { 51, 57}, { 31, 48}, { 26, 27}, { 64, 89},
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
106 { 67, 23}, { 51, 32}, { 36, 33}, { 26, 28}, { 20, 12}, { 44, 68},
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
107 { 26, 197}, { 41, 189}, { 61, 129}, { 28, 103}, { 49, 52}, {-12, 245} },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
108 { {102, 141}, { 79, 166}, { 72, 162}, { 97, 125}, {179, 4}, {307, 0},
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
109 { 72, 168}, { 69, 175}, { 84, 160}, {105, 127}, {148, 34}, {310, 0},
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
110 { 84, 151}, { 82, 161}, { 87, 153}, { 87, 135}, {115, 51}, {317, 0},
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
111 { 97, 125}, {102, 131}, {105, 125}, { 87, 122}, { 84, 64}, { 54, 184},
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
112 {166, 18}, {146, 43}, {125, 51}, { 90, 64}, { 95, 7}, { 38, 154},
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
113 {294, 0}, { 13, 225}, { 10, 225}, { 67, 168}, { 0, 167}, {161, 94} },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
114 { {172, 76}, {172, 75}, {136, 80}, { 64, 98}, { 74, 67}, {315, 0},
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
115 {169, 76}, {207, 56}, {164, 66}, { 97, 80}, { 67, 72}, {328, 0},
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
116 {136, 80}, {187, 53}, {154, 62}, { 72, 85}, { -2, 105}, {305, 0},
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
117 { 74, 91}, {128, 64}, {113, 64}, { 61, 77}, { 41, 75}, {259, 0},
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
118 { 46, 84}, { 51, 81}, { 28, 89}, { 31, 78}, { 23, 77}, {202, 0},
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
119 {323, 0}, {323, 0}, {300, 0}, {236, 0}, {195, 0}, {328, 0} },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
120 };
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
121
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
122 static const int16_t vp5_ract_lc[3][3][5][6][2] = {
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
123 { { { {276, 0}, {238, 0}, {195, 0}, {156, 0}, {113, 0}, {274, 0} },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
124 { { 0, 1}, { 0, 1}, { 0, 1}, { 0, 1}, { 0, 1}, { 0, 1} },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
125 { {192, 59}, {182, 50}, {141, 48}, {110, 40}, { 92, 19}, {125,128} },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
126 { {169, 87}, {169, 83}, {184, 62}, {220, 16}, {184, 0}, {264, 0} },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
127 { {212, 40}, {212, 36}, {169, 49}, {174, 27}, { 8,120}, {182, 71} } },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
128 { { {259, 10}, {197, 19}, {143, 22}, {123, 16}, {110, 8}, {133, 88} },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
129 { { 0, 1}, {256, 0}, { 0, 1}, { 0, 1}, { 0, 1}, { 0, 1} },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
130 { {207, 46}, {187, 50}, { 97, 83}, { 23,100}, { 41, 56}, { 56,188} },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
131 { {166, 90}, {146,108}, {161, 88}, {136, 95}, {174, 0}, {266, 0} },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
132 { {264, 7}, {243, 18}, {184, 43}, {-14,154}, { 20,112}, { 20,199} } },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
133 { { {230, 26}, {197, 22}, {159, 20}, {146, 12}, {136, 4}, { 54,162} },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
134 { { 0, 1}, { 0, 1}, { 0, 1}, { 0, 1}, { 0, 1}, { 0, 1} },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
135 { {192, 59}, {156, 72}, { 84,101}, { 49,101}, { 79, 47}, { 79,167} },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
136 { {138,115}, {136,116}, {166, 80}, {238, 0}, {195, 0}, {261, 0} },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
137 { {225, 33}, {205, 42}, {159, 61}, { 79, 96}, { 92, 66}, { 28,195} } },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
138 }, {
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
139 { { {200, 37}, {197, 18}, {159, 13}, {143, 7}, {102, 5}, {123,126} },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
140 { {197, 3}, {220, -9}, {210,-12}, {187, -6}, {151, -2}, {174, 80} },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
141 { {200, 53}, {187, 47}, {159, 40}, {118, 38}, {100, 18}, {141,111} },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
142 { {179, 78}, {166, 86}, {197, 50}, {207, 27}, {187, 0}, {115,139} },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
143 { {218, 34}, {220, 29}, {174, 46}, {128, 61}, { 54, 89}, {187, 65} } },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
144 { { {238, 14}, {197, 18}, {125, 26}, { 90, 25}, { 82, 13}, {161, 86} },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
145 { {189, 1}, {205, -2}, {156, -4}, {143, -4}, {146, -4}, {172, 72} },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
146 { {230, 31}, {192, 45}, {102, 76}, { 38, 85}, { 56, 41}, { 64,173} },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
147 { {166, 91}, {141,111}, {128,116}, {118,109}, {177, 0}, { 23,222} },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
148 { {253, 14}, {236, 21}, {174, 49}, { 33,118}, { 44, 93}, { 23,187} } },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
149 { { {218, 28}, {179, 28}, {118, 35}, { 95, 30}, { 72, 24}, {128,108} },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
150 { {187, 1}, {174, -1}, {125, -1}, {110, -1}, {108, -1}, {202, 52} },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
151 { {197, 53}, {146, 75}, { 46,118}, { 33,103}, { 64, 50}, {118,126} },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
152 { {138,114}, {128,122}, {161, 86}, {243, -6}, {195, 0}, { 38,210} },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
153 { {215, 39}, {179, 58}, { 97,101}, { 95, 85}, { 87, 70}, { 69,152} } },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
154 }, {
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
155 { { {236, 24}, {205, 18}, {172, 12}, {154, 6}, {125, 1}, {169, 75} },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
156 { {187, 4}, {230, -2}, {228, -4}, {236, -4}, {241, -2}, {192, 66} },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
157 { {200, 46}, {187, 42}, {159, 34}, {136, 25}, {105, 10}, {179, 62} },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
158 { {207, 55}, {192, 63}, {192, 54}, {195, 36}, {177, 1}, {143, 98} },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
159 { {225, 27}, {207, 34}, {200, 30}, {131, 57}, { 97, 60}, {197, 45} } },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
160 { { {271, 8}, {218, 13}, {133, 19}, { 90, 19}, { 72, 7}, {182, 51} },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
161 { {179, 1}, {225, -1}, {154, -2}, {110, -1}, { 92, 0}, {195, 41} },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
162 { {241, 26}, {189, 40}, { 82, 64}, { 33, 60}, { 67, 17}, {120, 94} },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
163 { {192, 68}, {151, 94}, {146, 90}, {143, 72}, {161, 0}, {113,128} },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
164 { {256, 12}, {218, 29}, {166, 48}, { 44, 99}, { 31, 87}, {148, 78} } },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
165 { { {238, 20}, {184, 22}, {113, 27}, { 90, 22}, { 74, 9}, {192, 37} },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
166 { {184, 0}, {215, -1}, {141, -1}, { 97, 0}, { 49, 0}, {264, 13} },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
167 { {182, 51}, {138, 61}, { 95, 63}, { 54, 59}, { 64, 25}, {200, 45} },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
168 { {179, 75}, {156, 87}, {174, 65}, {177, 44}, {174, 0}, {164, 85} },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
169 { {195, 45}, {148, 65}, {105, 79}, { 95, 72}, { 87, 60}, {169, 63} } },
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
170 }
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
171 };
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
172
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
173 static const uint8_t vp5_coord_div[] = { 2, 2, 2, 2, 4, 4 };
6795c9e5f983 VP5 and VP6 video decoder
aurel
parents:
diff changeset
174
7760
c4a4495715dd Globally rename the header inclusion guard names.
stefano
parents: 5830
diff changeset
175 #endif /* AVCODEC_VP5DATA_H */