Coverage Report

Created: 2026-03-15 06:28

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/libvpx/vp8/common/reconintra4x4.h
Line
Count
Source
1
/*
2
 *  Copyright (c) 2010 The WebM project authors. All Rights Reserved.
3
 *
4
 *  Use of this source code is governed by a BSD-style license
5
 *  that can be found in the LICENSE file in the root of the source
6
 *  tree. An additional intellectual property rights grant can be found
7
 *  in the file PATENTS.  All contributing project authors may
8
 *  be found in the AUTHORS file in the root of the source tree.
9
 */
10
11
#ifndef VPX_VP8_COMMON_RECONINTRA4X4_H_
12
#define VPX_VP8_COMMON_RECONINTRA4X4_H_
13
#include "vp8/common/blockd.h"
14
15
#ifdef __cplusplus
16
extern "C" {
17
#endif
18
19
static INLINE void intra_prediction_down_copy(MACROBLOCKD *xd,
20
738M
                                              unsigned char *above_right_src) {
21
738M
  int dst_stride = xd->dst.y_stride;
22
738M
  unsigned char *above_right_dst = xd->dst.y_buffer - dst_stride + 16;
23
24
738M
  unsigned int *src_ptr = (unsigned int *)above_right_src;
25
738M
  unsigned int *dst_ptr0 = (unsigned int *)(above_right_dst + 4 * dst_stride);
26
738M
  unsigned int *dst_ptr1 = (unsigned int *)(above_right_dst + 8 * dst_stride);
27
738M
  unsigned int *dst_ptr2 = (unsigned int *)(above_right_dst + 12 * dst_stride);
28
29
738M
  *dst_ptr0 = *src_ptr;
30
738M
  *dst_ptr1 = *src_ptr;
31
738M
  *dst_ptr2 = *src_ptr;
32
738M
}
threading.c:intra_prediction_down_copy
Line
Count
Source
20
994k
                                              unsigned char *above_right_src) {
21
994k
  int dst_stride = xd->dst.y_stride;
22
994k
  unsigned char *above_right_dst = xd->dst.y_buffer - dst_stride + 16;
23
24
994k
  unsigned int *src_ptr = (unsigned int *)above_right_src;
25
994k
  unsigned int *dst_ptr0 = (unsigned int *)(above_right_dst + 4 * dst_stride);
26
994k
  unsigned int *dst_ptr1 = (unsigned int *)(above_right_dst + 8 * dst_stride);
27
994k
  unsigned int *dst_ptr2 = (unsigned int *)(above_right_dst + 12 * dst_stride);
28
29
994k
  *dst_ptr0 = *src_ptr;
30
994k
  *dst_ptr1 = *src_ptr;
31
994k
  *dst_ptr2 = *src_ptr;
32
994k
}
Unexecuted instantiation: reconintra.c:intra_prediction_down_copy
Unexecuted instantiation: reconintra4x4.c:intra_prediction_down_copy
decodeframe.c:intra_prediction_down_copy
Line
Count
Source
20
736M
                                              unsigned char *above_right_src) {
21
736M
  int dst_stride = xd->dst.y_stride;
22
736M
  unsigned char *above_right_dst = xd->dst.y_buffer - dst_stride + 16;
23
24
736M
  unsigned int *src_ptr = (unsigned int *)above_right_src;
25
736M
  unsigned int *dst_ptr0 = (unsigned int *)(above_right_dst + 4 * dst_stride);
26
736M
  unsigned int *dst_ptr1 = (unsigned int *)(above_right_dst + 8 * dst_stride);
27
736M
  unsigned int *dst_ptr2 = (unsigned int *)(above_right_dst + 12 * dst_stride);
28
29
736M
  *dst_ptr0 = *src_ptr;
30
736M
  *dst_ptr1 = *src_ptr;
31
736M
  *dst_ptr2 = *src_ptr;
32
736M
}
pickinter.c:intra_prediction_down_copy
Line
Count
Source
20
181k
                                              unsigned char *above_right_src) {
21
181k
  int dst_stride = xd->dst.y_stride;
22
181k
  unsigned char *above_right_dst = xd->dst.y_buffer - dst_stride + 16;
23
24
181k
  unsigned int *src_ptr = (unsigned int *)above_right_src;
25
181k
  unsigned int *dst_ptr0 = (unsigned int *)(above_right_dst + 4 * dst_stride);
26
181k
  unsigned int *dst_ptr1 = (unsigned int *)(above_right_dst + 8 * dst_stride);
27
181k
  unsigned int *dst_ptr2 = (unsigned int *)(above_right_dst + 12 * dst_stride);
28
29
181k
  *dst_ptr0 = *src_ptr;
30
181k
  *dst_ptr1 = *src_ptr;
31
181k
  *dst_ptr2 = *src_ptr;
32
181k
}
rdopt.c:intra_prediction_down_copy
Line
Count
Source
20
845k
                                              unsigned char *above_right_src) {
21
845k
  int dst_stride = xd->dst.y_stride;
22
845k
  unsigned char *above_right_dst = xd->dst.y_buffer - dst_stride + 16;
23
24
845k
  unsigned int *src_ptr = (unsigned int *)above_right_src;
25
845k
  unsigned int *dst_ptr0 = (unsigned int *)(above_right_dst + 4 * dst_stride);
26
845k
  unsigned int *dst_ptr1 = (unsigned int *)(above_right_dst + 8 * dst_stride);
27
845k
  unsigned int *dst_ptr2 = (unsigned int *)(above_right_dst + 12 * dst_stride);
28
29
845k
  *dst_ptr0 = *src_ptr;
30
845k
  *dst_ptr1 = *src_ptr;
31
845k
  *dst_ptr2 = *src_ptr;
32
845k
}
encodeintra.c:intra_prediction_down_copy
Line
Count
Source
20
426k
                                              unsigned char *above_right_src) {
21
426k
  int dst_stride = xd->dst.y_stride;
22
426k
  unsigned char *above_right_dst = xd->dst.y_buffer - dst_stride + 16;
23
24
426k
  unsigned int *src_ptr = (unsigned int *)above_right_src;
25
426k
  unsigned int *dst_ptr0 = (unsigned int *)(above_right_dst + 4 * dst_stride);
26
426k
  unsigned int *dst_ptr1 = (unsigned int *)(above_right_dst + 8 * dst_stride);
27
426k
  unsigned int *dst_ptr2 = (unsigned int *)(above_right_dst + 12 * dst_stride);
28
29
426k
  *dst_ptr0 = *src_ptr;
30
426k
  *dst_ptr1 = *src_ptr;
31
426k
  *dst_ptr2 = *src_ptr;
32
426k
}
33
34
void vp8_intra4x4_predict(unsigned char *above, unsigned char *yleft,
35
                          int left_stride, B_PREDICTION_MODE b_mode,
36
                          unsigned char *dst, int dst_stride,
37
                          unsigned char top_left);
38
39
void vp8_init_intra4x4_predictors_internal(void);
40
41
#ifdef __cplusplus
42
}  // extern "C"
43
#endif
44
45
#endif  // VPX_VP8_COMMON_RECONINTRA4X4_H_