/src/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 | 0 | #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 | 4.08M | static inline const int32_t *cast_to_int32(const tran_low_t *input) { |
43 | 4.08M | assert(sizeof(int32_t) == sizeof(tran_low_t)); |
44 | 4.08M | return (const int32_t *)input; |
45 | 4.08M | } Unexecuted instantiation: decodeframe.c:cast_to_int32 Unexecuted instantiation: decodetxb.c:cast_to_int32 Unexecuted instantiation: detokenize.c:cast_to_int32 Unexecuted instantiation: allintra_vis.c:cast_to_int32 Unexecuted instantiation: av1_quantize.c:cast_to_int32 Unexecuted instantiation: encodeframe.c:cast_to_int32 Unexecuted instantiation: encodemb.c:cast_to_int32 Unexecuted instantiation: encoder.c:cast_to_int32 Unexecuted instantiation: encodetxb.c:cast_to_int32 Unexecuted instantiation: hybrid_fwd_txfm.c:cast_to_int32 Unexecuted instantiation: rdopt.c:cast_to_int32 Unexecuted instantiation: tpl_model.c:cast_to_int32 Unexecuted instantiation: tx_search.c:cast_to_int32 Unexecuted instantiation: txb_rdopt.c:cast_to_int32 Line | Count | Source | 42 | 4.08M | static inline const int32_t *cast_to_int32(const tran_low_t *input) { | 43 | 4.08M | assert(sizeof(int32_t) == sizeof(tran_low_t)); | 44 | 4.08M | return (const int32_t *)input; | 45 | 4.08M | } |
|
46 | | |
47 | | #ifdef __cplusplus |
48 | | } // extern "C" |
49 | | #endif |
50 | | |
51 | | #endif // AOM_AV1_COMMON_IDCT_H_ |