av1_inv_txfm2d.c 15.4 KB
Newer Older
Angie Chiang's avatar
Angie Chiang committed
1
/*
2
 * Copyright (c) 2016, Alliance for Open Media. All rights reserved
Angie Chiang's avatar
Angie Chiang committed
3
 *
4 5 6 7 8 9
 * This source code is subject to the terms of the BSD 2 Clause License and
 * the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
 * was not distributed with this source code in the LICENSE file, you can
 * obtain it at www.aomedia.org/license/software. If the Alliance for Open
 * Media Patent License 1.0 was not distributed with this source code in the
 * PATENTS file, you can obtain it at www.aomedia.org/license/patent.
Angie Chiang's avatar
Angie Chiang committed
10 11
 */

Yaowu Xu's avatar
Yaowu Xu committed
12
#include "./av1_rtcd.h"
13
#include "aom_dsp/inv_txfm.h"
14
#include "av1/common/enums.h"
Yaowu Xu's avatar
Yaowu Xu committed
15 16
#include "av1/common/av1_txfm.h"
#include "av1/common/av1_inv_txfm1d.h"
17
#include "av1/common/av1_inv_txfm1d_cfg.h"
Angie Chiang's avatar
Angie Chiang committed
18

Yaowu Xu's avatar
Yaowu Xu committed
19
static INLINE TxfmFunc inv_txfm_type_to_func(TXFM_TYPE txfm_type) {
20
  switch (txfm_type) {
Yaowu Xu's avatar
Yaowu Xu committed
21 22 23 24
    case TXFM_TYPE_DCT4: return av1_idct4_new;
    case TXFM_TYPE_DCT8: return av1_idct8_new;
    case TXFM_TYPE_DCT16: return av1_idct16_new;
    case TXFM_TYPE_DCT32: return av1_idct32_new;
25 26 27
#if CONFIG_TX64X64
    case TXFM_TYPE_DCT64: return av1_idct64_new;
#endif  // CONFIG_TX64X64
Yaowu Xu's avatar
Yaowu Xu committed
28 29 30 31
    case TXFM_TYPE_ADST4: return av1_iadst4_new;
    case TXFM_TYPE_ADST8: return av1_iadst8_new;
    case TXFM_TYPE_ADST16: return av1_iadst16_new;
    case TXFM_TYPE_ADST32: return av1_iadst32_new;
32 33 34 35
    case TXFM_TYPE_IDENTITY4: return av1_iidentity4_c;
    case TXFM_TYPE_IDENTITY8: return av1_iidentity8_c;
    case TXFM_TYPE_IDENTITY16: return av1_iidentity16_c;
    case TXFM_TYPE_IDENTITY32: return av1_iidentity32_c;
36 37 38
#if CONFIG_TX64X64
    case TXFM_TYPE_IDENTITY64: return av1_iidentity64_c;
#endif  // CONFIG_TX64X64
clang-format's avatar
clang-format committed
39
    default: assert(0); return NULL;
40 41 42
  }
}

43 44
static const TXFM_1D_CFG *inv_txfm_col_cfg_ls[TX_TYPES_1D][TX_SIZES] = {
  // DCT
45 46
  { &inv_txfm_1d_col_cfg_dct_4, &inv_txfm_1d_col_cfg_dct_8,
    &inv_txfm_1d_col_cfg_dct_16, &inv_txfm_1d_col_cfg_dct_32,
47
#if CONFIG_TX64X64
48
    &inv_txfm_1d_col_cfg_dct_64
49 50
#endif  // CONFIG_TX64X64
  },
51
  // ADST
52 53
  { &inv_txfm_1d_col_cfg_adst_4, &inv_txfm_1d_col_cfg_adst_8,
    &inv_txfm_1d_col_cfg_adst_16, &inv_txfm_1d_col_cfg_adst_32,
54
#if CONFIG_TX64X64
55
    NULL
56 57
#endif  // CONFIG_TX64X64
  },
58
  // FLIPADST
59 60
  { &inv_txfm_1d_col_cfg_adst_4, &inv_txfm_1d_col_cfg_adst_8,
    &inv_txfm_1d_col_cfg_adst_16, &inv_txfm_1d_col_cfg_adst_32,
61
#if CONFIG_TX64X64
62
    NULL
63 64
#endif  // CONFIG_TX64X64
  },
65
  // IDENTITY
66 67
  { &inv_txfm_1d_cfg_identity_4, &inv_txfm_1d_cfg_identity_8,
    &inv_txfm_1d_cfg_identity_16, &inv_txfm_1d_cfg_identity_32,
68
#if CONFIG_TX64X64
69
    &inv_txfm_1d_cfg_identity_64
70 71
#endif  // CONFIG_TX64X64
  },
72 73 74 75
};

static const TXFM_1D_CFG *inv_txfm_row_cfg_ls[TX_TYPES_1D][TX_SIZES] = {
  // DCT
76
  {
77
      &inv_txfm_1d_row_cfg_dct_4, &inv_txfm_1d_row_cfg_dct_8,
78 79 80 81 82
      &inv_txfm_1d_row_cfg_dct_16, &inv_txfm_1d_row_cfg_dct_32,
#if CONFIG_TX64X64
      &inv_txfm_1d_row_cfg_dct_64,
#endif  // CONFIG_TX64X64
  },
83
  // ADST
84 85
  { &inv_txfm_1d_row_cfg_adst_4, &inv_txfm_1d_row_cfg_adst_8,
    &inv_txfm_1d_row_cfg_adst_16, &inv_txfm_1d_row_cfg_adst_32,
86
#if CONFIG_TX64X64
87
    NULL
88 89
#endif  // CONFIG_TX64X64
  },
90
  // FLIPADST
91 92
  { &inv_txfm_1d_row_cfg_adst_4, &inv_txfm_1d_row_cfg_adst_8,
    &inv_txfm_1d_row_cfg_adst_16, &inv_txfm_1d_row_cfg_adst_32,
93
#if CONFIG_TX64X64
94
    NULL
95 96
#endif  // CONFIG_TX64X64
  },
97
  // IDENTITY
98 99
  { &inv_txfm_1d_cfg_identity_4, &inv_txfm_1d_cfg_identity_8,
    &inv_txfm_1d_cfg_identity_16, &inv_txfm_1d_cfg_identity_32,
100
#if CONFIG_TX64X64
101
    &inv_txfm_1d_cfg_identity_64
102 103
#endif  // CONFIG_TX64X64
  },
104 105
};

106
TXFM_2D_FLIP_CFG av1_get_inv_txfm_cfg(TX_TYPE tx_type, TX_SIZE tx_size) {
107 108
  TXFM_2D_FLIP_CFG cfg;
  set_flip_cfg(tx_type, &cfg);
109 110
  const TX_TYPE_1D tx_type_col = vtx_tab[tx_type];
  const TX_TYPE_1D tx_type_row = htx_tab[tx_type];
111 112
  const TX_SIZE tx_size_col = txsize_vert_map[tx_size];
  const TX_SIZE tx_size_row = txsize_horz_map[tx_size];
113 114
  cfg.col_cfg = inv_txfm_col_cfg_ls[tx_type_col][tx_size_col];
  cfg.row_cfg = inv_txfm_row_cfg_ls[tx_type_row][tx_size_row];
115 116 117
  return cfg;
}

118
#if CONFIG_TX64X64
119
TXFM_2D_FLIP_CFG av1_get_inv_txfm_64x64_cfg(TX_TYPE tx_type) {
120
  TXFM_2D_FLIP_CFG cfg = { 0, 0, NULL, NULL };
121 122
  switch (tx_type) {
    case DCT_DCT:
123 124
      cfg.col_cfg = &inv_txfm_1d_col_cfg_dct_64;
      cfg.row_cfg = &inv_txfm_1d_row_cfg_dct_64;
125
      set_flip_cfg(tx_type, &cfg);
126
      break;
clang-format's avatar
clang-format committed
127
    default: assert(0);
128 129 130 131
  }
  return cfg;
}

132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158
TXFM_2D_FLIP_CFG av1_get_inv_txfm_32x64_cfg(int tx_type) {
  TXFM_2D_FLIP_CFG cfg = { 0, 0, NULL, NULL };
  switch (tx_type) {
    case DCT_DCT:
      cfg.col_cfg = &inv_txfm_1d_col_cfg_dct_64;
      cfg.row_cfg = &inv_txfm_1d_row_cfg_dct_32;
      set_flip_cfg(tx_type, &cfg);
      break;
    default: assert(0);
  }
  return cfg;
}

