mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-31 11:37:30 +09:00
aom: update libaom to 0ec86ac7ae1e32a7e70410fa4972a655ec3670a4
This commit is contained in:
parent
bc3f20e378
commit
eb361970c5
438 changed files with 52661 additions and 21905 deletions
74
third_party/aom/av1/common/idct.c
vendored
74
third_party/aom/av1/common/idct.c
vendored
|
|
@ -56,87 +56,87 @@ void av1_highbd_inv_txfm_add_4x4_c(const tran_low_t *input, uint8_t *dest,
|
|||
av1_inv_txfm2d_add_4x4_c(src, CONVERT_TO_SHORTPTR(dest), stride, tx_type, bd);
|
||||
}
|
||||
|
||||
void av1_highbd_inv_txfm_add_4x8(const tran_low_t *input, uint8_t *dest,
|
||||
int stride, const TxfmParam *txfm_param) {
|
||||
void av1_highbd_inv_txfm_add_4x8_c(const tran_low_t *input, uint8_t *dest,
|
||||
int stride, const TxfmParam *txfm_param) {
|
||||
assert(av1_ext_tx_used[txfm_param->tx_set_type][txfm_param->tx_type]);
|
||||
const int32_t *src = cast_to_int32(input);
|
||||
av1_inv_txfm2d_add_4x8_c(src, CONVERT_TO_SHORTPTR(dest), stride,
|
||||
txfm_param->tx_type, txfm_param->bd);
|
||||
}
|
||||
|
||||
void av1_highbd_inv_txfm_add_8x4(const tran_low_t *input, uint8_t *dest,
|
||||
int stride, const TxfmParam *txfm_param) {
|
||||
void av1_highbd_inv_txfm_add_8x4_c(const tran_low_t *input, uint8_t *dest,
|
||||
int stride, const TxfmParam *txfm_param) {
|
||||
assert(av1_ext_tx_used[txfm_param->tx_set_type][txfm_param->tx_type]);
|
||||
const int32_t *src = cast_to_int32(input);
|
||||
av1_inv_txfm2d_add_8x4_c(src, CONVERT_TO_SHORTPTR(dest), stride,
|
||||
txfm_param->tx_type, txfm_param->bd);
|
||||
}
|
||||
|
||||
void av1_highbd_inv_txfm_add_16x32(const tran_low_t *input, uint8_t *dest,
|
||||
int stride, const TxfmParam *txfm_param) {
|
||||
void av1_highbd_inv_txfm_add_16x32_c(const tran_low_t *input, uint8_t *dest,
|
||||
int stride, const TxfmParam *txfm_param) {
|
||||
const int32_t *src = cast_to_int32(input);
|
||||
av1_inv_txfm2d_add_16x32_c(src, CONVERT_TO_SHORTPTR(dest), stride,
|
||||
txfm_param->tx_type, txfm_param->bd);
|
||||
}
|
||||
|
||||
void av1_highbd_inv_txfm_add_32x16(const tran_low_t *input, uint8_t *dest,
|
||||
int stride, const TxfmParam *txfm_param) {
|
||||
void av1_highbd_inv_txfm_add_32x16_c(const tran_low_t *input, uint8_t *dest,
|
||||
int stride, const TxfmParam *txfm_param) {
|
||||
const int32_t *src = cast_to_int32(input);
|
||||
av1_inv_txfm2d_add_32x16_c(src, CONVERT_TO_SHORTPTR(dest), stride,
|
||||
txfm_param->tx_type, txfm_param->bd);
|
||||
}
|
||||
|
||||
void av1_highbd_inv_txfm_add_16x4(const tran_low_t *input, uint8_t *dest,
|
||||
int stride, const TxfmParam *txfm_param) {
|
||||
void av1_highbd_inv_txfm_add_16x4_c(const tran_low_t *input, uint8_t *dest,
|
||||
int stride, const TxfmParam *txfm_param) {
|
||||
const int32_t *src = cast_to_int32(input);
|
||||
av1_inv_txfm2d_add_16x4_c(src, CONVERT_TO_SHORTPTR(dest), stride,
|
||||
txfm_param->tx_type, txfm_param->bd);
|
||||
}
|
||||
|
||||
void av1_highbd_inv_txfm_add_4x16(const tran_low_t *input, uint8_t *dest,
|
||||
int stride, const TxfmParam *txfm_param) {
|
||||
void av1_highbd_inv_txfm_add_4x16_c(const tran_low_t *input, uint8_t *dest,
|
||||
int stride, const TxfmParam *txfm_param) {
|
||||
const int32_t *src = cast_to_int32(input);
|
||||
av1_inv_txfm2d_add_4x16_c(src, CONVERT_TO_SHORTPTR(dest), stride,
|
||||
txfm_param->tx_type, txfm_param->bd);
|
||||
}
|
||||
|
||||
void av1_highbd_inv_txfm_add_32x8(const tran_low_t *input, uint8_t *dest,
|
||||
int stride, const TxfmParam *txfm_param) {
|
||||
void av1_highbd_inv_txfm_add_32x8_c(const tran_low_t *input, uint8_t *dest,
|
||||
int stride, const TxfmParam *txfm_param) {
|
||||
const int32_t *src = cast_to_int32(input);
|
||||
av1_inv_txfm2d_add_32x8_c(src, CONVERT_TO_SHORTPTR(dest), stride,
|
||||
txfm_param->tx_type, txfm_param->bd);
|
||||
}
|
||||
|
||||
void av1_highbd_inv_txfm_add_8x32(const tran_low_t *input, uint8_t *dest,
|
||||
int stride, const TxfmParam *txfm_param) {
|
||||
void av1_highbd_inv_txfm_add_8x32_c(const tran_low_t *input, uint8_t *dest,
|
||||
int stride, const TxfmParam *txfm_param) {
|
||||
const int32_t *src = cast_to_int32(input);
|
||||
av1_inv_txfm2d_add_8x32_c(src, CONVERT_TO_SHORTPTR(dest), stride,
|
||||
txfm_param->tx_type, txfm_param->bd);
|
||||
}
|
||||
|
||||
void av1_highbd_inv_txfm_add_32x64(const tran_low_t *input, uint8_t *dest,
|
||||
int stride, const TxfmParam *txfm_param) {
|
||||
void av1_highbd_inv_txfm_add_32x64_c(const tran_low_t *input, uint8_t *dest,
|
||||
int stride, const TxfmParam *txfm_param) {
|
||||
const int32_t *src = cast_to_int32(input);
|
||||
av1_inv_txfm2d_add_32x64_c(src, CONVERT_TO_SHORTPTR(dest), stride,
|
||||
txfm_param->tx_type, txfm_param->bd);
|
||||
}
|
||||
|
||||
void av1_highbd_inv_txfm_add_64x32(const tran_low_t *input, uint8_t *dest,
|
||||
int stride, const TxfmParam *txfm_param) {
|
||||
void av1_highbd_inv_txfm_add_64x32_c(const tran_low_t *input, uint8_t *dest,
|
||||
int stride, const TxfmParam *txfm_param) {
|
||||
const int32_t *src = cast_to_int32(input);
|
||||
av1_inv_txfm2d_add_64x32_c(src, CONVERT_TO_SHORTPTR(dest), stride,
|
||||
txfm_param->tx_type, txfm_param->bd);
|
||||
}
|
||||
|
||||
void av1_highbd_inv_txfm_add_16x64(const tran_low_t *input, uint8_t *dest,
|
||||
int stride, const TxfmParam *txfm_param) {
|
||||
void av1_highbd_inv_txfm_add_16x64_c(const tran_low_t *input, uint8_t *dest,
|
||||
int stride, const TxfmParam *txfm_param) {
|
||||
const int32_t *src = cast_to_int32(input);
|
||||
av1_inv_txfm2d_add_16x64_c(src, CONVERT_TO_SHORTPTR(dest), stride,
|
||||
txfm_param->tx_type, txfm_param->bd);
|
||||
}
|
||||
|
||||
void av1_highbd_inv_txfm_add_64x16(const tran_low_t *input, uint8_t *dest,
|
||||
int stride, const TxfmParam *txfm_param) {
|
||||
void av1_highbd_inv_txfm_add_64x16_c(const tran_low_t *input, uint8_t *dest,
|
||||
int stride, const TxfmParam *txfm_param) {
|
||||
const int32_t *src = cast_to_int32(input);
|
||||
av1_inv_txfm2d_add_64x16_c(src, CONVERT_TO_SHORTPTR(dest), stride,
|
||||
txfm_param->tx_type, txfm_param->bd);
|
||||
|
|
@ -204,7 +204,7 @@ static void init_txfm_param(const MACROBLOCKD *xd, int plane, TX_SIZE tx_size,
|
|||
txfm_param->eob = eob;
|
||||
txfm_param->lossless = xd->lossless[xd->mi[0]->segment_id];
|
||||
txfm_param->bd = xd->bd;
|
||||
txfm_param->is_hbd = get_bitdepth_data_path_index(xd);
|
||||
txfm_param->is_hbd = is_cur_buf_hbd(xd);
|
||||
txfm_param->tx_set_type = av1_get_ext_tx_set_type(
|
||||
txfm_param->tx_size, is_inter_block(xd->mi[0]), reduced_tx_set);
|
||||
}
|
||||
|
|
@ -224,10 +224,10 @@ void av1_highbd_inv_txfm_add_c(const tran_low_t *input, uint8_t *dest,
|
|||
av1_highbd_inv_txfm_add_8x8_c(input, dest, stride, txfm_param);
|
||||
break;
|
||||
case TX_4X8:
|
||||
av1_highbd_inv_txfm_add_4x8(input, dest, stride, txfm_param);
|
||||
av1_highbd_inv_txfm_add_4x8_c(input, dest, stride, txfm_param);
|
||||
break;
|
||||
case TX_8X4:
|
||||
av1_highbd_inv_txfm_add_8x4(input, dest, stride, txfm_param);
|
||||
av1_highbd_inv_txfm_add_8x4_c(input, dest, stride, txfm_param);
|
||||
break;
|
||||
case TX_8X16:
|
||||
av1_highbd_inv_txfm_add_8x16_c(input, dest, stride, txfm_param);
|
||||
|
|
@ -236,25 +236,25 @@ void av1_highbd_inv_txfm_add_c(const tran_low_t *input, uint8_t *dest,
|
|||
av1_highbd_inv_txfm_add_16x8_c(input, dest, stride, txfm_param);
|
||||
break;
|
||||
case TX_16X32:
|
||||
av1_highbd_inv_txfm_add_16x32(input, dest, stride, txfm_param);
|
||||
av1_highbd_inv_txfm_add_16x32_c(input, dest, stride, txfm_param);
|
||||
break;
|
||||
case TX_32X16:
|
||||
av1_highbd_inv_txfm_add_32x16(input, dest, stride, txfm_param);
|
||||
av1_highbd_inv_txfm_add_32x16_c(input, dest, stride, txfm_param);
|
||||
break;
|
||||
case TX_64X64:
|
||||
av1_highbd_inv_txfm_add_64x64_c(input, dest, stride, txfm_param);
|
||||
break;
|
||||
case TX_32X64:
|
||||
av1_highbd_inv_txfm_add_32x64(input, dest, stride, txfm_param);
|
||||
av1_highbd_inv_txfm_add_32x64_c(input, dest, stride, txfm_param);
|
||||
break;
|
||||
case TX_64X32:
|
||||
av1_highbd_inv_txfm_add_64x32(input, dest, stride, txfm_param);
|
||||
av1_highbd_inv_txfm_add_64x32_c(input, dest, stride, txfm_param);
|
||||
break;
|
||||
case TX_16X64:
|
||||
av1_highbd_inv_txfm_add_16x64(input, dest, stride, txfm_param);
|
||||
av1_highbd_inv_txfm_add_16x64_c(input, dest, stride, txfm_param);
|
||||
break;
|
||||
case TX_64X16:
|
||||
av1_highbd_inv_txfm_add_64x16(input, dest, stride, txfm_param);
|
||||
av1_highbd_inv_txfm_add_64x16_c(input, dest, stride, txfm_param);
|
||||
break;
|
||||
case TX_4X4:
|
||||
// this is like av1_short_idct4x4 but has a special case around eob<=1
|
||||
|
|
@ -263,16 +263,16 @@ void av1_highbd_inv_txfm_add_c(const tran_low_t *input, uint8_t *dest,
|
|||
av1_highbd_inv_txfm_add_4x4_c(input, dest, stride, txfm_param);
|
||||
break;
|
||||
case TX_16X4:
|
||||
av1_highbd_inv_txfm_add_16x4(input, dest, stride, txfm_param);
|
||||
av1_highbd_inv_txfm_add_16x4_c(input, dest, stride, txfm_param);
|
||||
break;
|
||||
case TX_4X16:
|
||||
av1_highbd_inv_txfm_add_4x16(input, dest, stride, txfm_param);
|
||||
av1_highbd_inv_txfm_add_4x16_c(input, dest, stride, txfm_param);
|
||||
break;
|
||||
case TX_8X32:
|
||||
av1_highbd_inv_txfm_add_8x32(input, dest, stride, txfm_param);
|
||||
av1_highbd_inv_txfm_add_8x32_c(input, dest, stride, txfm_param);
|
||||
break;
|
||||
case TX_32X8:
|
||||
av1_highbd_inv_txfm_add_32x8(input, dest, stride, txfm_param);
|
||||
av1_highbd_inv_txfm_add_32x8_c(input, dest, stride, txfm_param);
|
||||
break;
|
||||
default: assert(0 && "Invalid transform size"); break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue