Commit c7606978 authored by Rostislav Pehlivanov's avatar Rostislav Pehlivanov

Fix building PVQ with OD_FLOAT_PVQ defined

Got broken due to compiler function definition errors when SIMD PVQ
got merged.

Change-Id: I5a98578e74173f21634c6c9ea054f6efe3051ef9
parent 3c33def7
......@@ -11,6 +11,7 @@ print <<EOF
#include "av1/common/filter.h"
#include "av1/common/convolve.h"
#include "av1/common/av1_txfm.h"
#include "av1/common/odintrin.h"
struct macroblockd;
......@@ -765,7 +766,7 @@ if (aom_config("CONFIG_CDEF") eq "yes") {
# PVQ Functions
if (aom_config("CONFIG_PVQ") eq "yes") {
add_proto qw/double pvq_search_rdo_double/, "const int16_t *xcoeff, int n, int k, int *ypulse, double g2, double pvq_norm_lambda, int prev_k";
add_proto qw/double pvq_search_rdo_double/, "const od_val16 *xcoeff, int n, int k, int *ypulse, double g2, double pvq_norm_lambda, int prev_k";
specialize qw/pvq_search_rdo_double sse4_1/;
}
......
......@@ -58,7 +58,7 @@ static inline float rsqrtf(float x) {
* reuse for the search (or 0 for a new search)
* @return cosine distance between x and y (between 0 and 1)
*/
double pvq_search_rdo_double_sse4_1(const int16_t *xcoeff, int n, int k,
double pvq_search_rdo_double_sse4_1(const od_val16 *xcoeff, int n, int k,
int *ypulse, double g2,
double pvq_norm_lambda, int prev_k) {
int i, j;
......
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