TXFM_2D_FLIP_CFG av1_get_inv_txfm_64x32_cfg(int tx_type) {
  TXFM_2D_FLIP_CFG cfg = { 0, 0, NULL, NULL };
  switch (tx_type) {
    case DCT_DCT:
      cfg.col_cfg = &inv_txfm_1d_col_cfg_dct_32;
      cfg.row_cfg = &inv_txfm_1d_row_cfg_dct_64;
      set_flip_cfg(tx_type, &cfg);
      break;
    default: assert(0);
  }
  return cfg;
}
#endif  // CONFIG_TX64X64

159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183
void av1_gen_inv_stage_range(int8_t *stage_range_col, int8_t *stage_range_row,
                             const TXFM_2D_FLIP_CFG *cfg, int8_t fwd_shift,
                             int bd) {
  // Note when assigning txfm_size_col, we use the txfm_size from the
  // row configuration and vice versa. This is intentionally done to
  // accurately perform rectangular transforms. When the transform is
  // rectangular, the number of columns will be the same as the
  // txfm_size stored in the row cfg struct. It will make no difference
  // for square transforms.
  const int txfm_size_col = cfg->row_cfg->txfm_size;
  const int txfm_size_row = cfg->col_cfg->txfm_size;
  // Take the shift from the larger dimension in the rectangular case.
  const int8_t *shift = (txfm_size_col > txfm_size_row) ? cfg->row_cfg->shift
                                                        : cfg->col_cfg->shift;
  // i < MAX_TXFM_STAGE_NUM will mute above array bounds warning
  for (int i = 0; i < cfg->row_cfg->stage_num && i < MAX_TXFM_STAGE_NUM; ++i) {
    stage_range_row[i] = cfg->row_cfg->stage_range[i] + fwd_shift + bd + 1;
  }
  // i < MAX_TXFM_STAGE_NUM will mute above array bounds warning
  for (int i = 0; i < cfg->col_cfg->stage_num && i < MAX_TXFM_STAGE_NUM; ++i) {
    stage_range_col[i] =
        cfg->col_cfg->stage_range[i] + fwd_shift + shift[0] + bd + 1;
  }
}

