155 |
} |
} |
156 |
} |
} |
157 |
|
|
158 |
|
|
159 |
|
static __inline void |
160 |
|
interpolate16x16_switch(uint8_t * const cur, |
161 |
|
const uint8_t * const refn, |
162 |
|
const uint32_t x, |
163 |
|
const uint32_t y, |
164 |
|
const int32_t dx, |
165 |
|
const int dy, |
166 |
|
const uint32_t stride, |
167 |
|
const uint32_t rounding) |
168 |
|
{ |
169 |
|
interpolate8x8_switch(cur, refn, x, y, dx, dy, stride, rounding); |
170 |
|
interpolate8x8_switch(cur, refn, x+8, y, dx, dy, stride, rounding); |
171 |
|
interpolate8x8_switch(cur, refn, x, y+8, dx, dy, stride, rounding); |
172 |
|
interpolate8x8_switch(cur, refn, x+8, y+8, dx, dy, stride, rounding); |
173 |
|
} |
174 |
|
|
175 |
|
|
176 |
|
static __inline void |
177 |
|
interpolate32x32_switch(uint8_t * const cur, |
178 |
|
const uint8_t * const refn, |
179 |
|
const uint32_t x, |
180 |
|
const uint32_t y, |
181 |
|
const int32_t dx, |
182 |
|
const int dy, |
183 |
|
const uint32_t stride, |
184 |
|
const uint32_t rounding) |
185 |
|
{ |
186 |
|
interpolate16x16_switch(cur, refn, x, y, dx, dy, stride, rounding); |
187 |
|
interpolate16x16_switch(cur, refn, x+16, y, dx, dy, stride, rounding); |
188 |
|
interpolate16x16_switch(cur, refn, x, y+16, dx, dy, stride, rounding); |
189 |
|
interpolate16x16_switch(cur, refn, x+16, y+16, dx, dy, stride, rounding); |
190 |
|
} |
191 |
|
|
192 |
|
|
193 |
static __inline uint8_t * |
static __inline uint8_t * |
194 |
interpolate8x8_switch2(uint8_t * const buffer, |
interpolate8x8_switch2(uint8_t * const buffer, |
195 |
const uint8_t * const refn, |
const uint8_t * const refn, |