Coverage Report

Created: 2018-09-25 14:53

/src/mozilla-central/third_party/aom/av1/common/idct.h
Line
Count
Source (jump to first uncovered line)
1
/*
2
 * Copyright (c) 2016, Alliance for Open Media. All rights reserved
3
 *
4
 * This source code is subject to the terms of the BSD 2 Clause License and
5
 * the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
6
 * was not distributed with this source code in the LICENSE file, you can
7
 * obtain it at www.aomedia.org/license/software. If the Alliance for Open
8
 * Media Patent License 1.0 was not distributed with this source code in the
9
 * PATENTS file, you can obtain it at www.aomedia.org/license/patent.
10
 */
11
12
#ifndef AOM_AV1_COMMON_IDCT_H_
13
#define AOM_AV1_COMMON_IDCT_H_
14
15
#include "config/aom_config.h"
16
17
#include "av1/common/blockd.h"
18
#include "av1/common/common.h"
19
#include "av1/common/enums.h"
20
#include "aom_dsp/txfm_common.h"
21
22
#ifdef __cplusplus
23
extern "C" {
24
#endif
25
26
typedef void (*transform_1d)(const tran_low_t *, tran_low_t *);
27
28
typedef struct {
29
  transform_1d cols, rows;  // vertical and horizontal
30
} transform_2d;
31
32
#define MAX_TX_SCALE 1
33
int av1_get_tx_scale(const TX_SIZE tx_size);
34
35
void av1_inverse_transform_block(const MACROBLOCKD *xd,
36
                                 const tran_low_t *dqcoeff, int plane,
37
                                 TX_TYPE tx_type, TX_SIZE tx_size, uint8_t *dst,
38
                                 int stride, int eob, int reduced_tx_set);
39
void av1_highbd_iwht4x4_add(const tran_low_t *input, uint8_t *dest, int stride,
40
                            int eob, int bd);
41
42
0
static INLINE const int32_t *cast_to_int32(const tran_low_t *input) {
43
0
  assert(sizeof(int32_t) == sizeof(tran_low_t));
44
0
  return (const int32_t *)input;
45
0
}
Unexecuted instantiation: idct.c:cast_to_int32
Unexecuted instantiation: highbd_inv_txfm_avx2.c:cast_to_int32
Unexecuted instantiation: highbd_inv_txfm_sse4.c:cast_to_int32
Unexecuted instantiation: decodeframe.c:cast_to_int32
Unexecuted instantiation: decodetxb.c:cast_to_int32
Unexecuted instantiation: detokenize.c:cast_to_int32
46
47
typedef void(highbd_inv_txfm_add)(const tran_low_t *input, uint8_t *dest,
48
                                  int stride, const TxfmParam *param);
49
50
highbd_inv_txfm_add av1_highbd_inv_txfm_add_4x8;
51
highbd_inv_txfm_add av1_highbd_inv_txfm_add_8x4;
52
highbd_inv_txfm_add av1_highbd_inv_txfm_add_16x32;
53
highbd_inv_txfm_add av1_highbd_inv_txfm_add_32x16;
54
highbd_inv_txfm_add av1_highbd_inv_txfm_add_32x64;
55
highbd_inv_txfm_add av1_highbd_inv_txfm_add_64x32;
56
highbd_inv_txfm_add av1_highbd_inv_txfm_add_16x64;
57
highbd_inv_txfm_add av1_highbd_inv_txfm_add_64x16;
58
highbd_inv_txfm_add av1_highbd_inv_txfm_add_16x4;
59
highbd_inv_txfm_add av1_highbd_inv_txfm_add_4x16;
60
highbd_inv_txfm_add av1_highbd_inv_txfm_add_8x32;
61
highbd_inv_txfm_add av1_highbd_inv_txfm_add_32x8;
62
63
#ifdef __cplusplus
64
}  // extern "C"
65
#endif
66
67
#endif  // AOM_AV1_COMMON_IDCT_H_