OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2010 The WebM project authors. All Rights Reserved. | 2 * Copyright (c) 2010 The WebM project authors. All Rights Reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
(...skipping 1422 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1433 tran_high_t temp_in[32], temp_out[32]; | 1433 tran_high_t temp_in[32], temp_out[32]; |
1434 for (j = 0; j < 32; ++j) | 1434 for (j = 0; j < 32; ++j) |
1435 temp_in[j] = output[j + i * 32]; | 1435 temp_in[j] = output[j + i * 32]; |
1436 fdct32(temp_in, temp_out, 1); | 1436 fdct32(temp_in, temp_out, 1); |
1437 for (j = 0; j < 32; ++j) | 1437 for (j = 0; j < 32; ++j) |
1438 out[j + i * 32] = temp_out[j]; | 1438 out[j + i * 32] = temp_out[j]; |
1439 } | 1439 } |
1440 } | 1440 } |
1441 | 1441 |
1442 #if CONFIG_VP9_HIGHBITDEPTH | 1442 #if CONFIG_VP9_HIGHBITDEPTH |
1443 void vp9_high_fdct4x4_c(const int16_t *input, tran_low_t *output, int stride) { | 1443 void vp9_highbd_fdct4x4_c(const int16_t *input, tran_low_t *output, |
| 1444 int stride) { |
1444 vp9_fdct4x4_c(input, output, stride); | 1445 vp9_fdct4x4_c(input, output, stride); |
1445 } | 1446 } |
1446 | 1447 |
1447 void vp9_high_fht4x4_c(const int16_t *input, tran_low_t *output, | 1448 void vp9_highbd_fht4x4_c(const int16_t *input, tran_low_t *output, |
1448 int stride, int tx_type) { | 1449 int stride, int tx_type) { |
1449 vp9_fht4x4_c(input, output, stride, tx_type); | 1450 vp9_fht4x4_c(input, output, stride, tx_type); |
1450 } | 1451 } |
1451 | 1452 |
1452 void vp9_high_fdct8x8_1_c(const int16_t *input, tran_low_t *final_output, | 1453 void vp9_highbd_fdct8x8_1_c(const int16_t *input, tran_low_t *final_output, |
1453 int stride) { | 1454 int stride) { |
1454 vp9_fdct8x8_1_c(input, final_output, stride); | 1455 vp9_fdct8x8_1_c(input, final_output, stride); |
1455 } | 1456 } |
1456 | 1457 |
1457 void vp9_high_fdct8x8_c(const int16_t *input, tran_low_t *final_output, | 1458 void vp9_highbd_fdct8x8_c(const int16_t *input, tran_low_t *final_output, |
1458 int stride) { | 1459 int stride) { |
1459 vp9_fdct8x8_c(input, final_output, stride); | 1460 vp9_fdct8x8_c(input, final_output, stride); |
1460 } | 1461 } |
1461 | 1462 |
1462 void vp9_high_fdct16x16_1_c(const int16_t *input, tran_low_t *output, | 1463 void vp9_highbd_fdct16x16_1_c(const int16_t *input, tran_low_t *output, |
1463 int stride) { | 1464 int stride) { |
1464 vp9_fdct16x16_1_c(input, output, stride); | 1465 vp9_fdct16x16_1_c(input, output, stride); |
1465 } | 1466 } |
1466 | 1467 |
1467 void vp9_high_fdct16x16_c(const int16_t *input, tran_low_t *output, | 1468 void vp9_highbd_fdct16x16_c(const int16_t *input, tran_low_t *output, |
1468 int stride) { | 1469 int stride) { |
1469 vp9_fdct16x16_c(input, output, stride); | 1470 vp9_fdct16x16_c(input, output, stride); |
1470 } | 1471 } |
1471 | 1472 |
1472 void vp9_high_fht8x8_c(const int16_t *input, tran_low_t *output, | 1473 void vp9_highbd_fht8x8_c(const int16_t *input, tran_low_t *output, |
1473 int stride, int tx_type) { | 1474 int stride, int tx_type) { |
1474 vp9_fht8x8_c(input, output, stride, tx_type); | 1475 vp9_fht8x8_c(input, output, stride, tx_type); |
1475 } | 1476 } |
1476 | 1477 |
1477 void vp9_high_fwht4x4_c(const int16_t *input, tran_low_t *output, int stride) { | 1478 void vp9_highbd_fwht4x4_c(const int16_t *input, tran_low_t *output, |
| 1479 int stride) { |
1478 vp9_fwht4x4_c(input, output, stride); | 1480 vp9_fwht4x4_c(input, output, stride); |
1479 } | 1481 } |
1480 | 1482 |
1481 void vp9_high_fht16x16_c(const int16_t *input, tran_low_t *output, | 1483 void vp9_highbd_fht16x16_c(const int16_t *input, tran_low_t *output, |
1482 int stride, int tx_type) { | 1484 int stride, int tx_type) { |
1483 vp9_fht16x16_c(input, output, stride, tx_type); | 1485 vp9_fht16x16_c(input, output, stride, tx_type); |
1484 } | 1486 } |
1485 | 1487 |
1486 void vp9_high_fdct32x32_1_c(const int16_t *input, tran_low_t *out, int stride) { | 1488 void vp9_highbd_fdct32x32_1_c(const int16_t *input, tran_low_t *out, |
| 1489 int stride) { |
1487 vp9_fdct32x32_1_c(input, out, stride); | 1490 vp9_fdct32x32_1_c(input, out, stride); |
1488 } | 1491 } |
1489 | 1492 |
1490 void vp9_high_fdct32x32_c(const int16_t *input, tran_low_t *out, int stride) { | 1493 void vp9_highbd_fdct32x32_c(const int16_t *input, tran_low_t *out, int stride) { |
1491 vp9_fdct32x32_c(input, out, stride); | 1494 vp9_fdct32x32_c(input, out, stride); |
1492 } | 1495 } |
1493 | 1496 |
1494 void vp9_high_fdct32x32_rd_c(const int16_t *input, tran_low_t *out, | 1497 void vp9_highbd_fdct32x32_rd_c(const int16_t *input, tran_low_t *out, |
1495 int stride) { | 1498 int stride) { |
1496 vp9_fdct32x32_rd_c(input, out, stride); | 1499 vp9_fdct32x32_rd_c(input, out, stride); |
1497 } | 1500 } |
1498 #endif // CONFIG_VP9_HIGHBITDEPTH | 1501 #endif // CONFIG_VP9_HIGHBITDEPTH |
OLD | NEW |