184
static INLINE void inv_txfm2d_add_c(const int32_t *input, uint16_t *output,
185
                                    int stride, TXFM_2D_FLIP_CFG *cfg,
186 187
                                    int32_t *txfm_buf, int8_t fwd_shift,
                                    int bd) {
188 189 190 191 192 193 194 195 196
  // Note when assigning txfm_size_col, we use the txfm_size from the
  // row configuration and vice versa. This is intentionally done to
  // accurately perform rectangular transforms. When the transform is
  // rectangular, the number of columns will be the same as the
  // txfm_size stored in the row cfg struct. It will make no difference
  // for square transforms.
  const int txfm_size_col = cfg->row_cfg->txfm_size;
  const int txfm_size_row = cfg->col_cfg->txfm_size;
  // Take the shift from the larger dimension in the rectangular case.
Sarah Parker's avatar
Sarah Parker committed
197 198
  const int8_t *shift = (txfm_size_col > txfm_size_row) ? cfg->row_cfg->shift
                                                        : cfg->col_cfg->shift;
199 200 201 202 203 204
  int8_t stage_range_row[MAX_TXFM_STAGE_NUM];
  int8_t stage_range_col[MAX_TXFM_STAGE_NUM];
  assert(cfg->row_cfg->stage_num <= MAX_TXFM_STAGE_NUM);
  assert(cfg->col_cfg->stage_num <= MAX_TXFM_STAGE_NUM);
  av1_gen_inv_stage_range(stage_range_col, stage_range_row, cfg, fwd_shift, bd);

205 206 207 208
  const int8_t *cos_bit_col = cfg->col_cfg->cos_bit;
  const int8_t *cos_bit_row = cfg->row_cfg->cos_bit;
  const TxfmFunc txfm_func_col = inv_txfm_type_to_func(cfg->col_cfg->txfm_type);
  const TxfmFunc txfm_func_row = inv_txfm_type_to_func(cfg->row_cfg->txfm_type);
Angie Chiang's avatar
Angie Chiang committed
209

210
  // txfm_buf's length is  txfm_size_row * txfm_size_col + 2 * txfm_size_row
Angie Chiang's avatar
Angie Chiang committed
211 212
  // it is used for intermediate data buffering
  int32_t *temp_in = txfm_buf;
213 214
  int32_t *temp_out = temp_in + txfm_size_row;
  int32_t *buf = temp_out + txfm_size_row;
Angie Chiang's avatar
Angie Chiang committed
215
  int32_t *buf_ptr = buf;
216
  int c, r;
Angie Chiang's avatar
Angie Chiang committed
217 218

  // Rows
219
  for (r = 0; r < txfm_size_row; ++r) {
Angie Chiang's avatar
Angie Chiang committed
220
    txfm_func_row(input, buf_ptr, cos_bit_row, stage_range_row);
221 222 223 224 225 226 227 228
    round_shift_array(buf_ptr, txfm_size_col, -shift[0]);
    // Multiply everything by Sqrt2 if the transform is rectangular
    if (txfm_size_row != txfm_size_col) {
      for (c = 0; c < txfm_size_col; ++c)
        buf_ptr[c] = (int32_t)dct_const_round_shift(buf_ptr[c] * Sqrt2);
    }
    input += txfm_size_col;
    buf_ptr += txfm_size_col;
Angie Chiang's avatar
Angie Chiang committed
229 230 231
  }

  // Columns
232
  for (c = 0; c < txfm_size_col; ++c) {
233
    if (cfg->lr_flip == 0) {
234 235
      for (r = 0; r < txfm_size_row; ++r)
        temp_in[r] = buf[r * txfm_size_col + c];
236 237
    } else {
      // flip left right
238 239
      for (r = 0; r < txfm_size_row; ++r)
        temp_in[r] = buf[r * txfm_size_col + (txfm_size_col - c - 1)];
240
    }
Angie Chiang's avatar
Angie Chiang committed
241
    txfm_func_col(temp_in, temp_out, cos_bit_col, stage_range_col);
242
    round_shift_array(temp_out, txfm_size_row, -shift[1]);
243
    if (cfg->ud_flip == 0) {
244 245 246 247
      for (r = 0; r < txfm_size_row; ++r) {
        output[r * stride + c] =
            highbd_clip_pixel_add(output[r * stride + c], temp_out[r], bd);
      }
248 249
    } else {
      // flip upside down
250 251 252 253
      for (r = 0; r < txfm_size_row; ++r) {
        output[r * stride + c] = highbd_clip_pixel_add(
            output[r * stride + c], temp_out[txfm_size_row - r - 1], bd);
      }
254
    }
Angie Chiang's avatar
Angie Chiang committed
255 256 257
  }
}

258 259
static INLINE void inv_txfm2d_add_facade(const int32_t *input, uint16_t *output,
                                         int stride, int32_t *txfm_buf,
260 261
                                         TX_TYPE tx_type, TX_SIZE tx_size,
                                         int bd) {
262
  TXFM_2D_FLIP_CFG cfg = av1_get_inv_txfm_cfg(tx_type, tx_size);
263
  TX_SIZE tx_size_sqr = txsize_sqr_map[tx_size];
264 265
  inv_txfm2d_add_c(input, output, stride, &cfg, txfm_buf,
                   fwd_shift_sum[tx_size_sqr], bd);
266 267 268
}

void av1_inv_txfm2d_add_4x8_c(const int32_t *input, uint16_t *output,
269
                              int stride, TX_TYPE tx_type, int bd) {
270 271 272 273 274
  int txfm_buf[4 * 8 + 8 + 8];
  inv_txfm2d_add_facade(input, output, stride, txfm_buf, tx_type, TX_4X8, bd);
}

