@@ -371,43 +371,9 @@ typedef int16_t tran_low_t;
371371typedef int32_t tran_high_t ;
372372typedef int16_t tran_coef_t ;
373373
374- static const tran_coef_t cospi_1_64 = 16364 ;
375- static const tran_coef_t cospi_2_64 = 16305 ;
376- static const tran_coef_t cospi_3_64 = 16207 ;
377- static const tran_coef_t cospi_4_64 = 16069 ;
378- static const tran_coef_t cospi_5_64 = 15893 ;
379- static const tran_coef_t cospi_6_64 = 15679 ;
380- static const tran_coef_t cospi_7_64 = 15426 ;
381374static const tran_coef_t cospi_8_64 = 15137 ;
382- static const tran_coef_t cospi_9_64 = 14811 ;
383- static const tran_coef_t cospi_10_64 = 14449 ;
384- static const tran_coef_t cospi_11_64 = 14053 ;
385- static const tran_coef_t cospi_12_64 = 13623 ;
386- static const tran_coef_t cospi_13_64 = 13160 ;
387- static const tran_coef_t cospi_14_64 = 12665 ;
388- static const tran_coef_t cospi_15_64 = 12140 ;
389375static const tran_coef_t cospi_16_64 = 11585 ;
390- static const tran_coef_t cospi_17_64 = 11003 ;
391- static const tran_coef_t cospi_18_64 = 10394 ;
392- static const tran_coef_t cospi_19_64 = 9760 ;
393- static const tran_coef_t cospi_20_64 = 9102 ;
394- static const tran_coef_t cospi_21_64 = 8423 ;
395- static const tran_coef_t cospi_22_64 = 7723 ;
396- static const tran_coef_t cospi_23_64 = 7005 ;
397376static const tran_coef_t cospi_24_64 = 6270 ;
398- static const tran_coef_t cospi_25_64 = 5520 ;
399- static const tran_coef_t cospi_26_64 = 4756 ;
400- static const tran_coef_t cospi_27_64 = 3981 ;
401- static const tran_coef_t cospi_28_64 = 3196 ;
402- static const tran_coef_t cospi_29_64 = 2404 ;
403- static const tran_coef_t cospi_30_64 = 1606 ;
404- static const tran_coef_t cospi_31_64 = 804 ;
405-
406- // 16384 * sqrt(2) * sin(kPi/9) * 2 / 3
407- static const tran_coef_t sinpi_1_9 = 5283 ;
408- static const tran_coef_t sinpi_2_9 = 9929 ;
409- static const tran_coef_t sinpi_3_9 = 13377 ;
410- static const tran_coef_t sinpi_4_9 = 15212 ;
411377
412378#define DCT_CONST_BITS 14
413379#define DCT_CONST_ROUNDING (1 << (DCT_CONST_BITS - 1 ))
@@ -490,7 +456,7 @@ void vpx_fdct4x4_c(const int16_t *input, tran_low_t *output, int stride) {
490456
491457#define ROUND_POWER_OF_TWO (value, n ) (((value) + (1 << ((n)-1 ))) >> (n))
492458
493- static inline tran_high_t dct_const_round_shift (tran_high_t input) {
459+ /* static inline tran_high_t dct_const_round_shift(tran_high_t input) {
494460 tran_high_t rv = ROUND_POWER_OF_TWO(input, DCT_CONST_BITS);
495461 return (tran_high_t)rv;
496462}
@@ -507,11 +473,11 @@ static inline tran_high_t check_range(tran_high_t input) {
507473 assert(input <= INT16_MAX);
508474#endif // CONFIG_COEFFICIENT_RANGE_CHECKING
509475 return input;
510- }
476+ }*/
511477
512478#define WRAPLOW (x ) ((int32_t )check_range(x))
513479
514- void idct4_c (const tran_low_t *input, tran_low_t *output) {
480+ /* void idct4_c(const tran_low_t *input, tran_low_t *output) {
515481 int16_t step[4];
516482 tran_high_t temp1, temp2;
517483
@@ -553,7 +519,7 @@ void vpx_idct4x4_16_add_c(const tran_low_t *input, tran_low_t *dest, int stride)
553519 dest[j * stride + i] = ROUND_POWER_OF_TWO(temp_out[j], 4);
554520 }
555521 }
556- }
522+ }*/
557523
558524#if defined(__aarch64__)
559525
0 commit comments