/src/libvpx/vpx_dsp/vpx_dsp_common.h
Line | Count | Source (jump to first uncovered line) |
1 | | /* |
2 | | * Copyright (c) 2015 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_VPX_DSP_VPX_DSP_COMMON_H_ |
12 | | #define VPX_VPX_DSP_VPX_DSP_COMMON_H_ |
13 | | |
14 | | #include <limits.h> |
15 | | |
16 | | #include "./vpx_config.h" |
17 | | #include "vpx/vpx_integer.h" |
18 | | #include "vpx_ports/mem.h" |
19 | | |
20 | | #ifdef __cplusplus |
21 | | extern "C" { |
22 | | #endif |
23 | | |
24 | 1.47G | #define VPXMIN(x, y) (((x) < (y)) ? (x) : (y)) |
25 | 448M | #define VPXMAX(x, y) (((x) > (y)) ? (x) : (y)) |
26 | | |
27 | | #define VPX_SWAP(type, a, b) \ |
28 | | do { \ |
29 | | type c = (b); \ |
30 | | (b) = a; \ |
31 | | (a) = c; \ |
32 | | } while (0) |
33 | | |
34 | | #if CONFIG_VP9_HIGHBITDEPTH |
35 | | // Note: |
36 | | // tran_low_t is the datatype used for final transform coefficients. |
37 | | // tran_high_t is the datatype used for intermediate transform stages. |
38 | | typedef int64_t tran_high_t; |
39 | | typedef int32_t tran_low_t; |
40 | | #else |
41 | | // Note: |
42 | | // tran_low_t is the datatype used for final transform coefficients. |
43 | | // tran_high_t is the datatype used for intermediate transform stages. |
44 | | typedef int32_t tran_high_t; |
45 | | typedef int16_t tran_low_t; |
46 | | #endif // CONFIG_VP9_HIGHBITDEPTH |
47 | | |
48 | | typedef int16_t tran_coef_t; |
49 | | |
50 | | // Visual Studio 2022 (cl.exe) targeting AArch64 with optimizations enabled |
51 | | // produces invalid code for clip_pixel() when the return type is uint8_t. |
52 | | // See: |
53 | | // https://developercommunity.visualstudio.com/t/Misoptimization-for-ARM64-in-VS-2022-17/10363361 |
54 | | // TODO(jzern): check the compiler version after a fix for the issue is |
55 | | // released. |
56 | | #if defined(_MSC_VER) && defined(_M_ARM64) && !defined(__clang__) |
57 | | static INLINE int clip_pixel(int val) { |
58 | | return (val > 255) ? 255 : (val < 0) ? 0 : val; |
59 | | } |
60 | | #else |
61 | 31.0M | static INLINE uint8_t clip_pixel(int val) { |
62 | 31.0M | return (val > 255) ? 255 : (val < 0) ? 0 : val; |
63 | 31.0M | } Unexecuted instantiation: vp8_cx_iface.c:clip_pixel Unexecuted instantiation: onyx_if.c:clip_pixel Unexecuted instantiation: pickinter.c:clip_pixel Unexecuted instantiation: picklpf.c:clip_pixel Unexecuted instantiation: ratectrl.c:clip_pixel Unexecuted instantiation: rdopt.c:clip_pixel Unexecuted instantiation: vp8_skin_detection.c:clip_pixel Unexecuted instantiation: vp9_cx_iface.c:clip_pixel Unexecuted instantiation: vp9_firstpass.c:clip_pixel Unexecuted instantiation: vp9_mcomp.c:clip_pixel Unexecuted instantiation: vp9_encoder.c:clip_pixel Unexecuted instantiation: vp9_picklpf.c:clip_pixel Unexecuted instantiation: vp9_quantize.c:clip_pixel Unexecuted instantiation: vp9_ratectrl.c:clip_pixel Unexecuted instantiation: vp9_rd.c:clip_pixel Unexecuted instantiation: vp9_segmentation.c:clip_pixel Unexecuted instantiation: vp9_speed_features.c:clip_pixel Unexecuted instantiation: vp9_svc_layercontext.c:clip_pixel Unexecuted instantiation: vp9_resize.c:clip_pixel Unexecuted instantiation: vp9_tokenize.c:clip_pixel Unexecuted instantiation: vp9_aq_variance.c:clip_pixel Unexecuted instantiation: vp9_aq_360.c:clip_pixel Unexecuted instantiation: vp9_aq_cyclicrefresh.c:clip_pixel Unexecuted instantiation: vp9_aq_complexity.c:clip_pixel Unexecuted instantiation: vp9_alt_ref_aq.c:clip_pixel Unexecuted instantiation: vp9_skin_detection.c:clip_pixel Unexecuted instantiation: vp9_noise_estimate.c:clip_pixel Unexecuted instantiation: vp9_ext_ratectrl.c:clip_pixel Unexecuted instantiation: vp9_temporal_filter.c:clip_pixel Unexecuted instantiation: vp9_tpl_model.c:clip_pixel Unexecuted instantiation: vp9_mbgraph.c:clip_pixel Unexecuted instantiation: yv12config.c:clip_pixel Unexecuted instantiation: yv12extend.c:clip_pixel Unexecuted instantiation: psnr.c:clip_pixel Unexecuted instantiation: fwd_txfm_sse2.c:clip_pixel Unexecuted instantiation: avg_intrin_sse2.c:clip_pixel Unexecuted instantiation: sad.c:clip_pixel Unexecuted instantiation: variance.c:clip_pixel Unexecuted instantiation: variance_sse2.c:clip_pixel Unexecuted instantiation: highbd_variance_sse2.c:clip_pixel Unexecuted instantiation: vpx_dsp_rtcd.c:clip_pixel Unexecuted instantiation: reconintra.c:clip_pixel Unexecuted instantiation: reconintra4x4.c:clip_pixel Unexecuted instantiation: postproc.c:clip_pixel Unexecuted instantiation: encodeframe.c:clip_pixel Unexecuted instantiation: encodeintra.c:clip_pixel Unexecuted instantiation: encodemb.c:clip_pixel Unexecuted instantiation: firstpass.c:clip_pixel Unexecuted instantiation: mcomp.c:clip_pixel Unexecuted instantiation: vp9_alloccommon.c:clip_pixel Unexecuted instantiation: vp9_blockd.c:clip_pixel Unexecuted instantiation: vp9_entropy.c:clip_pixel Unexecuted instantiation: vp9_entropymode.c:clip_pixel Unexecuted instantiation: vp9_entropymv.c:clip_pixel Unexecuted instantiation: vp9_idct.c:clip_pixel Unexecuted instantiation: vp9_rtcd.c:clip_pixel Unexecuted instantiation: vp9_scale.c:clip_pixel Unexecuted instantiation: vp9_seg_common.c:clip_pixel Unexecuted instantiation: vp9_tile_common.c:clip_pixel Unexecuted instantiation: vp9_loopfilter.c:clip_pixel Unexecuted instantiation: vp9_thread_common.c:clip_pixel Unexecuted instantiation: vp9_quant_common.c:clip_pixel Unexecuted instantiation: vp9_reconinter.c:clip_pixel Unexecuted instantiation: vp9_reconintra.c:clip_pixel Unexecuted instantiation: vp9_common_data.c:clip_pixel Unexecuted instantiation: vp9_scan.c:clip_pixel Unexecuted instantiation: vp9_idct_intrin_sse2.c:clip_pixel Unexecuted instantiation: vp9_highbd_iht4x4_add_sse4.c:clip_pixel Unexecuted instantiation: vp9_highbd_iht8x8_add_sse4.c:clip_pixel Unexecuted instantiation: vp9_highbd_iht16x16_add_sse4.c:clip_pixel Unexecuted instantiation: vp9_bitstream.c:clip_pixel Unexecuted instantiation: vp9_context_tree.c:clip_pixel Unexecuted instantiation: vp9_cost.c:clip_pixel Unexecuted instantiation: vp9_dct.c:clip_pixel Unexecuted instantiation: vp9_encodeframe.c:clip_pixel Unexecuted instantiation: vp9_encodemb.c:clip_pixel Unexecuted instantiation: vp9_encodemv.c:clip_pixel Unexecuted instantiation: vp9_ethread.c:clip_pixel Unexecuted instantiation: vp9_frame_scale.c:clip_pixel Unexecuted instantiation: vp9_lookahead.c:clip_pixel Unexecuted instantiation: vp9_multi_thread.c:clip_pixel Unexecuted instantiation: vp9_rdopt.c:clip_pixel Unexecuted instantiation: vp9_pickmode.c:clip_pixel Unexecuted instantiation: vp9_subexp.c:clip_pixel Unexecuted instantiation: vp9_treewriter.c:clip_pixel Unexecuted instantiation: temporal_filter_sse4.c:clip_pixel Unexecuted instantiation: vp9_quantize_sse2.c:clip_pixel Unexecuted instantiation: vp9_quantize_ssse3.c:clip_pixel Unexecuted instantiation: vp9_quantize_avx2.c:clip_pixel Unexecuted instantiation: vp9_highbd_block_error_intrin_sse2.c:clip_pixel Unexecuted instantiation: highbd_temporal_filter_sse4.c:clip_pixel Unexecuted instantiation: vp9_dct_intrin_sse2.c:clip_pixel Unexecuted instantiation: vp9_frame_scale_ssse3.c:clip_pixel Unexecuted instantiation: vp9_error_avx2.c:clip_pixel Unexecuted instantiation: prob.c:clip_pixel Unexecuted instantiation: bitwriter.c:clip_pixel Unexecuted instantiation: sse.c:clip_pixel Unexecuted instantiation: sse_sse4.c:clip_pixel Unexecuted instantiation: sse_avx2.c:clip_pixel Unexecuted instantiation: intrapred.c:clip_pixel Unexecuted instantiation: highbd_intrapred_intrin_sse2.c:clip_pixel Unexecuted instantiation: highbd_intrapred_intrin_ssse3.c:clip_pixel Unexecuted instantiation: add_noise.c:clip_pixel Unexecuted instantiation: post_proc_sse2.c:clip_pixel Unexecuted instantiation: vpx_convolve.c:clip_pixel Unexecuted instantiation: vpx_subpixel_4t_intrin_sse2.c:clip_pixel Unexecuted instantiation: vpx_subpixel_8t_intrin_avx2.c:clip_pixel Unexecuted instantiation: vpx_subpixel_8t_intrin_ssse3.c:clip_pixel Unexecuted instantiation: highbd_convolve_avx2.c:clip_pixel Unexecuted instantiation: loopfilter_sse2.c:clip_pixel Unexecuted instantiation: loopfilter_avx2.c:clip_pixel Unexecuted instantiation: highbd_loopfilter_sse2.c:clip_pixel Unexecuted instantiation: fwd_txfm.c:clip_pixel Line | Count | Source | 61 | 31.0M | static INLINE uint8_t clip_pixel(int val) { | 62 | 31.0M | return (val > 255) ? 255 : (val < 0) ? 0 : val; | 63 | 31.0M | } |
Unexecuted instantiation: inv_txfm_sse2.c:clip_pixel Unexecuted instantiation: inv_txfm_avx2.c:clip_pixel Unexecuted instantiation: inv_txfm_ssse3.c:clip_pixel Unexecuted instantiation: highbd_idct4x4_add_sse2.c:clip_pixel Unexecuted instantiation: highbd_idct8x8_add_sse2.c:clip_pixel Unexecuted instantiation: highbd_idct16x16_add_sse2.c:clip_pixel Unexecuted instantiation: highbd_idct32x32_add_sse2.c:clip_pixel Unexecuted instantiation: highbd_idct4x4_add_sse4.c:clip_pixel Unexecuted instantiation: highbd_idct8x8_add_sse4.c:clip_pixel Unexecuted instantiation: highbd_idct16x16_add_sse4.c:clip_pixel Unexecuted instantiation: highbd_idct32x32_add_sse4.c:clip_pixel Unexecuted instantiation: quantize.c:clip_pixel Unexecuted instantiation: quantize_sse2.c:clip_pixel Unexecuted instantiation: quantize_ssse3.c:clip_pixel Unexecuted instantiation: quantize_avx.c:clip_pixel Unexecuted instantiation: quantize_avx2.c:clip_pixel Unexecuted instantiation: highbd_quantize_intrin_sse2.c:clip_pixel Unexecuted instantiation: highbd_quantize_intrin_avx2.c:clip_pixel Unexecuted instantiation: avg.c:clip_pixel Unexecuted instantiation: avg_intrin_avx2.c:clip_pixel Unexecuted instantiation: subtract.c:clip_pixel Unexecuted instantiation: sum_squares_sse2.c:clip_pixel Unexecuted instantiation: sad4d_avx2.c:clip_pixel Unexecuted instantiation: sad_avx2.c:clip_pixel Unexecuted instantiation: subtract_avx2.c:clip_pixel Unexecuted instantiation: sad4d_avx512.c:clip_pixel Unexecuted instantiation: highbd_sad4d_avx2.c:clip_pixel Unexecuted instantiation: highbd_sad_avx2.c:clip_pixel Unexecuted instantiation: avg_pred_sse2.c:clip_pixel Unexecuted instantiation: avg_pred_avx2.c:clip_pixel Unexecuted instantiation: variance_avx2.c:clip_pixel Unexecuted instantiation: mfqe.c:clip_pixel Unexecuted instantiation: vp9_pred_common.c:clip_pixel Unexecuted instantiation: vp9_mvref_common.c:clip_pixel Unexecuted instantiation: vp9_extend.c:clip_pixel Unexecuted instantiation: deblock.c:clip_pixel |
64 | | #endif |
65 | | |
66 | 667M | static INLINE int clamp(int value, int low, int high) { |
67 | 667M | return value < low ? low : (value > high ? high : value); |
68 | 667M | } Unexecuted instantiation: vp8_cx_iface.c:clamp Unexecuted instantiation: onyx_if.c:clamp Unexecuted instantiation: pickinter.c:clamp Unexecuted instantiation: picklpf.c:clamp Unexecuted instantiation: ratectrl.c:clamp Unexecuted instantiation: rdopt.c:clamp Unexecuted instantiation: vp8_skin_detection.c:clamp Unexecuted instantiation: vp9_cx_iface.c:clamp Unexecuted instantiation: vp9_firstpass.c:clamp Line | Count | Source | 66 | 54.2M | static INLINE int clamp(int value, int low, int high) { | 67 | 54.2M | return value < low ? low : (value > high ? high : value); | 68 | 54.2M | } |
Line | Count | Source | 66 | 51.3k | static INLINE int clamp(int value, int low, int high) { | 67 | 51.3k | return value < low ? low : (value > high ? high : value); | 68 | 51.3k | } |
Line | Count | Source | 66 | 35.4k | static INLINE int clamp(int value, int low, int high) { | 67 | 35.4k | return value < low ? low : (value > high ? high : value); | 68 | 35.4k | } |
Unexecuted instantiation: vp9_quantize.c:clamp Line | Count | Source | 66 | 152k | static INLINE int clamp(int value, int low, int high) { | 67 | 152k | return value < low ? low : (value > high ? high : value); | 68 | 152k | } |
Line | Count | Source | 66 | 338k | static INLINE int clamp(int value, int low, int high) { | 67 | 338k | return value < low ? low : (value > high ? high : value); | 68 | 338k | } |
Unexecuted instantiation: vp9_segmentation.c:clamp Unexecuted instantiation: vp9_speed_features.c:clamp Unexecuted instantiation: vp9_svc_layercontext.c:clamp Unexecuted instantiation: vp9_resize.c:clamp Unexecuted instantiation: vp9_tokenize.c:clamp Line | Count | Source | 66 | 1.81M | static INLINE int clamp(int value, int low, int high) { | 67 | 1.81M | return value < low ? low : (value > high ? high : value); | 68 | 1.81M | } |
Unexecuted instantiation: vp9_aq_360.c:clamp Unexecuted instantiation: vp9_aq_cyclicrefresh.c:clamp Unexecuted instantiation: vp9_aq_complexity.c:clamp Unexecuted instantiation: vp9_alt_ref_aq.c:clamp Unexecuted instantiation: vp9_skin_detection.c:clamp Unexecuted instantiation: vp9_noise_estimate.c:clamp Unexecuted instantiation: vp9_ext_ratectrl.c:clamp Unexecuted instantiation: vp9_temporal_filter.c:clamp Unexecuted instantiation: vp9_tpl_model.c:clamp Unexecuted instantiation: vp9_mbgraph.c:clamp Unexecuted instantiation: yv12config.c:clamp Unexecuted instantiation: yv12extend.c:clamp Unexecuted instantiation: psnr.c:clamp Unexecuted instantiation: fwd_txfm_sse2.c:clamp Unexecuted instantiation: avg_intrin_sse2.c:clamp Unexecuted instantiation: sad.c:clamp Unexecuted instantiation: variance.c:clamp Unexecuted instantiation: variance_sse2.c:clamp Unexecuted instantiation: highbd_variance_sse2.c:clamp Unexecuted instantiation: vpx_dsp_rtcd.c:clamp Unexecuted instantiation: reconintra.c:clamp Unexecuted instantiation: reconintra4x4.c:clamp Unexecuted instantiation: postproc.c:clamp Unexecuted instantiation: encodeframe.c:clamp Unexecuted instantiation: encodeintra.c:clamp Unexecuted instantiation: encodemb.c:clamp Unexecuted instantiation: firstpass.c:clamp Line | Count | Source | 66 | 123M | static INLINE int clamp(int value, int low, int high) { | 67 | 123M | return value < low ? low : (value > high ? high : value); | 68 | 123M | } |
Unexecuted instantiation: vp9_alloccommon.c:clamp Unexecuted instantiation: vp9_blockd.c:clamp Unexecuted instantiation: vp9_entropy.c:clamp Unexecuted instantiation: vp9_entropymode.c:clamp Unexecuted instantiation: vp9_entropymv.c:clamp Unexecuted instantiation: vp9_idct.c:clamp Unexecuted instantiation: vp9_rtcd.c:clamp Unexecuted instantiation: vp9_scale.c:clamp Unexecuted instantiation: vp9_seg_common.c:clamp Unexecuted instantiation: vp9_tile_common.c:clamp Line | Count | Source | 66 | 13.2M | static INLINE int clamp(int value, int low, int high) { | 67 | 13.2M | return value < low ? low : (value > high ? high : value); | 68 | 13.2M | } |
Unexecuted instantiation: vp9_thread_common.c:clamp Line | Count | Source | 66 | 56.7M | static INLINE int clamp(int value, int low, int high) { | 67 | 56.7M | return value < low ? low : (value > high ? high : value); | 68 | 56.7M | } |
Line | Count | Source | 66 | 208M | static INLINE int clamp(int value, int low, int high) { | 67 | 208M | return value < low ? low : (value > high ? high : value); | 68 | 208M | } |
Unexecuted instantiation: vp9_reconintra.c:clamp Unexecuted instantiation: vp9_common_data.c:clamp Unexecuted instantiation: vp9_scan.c:clamp Unexecuted instantiation: vp9_idct_intrin_sse2.c:clamp Unexecuted instantiation: vp9_highbd_iht4x4_add_sse4.c:clamp Unexecuted instantiation: vp9_highbd_iht8x8_add_sse4.c:clamp Unexecuted instantiation: vp9_highbd_iht16x16_add_sse4.c:clamp Unexecuted instantiation: vp9_bitstream.c:clamp Unexecuted instantiation: vp9_context_tree.c:clamp Unexecuted instantiation: vp9_cost.c:clamp Unexecuted instantiation: vp9_dct.c:clamp Unexecuted instantiation: vp9_encodeframe.c:clamp Unexecuted instantiation: vp9_encodemb.c:clamp Unexecuted instantiation: vp9_encodemv.c:clamp Unexecuted instantiation: vp9_ethread.c:clamp Unexecuted instantiation: vp9_frame_scale.c:clamp Line | Count | Source | 66 | 2.87k | static INLINE int clamp(int value, int low, int high) { | 67 | 2.87k | return value < low ? low : (value > high ? high : value); | 68 | 2.87k | } |
Unexecuted instantiation: vp9_multi_thread.c:clamp Line | Count | Source | 66 | 26.1M | static INLINE int clamp(int value, int low, int high) { | 67 | 26.1M | return value < low ? low : (value > high ? high : value); | 68 | 26.1M | } |
Unexecuted instantiation: vp9_pickmode.c:clamp Unexecuted instantiation: vp9_subexp.c:clamp Unexecuted instantiation: vp9_treewriter.c:clamp Unexecuted instantiation: temporal_filter_sse4.c:clamp Unexecuted instantiation: vp9_quantize_sse2.c:clamp Unexecuted instantiation: vp9_quantize_ssse3.c:clamp Unexecuted instantiation: vp9_quantize_avx2.c:clamp Unexecuted instantiation: vp9_highbd_block_error_intrin_sse2.c:clamp Unexecuted instantiation: highbd_temporal_filter_sse4.c:clamp Unexecuted instantiation: vp9_dct_intrin_sse2.c:clamp Unexecuted instantiation: vp9_frame_scale_ssse3.c:clamp Unexecuted instantiation: vp9_error_avx2.c:clamp Unexecuted instantiation: prob.c:clamp Unexecuted instantiation: bitwriter.c:clamp Unexecuted instantiation: sse.c:clamp Unexecuted instantiation: sse_sse4.c:clamp Unexecuted instantiation: sse_avx2.c:clamp Unexecuted instantiation: intrapred.c:clamp Unexecuted instantiation: highbd_intrapred_intrin_sse2.c:clamp Unexecuted instantiation: highbd_intrapred_intrin_ssse3.c:clamp Unexecuted instantiation: add_noise.c:clamp Unexecuted instantiation: post_proc_sse2.c:clamp Unexecuted instantiation: vpx_convolve.c:clamp Unexecuted instantiation: vpx_subpixel_4t_intrin_sse2.c:clamp Unexecuted instantiation: vpx_subpixel_8t_intrin_avx2.c:clamp Unexecuted instantiation: vpx_subpixel_8t_intrin_ssse3.c:clamp Unexecuted instantiation: highbd_convolve_avx2.c:clamp Unexecuted instantiation: loopfilter_sse2.c:clamp Unexecuted instantiation: loopfilter_avx2.c:clamp Unexecuted instantiation: highbd_loopfilter_sse2.c:clamp Unexecuted instantiation: fwd_txfm.c:clamp Unexecuted instantiation: inv_txfm.c:clamp Unexecuted instantiation: inv_txfm_sse2.c:clamp Unexecuted instantiation: inv_txfm_avx2.c:clamp Unexecuted instantiation: inv_txfm_ssse3.c:clamp Unexecuted instantiation: highbd_idct4x4_add_sse2.c:clamp Unexecuted instantiation: highbd_idct8x8_add_sse2.c:clamp Unexecuted instantiation: highbd_idct16x16_add_sse2.c:clamp Unexecuted instantiation: highbd_idct32x32_add_sse2.c:clamp Unexecuted instantiation: highbd_idct4x4_add_sse4.c:clamp Unexecuted instantiation: highbd_idct8x8_add_sse4.c:clamp Unexecuted instantiation: highbd_idct16x16_add_sse4.c:clamp Unexecuted instantiation: highbd_idct32x32_add_sse4.c:clamp Line | Count | Source | 66 | 301k | static INLINE int clamp(int value, int low, int high) { | 67 | 301k | return value < low ? low : (value > high ? high : value); | 68 | 301k | } |
Unexecuted instantiation: quantize_sse2.c:clamp Unexecuted instantiation: quantize_ssse3.c:clamp Unexecuted instantiation: quantize_avx.c:clamp Unexecuted instantiation: quantize_avx2.c:clamp Unexecuted instantiation: highbd_quantize_intrin_sse2.c:clamp Unexecuted instantiation: highbd_quantize_intrin_avx2.c:clamp Unexecuted instantiation: avg.c:clamp Unexecuted instantiation: avg_intrin_avx2.c:clamp Unexecuted instantiation: subtract.c:clamp Unexecuted instantiation: sum_squares_sse2.c:clamp Unexecuted instantiation: sad4d_avx2.c:clamp Unexecuted instantiation: sad_avx2.c:clamp Unexecuted instantiation: subtract_avx2.c:clamp Unexecuted instantiation: sad4d_avx512.c:clamp Unexecuted instantiation: highbd_sad4d_avx2.c:clamp Unexecuted instantiation: highbd_sad_avx2.c:clamp Unexecuted instantiation: avg_pred_sse2.c:clamp Unexecuted instantiation: avg_pred_avx2.c:clamp Unexecuted instantiation: variance_avx2.c:clamp Unexecuted instantiation: mfqe.c:clamp Unexecuted instantiation: vp9_pred_common.c:clamp Line | Count | Source | 66 | 182M | static INLINE int clamp(int value, int low, int high) { | 67 | 182M | return value < low ? low : (value > high ? high : value); | 68 | 182M | } |
Unexecuted instantiation: vp9_extend.c:clamp Unexecuted instantiation: deblock.c:clamp |
69 | | |
70 | 123k | static INLINE double fclamp(double value, double low, double high) { |
71 | 123k | return value < low ? low : (value > high ? high : value); |
72 | 123k | } Unexecuted instantiation: vp8_cx_iface.c:fclamp Unexecuted instantiation: onyx_if.c:fclamp Unexecuted instantiation: pickinter.c:fclamp Unexecuted instantiation: picklpf.c:fclamp Unexecuted instantiation: ratectrl.c:fclamp Unexecuted instantiation: rdopt.c:fclamp Unexecuted instantiation: vp8_skin_detection.c:fclamp Unexecuted instantiation: vp9_cx_iface.c:fclamp Unexecuted instantiation: vp9_firstpass.c:fclamp Unexecuted instantiation: vp9_mcomp.c:fclamp Unexecuted instantiation: vp9_encoder.c:fclamp Unexecuted instantiation: vp9_picklpf.c:fclamp Unexecuted instantiation: vp9_quantize.c:fclamp Line | Count | Source | 70 | 123k | static INLINE double fclamp(double value, double low, double high) { | 71 | 123k | return value < low ? low : (value > high ? high : value); | 72 | 123k | } |
Unexecuted instantiation: vp9_rd.c:fclamp Unexecuted instantiation: vp9_segmentation.c:fclamp Unexecuted instantiation: vp9_speed_features.c:fclamp Unexecuted instantiation: vp9_svc_layercontext.c:fclamp Unexecuted instantiation: vp9_resize.c:fclamp Unexecuted instantiation: vp9_tokenize.c:fclamp Unexecuted instantiation: vp9_aq_variance.c:fclamp Unexecuted instantiation: vp9_aq_360.c:fclamp Unexecuted instantiation: vp9_aq_cyclicrefresh.c:fclamp Unexecuted instantiation: vp9_aq_complexity.c:fclamp Unexecuted instantiation: vp9_alt_ref_aq.c:fclamp Unexecuted instantiation: vp9_skin_detection.c:fclamp Unexecuted instantiation: vp9_noise_estimate.c:fclamp Unexecuted instantiation: vp9_ext_ratectrl.c:fclamp Unexecuted instantiation: vp9_temporal_filter.c:fclamp Unexecuted instantiation: vp9_tpl_model.c:fclamp Unexecuted instantiation: vp9_mbgraph.c:fclamp Unexecuted instantiation: yv12config.c:fclamp Unexecuted instantiation: yv12extend.c:fclamp Unexecuted instantiation: psnr.c:fclamp Unexecuted instantiation: fwd_txfm_sse2.c:fclamp Unexecuted instantiation: avg_intrin_sse2.c:fclamp Unexecuted instantiation: sad.c:fclamp Unexecuted instantiation: variance.c:fclamp Unexecuted instantiation: variance_sse2.c:fclamp Unexecuted instantiation: highbd_variance_sse2.c:fclamp Unexecuted instantiation: vpx_dsp_rtcd.c:fclamp Unexecuted instantiation: reconintra.c:fclamp Unexecuted instantiation: reconintra4x4.c:fclamp Unexecuted instantiation: postproc.c:fclamp Unexecuted instantiation: encodeframe.c:fclamp Unexecuted instantiation: encodeintra.c:fclamp Unexecuted instantiation: encodemb.c:fclamp Unexecuted instantiation: firstpass.c:fclamp Unexecuted instantiation: mcomp.c:fclamp Unexecuted instantiation: vp9_alloccommon.c:fclamp Unexecuted instantiation: vp9_blockd.c:fclamp Unexecuted instantiation: vp9_entropy.c:fclamp Unexecuted instantiation: vp9_entropymode.c:fclamp Unexecuted instantiation: vp9_entropymv.c:fclamp Unexecuted instantiation: vp9_idct.c:fclamp Unexecuted instantiation: vp9_rtcd.c:fclamp Unexecuted instantiation: vp9_scale.c:fclamp Unexecuted instantiation: vp9_seg_common.c:fclamp Unexecuted instantiation: vp9_tile_common.c:fclamp Unexecuted instantiation: vp9_loopfilter.c:fclamp Unexecuted instantiation: vp9_thread_common.c:fclamp Unexecuted instantiation: vp9_quant_common.c:fclamp Unexecuted instantiation: vp9_reconinter.c:fclamp Unexecuted instantiation: vp9_reconintra.c:fclamp Unexecuted instantiation: vp9_common_data.c:fclamp Unexecuted instantiation: vp9_scan.c:fclamp Unexecuted instantiation: vp9_idct_intrin_sse2.c:fclamp Unexecuted instantiation: vp9_highbd_iht4x4_add_sse4.c:fclamp Unexecuted instantiation: vp9_highbd_iht8x8_add_sse4.c:fclamp Unexecuted instantiation: vp9_highbd_iht16x16_add_sse4.c:fclamp Unexecuted instantiation: vp9_bitstream.c:fclamp Unexecuted instantiation: vp9_context_tree.c:fclamp Unexecuted instantiation: vp9_cost.c:fclamp Unexecuted instantiation: vp9_dct.c:fclamp Unexecuted instantiation: vp9_encodeframe.c:fclamp Unexecuted instantiation: vp9_encodemb.c:fclamp Unexecuted instantiation: vp9_encodemv.c:fclamp Unexecuted instantiation: vp9_ethread.c:fclamp Unexecuted instantiation: vp9_frame_scale.c:fclamp Unexecuted instantiation: vp9_lookahead.c:fclamp Unexecuted instantiation: vp9_multi_thread.c:fclamp Unexecuted instantiation: vp9_rdopt.c:fclamp Unexecuted instantiation: vp9_pickmode.c:fclamp Unexecuted instantiation: vp9_subexp.c:fclamp Unexecuted instantiation: vp9_treewriter.c:fclamp Unexecuted instantiation: temporal_filter_sse4.c:fclamp Unexecuted instantiation: vp9_quantize_sse2.c:fclamp Unexecuted instantiation: vp9_quantize_ssse3.c:fclamp Unexecuted instantiation: vp9_quantize_avx2.c:fclamp Unexecuted instantiation: vp9_highbd_block_error_intrin_sse2.c:fclamp Unexecuted instantiation: highbd_temporal_filter_sse4.c:fclamp Unexecuted instantiation: vp9_dct_intrin_sse2.c:fclamp Unexecuted instantiation: vp9_frame_scale_ssse3.c:fclamp Unexecuted instantiation: vp9_error_avx2.c:fclamp Unexecuted instantiation: prob.c:fclamp Unexecuted instantiation: bitwriter.c:fclamp Unexecuted instantiation: sse.c:fclamp Unexecuted instantiation: sse_sse4.c:fclamp Unexecuted instantiation: sse_avx2.c:fclamp Unexecuted instantiation: intrapred.c:fclamp Unexecuted instantiation: highbd_intrapred_intrin_sse2.c:fclamp Unexecuted instantiation: highbd_intrapred_intrin_ssse3.c:fclamp Unexecuted instantiation: add_noise.c:fclamp Unexecuted instantiation: post_proc_sse2.c:fclamp Unexecuted instantiation: vpx_convolve.c:fclamp Unexecuted instantiation: vpx_subpixel_4t_intrin_sse2.c:fclamp Unexecuted instantiation: vpx_subpixel_8t_intrin_avx2.c:fclamp Unexecuted instantiation: vpx_subpixel_8t_intrin_ssse3.c:fclamp Unexecuted instantiation: highbd_convolve_avx2.c:fclamp Unexecuted instantiation: loopfilter_sse2.c:fclamp Unexecuted instantiation: loopfilter_avx2.c:fclamp Unexecuted instantiation: highbd_loopfilter_sse2.c:fclamp Unexecuted instantiation: fwd_txfm.c:fclamp Unexecuted instantiation: inv_txfm.c:fclamp Unexecuted instantiation: inv_txfm_sse2.c:fclamp Unexecuted instantiation: inv_txfm_avx2.c:fclamp Unexecuted instantiation: inv_txfm_ssse3.c:fclamp Unexecuted instantiation: highbd_idct4x4_add_sse2.c:fclamp Unexecuted instantiation: highbd_idct8x8_add_sse2.c:fclamp Unexecuted instantiation: highbd_idct16x16_add_sse2.c:fclamp Unexecuted instantiation: highbd_idct32x32_add_sse2.c:fclamp Unexecuted instantiation: highbd_idct4x4_add_sse4.c:fclamp Unexecuted instantiation: highbd_idct8x8_add_sse4.c:fclamp Unexecuted instantiation: highbd_idct16x16_add_sse4.c:fclamp Unexecuted instantiation: highbd_idct32x32_add_sse4.c:fclamp Unexecuted instantiation: quantize.c:fclamp Unexecuted instantiation: quantize_sse2.c:fclamp Unexecuted instantiation: quantize_ssse3.c:fclamp Unexecuted instantiation: quantize_avx.c:fclamp Unexecuted instantiation: quantize_avx2.c:fclamp Unexecuted instantiation: highbd_quantize_intrin_sse2.c:fclamp Unexecuted instantiation: highbd_quantize_intrin_avx2.c:fclamp Unexecuted instantiation: avg.c:fclamp Unexecuted instantiation: avg_intrin_avx2.c:fclamp Unexecuted instantiation: subtract.c:fclamp Unexecuted instantiation: sum_squares_sse2.c:fclamp Unexecuted instantiation: sad4d_avx2.c:fclamp Unexecuted instantiation: sad_avx2.c:fclamp Unexecuted instantiation: subtract_avx2.c:fclamp Unexecuted instantiation: sad4d_avx512.c:fclamp Unexecuted instantiation: highbd_sad4d_avx2.c:fclamp Unexecuted instantiation: highbd_sad_avx2.c:fclamp Unexecuted instantiation: avg_pred_sse2.c:fclamp Unexecuted instantiation: avg_pred_avx2.c:fclamp Unexecuted instantiation: variance_avx2.c:fclamp Unexecuted instantiation: mfqe.c:fclamp Unexecuted instantiation: vp9_pred_common.c:fclamp Unexecuted instantiation: vp9_mvref_common.c:fclamp Unexecuted instantiation: vp9_extend.c:fclamp Unexecuted instantiation: deblock.c:fclamp |
73 | | |
74 | 0 | static INLINE int64_t lclamp(int64_t value, int64_t low, int64_t high) { |
75 | 0 | return value < low ? low : (value > high ? high : value); |
76 | 0 | } Unexecuted instantiation: vp8_cx_iface.c:lclamp Unexecuted instantiation: onyx_if.c:lclamp Unexecuted instantiation: pickinter.c:lclamp Unexecuted instantiation: picklpf.c:lclamp Unexecuted instantiation: ratectrl.c:lclamp Unexecuted instantiation: rdopt.c:lclamp Unexecuted instantiation: vp8_skin_detection.c:lclamp Unexecuted instantiation: vp9_cx_iface.c:lclamp Unexecuted instantiation: vp9_firstpass.c:lclamp Unexecuted instantiation: vp9_mcomp.c:lclamp Unexecuted instantiation: vp9_encoder.c:lclamp Unexecuted instantiation: vp9_picklpf.c:lclamp Unexecuted instantiation: vp9_quantize.c:lclamp Unexecuted instantiation: vp9_ratectrl.c:lclamp Unexecuted instantiation: vp9_rd.c:lclamp Unexecuted instantiation: vp9_segmentation.c:lclamp Unexecuted instantiation: vp9_speed_features.c:lclamp Unexecuted instantiation: vp9_svc_layercontext.c:lclamp Unexecuted instantiation: vp9_resize.c:lclamp Unexecuted instantiation: vp9_tokenize.c:lclamp Unexecuted instantiation: vp9_aq_variance.c:lclamp Unexecuted instantiation: vp9_aq_360.c:lclamp Unexecuted instantiation: vp9_aq_cyclicrefresh.c:lclamp Unexecuted instantiation: vp9_aq_complexity.c:lclamp Unexecuted instantiation: vp9_alt_ref_aq.c:lclamp Unexecuted instantiation: vp9_skin_detection.c:lclamp Unexecuted instantiation: vp9_noise_estimate.c:lclamp Unexecuted instantiation: vp9_ext_ratectrl.c:lclamp Unexecuted instantiation: vp9_temporal_filter.c:lclamp Unexecuted instantiation: vp9_tpl_model.c:lclamp Unexecuted instantiation: vp9_mbgraph.c:lclamp Unexecuted instantiation: yv12config.c:lclamp Unexecuted instantiation: yv12extend.c:lclamp Unexecuted instantiation: psnr.c:lclamp Unexecuted instantiation: fwd_txfm_sse2.c:lclamp Unexecuted instantiation: avg_intrin_sse2.c:lclamp Unexecuted instantiation: sad.c:lclamp Unexecuted instantiation: variance.c:lclamp Unexecuted instantiation: variance_sse2.c:lclamp Unexecuted instantiation: highbd_variance_sse2.c:lclamp Unexecuted instantiation: vpx_dsp_rtcd.c:lclamp Unexecuted instantiation: reconintra.c:lclamp Unexecuted instantiation: reconintra4x4.c:lclamp Unexecuted instantiation: postproc.c:lclamp Unexecuted instantiation: encodeframe.c:lclamp Unexecuted instantiation: encodeintra.c:lclamp Unexecuted instantiation: encodemb.c:lclamp Unexecuted instantiation: firstpass.c:lclamp Unexecuted instantiation: mcomp.c:lclamp Unexecuted instantiation: vp9_alloccommon.c:lclamp Unexecuted instantiation: vp9_blockd.c:lclamp Unexecuted instantiation: vp9_entropy.c:lclamp Unexecuted instantiation: vp9_entropymode.c:lclamp Unexecuted instantiation: vp9_entropymv.c:lclamp Unexecuted instantiation: vp9_idct.c:lclamp Unexecuted instantiation: vp9_rtcd.c:lclamp Unexecuted instantiation: vp9_scale.c:lclamp Unexecuted instantiation: vp9_seg_common.c:lclamp Unexecuted instantiation: vp9_tile_common.c:lclamp Unexecuted instantiation: vp9_loopfilter.c:lclamp Unexecuted instantiation: vp9_thread_common.c:lclamp Unexecuted instantiation: vp9_quant_common.c:lclamp Unexecuted instantiation: vp9_reconinter.c:lclamp Unexecuted instantiation: vp9_reconintra.c:lclamp Unexecuted instantiation: vp9_common_data.c:lclamp Unexecuted instantiation: vp9_scan.c:lclamp Unexecuted instantiation: vp9_idct_intrin_sse2.c:lclamp Unexecuted instantiation: vp9_highbd_iht4x4_add_sse4.c:lclamp Unexecuted instantiation: vp9_highbd_iht8x8_add_sse4.c:lclamp Unexecuted instantiation: vp9_highbd_iht16x16_add_sse4.c:lclamp Unexecuted instantiation: vp9_bitstream.c:lclamp Unexecuted instantiation: vp9_context_tree.c:lclamp Unexecuted instantiation: vp9_cost.c:lclamp Unexecuted instantiation: vp9_dct.c:lclamp Unexecuted instantiation: vp9_encodeframe.c:lclamp Unexecuted instantiation: vp9_encodemb.c:lclamp Unexecuted instantiation: vp9_encodemv.c:lclamp Unexecuted instantiation: vp9_ethread.c:lclamp Unexecuted instantiation: vp9_frame_scale.c:lclamp Unexecuted instantiation: vp9_lookahead.c:lclamp Unexecuted instantiation: vp9_multi_thread.c:lclamp Unexecuted instantiation: vp9_rdopt.c:lclamp Unexecuted instantiation: vp9_pickmode.c:lclamp Unexecuted instantiation: vp9_subexp.c:lclamp Unexecuted instantiation: vp9_treewriter.c:lclamp Unexecuted instantiation: temporal_filter_sse4.c:lclamp Unexecuted instantiation: vp9_quantize_sse2.c:lclamp Unexecuted instantiation: vp9_quantize_ssse3.c:lclamp Unexecuted instantiation: vp9_quantize_avx2.c:lclamp Unexecuted instantiation: vp9_highbd_block_error_intrin_sse2.c:lclamp Unexecuted instantiation: highbd_temporal_filter_sse4.c:lclamp Unexecuted instantiation: vp9_dct_intrin_sse2.c:lclamp Unexecuted instantiation: vp9_frame_scale_ssse3.c:lclamp Unexecuted instantiation: vp9_error_avx2.c:lclamp Unexecuted instantiation: prob.c:lclamp Unexecuted instantiation: bitwriter.c:lclamp Unexecuted instantiation: sse.c:lclamp Unexecuted instantiation: sse_sse4.c:lclamp Unexecuted instantiation: sse_avx2.c:lclamp Unexecuted instantiation: intrapred.c:lclamp Unexecuted instantiation: highbd_intrapred_intrin_sse2.c:lclamp Unexecuted instantiation: highbd_intrapred_intrin_ssse3.c:lclamp Unexecuted instantiation: add_noise.c:lclamp Unexecuted instantiation: post_proc_sse2.c:lclamp Unexecuted instantiation: vpx_convolve.c:lclamp Unexecuted instantiation: vpx_subpixel_4t_intrin_sse2.c:lclamp Unexecuted instantiation: vpx_subpixel_8t_intrin_avx2.c:lclamp Unexecuted instantiation: vpx_subpixel_8t_intrin_ssse3.c:lclamp Unexecuted instantiation: highbd_convolve_avx2.c:lclamp Unexecuted instantiation: loopfilter_sse2.c:lclamp Unexecuted instantiation: loopfilter_avx2.c:lclamp Unexecuted instantiation: highbd_loopfilter_sse2.c:lclamp Unexecuted instantiation: fwd_txfm.c:lclamp Unexecuted instantiation: inv_txfm.c:lclamp Unexecuted instantiation: inv_txfm_sse2.c:lclamp Unexecuted instantiation: inv_txfm_avx2.c:lclamp Unexecuted instantiation: inv_txfm_ssse3.c:lclamp Unexecuted instantiation: highbd_idct4x4_add_sse2.c:lclamp Unexecuted instantiation: highbd_idct8x8_add_sse2.c:lclamp Unexecuted instantiation: highbd_idct16x16_add_sse2.c:lclamp Unexecuted instantiation: highbd_idct32x32_add_sse2.c:lclamp Unexecuted instantiation: highbd_idct4x4_add_sse4.c:lclamp Unexecuted instantiation: highbd_idct8x8_add_sse4.c:lclamp Unexecuted instantiation: highbd_idct16x16_add_sse4.c:lclamp Unexecuted instantiation: highbd_idct32x32_add_sse4.c:lclamp Unexecuted instantiation: quantize.c:lclamp Unexecuted instantiation: quantize_sse2.c:lclamp Unexecuted instantiation: quantize_ssse3.c:lclamp Unexecuted instantiation: quantize_avx.c:lclamp Unexecuted instantiation: quantize_avx2.c:lclamp Unexecuted instantiation: highbd_quantize_intrin_sse2.c:lclamp Unexecuted instantiation: highbd_quantize_intrin_avx2.c:lclamp Unexecuted instantiation: avg.c:lclamp Unexecuted instantiation: avg_intrin_avx2.c:lclamp Unexecuted instantiation: subtract.c:lclamp Unexecuted instantiation: sum_squares_sse2.c:lclamp Unexecuted instantiation: sad4d_avx2.c:lclamp Unexecuted instantiation: sad_avx2.c:lclamp Unexecuted instantiation: subtract_avx2.c:lclamp Unexecuted instantiation: sad4d_avx512.c:lclamp Unexecuted instantiation: highbd_sad4d_avx2.c:lclamp Unexecuted instantiation: highbd_sad_avx2.c:lclamp Unexecuted instantiation: avg_pred_sse2.c:lclamp Unexecuted instantiation: avg_pred_avx2.c:lclamp Unexecuted instantiation: variance_avx2.c:lclamp Unexecuted instantiation: mfqe.c:lclamp Unexecuted instantiation: vp9_pred_common.c:lclamp Unexecuted instantiation: vp9_mvref_common.c:lclamp Unexecuted instantiation: vp9_extend.c:lclamp Unexecuted instantiation: deblock.c:lclamp |
77 | | |
78 | 0 | static INLINE uint16_t clip_pixel_highbd(int val, int bd) { |
79 | 0 | switch (bd) { |
80 | 0 | case 8: |
81 | 0 | default: return (uint16_t)clamp(val, 0, 255); |
82 | 0 | case 10: return (uint16_t)clamp(val, 0, 1023); |
83 | 0 | case 12: return (uint16_t)clamp(val, 0, 4095); |
84 | 0 | } |
85 | 0 | } Unexecuted instantiation: vp8_cx_iface.c:clip_pixel_highbd Unexecuted instantiation: onyx_if.c:clip_pixel_highbd Unexecuted instantiation: pickinter.c:clip_pixel_highbd Unexecuted instantiation: picklpf.c:clip_pixel_highbd Unexecuted instantiation: ratectrl.c:clip_pixel_highbd Unexecuted instantiation: rdopt.c:clip_pixel_highbd Unexecuted instantiation: vp8_skin_detection.c:clip_pixel_highbd Unexecuted instantiation: vp9_cx_iface.c:clip_pixel_highbd Unexecuted instantiation: vp9_firstpass.c:clip_pixel_highbd Unexecuted instantiation: vp9_mcomp.c:clip_pixel_highbd Unexecuted instantiation: vp9_encoder.c:clip_pixel_highbd Unexecuted instantiation: vp9_picklpf.c:clip_pixel_highbd Unexecuted instantiation: vp9_quantize.c:clip_pixel_highbd Unexecuted instantiation: vp9_ratectrl.c:clip_pixel_highbd Unexecuted instantiation: vp9_rd.c:clip_pixel_highbd Unexecuted instantiation: vp9_segmentation.c:clip_pixel_highbd Unexecuted instantiation: vp9_speed_features.c:clip_pixel_highbd Unexecuted instantiation: vp9_svc_layercontext.c:clip_pixel_highbd Unexecuted instantiation: vp9_resize.c:clip_pixel_highbd Unexecuted instantiation: vp9_tokenize.c:clip_pixel_highbd Unexecuted instantiation: vp9_aq_variance.c:clip_pixel_highbd Unexecuted instantiation: vp9_aq_360.c:clip_pixel_highbd Unexecuted instantiation: vp9_aq_cyclicrefresh.c:clip_pixel_highbd Unexecuted instantiation: vp9_aq_complexity.c:clip_pixel_highbd Unexecuted instantiation: vp9_alt_ref_aq.c:clip_pixel_highbd Unexecuted instantiation: vp9_skin_detection.c:clip_pixel_highbd Unexecuted instantiation: vp9_noise_estimate.c:clip_pixel_highbd Unexecuted instantiation: vp9_ext_ratectrl.c:clip_pixel_highbd Unexecuted instantiation: vp9_temporal_filter.c:clip_pixel_highbd Unexecuted instantiation: vp9_tpl_model.c:clip_pixel_highbd Unexecuted instantiation: vp9_mbgraph.c:clip_pixel_highbd Unexecuted instantiation: yv12config.c:clip_pixel_highbd Unexecuted instantiation: yv12extend.c:clip_pixel_highbd Unexecuted instantiation: psnr.c:clip_pixel_highbd Unexecuted instantiation: fwd_txfm_sse2.c:clip_pixel_highbd Unexecuted instantiation: avg_intrin_sse2.c:clip_pixel_highbd Unexecuted instantiation: sad.c:clip_pixel_highbd Unexecuted instantiation: variance.c:clip_pixel_highbd Unexecuted instantiation: variance_sse2.c:clip_pixel_highbd Unexecuted instantiation: highbd_variance_sse2.c:clip_pixel_highbd Unexecuted instantiation: vpx_dsp_rtcd.c:clip_pixel_highbd Unexecuted instantiation: reconintra.c:clip_pixel_highbd Unexecuted instantiation: reconintra4x4.c:clip_pixel_highbd Unexecuted instantiation: postproc.c:clip_pixel_highbd Unexecuted instantiation: encodeframe.c:clip_pixel_highbd Unexecuted instantiation: encodeintra.c:clip_pixel_highbd Unexecuted instantiation: encodemb.c:clip_pixel_highbd Unexecuted instantiation: firstpass.c:clip_pixel_highbd Unexecuted instantiation: mcomp.c:clip_pixel_highbd Unexecuted instantiation: vp9_alloccommon.c:clip_pixel_highbd Unexecuted instantiation: vp9_blockd.c:clip_pixel_highbd Unexecuted instantiation: vp9_entropy.c:clip_pixel_highbd Unexecuted instantiation: vp9_entropymode.c:clip_pixel_highbd Unexecuted instantiation: vp9_entropymv.c:clip_pixel_highbd Unexecuted instantiation: vp9_idct.c:clip_pixel_highbd Unexecuted instantiation: vp9_rtcd.c:clip_pixel_highbd Unexecuted instantiation: vp9_scale.c:clip_pixel_highbd Unexecuted instantiation: vp9_seg_common.c:clip_pixel_highbd Unexecuted instantiation: vp9_tile_common.c:clip_pixel_highbd Unexecuted instantiation: vp9_loopfilter.c:clip_pixel_highbd Unexecuted instantiation: vp9_thread_common.c:clip_pixel_highbd Unexecuted instantiation: vp9_quant_common.c:clip_pixel_highbd Unexecuted instantiation: vp9_reconinter.c:clip_pixel_highbd Unexecuted instantiation: vp9_reconintra.c:clip_pixel_highbd Unexecuted instantiation: vp9_common_data.c:clip_pixel_highbd Unexecuted instantiation: vp9_scan.c:clip_pixel_highbd Unexecuted instantiation: vp9_idct_intrin_sse2.c:clip_pixel_highbd Unexecuted instantiation: vp9_highbd_iht4x4_add_sse4.c:clip_pixel_highbd Unexecuted instantiation: vp9_highbd_iht8x8_add_sse4.c:clip_pixel_highbd Unexecuted instantiation: vp9_highbd_iht16x16_add_sse4.c:clip_pixel_highbd Unexecuted instantiation: vp9_bitstream.c:clip_pixel_highbd Unexecuted instantiation: vp9_context_tree.c:clip_pixel_highbd Unexecuted instantiation: vp9_cost.c:clip_pixel_highbd Unexecuted instantiation: vp9_dct.c:clip_pixel_highbd Unexecuted instantiation: vp9_encodeframe.c:clip_pixel_highbd Unexecuted instantiation: vp9_encodemb.c:clip_pixel_highbd Unexecuted instantiation: vp9_encodemv.c:clip_pixel_highbd Unexecuted instantiation: vp9_ethread.c:clip_pixel_highbd Unexecuted instantiation: vp9_frame_scale.c:clip_pixel_highbd Unexecuted instantiation: vp9_lookahead.c:clip_pixel_highbd Unexecuted instantiation: vp9_multi_thread.c:clip_pixel_highbd Unexecuted instantiation: vp9_rdopt.c:clip_pixel_highbd Unexecuted instantiation: vp9_pickmode.c:clip_pixel_highbd Unexecuted instantiation: vp9_subexp.c:clip_pixel_highbd Unexecuted instantiation: vp9_treewriter.c:clip_pixel_highbd Unexecuted instantiation: temporal_filter_sse4.c:clip_pixel_highbd Unexecuted instantiation: vp9_quantize_sse2.c:clip_pixel_highbd Unexecuted instantiation: vp9_quantize_ssse3.c:clip_pixel_highbd Unexecuted instantiation: vp9_quantize_avx2.c:clip_pixel_highbd Unexecuted instantiation: vp9_highbd_block_error_intrin_sse2.c:clip_pixel_highbd Unexecuted instantiation: highbd_temporal_filter_sse4.c:clip_pixel_highbd Unexecuted instantiation: vp9_dct_intrin_sse2.c:clip_pixel_highbd Unexecuted instantiation: vp9_frame_scale_ssse3.c:clip_pixel_highbd Unexecuted instantiation: vp9_error_avx2.c:clip_pixel_highbd Unexecuted instantiation: prob.c:clip_pixel_highbd Unexecuted instantiation: bitwriter.c:clip_pixel_highbd Unexecuted instantiation: sse.c:clip_pixel_highbd Unexecuted instantiation: sse_sse4.c:clip_pixel_highbd Unexecuted instantiation: sse_avx2.c:clip_pixel_highbd Unexecuted instantiation: intrapred.c:clip_pixel_highbd Unexecuted instantiation: highbd_intrapred_intrin_sse2.c:clip_pixel_highbd Unexecuted instantiation: highbd_intrapred_intrin_ssse3.c:clip_pixel_highbd Unexecuted instantiation: add_noise.c:clip_pixel_highbd Unexecuted instantiation: post_proc_sse2.c:clip_pixel_highbd Unexecuted instantiation: vpx_convolve.c:clip_pixel_highbd Unexecuted instantiation: vpx_subpixel_4t_intrin_sse2.c:clip_pixel_highbd Unexecuted instantiation: vpx_subpixel_8t_intrin_avx2.c:clip_pixel_highbd Unexecuted instantiation: vpx_subpixel_8t_intrin_ssse3.c:clip_pixel_highbd Unexecuted instantiation: highbd_convolve_avx2.c:clip_pixel_highbd Unexecuted instantiation: loopfilter_sse2.c:clip_pixel_highbd Unexecuted instantiation: loopfilter_avx2.c:clip_pixel_highbd Unexecuted instantiation: highbd_loopfilter_sse2.c:clip_pixel_highbd Unexecuted instantiation: fwd_txfm.c:clip_pixel_highbd Unexecuted instantiation: inv_txfm.c:clip_pixel_highbd Unexecuted instantiation: inv_txfm_sse2.c:clip_pixel_highbd Unexecuted instantiation: inv_txfm_avx2.c:clip_pixel_highbd Unexecuted instantiation: inv_txfm_ssse3.c:clip_pixel_highbd Unexecuted instantiation: highbd_idct4x4_add_sse2.c:clip_pixel_highbd Unexecuted instantiation: highbd_idct8x8_add_sse2.c:clip_pixel_highbd Unexecuted instantiation: highbd_idct16x16_add_sse2.c:clip_pixel_highbd Unexecuted instantiation: highbd_idct32x32_add_sse2.c:clip_pixel_highbd Unexecuted instantiation: highbd_idct4x4_add_sse4.c:clip_pixel_highbd Unexecuted instantiation: highbd_idct8x8_add_sse4.c:clip_pixel_highbd Unexecuted instantiation: highbd_idct16x16_add_sse4.c:clip_pixel_highbd Unexecuted instantiation: highbd_idct32x32_add_sse4.c:clip_pixel_highbd Unexecuted instantiation: quantize.c:clip_pixel_highbd Unexecuted instantiation: quantize_sse2.c:clip_pixel_highbd Unexecuted instantiation: quantize_ssse3.c:clip_pixel_highbd Unexecuted instantiation: quantize_avx.c:clip_pixel_highbd Unexecuted instantiation: quantize_avx2.c:clip_pixel_highbd Unexecuted instantiation: highbd_quantize_intrin_sse2.c:clip_pixel_highbd Unexecuted instantiation: highbd_quantize_intrin_avx2.c:clip_pixel_highbd Unexecuted instantiation: avg.c:clip_pixel_highbd Unexecuted instantiation: avg_intrin_avx2.c:clip_pixel_highbd Unexecuted instantiation: subtract.c:clip_pixel_highbd Unexecuted instantiation: sum_squares_sse2.c:clip_pixel_highbd Unexecuted instantiation: sad4d_avx2.c:clip_pixel_highbd Unexecuted instantiation: sad_avx2.c:clip_pixel_highbd Unexecuted instantiation: subtract_avx2.c:clip_pixel_highbd Unexecuted instantiation: sad4d_avx512.c:clip_pixel_highbd Unexecuted instantiation: highbd_sad4d_avx2.c:clip_pixel_highbd Unexecuted instantiation: highbd_sad_avx2.c:clip_pixel_highbd Unexecuted instantiation: avg_pred_sse2.c:clip_pixel_highbd Unexecuted instantiation: avg_pred_avx2.c:clip_pixel_highbd Unexecuted instantiation: variance_avx2.c:clip_pixel_highbd Unexecuted instantiation: mfqe.c:clip_pixel_highbd Unexecuted instantiation: vp9_pred_common.c:clip_pixel_highbd Unexecuted instantiation: vp9_mvref_common.c:clip_pixel_highbd Unexecuted instantiation: vp9_extend.c:clip_pixel_highbd Unexecuted instantiation: deblock.c:clip_pixel_highbd |
86 | | |
87 | | // Returns the saturating cast of a double value to int. |
88 | 67.6k | static INLINE int saturate_cast_double_to_int(double d) { |
89 | 67.6k | if (d > INT_MAX) return INT_MAX; |
90 | 67.6k | return (int)d; |
91 | 67.6k | } Unexecuted instantiation: vp8_cx_iface.c:saturate_cast_double_to_int Unexecuted instantiation: onyx_if.c:saturate_cast_double_to_int Unexecuted instantiation: pickinter.c:saturate_cast_double_to_int Unexecuted instantiation: picklpf.c:saturate_cast_double_to_int Unexecuted instantiation: ratectrl.c:saturate_cast_double_to_int Unexecuted instantiation: rdopt.c:saturate_cast_double_to_int Unexecuted instantiation: vp8_skin_detection.c:saturate_cast_double_to_int Unexecuted instantiation: vp9_cx_iface.c:saturate_cast_double_to_int Unexecuted instantiation: vp9_firstpass.c:saturate_cast_double_to_int Unexecuted instantiation: vp9_mcomp.c:saturate_cast_double_to_int Unexecuted instantiation: vp9_encoder.c:saturate_cast_double_to_int Unexecuted instantiation: vp9_picklpf.c:saturate_cast_double_to_int Unexecuted instantiation: vp9_quantize.c:saturate_cast_double_to_int vp9_ratectrl.c:saturate_cast_double_to_int Line | Count | Source | 88 | 67.6k | static INLINE int saturate_cast_double_to_int(double d) { | 89 | 67.6k | if (d > INT_MAX) return INT_MAX; | 90 | 67.6k | return (int)d; | 91 | 67.6k | } |
Unexecuted instantiation: vp9_rd.c:saturate_cast_double_to_int Unexecuted instantiation: vp9_segmentation.c:saturate_cast_double_to_int Unexecuted instantiation: vp9_speed_features.c:saturate_cast_double_to_int Unexecuted instantiation: vp9_svc_layercontext.c:saturate_cast_double_to_int Unexecuted instantiation: vp9_resize.c:saturate_cast_double_to_int Unexecuted instantiation: vp9_tokenize.c:saturate_cast_double_to_int Unexecuted instantiation: vp9_aq_variance.c:saturate_cast_double_to_int Unexecuted instantiation: vp9_aq_360.c:saturate_cast_double_to_int Unexecuted instantiation: vp9_aq_cyclicrefresh.c:saturate_cast_double_to_int Unexecuted instantiation: vp9_aq_complexity.c:saturate_cast_double_to_int Unexecuted instantiation: vp9_alt_ref_aq.c:saturate_cast_double_to_int Unexecuted instantiation: vp9_skin_detection.c:saturate_cast_double_to_int Unexecuted instantiation: vp9_noise_estimate.c:saturate_cast_double_to_int Unexecuted instantiation: vp9_ext_ratectrl.c:saturate_cast_double_to_int Unexecuted instantiation: vp9_temporal_filter.c:saturate_cast_double_to_int Unexecuted instantiation: vp9_tpl_model.c:saturate_cast_double_to_int Unexecuted instantiation: vp9_mbgraph.c:saturate_cast_double_to_int Unexecuted instantiation: yv12config.c:saturate_cast_double_to_int Unexecuted instantiation: yv12extend.c:saturate_cast_double_to_int Unexecuted instantiation: psnr.c:saturate_cast_double_to_int Unexecuted instantiation: fwd_txfm_sse2.c:saturate_cast_double_to_int Unexecuted instantiation: avg_intrin_sse2.c:saturate_cast_double_to_int Unexecuted instantiation: sad.c:saturate_cast_double_to_int Unexecuted instantiation: variance.c:saturate_cast_double_to_int Unexecuted instantiation: variance_sse2.c:saturate_cast_double_to_int Unexecuted instantiation: highbd_variance_sse2.c:saturate_cast_double_to_int Unexecuted instantiation: vpx_dsp_rtcd.c:saturate_cast_double_to_int Unexecuted instantiation: reconintra.c:saturate_cast_double_to_int Unexecuted instantiation: reconintra4x4.c:saturate_cast_double_to_int Unexecuted instantiation: postproc.c:saturate_cast_double_to_int Unexecuted instantiation: encodeframe.c:saturate_cast_double_to_int Unexecuted instantiation: encodeintra.c:saturate_cast_double_to_int Unexecuted instantiation: encodemb.c:saturate_cast_double_to_int Unexecuted instantiation: firstpass.c:saturate_cast_double_to_int Unexecuted instantiation: mcomp.c:saturate_cast_double_to_int Unexecuted instantiation: vp9_alloccommon.c:saturate_cast_double_to_int Unexecuted instantiation: vp9_blockd.c:saturate_cast_double_to_int Unexecuted instantiation: vp9_entropy.c:saturate_cast_double_to_int Unexecuted instantiation: vp9_entropymode.c:saturate_cast_double_to_int Unexecuted instantiation: vp9_entropymv.c:saturate_cast_double_to_int Unexecuted instantiation: vp9_idct.c:saturate_cast_double_to_int Unexecuted instantiation: vp9_rtcd.c:saturate_cast_double_to_int Unexecuted instantiation: vp9_scale.c:saturate_cast_double_to_int Unexecuted instantiation: vp9_seg_common.c:saturate_cast_double_to_int Unexecuted instantiation: vp9_tile_common.c:saturate_cast_double_to_int Unexecuted instantiation: vp9_loopfilter.c:saturate_cast_double_to_int Unexecuted instantiation: vp9_thread_common.c:saturate_cast_double_to_int Unexecuted instantiation: vp9_quant_common.c:saturate_cast_double_to_int Unexecuted instantiation: vp9_reconinter.c:saturate_cast_double_to_int Unexecuted instantiation: vp9_reconintra.c:saturate_cast_double_to_int Unexecuted instantiation: vp9_common_data.c:saturate_cast_double_to_int Unexecuted instantiation: vp9_scan.c:saturate_cast_double_to_int Unexecuted instantiation: vp9_idct_intrin_sse2.c:saturate_cast_double_to_int Unexecuted instantiation: vp9_highbd_iht4x4_add_sse4.c:saturate_cast_double_to_int Unexecuted instantiation: vp9_highbd_iht8x8_add_sse4.c:saturate_cast_double_to_int Unexecuted instantiation: vp9_highbd_iht16x16_add_sse4.c:saturate_cast_double_to_int Unexecuted instantiation: vp9_bitstream.c:saturate_cast_double_to_int Unexecuted instantiation: vp9_context_tree.c:saturate_cast_double_to_int Unexecuted instantiation: vp9_cost.c:saturate_cast_double_to_int Unexecuted instantiation: vp9_dct.c:saturate_cast_double_to_int Unexecuted instantiation: vp9_encodeframe.c:saturate_cast_double_to_int Unexecuted instantiation: vp9_encodemb.c:saturate_cast_double_to_int Unexecuted instantiation: vp9_encodemv.c:saturate_cast_double_to_int Unexecuted instantiation: vp9_ethread.c:saturate_cast_double_to_int Unexecuted instantiation: vp9_frame_scale.c:saturate_cast_double_to_int Unexecuted instantiation: vp9_lookahead.c:saturate_cast_double_to_int Unexecuted instantiation: vp9_multi_thread.c:saturate_cast_double_to_int Unexecuted instantiation: vp9_rdopt.c:saturate_cast_double_to_int Unexecuted instantiation: vp9_pickmode.c:saturate_cast_double_to_int Unexecuted instantiation: vp9_subexp.c:saturate_cast_double_to_int Unexecuted instantiation: vp9_treewriter.c:saturate_cast_double_to_int Unexecuted instantiation: temporal_filter_sse4.c:saturate_cast_double_to_int Unexecuted instantiation: vp9_quantize_sse2.c:saturate_cast_double_to_int Unexecuted instantiation: vp9_quantize_ssse3.c:saturate_cast_double_to_int Unexecuted instantiation: vp9_quantize_avx2.c:saturate_cast_double_to_int Unexecuted instantiation: vp9_highbd_block_error_intrin_sse2.c:saturate_cast_double_to_int Unexecuted instantiation: highbd_temporal_filter_sse4.c:saturate_cast_double_to_int Unexecuted instantiation: vp9_dct_intrin_sse2.c:saturate_cast_double_to_int Unexecuted instantiation: vp9_frame_scale_ssse3.c:saturate_cast_double_to_int Unexecuted instantiation: vp9_error_avx2.c:saturate_cast_double_to_int Unexecuted instantiation: prob.c:saturate_cast_double_to_int Unexecuted instantiation: bitwriter.c:saturate_cast_double_to_int Unexecuted instantiation: sse.c:saturate_cast_double_to_int Unexecuted instantiation: sse_sse4.c:saturate_cast_double_to_int Unexecuted instantiation: sse_avx2.c:saturate_cast_double_to_int Unexecuted instantiation: intrapred.c:saturate_cast_double_to_int Unexecuted instantiation: highbd_intrapred_intrin_sse2.c:saturate_cast_double_to_int Unexecuted instantiation: highbd_intrapred_intrin_ssse3.c:saturate_cast_double_to_int Unexecuted instantiation: add_noise.c:saturate_cast_double_to_int Unexecuted instantiation: post_proc_sse2.c:saturate_cast_double_to_int Unexecuted instantiation: vpx_convolve.c:saturate_cast_double_to_int Unexecuted instantiation: vpx_subpixel_4t_intrin_sse2.c:saturate_cast_double_to_int Unexecuted instantiation: vpx_subpixel_8t_intrin_avx2.c:saturate_cast_double_to_int Unexecuted instantiation: vpx_subpixel_8t_intrin_ssse3.c:saturate_cast_double_to_int Unexecuted instantiation: highbd_convolve_avx2.c:saturate_cast_double_to_int Unexecuted instantiation: loopfilter_sse2.c:saturate_cast_double_to_int Unexecuted instantiation: loopfilter_avx2.c:saturate_cast_double_to_int Unexecuted instantiation: highbd_loopfilter_sse2.c:saturate_cast_double_to_int Unexecuted instantiation: fwd_txfm.c:saturate_cast_double_to_int Unexecuted instantiation: inv_txfm.c:saturate_cast_double_to_int Unexecuted instantiation: inv_txfm_sse2.c:saturate_cast_double_to_int Unexecuted instantiation: inv_txfm_avx2.c:saturate_cast_double_to_int Unexecuted instantiation: inv_txfm_ssse3.c:saturate_cast_double_to_int Unexecuted instantiation: highbd_idct4x4_add_sse2.c:saturate_cast_double_to_int Unexecuted instantiation: highbd_idct8x8_add_sse2.c:saturate_cast_double_to_int Unexecuted instantiation: highbd_idct16x16_add_sse2.c:saturate_cast_double_to_int Unexecuted instantiation: highbd_idct32x32_add_sse2.c:saturate_cast_double_to_int Unexecuted instantiation: highbd_idct4x4_add_sse4.c:saturate_cast_double_to_int Unexecuted instantiation: highbd_idct8x8_add_sse4.c:saturate_cast_double_to_int Unexecuted instantiation: highbd_idct16x16_add_sse4.c:saturate_cast_double_to_int Unexecuted instantiation: highbd_idct32x32_add_sse4.c:saturate_cast_double_to_int Unexecuted instantiation: quantize.c:saturate_cast_double_to_int Unexecuted instantiation: quantize_sse2.c:saturate_cast_double_to_int Unexecuted instantiation: quantize_ssse3.c:saturate_cast_double_to_int Unexecuted instantiation: quantize_avx.c:saturate_cast_double_to_int Unexecuted instantiation: quantize_avx2.c:saturate_cast_double_to_int Unexecuted instantiation: highbd_quantize_intrin_sse2.c:saturate_cast_double_to_int Unexecuted instantiation: highbd_quantize_intrin_avx2.c:saturate_cast_double_to_int Unexecuted instantiation: avg.c:saturate_cast_double_to_int Unexecuted instantiation: avg_intrin_avx2.c:saturate_cast_double_to_int Unexecuted instantiation: subtract.c:saturate_cast_double_to_int Unexecuted instantiation: sum_squares_sse2.c:saturate_cast_double_to_int Unexecuted instantiation: sad4d_avx2.c:saturate_cast_double_to_int Unexecuted instantiation: sad_avx2.c:saturate_cast_double_to_int Unexecuted instantiation: subtract_avx2.c:saturate_cast_double_to_int Unexecuted instantiation: sad4d_avx512.c:saturate_cast_double_to_int Unexecuted instantiation: highbd_sad4d_avx2.c:saturate_cast_double_to_int Unexecuted instantiation: highbd_sad_avx2.c:saturate_cast_double_to_int Unexecuted instantiation: avg_pred_sse2.c:saturate_cast_double_to_int Unexecuted instantiation: avg_pred_avx2.c:saturate_cast_double_to_int Unexecuted instantiation: variance_avx2.c:saturate_cast_double_to_int Unexecuted instantiation: mfqe.c:saturate_cast_double_to_int Unexecuted instantiation: vp9_pred_common.c:saturate_cast_double_to_int Unexecuted instantiation: vp9_mvref_common.c:saturate_cast_double_to_int Unexecuted instantiation: vp9_extend.c:saturate_cast_double_to_int Unexecuted instantiation: deblock.c:saturate_cast_double_to_int |
92 | | |
93 | | #ifdef __cplusplus |
94 | | } // extern "C" |
95 | | #endif |
96 | | |
97 | | #endif // VPX_VPX_DSP_VPX_DSP_COMMON_H_ |