Coverage Report

Created: 2026-10-28 07:01

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/avm/av2/common/intra_dip.h
Line
Count
Source
1
/*
2
 * Copyright (c) 2023, 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
#ifndef AVM_AV2_COMMON_INTRA_DIP_H_
12
#define AVM_AV2_COMMON_INTRA_DIP_H_
13
14
#ifdef __cplusplus
15
extern "C" {
16
#endif
17
18
#include "av2/common/av2_common_int.h"
19
20
17.8k
#define INTRA_DIP_MODE_CNT 6
21
17.8k
#define INTRA_DIP_HAS_TRANSPOSE 1
22
23
17.8k
static INLINE int av2_intra_dip_modes(BLOCK_SIZE bsize) {
24
17.8k
  (void)bsize;
25
17.8k
  return INTRA_DIP_MODE_CNT;
26
17.8k
}
decodemv.c:av2_intra_dip_modes
Line
Count
Source
23
17.8k
static INLINE int av2_intra_dip_modes(BLOCK_SIZE bsize) {
24
17.8k
  (void)bsize;
25
17.8k
  return INTRA_DIP_MODE_CNT;
26
17.8k
}
Unexecuted instantiation: reconintra.c:av2_intra_dip_modes
Unexecuted instantiation: intra_matrix.c:av2_intra_dip_modes
Unexecuted instantiation: intra_dip.cc:av2_intra_dip_modes(BLOCK_SIZE)
27
28
17.8k
static INLINE int av2_intra_dip_has_transpose(BLOCK_SIZE bsize) {
29
17.8k
  (void)bsize;
30
17.8k
  return INTRA_DIP_HAS_TRANSPOSE;
31
17.8k
}
decodemv.c:av2_intra_dip_has_transpose
Line
Count
Source
28
17.8k
static INLINE int av2_intra_dip_has_transpose(BLOCK_SIZE bsize) {
29
17.8k
  (void)bsize;
30
17.8k
  return INTRA_DIP_HAS_TRANSPOSE;
31
17.8k
}
Unexecuted instantiation: reconintra.c:av2_intra_dip_has_transpose
Unexecuted instantiation: intra_matrix.c:av2_intra_dip_has_transpose
Unexecuted instantiation: intra_dip.cc:av2_intra_dip_has_transpose(BLOCK_SIZE)
32
33
void av2_highbd_intra_dip_predictor(int mode, uint16_t *dst, int dst_stride,
34
                                    const uint16_t *above_row,
35
                                    const uint16_t *left_col, TX_SIZE tx_size,
36
                                    int bd
37
#if CONFIG_DIP_EXT_PRUNING
38
                                    ,
39
                                    uint16_t *intra_dip_features
40
#endif  // CONFIG_DIP_EXT_PRUNING
41
);
42
43
#ifdef __cplusplus
44
}
45
#endif
46
#endif  // AVM_AV2_COMMON_INTRA_DIP_H_