Skip to content

Commit

Permalink
pvq: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
tmatth committed Nov 9, 2016
1 parent 24ac2da commit 29193bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pvq_encoder.c
Expand Up @@ -68,7 +68,7 @@ static double od_custom_rsqrt_dynamic_table(const double* table,
}

/*Fills tables used in od_custom_rsqrt_dynamic_table for a given start.*/
static void od_fill_dynamic_rqrt_table(double *table, const int table_size,
static void od_fill_dynamic_rsqrt_table(double *table, const int table_size,
const double start) {
int i;
for (i = 0; i < table_size; i++)
Expand Down Expand Up @@ -183,7 +183,7 @@ static double pvq_search_rdo_double(const od_val16 *xcoeff, int n, int k,
/*Fill the small rsqrt lookup table with inputs relative to yy.
Specifically, the table of n values is filled with
rsqrt(yy + 1), rsqrt(yy + 2 + 1) .. rsqrt(yy + 2*(n-1) + 1).*/
od_fill_dynamic_rqrt_table(rsqrt_table, rsqrt_table_size, yy);
od_fill_dynamic_rsqrt_table(rsqrt_table, rsqrt_table_size, yy);
for (j = 0; j < n; j++) {
double tmp_xy;
double tmp_yy;
Expand Down

0 comments on commit 29193bb

Please sign in to comment.