void av1_inv_txfm2d_add_8x4_c(const int32_t *input, uint16_t *output,
275
                              int stride, TX_TYPE tx_type, int bd) {
276 277 278 279
#if CONFIG_TXMG
  int txfm_buf[8 * 4 + 8 + 8];
  int32_t rinput[8 * 4];
  uint16_t routput[8 * 4];
280 281
  TX_SIZE tx_size = TX_8X4;
  TX_SIZE rtx_size = av1_rotate_tx_size(tx_size);
282
  TX_TYPE rtx_type = av1_rotate_tx_type(tx_type);
283 284 285 286 287 288 289 290 291
  int w = tx_size_wide[tx_size];
  int h = tx_size_high[tx_size];
  int rw = h;
  int rh = w;
  transpose_int32(rinput, rw, input, w, w, h);
  transpose_uint16(routput, rw, output, stride, w, h);
  inv_txfm2d_add_facade(rinput, routput, rw, txfm_buf, rtx_type, rtx_size, bd);
  transpose_uint16(output, stride, routput, rw, rw, rh);
#else
292 293
  int txfm_buf[8 * 4 + 4 + 4];
  inv_txfm2d_add_facade(input, output, stride, txfm_buf, tx_type, TX_8X4, bd);
294
#endif
295 296 297
}

void av1_inv_txfm2d_add_8x16_c(const int32_t *input, uint16_t *output,
298
                               int stride, TX_TYPE tx_type, int bd) {
299 300 301 302 303
  int txfm_buf[8 * 16 + 16 + 16];
  inv_txfm2d_add_facade(input, output, stride, txfm_buf, tx_type, TX_8X16, bd);
}

void av1_inv_txfm2d_add_16x8_c(const int32_t *input, uint16_t *output,
304
                               int stride, TX_TYPE tx_type, int bd) {
305 306 307 308
#if CONFIG_TXMG
  int txfm_buf[16 * 8 + 16 + 16];
  int32_t rinput[16 * 8];
  uint16_t routput[16 * 8];
309 310
  TX_SIZE tx_size = TX_16X8;
  TX_SIZE rtx_size = av1_rotate_tx_size(tx_size);
311
  TX_TYPE rtx_type = av1_rotate_tx_type(tx_type);
312 313 314 315 316 317 318 319 320
  int w = tx_size_wide[tx_size];
  int h = tx_size_high[tx_size];
  int rw = h;
  int rh = w;
  transpose_int32(rinput, rw, input, w, w, h);
  transpose_uint16(routput, rw, output, stride, w, h);
  inv_txfm2d_add_facade(rinput, routput, rw, txfm_buf, rtx_type, rtx_size, bd);
  transpose_uint16(output, stride, routput, rw, rw, rh);
#else
321 322
  int txfm_buf[16 * 8 + 8 + 8];
  inv_txfm2d_add_facade(input, output, stride, txfm_buf, tx_type, TX_16X8, bd);
323
#endif
324 325 326
}

void av1_inv_txfm2d_add_16x32_c(const int32_t *input, uint16_t *output,
327
                                int stride, TX_TYPE tx_type, int bd) {
328 329 330 331 332
  int txfm_buf[16 * 32 + 32 + 32];
  inv_txfm2d_add_facade(input, output, stride, txfm_buf, tx_type, TX_16X32, bd);
}

void av1_inv_txfm2d_add_32x16_c(const int32_t *input, uint16_t *output,
333
                                int stride, TX_TYPE tx_type, int bd) {
334 335 336 337
#if CONFIG_TXMG
  int txfm_buf[32 * 16 + 32 + 32];
  int32_t rinput[32 * 16];
  uint16_t routput[32 * 16];
338 339
  TX_SIZE tx_size = TX_32X16;
  TX_SIZE rtx_size = av1_rotate_tx_size(tx_size);
340
  TX_TYPE rtx_type = av1_rotate_tx_type(tx_type);
341 342 343 344 345 346 347 348 349
  int w = tx_size_wide[tx_size];
  int h = tx_size_high[tx_size];
  int rw = h;
  int rh = w;
  transpose_int32(rinput, rw, input, w, w, h);
  transpose_uint16(routput, rw, output, stride, w, h);
  inv_txfm2d_add_facade(rinput, routput, rw, txfm_buf, rtx_type, rtx_size, bd);
  transpose_uint16(output, stride, routput, rw, rw, rh);
#else
350 351
  int txfm_buf[32 * 16 + 16 + 16];
  inv_txfm2d_add_facade(input, output, stride, txfm_buf, tx_type, TX_32X16, bd);
352
#endif
353 354 355
}

void av1_inv_txfm2d_add_4x4_c(const int32_t *input, uint16_t *output,
356
                              int stride, TX_TYPE tx_type, int bd) {
357 358
  int txfm_buf[4 * 4 + 4 + 4];
  inv_txfm2d_add_facade(input, output, stride, txfm_buf, tx_type, TX_4X4, bd);
Angie Chiang's avatar
Angie Chiang committed
359 360
}

Yaowu Xu's avatar
Yaowu Xu committed
361
void av1_inv_txfm2d_add_8x8_c(const int32_t *input, uint16_t *output,
362
                              int stride, TX_TYPE tx_type, int bd) {
Angie Chiang's avatar
Angie Chiang committed
363
  int txfm_buf[8 * 8 + 8 + 8];
364
  inv_txfm2d_add_facade(input, output, stride, txfm_buf, tx_type, TX_8X8, bd);
Angie Chiang's avatar
Angie Chiang committed
365 366
}

Yaowu Xu's avatar
Yaowu Xu committed
367
void av1_inv_txfm2d_add_16x16_c(const int32_t *input, uint16_t *output,
368
                                int stride, TX_TYPE tx_type, int bd) {
Angie Chiang's avatar
Angie Chiang committed
369
  int txfm_buf[16 * 16 + 16 + 16];
370
  inv_txfm2d_add_facade(input, output, stride, txfm_buf, tx_type, TX_16X16, bd);
Angie Chiang's avatar
Angie Chiang committed
371 372
}

Yaowu Xu's avatar
Yaowu Xu committed
373
void av1_inv_txfm2d_add_32x32_c(const int32_t *input, uint16_t *output,
374
                                int stride, TX_TYPE tx_type, int bd) {
Angie Chiang's avatar
Angie Chiang committed
375
  int txfm_buf[32 * 32 + 32 + 32];
376
  inv_txfm2d_add_facade(input, output, stride, txfm_buf, tx_type, TX_32X32, bd);
Angie Chiang's avatar
Angie Chiang committed
377
}
Angie Chiang's avatar
Angie Chiang committed
378

379
#if CONFIG_TX64X64
Yaowu Xu's avatar
Yaowu Xu committed
380
void av1_inv_txfm2d_add_64x64_c(const int32_t *input, uint16_t *output,
381
                                int stride, TX_TYPE tx_type, int bd) {
Angie Chiang's avatar
Angie Chiang committed
382
  int txfm_buf[64 * 64 + 64 + 64];
383
  inv_txfm2d_add_facade(input, output, stride, txfm_buf, tx_type, TX_64X64, bd);
Angie Chiang's avatar
Angie Chiang committed
384
}
385 386

void av1_inv_txfm2d_add_64x32_c(const int32_t *input, uint16_t *output,
387
                                int stride, TX_TYPE tx_type, int bd) {
388
#if CONFIG_TXMG
389
  int txfm_buf[64 * 32 + 64 + 64];
390 391
  int32_t rinput[64 * 32];
  uint16_t routput[64 * 32];
392 393
  TX_SIZE tx_size = TX_64X32;
  TX_SIZE rtx_size = av1_rotate_tx_size(tx_size);
394
  TX_TYPE rtx_type = av1_rotate_tx_type(tx_type);
395 396 397 398 399 400 401 402 403 404 405 406
  int w = tx_size_wide[tx_size];
  int h = tx_size_high[tx_size];
  int rw = h;
  int rh = w;
  transpose_int32(rinput, rw, input, w, w, h);
  transpose_uint16(routput, rw, output, stride, w, h);
  inv_txfm2d_add_facade(rinput, routput, rw, txfm_buf, rtx_type, rtx_size, bd);
  transpose_uint16(output, stride, routput, rw, rw, rh);
#else
  int txfm_buf[64 * 32 + 64 + 64];
  inv_txfm2d_add_facade(input, output, stride, txfm_buf, tx_type, TX_64X32, bd);
#endif
407 408 409
}

void av1_inv_txfm2d_add_32x64_c(const int32_t *input, uint16_t *output,
410
                                int stride, TX_TYPE tx_type, int bd) {
411 412 413 414
  int txfm_buf[64 * 32 + 64 + 64];
  inv_txfm2d_add_facade(input, output, stride, txfm_buf, tx_type, TX_32X64, bd);
}
#endif  // CONFIG_TX64X64