Commit 3393243d authored by James Zern's avatar James Zern Committed by Gerrit Code Review
Browse files

Merge "vp8_subpixelvariance_neon: right size coeff table"

parents 3dd9cde2 4bd87a9b
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
#include "vpx_ports/mem.h" #include "vpx_ports/mem.h"
#include "vpx/vpx_integer.h" #include "vpx/vpx_integer.h"
static const uint16_t bilinear_taps_coeff[8][2] = { static const uint8_t bilinear_taps_coeff[8][2] = {
{128, 0}, {128, 0},
{112, 16}, {112, 16},
{ 96, 32}, { 96, 32},
...@@ -972,9 +972,9 @@ static void var_filter_block2d_bil_w8(const uint8_t *src_ptr, ...@@ -972,9 +972,9 @@ static void var_filter_block2d_bil_w8(const uint8_t *src_ptr,
int pixel_step, int pixel_step,
unsigned int output_height, unsigned int output_height,
unsigned int output_width, unsigned int output_width,
const uint16_t *vpx_filter) { const uint8_t *vpx_filter) {
const uint8x8_t f0 = vmov_n_u8((uint8_t)vpx_filter[0]); const uint8x8_t f0 = vmov_n_u8(vpx_filter[0]);
const uint8x8_t f1 = vmov_n_u8((uint8_t)vpx_filter[1]); const uint8x8_t f1 = vmov_n_u8(vpx_filter[1]);
unsigned int i; unsigned int i;
for (i = 0; i < output_height; ++i) { for (i = 0; i < output_height; ++i) {
const uint8x8_t src_0 = vld1_u8(&src_ptr[0]); const uint8x8_t src_0 = vld1_u8(&src_ptr[0]);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment