/src/libvpx/vp9/common/vp9_blockd.h
Line | Count | Source (jump to first uncovered line) |
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_VP9_COMMON_VP9_BLOCKD_H_ |
12 | | #define VPX_VP9_COMMON_VP9_BLOCKD_H_ |
13 | | |
14 | | #include "./vpx_config.h" |
15 | | |
16 | | #include "vpx_dsp/vpx_dsp_common.h" |
17 | | #include "vpx_ports/mem.h" |
18 | | #include "vpx_scale/yv12config.h" |
19 | | |
20 | | #include "vp9/common/vp9_common_data.h" |
21 | | #include "vp9/common/vp9_entropy.h" |
22 | | #include "vp9/common/vp9_entropymode.h" |
23 | | #include "vp9/common/vp9_mv.h" |
24 | | #include "vp9/common/vp9_scale.h" |
25 | | #include "vp9/common/vp9_seg_common.h" |
26 | | #include "vp9/common/vp9_tile_common.h" |
27 | | |
28 | | #ifdef __cplusplus |
29 | | extern "C" { |
30 | | #endif |
31 | | |
32 | 1.40G | #define MAX_MB_PLANE 3 |
33 | | |
34 | | typedef enum { |
35 | | KEY_FRAME = 0, |
36 | | INTER_FRAME = 1, |
37 | | FRAME_TYPES, |
38 | | } FRAME_TYPE; |
39 | | |
40 | 0 | static INLINE int is_inter_mode(PREDICTION_MODE mode) { |
41 | 0 | return mode >= NEARESTMV && mode <= NEWMV; |
42 | 0 | } Unexecuted instantiation: vp9_cx_iface.c:is_inter_mode Unexecuted instantiation: vp9_firstpass.c:is_inter_mode Unexecuted instantiation: vp9_mcomp.c:is_inter_mode Unexecuted instantiation: vp9_encoder.c:is_inter_mode Unexecuted instantiation: vp9_picklpf.c:is_inter_mode Unexecuted instantiation: vp9_quantize.c:is_inter_mode Unexecuted instantiation: vp9_ratectrl.c:is_inter_mode Unexecuted instantiation: vp9_rd.c:is_inter_mode Unexecuted instantiation: vp9_segmentation.c:is_inter_mode Unexecuted instantiation: vp9_speed_features.c:is_inter_mode Unexecuted instantiation: vp9_svc_layercontext.c:is_inter_mode Unexecuted instantiation: vp9_tokenize.c:is_inter_mode Unexecuted instantiation: vp9_aq_variance.c:is_inter_mode Unexecuted instantiation: vp9_aq_360.c:is_inter_mode Unexecuted instantiation: vp9_aq_cyclicrefresh.c:is_inter_mode Unexecuted instantiation: vp9_aq_complexity.c:is_inter_mode Unexecuted instantiation: vp9_alt_ref_aq.c:is_inter_mode Unexecuted instantiation: vp9_skin_detection.c:is_inter_mode Unexecuted instantiation: vp9_noise_estimate.c:is_inter_mode Unexecuted instantiation: vp9_ext_ratectrl.c:is_inter_mode Unexecuted instantiation: vp9_temporal_filter.c:is_inter_mode Unexecuted instantiation: vp9_tpl_model.c:is_inter_mode Unexecuted instantiation: vp9_mbgraph.c:is_inter_mode Unexecuted instantiation: yv12config.c:is_inter_mode Unexecuted instantiation: vp9_alloccommon.c:is_inter_mode Unexecuted instantiation: vp9_blockd.c:is_inter_mode Unexecuted instantiation: vp9_entropy.c:is_inter_mode Unexecuted instantiation: vp9_entropymode.c:is_inter_mode Unexecuted instantiation: vp9_entropymv.c:is_inter_mode Unexecuted instantiation: vp9_idct.c:is_inter_mode Unexecuted instantiation: vp9_seg_common.c:is_inter_mode Unexecuted instantiation: vp9_tile_common.c:is_inter_mode Unexecuted instantiation: vp9_loopfilter.c:is_inter_mode Unexecuted instantiation: vp9_thread_common.c:is_inter_mode Unexecuted instantiation: vp9_reconinter.c:is_inter_mode Unexecuted instantiation: vp9_reconintra.c:is_inter_mode Unexecuted instantiation: vp9_scan.c:is_inter_mode Unexecuted instantiation: vp9_bitstream.c:is_inter_mode Unexecuted instantiation: vp9_context_tree.c:is_inter_mode Unexecuted instantiation: vp9_dct.c:is_inter_mode Unexecuted instantiation: vp9_encodeframe.c:is_inter_mode Unexecuted instantiation: vp9_encodemb.c:is_inter_mode Unexecuted instantiation: vp9_encodemv.c:is_inter_mode Unexecuted instantiation: vp9_ethread.c:is_inter_mode Unexecuted instantiation: vp9_frame_scale.c:is_inter_mode Unexecuted instantiation: vp9_lookahead.c:is_inter_mode Unexecuted instantiation: vp9_multi_thread.c:is_inter_mode Unexecuted instantiation: vp9_rdopt.c:is_inter_mode Unexecuted instantiation: vp9_pickmode.c:is_inter_mode Unexecuted instantiation: temporal_filter_sse4.c:is_inter_mode Unexecuted instantiation: vp9_quantize_sse2.c:is_inter_mode Unexecuted instantiation: vp9_quantize_ssse3.c:is_inter_mode Unexecuted instantiation: vp9_quantize_avx2.c:is_inter_mode Unexecuted instantiation: highbd_temporal_filter_sse4.c:is_inter_mode Unexecuted instantiation: quantize.c:is_inter_mode Unexecuted instantiation: quantize_sse2.c:is_inter_mode Unexecuted instantiation: quantize_ssse3.c:is_inter_mode Unexecuted instantiation: quantize_avx.c:is_inter_mode Unexecuted instantiation: quantize_avx2.c:is_inter_mode Unexecuted instantiation: highbd_quantize_intrin_sse2.c:is_inter_mode Unexecuted instantiation: highbd_quantize_intrin_avx2.c:is_inter_mode Unexecuted instantiation: vp9_pred_common.c:is_inter_mode Unexecuted instantiation: vp9_mvref_common.c:is_inter_mode |
43 | | |
44 | | /* For keyframes, intra block modes are predicted by the (already decoded) |
45 | | modes for the Y blocks to the left and above us; for interframes, there |
46 | | is a single probability table. */ |
47 | | |
48 | | typedef struct { |
49 | | PREDICTION_MODE as_mode; |
50 | | int_mv as_mv[2]; // first, second inter predictor motion vectors |
51 | | } b_mode_info; |
52 | | |
53 | | // Note that the rate-distortion optimization loop, bit-stream writer, and |
54 | | // decoder implementation modules critically rely on the defined entry values |
55 | | // specified herein. They should be refactored concurrently. |
56 | | |
57 | 120M | #define NO_REF_FRAME (-1) |
58 | 2.64G | #define INTRA_FRAME 0 |
59 | 243M | #define LAST_FRAME 1 |
60 | 48.4M | #define GOLDEN_FRAME 2 |
61 | 123M | #define ALTREF_FRAME 3 |
62 | 534M | #define MAX_REF_FRAMES 4 |
63 | 0 | #define MAX_INTER_REF_FRAMES 3 |
64 | | |
65 | | typedef int8_t MV_REFERENCE_FRAME; |
66 | | |
67 | | static INLINE int mv_ref_frame_to_inter_ref_idx( |
68 | 0 | MV_REFERENCE_FRAME mv_ref_frame) { |
69 | 0 | assert(mv_ref_frame >= LAST_FRAME && mv_ref_frame < MAX_REF_FRAMES); |
70 | 0 | return mv_ref_frame - 1; |
71 | 0 | } Unexecuted instantiation: vp9_cx_iface.c:mv_ref_frame_to_inter_ref_idx Unexecuted instantiation: vp9_firstpass.c:mv_ref_frame_to_inter_ref_idx Unexecuted instantiation: vp9_mcomp.c:mv_ref_frame_to_inter_ref_idx Unexecuted instantiation: vp9_encoder.c:mv_ref_frame_to_inter_ref_idx Unexecuted instantiation: vp9_picklpf.c:mv_ref_frame_to_inter_ref_idx Unexecuted instantiation: vp9_quantize.c:mv_ref_frame_to_inter_ref_idx Unexecuted instantiation: vp9_ratectrl.c:mv_ref_frame_to_inter_ref_idx Unexecuted instantiation: vp9_rd.c:mv_ref_frame_to_inter_ref_idx Unexecuted instantiation: vp9_segmentation.c:mv_ref_frame_to_inter_ref_idx Unexecuted instantiation: vp9_speed_features.c:mv_ref_frame_to_inter_ref_idx Unexecuted instantiation: vp9_svc_layercontext.c:mv_ref_frame_to_inter_ref_idx Unexecuted instantiation: vp9_tokenize.c:mv_ref_frame_to_inter_ref_idx Unexecuted instantiation: vp9_aq_variance.c:mv_ref_frame_to_inter_ref_idx Unexecuted instantiation: vp9_aq_360.c:mv_ref_frame_to_inter_ref_idx Unexecuted instantiation: vp9_aq_cyclicrefresh.c:mv_ref_frame_to_inter_ref_idx Unexecuted instantiation: vp9_aq_complexity.c:mv_ref_frame_to_inter_ref_idx Unexecuted instantiation: vp9_alt_ref_aq.c:mv_ref_frame_to_inter_ref_idx Unexecuted instantiation: vp9_skin_detection.c:mv_ref_frame_to_inter_ref_idx Unexecuted instantiation: vp9_noise_estimate.c:mv_ref_frame_to_inter_ref_idx Unexecuted instantiation: vp9_ext_ratectrl.c:mv_ref_frame_to_inter_ref_idx Unexecuted instantiation: vp9_temporal_filter.c:mv_ref_frame_to_inter_ref_idx Unexecuted instantiation: vp9_tpl_model.c:mv_ref_frame_to_inter_ref_idx Unexecuted instantiation: vp9_mbgraph.c:mv_ref_frame_to_inter_ref_idx Unexecuted instantiation: yv12config.c:mv_ref_frame_to_inter_ref_idx Unexecuted instantiation: vp9_alloccommon.c:mv_ref_frame_to_inter_ref_idx Unexecuted instantiation: vp9_blockd.c:mv_ref_frame_to_inter_ref_idx Unexecuted instantiation: vp9_entropy.c:mv_ref_frame_to_inter_ref_idx Unexecuted instantiation: vp9_entropymode.c:mv_ref_frame_to_inter_ref_idx Unexecuted instantiation: vp9_entropymv.c:mv_ref_frame_to_inter_ref_idx Unexecuted instantiation: vp9_idct.c:mv_ref_frame_to_inter_ref_idx Unexecuted instantiation: vp9_seg_common.c:mv_ref_frame_to_inter_ref_idx Unexecuted instantiation: vp9_tile_common.c:mv_ref_frame_to_inter_ref_idx Unexecuted instantiation: vp9_loopfilter.c:mv_ref_frame_to_inter_ref_idx Unexecuted instantiation: vp9_thread_common.c:mv_ref_frame_to_inter_ref_idx Unexecuted instantiation: vp9_reconinter.c:mv_ref_frame_to_inter_ref_idx Unexecuted instantiation: vp9_reconintra.c:mv_ref_frame_to_inter_ref_idx Unexecuted instantiation: vp9_scan.c:mv_ref_frame_to_inter_ref_idx Unexecuted instantiation: vp9_bitstream.c:mv_ref_frame_to_inter_ref_idx Unexecuted instantiation: vp9_context_tree.c:mv_ref_frame_to_inter_ref_idx Unexecuted instantiation: vp9_dct.c:mv_ref_frame_to_inter_ref_idx Unexecuted instantiation: vp9_encodeframe.c:mv_ref_frame_to_inter_ref_idx Unexecuted instantiation: vp9_encodemb.c:mv_ref_frame_to_inter_ref_idx Unexecuted instantiation: vp9_encodemv.c:mv_ref_frame_to_inter_ref_idx Unexecuted instantiation: vp9_ethread.c:mv_ref_frame_to_inter_ref_idx Unexecuted instantiation: vp9_frame_scale.c:mv_ref_frame_to_inter_ref_idx Unexecuted instantiation: vp9_lookahead.c:mv_ref_frame_to_inter_ref_idx Unexecuted instantiation: vp9_multi_thread.c:mv_ref_frame_to_inter_ref_idx Unexecuted instantiation: vp9_rdopt.c:mv_ref_frame_to_inter_ref_idx Unexecuted instantiation: vp9_pickmode.c:mv_ref_frame_to_inter_ref_idx Unexecuted instantiation: temporal_filter_sse4.c:mv_ref_frame_to_inter_ref_idx Unexecuted instantiation: vp9_quantize_sse2.c:mv_ref_frame_to_inter_ref_idx Unexecuted instantiation: vp9_quantize_ssse3.c:mv_ref_frame_to_inter_ref_idx Unexecuted instantiation: vp9_quantize_avx2.c:mv_ref_frame_to_inter_ref_idx Unexecuted instantiation: highbd_temporal_filter_sse4.c:mv_ref_frame_to_inter_ref_idx Unexecuted instantiation: quantize.c:mv_ref_frame_to_inter_ref_idx Unexecuted instantiation: quantize_sse2.c:mv_ref_frame_to_inter_ref_idx Unexecuted instantiation: quantize_ssse3.c:mv_ref_frame_to_inter_ref_idx Unexecuted instantiation: quantize_avx.c:mv_ref_frame_to_inter_ref_idx Unexecuted instantiation: quantize_avx2.c:mv_ref_frame_to_inter_ref_idx Unexecuted instantiation: highbd_quantize_intrin_sse2.c:mv_ref_frame_to_inter_ref_idx Unexecuted instantiation: highbd_quantize_intrin_avx2.c:mv_ref_frame_to_inter_ref_idx Unexecuted instantiation: vp9_pred_common.c:mv_ref_frame_to_inter_ref_idx Unexecuted instantiation: vp9_mvref_common.c:mv_ref_frame_to_inter_ref_idx |
72 | | |
73 | | // This structure now relates to 8x8 block regions. |
74 | | typedef struct MODE_INFO { |
75 | | // Common for both INTER and INTRA blocks |
76 | | BLOCK_SIZE sb_type; |
77 | | PREDICTION_MODE mode; |
78 | | TX_SIZE tx_size; |
79 | | int8_t skip; |
80 | | int8_t segment_id; |
81 | | int8_t seg_id_predicted; // valid only when temporal_update is enabled |
82 | | |
83 | | // Only for INTRA blocks |
84 | | PREDICTION_MODE uv_mode; |
85 | | |
86 | | // Only for INTER blocks |
87 | | INTERP_FILTER interp_filter; |
88 | | |
89 | | // if ref_frame[idx] is equal to ALTREF_FRAME then |
90 | | // MACROBLOCKD::block_ref[idx] is an altref |
91 | | MV_REFERENCE_FRAME ref_frame[2]; |
92 | | |
93 | | // TODO(slavarnway): Delete and use bmi[3].as_mv[] instead. |
94 | | int_mv mv[2]; |
95 | | |
96 | | b_mode_info bmi[4]; |
97 | | } MODE_INFO; |
98 | | |
99 | 291M | static INLINE PREDICTION_MODE get_y_mode(const MODE_INFO *mi, int block) { |
100 | 291M | return mi->sb_type < BLOCK_8X8 ? mi->bmi[block].as_mode : mi->mode; |
101 | 291M | } Unexecuted instantiation: vp9_cx_iface.c:get_y_mode Unexecuted instantiation: vp9_firstpass.c:get_y_mode Unexecuted instantiation: vp9_mcomp.c:get_y_mode Unexecuted instantiation: vp9_encoder.c:get_y_mode Unexecuted instantiation: vp9_picklpf.c:get_y_mode Unexecuted instantiation: vp9_quantize.c:get_y_mode Unexecuted instantiation: vp9_ratectrl.c:get_y_mode Unexecuted instantiation: vp9_rd.c:get_y_mode Unexecuted instantiation: vp9_segmentation.c:get_y_mode Unexecuted instantiation: vp9_speed_features.c:get_y_mode Unexecuted instantiation: vp9_svc_layercontext.c:get_y_mode vp9_tokenize.c:get_y_mode Line | Count | Source | 99 | 3.73M | static INLINE PREDICTION_MODE get_y_mode(const MODE_INFO *mi, int block) { | 100 | 3.73M | return mi->sb_type < BLOCK_8X8 ? mi->bmi[block].as_mode : mi->mode; | 101 | 3.73M | } |
Unexecuted instantiation: vp9_aq_variance.c:get_y_mode Unexecuted instantiation: vp9_aq_360.c:get_y_mode Unexecuted instantiation: vp9_aq_cyclicrefresh.c:get_y_mode Unexecuted instantiation: vp9_aq_complexity.c:get_y_mode Unexecuted instantiation: vp9_alt_ref_aq.c:get_y_mode Unexecuted instantiation: vp9_skin_detection.c:get_y_mode Unexecuted instantiation: vp9_noise_estimate.c:get_y_mode Unexecuted instantiation: vp9_ext_ratectrl.c:get_y_mode Unexecuted instantiation: vp9_temporal_filter.c:get_y_mode Unexecuted instantiation: vp9_tpl_model.c:get_y_mode Unexecuted instantiation: vp9_mbgraph.c:get_y_mode Unexecuted instantiation: yv12config.c:get_y_mode Unexecuted instantiation: vp9_alloccommon.c:get_y_mode Line | Count | Source | 99 | 7.61M | static INLINE PREDICTION_MODE get_y_mode(const MODE_INFO *mi, int block) { | 100 | 7.61M | return mi->sb_type < BLOCK_8X8 ? mi->bmi[block].as_mode : mi->mode; | 101 | 7.61M | } |
Unexecuted instantiation: vp9_entropy.c:get_y_mode Unexecuted instantiation: vp9_entropymode.c:get_y_mode Unexecuted instantiation: vp9_entropymv.c:get_y_mode Unexecuted instantiation: vp9_idct.c:get_y_mode Unexecuted instantiation: vp9_seg_common.c:get_y_mode Unexecuted instantiation: vp9_tile_common.c:get_y_mode Unexecuted instantiation: vp9_loopfilter.c:get_y_mode Unexecuted instantiation: vp9_thread_common.c:get_y_mode Unexecuted instantiation: vp9_reconinter.c:get_y_mode Unexecuted instantiation: vp9_reconintra.c:get_y_mode Unexecuted instantiation: vp9_scan.c:get_y_mode Unexecuted instantiation: vp9_bitstream.c:get_y_mode Unexecuted instantiation: vp9_context_tree.c:get_y_mode Unexecuted instantiation: vp9_dct.c:get_y_mode Unexecuted instantiation: vp9_encodeframe.c:get_y_mode vp9_encodemb.c:get_y_mode Line | Count | Source | 99 | 106M | static INLINE PREDICTION_MODE get_y_mode(const MODE_INFO *mi, int block) { | 100 | 106M | return mi->sb_type < BLOCK_8X8 ? mi->bmi[block].as_mode : mi->mode; | 101 | 106M | } |
Unexecuted instantiation: vp9_encodemv.c:get_y_mode Unexecuted instantiation: vp9_ethread.c:get_y_mode Unexecuted instantiation: vp9_frame_scale.c:get_y_mode Unexecuted instantiation: vp9_lookahead.c:get_y_mode Unexecuted instantiation: vp9_multi_thread.c:get_y_mode Line | Count | Source | 99 | 174M | static INLINE PREDICTION_MODE get_y_mode(const MODE_INFO *mi, int block) { | 100 | 174M | return mi->sb_type < BLOCK_8X8 ? mi->bmi[block].as_mode : mi->mode; | 101 | 174M | } |
Unexecuted instantiation: vp9_pickmode.c:get_y_mode Unexecuted instantiation: temporal_filter_sse4.c:get_y_mode Unexecuted instantiation: vp9_quantize_sse2.c:get_y_mode Unexecuted instantiation: vp9_quantize_ssse3.c:get_y_mode Unexecuted instantiation: vp9_quantize_avx2.c:get_y_mode Unexecuted instantiation: highbd_temporal_filter_sse4.c:get_y_mode Unexecuted instantiation: quantize.c:get_y_mode Unexecuted instantiation: quantize_sse2.c:get_y_mode Unexecuted instantiation: quantize_ssse3.c:get_y_mode Unexecuted instantiation: quantize_avx.c:get_y_mode Unexecuted instantiation: quantize_avx2.c:get_y_mode Unexecuted instantiation: highbd_quantize_intrin_sse2.c:get_y_mode Unexecuted instantiation: highbd_quantize_intrin_avx2.c:get_y_mode Unexecuted instantiation: vp9_pred_common.c:get_y_mode Unexecuted instantiation: vp9_mvref_common.c:get_y_mode |
102 | | |
103 | 1.64G | static INLINE int is_inter_block(const MODE_INFO *mi) { |
104 | 1.64G | return mi->ref_frame[0] > INTRA_FRAME; |
105 | 1.64G | } Unexecuted instantiation: vp9_cx_iface.c:is_inter_block Unexecuted instantiation: vp9_firstpass.c:is_inter_block Unexecuted instantiation: vp9_mcomp.c:is_inter_block Unexecuted instantiation: vp9_encoder.c:is_inter_block Unexecuted instantiation: vp9_picklpf.c:is_inter_block Unexecuted instantiation: vp9_quantize.c:is_inter_block Unexecuted instantiation: vp9_ratectrl.c:is_inter_block Unexecuted instantiation: vp9_rd.c:is_inter_block Unexecuted instantiation: vp9_segmentation.c:is_inter_block Unexecuted instantiation: vp9_speed_features.c:is_inter_block Unexecuted instantiation: vp9_svc_layercontext.c:is_inter_block vp9_tokenize.c:is_inter_block Line | Count | Source | 103 | 19.8M | static INLINE int is_inter_block(const MODE_INFO *mi) { | 104 | 19.8M | return mi->ref_frame[0] > INTRA_FRAME; | 105 | 19.8M | } |
Unexecuted instantiation: vp9_aq_variance.c:is_inter_block Unexecuted instantiation: vp9_aq_360.c:is_inter_block Unexecuted instantiation: vp9_aq_cyclicrefresh.c:is_inter_block Unexecuted instantiation: vp9_aq_complexity.c:is_inter_block Unexecuted instantiation: vp9_alt_ref_aq.c:is_inter_block Unexecuted instantiation: vp9_skin_detection.c:is_inter_block Unexecuted instantiation: vp9_noise_estimate.c:is_inter_block Unexecuted instantiation: vp9_ext_ratectrl.c:is_inter_block Unexecuted instantiation: vp9_temporal_filter.c:is_inter_block Unexecuted instantiation: vp9_tpl_model.c:is_inter_block Unexecuted instantiation: vp9_mbgraph.c:is_inter_block Unexecuted instantiation: yv12config.c:is_inter_block Unexecuted instantiation: vp9_alloccommon.c:is_inter_block vp9_blockd.c:is_inter_block Line | Count | Source | 103 | 7.61M | static INLINE int is_inter_block(const MODE_INFO *mi) { | 104 | 7.61M | return mi->ref_frame[0] > INTRA_FRAME; | 105 | 7.61M | } |
Unexecuted instantiation: vp9_entropy.c:is_inter_block Unexecuted instantiation: vp9_entropymode.c:is_inter_block Unexecuted instantiation: vp9_entropymv.c:is_inter_block Unexecuted instantiation: vp9_idct.c:is_inter_block Unexecuted instantiation: vp9_seg_common.c:is_inter_block Unexecuted instantiation: vp9_tile_common.c:is_inter_block vp9_loopfilter.c:is_inter_block Line | Count | Source | 103 | 1.44M | static INLINE int is_inter_block(const MODE_INFO *mi) { | 104 | 1.44M | return mi->ref_frame[0] > INTRA_FRAME; | 105 | 1.44M | } |
Unexecuted instantiation: vp9_thread_common.c:is_inter_block Unexecuted instantiation: vp9_reconinter.c:is_inter_block Unexecuted instantiation: vp9_reconintra.c:is_inter_block Unexecuted instantiation: vp9_scan.c:is_inter_block vp9_bitstream.c:is_inter_block Line | Count | Source | 103 | 3.78M | static INLINE int is_inter_block(const MODE_INFO *mi) { | 104 | 3.78M | return mi->ref_frame[0] > INTRA_FRAME; | 105 | 3.78M | } |
Unexecuted instantiation: vp9_context_tree.c:is_inter_block Unexecuted instantiation: vp9_dct.c:is_inter_block vp9_encodeframe.c:is_inter_block Line | Count | Source | 103 | 30.4M | static INLINE int is_inter_block(const MODE_INFO *mi) { | 104 | 30.4M | return mi->ref_frame[0] > INTRA_FRAME; | 105 | 30.4M | } |
vp9_encodemb.c:is_inter_block Line | Count | Source | 103 | 121M | static INLINE int is_inter_block(const MODE_INFO *mi) { | 104 | 121M | return mi->ref_frame[0] > INTRA_FRAME; | 105 | 121M | } |
Unexecuted instantiation: vp9_encodemv.c:is_inter_block Unexecuted instantiation: vp9_ethread.c:is_inter_block Unexecuted instantiation: vp9_frame_scale.c:is_inter_block Unexecuted instantiation: vp9_lookahead.c:is_inter_block Unexecuted instantiation: vp9_multi_thread.c:is_inter_block vp9_rdopt.c:is_inter_block Line | Count | Source | 103 | 1.31G | static INLINE int is_inter_block(const MODE_INFO *mi) { | 104 | 1.31G | return mi->ref_frame[0] > INTRA_FRAME; | 105 | 1.31G | } |
Unexecuted instantiation: vp9_pickmode.c:is_inter_block Unexecuted instantiation: temporal_filter_sse4.c:is_inter_block Unexecuted instantiation: vp9_quantize_sse2.c:is_inter_block Unexecuted instantiation: vp9_quantize_ssse3.c:is_inter_block Unexecuted instantiation: vp9_quantize_avx2.c:is_inter_block Unexecuted instantiation: highbd_temporal_filter_sse4.c:is_inter_block Unexecuted instantiation: quantize.c:is_inter_block Unexecuted instantiation: quantize_sse2.c:is_inter_block Unexecuted instantiation: quantize_ssse3.c:is_inter_block Unexecuted instantiation: quantize_avx.c:is_inter_block Unexecuted instantiation: quantize_avx2.c:is_inter_block Unexecuted instantiation: highbd_quantize_intrin_sse2.c:is_inter_block Unexecuted instantiation: highbd_quantize_intrin_avx2.c:is_inter_block vp9_pred_common.c:is_inter_block Line | Count | Source | 103 | 22.4M | static INLINE int is_inter_block(const MODE_INFO *mi) { | 104 | 22.4M | return mi->ref_frame[0] > INTRA_FRAME; | 105 | 22.4M | } |
vp9_mvref_common.c:is_inter_block Line | Count | Source | 103 | 123M | static INLINE int is_inter_block(const MODE_INFO *mi) { | 104 | 123M | return mi->ref_frame[0] > INTRA_FRAME; | 105 | 123M | } |
|
106 | | |
107 | 354M | static INLINE int has_second_ref(const MODE_INFO *mi) { |
108 | 354M | return mi->ref_frame[1] > INTRA_FRAME; |
109 | 354M | } Unexecuted instantiation: vp9_cx_iface.c:has_second_ref Unexecuted instantiation: vp9_firstpass.c:has_second_ref Unexecuted instantiation: vp9_mcomp.c:has_second_ref Unexecuted instantiation: vp9_encoder.c:has_second_ref Unexecuted instantiation: vp9_picklpf.c:has_second_ref Unexecuted instantiation: vp9_quantize.c:has_second_ref Unexecuted instantiation: vp9_ratectrl.c:has_second_ref Unexecuted instantiation: vp9_rd.c:has_second_ref Unexecuted instantiation: vp9_segmentation.c:has_second_ref Unexecuted instantiation: vp9_speed_features.c:has_second_ref Unexecuted instantiation: vp9_svc_layercontext.c:has_second_ref Unexecuted instantiation: vp9_tokenize.c:has_second_ref Unexecuted instantiation: vp9_aq_variance.c:has_second_ref Unexecuted instantiation: vp9_aq_360.c:has_second_ref Unexecuted instantiation: vp9_aq_cyclicrefresh.c:has_second_ref Unexecuted instantiation: vp9_aq_complexity.c:has_second_ref Unexecuted instantiation: vp9_alt_ref_aq.c:has_second_ref Unexecuted instantiation: vp9_skin_detection.c:has_second_ref Unexecuted instantiation: vp9_noise_estimate.c:has_second_ref Unexecuted instantiation: vp9_ext_ratectrl.c:has_second_ref Unexecuted instantiation: vp9_temporal_filter.c:has_second_ref Unexecuted instantiation: vp9_tpl_model.c:has_second_ref Unexecuted instantiation: vp9_mbgraph.c:has_second_ref Unexecuted instantiation: yv12config.c:has_second_ref Unexecuted instantiation: vp9_alloccommon.c:has_second_ref Unexecuted instantiation: vp9_blockd.c:has_second_ref Unexecuted instantiation: vp9_entropy.c:has_second_ref Unexecuted instantiation: vp9_entropymode.c:has_second_ref Unexecuted instantiation: vp9_entropymv.c:has_second_ref Unexecuted instantiation: vp9_idct.c:has_second_ref Unexecuted instantiation: vp9_seg_common.c:has_second_ref Unexecuted instantiation: vp9_tile_common.c:has_second_ref Unexecuted instantiation: vp9_loopfilter.c:has_second_ref Unexecuted instantiation: vp9_thread_common.c:has_second_ref vp9_reconinter.c:has_second_ref Line | Count | Source | 107 | 104M | static INLINE int has_second_ref(const MODE_INFO *mi) { | 108 | 104M | return mi->ref_frame[1] > INTRA_FRAME; | 109 | 104M | } |
Unexecuted instantiation: vp9_reconintra.c:has_second_ref Unexecuted instantiation: vp9_scan.c:has_second_ref vp9_bitstream.c:has_second_ref Line | Count | Source | 107 | 1.97M | static INLINE int has_second_ref(const MODE_INFO *mi) { | 108 | 1.97M | return mi->ref_frame[1] > INTRA_FRAME; | 109 | 1.97M | } |
Unexecuted instantiation: vp9_context_tree.c:has_second_ref Unexecuted instantiation: vp9_dct.c:has_second_ref vp9_encodeframe.c:has_second_ref Line | Count | Source | 107 | 2.87M | static INLINE int has_second_ref(const MODE_INFO *mi) { | 108 | 2.87M | return mi->ref_frame[1] > INTRA_FRAME; | 109 | 2.87M | } |
Unexecuted instantiation: vp9_encodemb.c:has_second_ref vp9_encodemv.c:has_second_ref Line | Count | Source | 107 | 501k | static INLINE int has_second_ref(const MODE_INFO *mi) { | 108 | 501k | return mi->ref_frame[1] > INTRA_FRAME; | 109 | 501k | } |
Unexecuted instantiation: vp9_ethread.c:has_second_ref Unexecuted instantiation: vp9_frame_scale.c:has_second_ref Unexecuted instantiation: vp9_lookahead.c:has_second_ref Unexecuted instantiation: vp9_multi_thread.c:has_second_ref vp9_rdopt.c:has_second_ref Line | Count | Source | 107 | 208M | static INLINE int has_second_ref(const MODE_INFO *mi) { | 108 | 208M | return mi->ref_frame[1] > INTRA_FRAME; | 109 | 208M | } |
Unexecuted instantiation: vp9_pickmode.c:has_second_ref Unexecuted instantiation: temporal_filter_sse4.c:has_second_ref Unexecuted instantiation: vp9_quantize_sse2.c:has_second_ref Unexecuted instantiation: vp9_quantize_ssse3.c:has_second_ref Unexecuted instantiation: vp9_quantize_avx2.c:has_second_ref Unexecuted instantiation: highbd_temporal_filter_sse4.c:has_second_ref Unexecuted instantiation: quantize.c:has_second_ref Unexecuted instantiation: quantize_sse2.c:has_second_ref Unexecuted instantiation: quantize_ssse3.c:has_second_ref Unexecuted instantiation: quantize_avx.c:has_second_ref Unexecuted instantiation: quantize_avx2.c:has_second_ref Unexecuted instantiation: highbd_quantize_intrin_sse2.c:has_second_ref Unexecuted instantiation: highbd_quantize_intrin_avx2.c:has_second_ref vp9_pred_common.c:has_second_ref Line | Count | Source | 107 | 10.7M | static INLINE int has_second_ref(const MODE_INFO *mi) { | 108 | 10.7M | return mi->ref_frame[1] > INTRA_FRAME; | 109 | 10.7M | } |
vp9_mvref_common.c:has_second_ref Line | Count | Source | 107 | 25.7M | static INLINE int has_second_ref(const MODE_INFO *mi) { | 108 | 25.7M | return mi->ref_frame[1] > INTRA_FRAME; | 109 | 25.7M | } |
|
110 | | |
111 | | PREDICTION_MODE vp9_left_block_mode(const MODE_INFO *cur_mi, |
112 | | const MODE_INFO *left_mi, int b); |
113 | | |
114 | | PREDICTION_MODE vp9_above_block_mode(const MODE_INFO *cur_mi, |
115 | | const MODE_INFO *above_mi, int b); |
116 | | |
117 | | enum mv_precision { MV_PRECISION_Q3, MV_PRECISION_Q4 }; |
118 | | |
119 | | struct buf_2d { |
120 | | uint8_t *buf; |
121 | | int stride; |
122 | | }; |
123 | | |
124 | | struct macroblockd_plane { |
125 | | tran_low_t *dqcoeff; |
126 | | int subsampling_x; |
127 | | int subsampling_y; |
128 | | struct buf_2d dst; |
129 | | struct buf_2d pre[2]; |
130 | | ENTROPY_CONTEXT *above_context; |
131 | | ENTROPY_CONTEXT *left_context; |
132 | | int16_t seg_dequant[MAX_SEGMENTS][2]; |
133 | | |
134 | | // number of 4x4s in current block |
135 | | uint16_t n4_w, n4_h; |
136 | | // log2 of n4_w, n4_h |
137 | | uint8_t n4_wl, n4_hl; |
138 | | |
139 | | // encoder |
140 | | const int16_t *dequant; |
141 | | |
142 | | int *eob; |
143 | | }; |
144 | | |
145 | 3.10G | #define BLOCK_OFFSET(x, i) ((x) + (i)*16) |
146 | | |
147 | | typedef struct RefBuffer { |
148 | | // TODO(dkovalev): idx is not really required and should be removed, now it |
149 | | // is used in vp9_onyxd_if.c |
150 | | int idx; |
151 | | YV12_BUFFER_CONFIG *buf; |
152 | | struct scale_factors sf; |
153 | | } RefBuffer; |
154 | | |
155 | | typedef struct macroblockd { |
156 | | struct macroblockd_plane plane[MAX_MB_PLANE]; |
157 | | uint8_t bmode_blocks_wl; |
158 | | uint8_t bmode_blocks_hl; |
159 | | |
160 | | FRAME_COUNTS *counts; |
161 | | TileInfo tile; |
162 | | |
163 | | int mi_stride; |
164 | | |
165 | | // Grid of 8x8 cells is placed over the block. |
166 | | // If some of them belong to the same mbtree-block |
167 | | // they will just have same mi[i][j] value |
168 | | MODE_INFO **mi; |
169 | | MODE_INFO *left_mi; |
170 | | MODE_INFO *above_mi; |
171 | | |
172 | | unsigned int max_blocks_wide; |
173 | | unsigned int max_blocks_high; |
174 | | |
175 | | const vpx_prob (*partition_probs)[PARTITION_TYPES - 1]; |
176 | | |
177 | | /* Distance of MB away from frame edges */ |
178 | | int mb_to_left_edge; |
179 | | int mb_to_right_edge; |
180 | | int mb_to_top_edge; |
181 | | int mb_to_bottom_edge; |
182 | | |
183 | | FRAME_CONTEXT *fc; |
184 | | |
185 | | /* pointers to reference frames */ |
186 | | const RefBuffer *block_refs[2]; |
187 | | |
188 | | /* pointer to current frame */ |
189 | | const YV12_BUFFER_CONFIG *cur_buf; |
190 | | |
191 | | ENTROPY_CONTEXT *above_context[MAX_MB_PLANE]; |
192 | | ENTROPY_CONTEXT left_context[MAX_MB_PLANE][16]; |
193 | | |
194 | | PARTITION_CONTEXT *above_seg_context; |
195 | | PARTITION_CONTEXT left_seg_context[8]; |
196 | | |
197 | | #if CONFIG_VP9_HIGHBITDEPTH |
198 | | /* Bit depth: 8, 10, 12 */ |
199 | | int bd; |
200 | | #endif |
201 | | |
202 | | int lossless; |
203 | | int corrupted; |
204 | | |
205 | | struct vpx_internal_error_info *error_info; |
206 | | |
207 | | PARTITION_TYPE *partition; |
208 | | } MACROBLOCKD; |
209 | | |
210 | 1.05G | static INLINE PLANE_TYPE get_plane_type(int plane) { |
211 | 1.05G | return (PLANE_TYPE)(plane > 0); |
212 | 1.05G | } Unexecuted instantiation: vp9_cx_iface.c:get_plane_type Unexecuted instantiation: vp9_firstpass.c:get_plane_type Unexecuted instantiation: vp9_mcomp.c:get_plane_type vp9_encoder.c:get_plane_type Line | Count | Source | 210 | 77.0k | static INLINE PLANE_TYPE get_plane_type(int plane) { | 211 | 77.0k | return (PLANE_TYPE)(plane > 0); | 212 | 77.0k | } |
Unexecuted instantiation: vp9_picklpf.c:get_plane_type Unexecuted instantiation: vp9_quantize.c:get_plane_type Unexecuted instantiation: vp9_ratectrl.c:get_plane_type Unexecuted instantiation: vp9_rd.c:get_plane_type Unexecuted instantiation: vp9_segmentation.c:get_plane_type Unexecuted instantiation: vp9_speed_features.c:get_plane_type Unexecuted instantiation: vp9_svc_layercontext.c:get_plane_type vp9_tokenize.c:get_plane_type Line | Count | Source | 210 | 9.90M | static INLINE PLANE_TYPE get_plane_type(int plane) { | 211 | 9.90M | return (PLANE_TYPE)(plane > 0); | 212 | 9.90M | } |
Unexecuted instantiation: vp9_aq_variance.c:get_plane_type Unexecuted instantiation: vp9_aq_360.c:get_plane_type Unexecuted instantiation: vp9_aq_cyclicrefresh.c:get_plane_type Unexecuted instantiation: vp9_aq_complexity.c:get_plane_type Unexecuted instantiation: vp9_alt_ref_aq.c:get_plane_type Unexecuted instantiation: vp9_skin_detection.c:get_plane_type Unexecuted instantiation: vp9_noise_estimate.c:get_plane_type Unexecuted instantiation: vp9_ext_ratectrl.c:get_plane_type Unexecuted instantiation: vp9_temporal_filter.c:get_plane_type Unexecuted instantiation: vp9_tpl_model.c:get_plane_type Unexecuted instantiation: vp9_mbgraph.c:get_plane_type Unexecuted instantiation: yv12config.c:get_plane_type Unexecuted instantiation: vp9_alloccommon.c:get_plane_type Unexecuted instantiation: vp9_blockd.c:get_plane_type Unexecuted instantiation: vp9_entropy.c:get_plane_type Unexecuted instantiation: vp9_entropymode.c:get_plane_type Unexecuted instantiation: vp9_entropymv.c:get_plane_type Unexecuted instantiation: vp9_idct.c:get_plane_type Unexecuted instantiation: vp9_seg_common.c:get_plane_type Unexecuted instantiation: vp9_tile_common.c:get_plane_type Unexecuted instantiation: vp9_loopfilter.c:get_plane_type Unexecuted instantiation: vp9_thread_common.c:get_plane_type Unexecuted instantiation: vp9_reconinter.c:get_plane_type Unexecuted instantiation: vp9_reconintra.c:get_plane_type Unexecuted instantiation: vp9_scan.c:get_plane_type Unexecuted instantiation: vp9_bitstream.c:get_plane_type Unexecuted instantiation: vp9_context_tree.c:get_plane_type Unexecuted instantiation: vp9_dct.c:get_plane_type Unexecuted instantiation: vp9_encodeframe.c:get_plane_type vp9_encodemb.c:get_plane_type Line | Count | Source | 210 | 308M | static INLINE PLANE_TYPE get_plane_type(int plane) { | 211 | 308M | return (PLANE_TYPE)(plane > 0); | 212 | 308M | } |
Unexecuted instantiation: vp9_encodemv.c:get_plane_type Unexecuted instantiation: vp9_ethread.c:get_plane_type Unexecuted instantiation: vp9_frame_scale.c:get_plane_type Unexecuted instantiation: vp9_lookahead.c:get_plane_type Unexecuted instantiation: vp9_multi_thread.c:get_plane_type vp9_rdopt.c:get_plane_type Line | Count | Source | 210 | 733M | static INLINE PLANE_TYPE get_plane_type(int plane) { | 211 | 733M | return (PLANE_TYPE)(plane > 0); | 212 | 733M | } |
Unexecuted instantiation: vp9_pickmode.c:get_plane_type Unexecuted instantiation: temporal_filter_sse4.c:get_plane_type Unexecuted instantiation: vp9_quantize_sse2.c:get_plane_type Unexecuted instantiation: vp9_quantize_ssse3.c:get_plane_type Unexecuted instantiation: vp9_quantize_avx2.c:get_plane_type Unexecuted instantiation: highbd_temporal_filter_sse4.c:get_plane_type Unexecuted instantiation: quantize.c:get_plane_type Unexecuted instantiation: quantize_sse2.c:get_plane_type Unexecuted instantiation: quantize_ssse3.c:get_plane_type Unexecuted instantiation: quantize_avx.c:get_plane_type Unexecuted instantiation: quantize_avx2.c:get_plane_type Unexecuted instantiation: highbd_quantize_intrin_sse2.c:get_plane_type Unexecuted instantiation: highbd_quantize_intrin_avx2.c:get_plane_type Unexecuted instantiation: vp9_pred_common.c:get_plane_type Unexecuted instantiation: vp9_mvref_common.c:get_plane_type |
213 | | |
214 | | static INLINE BLOCK_SIZE get_subsize(BLOCK_SIZE bsize, |
215 | 17.9M | PARTITION_TYPE partition) { |
216 | 17.9M | return subsize_lookup[partition][bsize]; |
217 | 17.9M | } Unexecuted instantiation: vp9_cx_iface.c:get_subsize Unexecuted instantiation: vp9_firstpass.c:get_subsize Unexecuted instantiation: vp9_mcomp.c:get_subsize Unexecuted instantiation: vp9_encoder.c:get_subsize Unexecuted instantiation: vp9_picklpf.c:get_subsize Unexecuted instantiation: vp9_quantize.c:get_subsize Unexecuted instantiation: vp9_ratectrl.c:get_subsize Unexecuted instantiation: vp9_rd.c:get_subsize Unexecuted instantiation: vp9_segmentation.c:get_subsize Unexecuted instantiation: vp9_speed_features.c:get_subsize Unexecuted instantiation: vp9_svc_layercontext.c:get_subsize Unexecuted instantiation: vp9_tokenize.c:get_subsize Unexecuted instantiation: vp9_aq_variance.c:get_subsize Unexecuted instantiation: vp9_aq_360.c:get_subsize Unexecuted instantiation: vp9_aq_cyclicrefresh.c:get_subsize Unexecuted instantiation: vp9_aq_complexity.c:get_subsize Unexecuted instantiation: vp9_alt_ref_aq.c:get_subsize Unexecuted instantiation: vp9_skin_detection.c:get_subsize Unexecuted instantiation: vp9_noise_estimate.c:get_subsize Unexecuted instantiation: vp9_ext_ratectrl.c:get_subsize Unexecuted instantiation: vp9_temporal_filter.c:get_subsize Unexecuted instantiation: vp9_tpl_model.c:get_subsize Unexecuted instantiation: vp9_mbgraph.c:get_subsize Unexecuted instantiation: yv12config.c:get_subsize Unexecuted instantiation: vp9_alloccommon.c:get_subsize Unexecuted instantiation: vp9_blockd.c:get_subsize Unexecuted instantiation: vp9_entropy.c:get_subsize Unexecuted instantiation: vp9_entropymode.c:get_subsize Unexecuted instantiation: vp9_entropymv.c:get_subsize Unexecuted instantiation: vp9_idct.c:get_subsize Unexecuted instantiation: vp9_seg_common.c:get_subsize Unexecuted instantiation: vp9_tile_common.c:get_subsize Unexecuted instantiation: vp9_loopfilter.c:get_subsize Unexecuted instantiation: vp9_thread_common.c:get_subsize Unexecuted instantiation: vp9_reconinter.c:get_subsize Unexecuted instantiation: vp9_reconintra.c:get_subsize Unexecuted instantiation: vp9_scan.c:get_subsize vp9_bitstream.c:get_subsize Line | Count | Source | 215 | 2.52M | PARTITION_TYPE partition) { | 216 | 2.52M | return subsize_lookup[partition][bsize]; | 217 | 2.52M | } |
Unexecuted instantiation: vp9_context_tree.c:get_subsize Unexecuted instantiation: vp9_dct.c:get_subsize vp9_encodeframe.c:get_subsize Line | Count | Source | 215 | 15.4M | PARTITION_TYPE partition) { | 216 | 15.4M | return subsize_lookup[partition][bsize]; | 217 | 15.4M | } |
Unexecuted instantiation: vp9_encodemb.c:get_subsize Unexecuted instantiation: vp9_encodemv.c:get_subsize Unexecuted instantiation: vp9_ethread.c:get_subsize Unexecuted instantiation: vp9_frame_scale.c:get_subsize Unexecuted instantiation: vp9_lookahead.c:get_subsize Unexecuted instantiation: vp9_multi_thread.c:get_subsize Unexecuted instantiation: vp9_rdopt.c:get_subsize Unexecuted instantiation: vp9_pickmode.c:get_subsize Unexecuted instantiation: temporal_filter_sse4.c:get_subsize Unexecuted instantiation: vp9_quantize_sse2.c:get_subsize Unexecuted instantiation: vp9_quantize_ssse3.c:get_subsize Unexecuted instantiation: vp9_quantize_avx2.c:get_subsize Unexecuted instantiation: highbd_temporal_filter_sse4.c:get_subsize Unexecuted instantiation: quantize.c:get_subsize Unexecuted instantiation: quantize_sse2.c:get_subsize Unexecuted instantiation: quantize_ssse3.c:get_subsize Unexecuted instantiation: quantize_avx.c:get_subsize Unexecuted instantiation: quantize_avx2.c:get_subsize Unexecuted instantiation: highbd_quantize_intrin_sse2.c:get_subsize Unexecuted instantiation: highbd_quantize_intrin_avx2.c:get_subsize Unexecuted instantiation: vp9_pred_common.c:get_subsize Unexecuted instantiation: vp9_mvref_common.c:get_subsize |
218 | | |
219 | | extern const TX_TYPE intra_mode_to_tx_type_lookup[INTRA_MODES]; |
220 | | |
221 | | static INLINE TX_TYPE get_tx_type(PLANE_TYPE plane_type, |
222 | 67.3M | const MACROBLOCKD *xd) { |
223 | 67.3M | const MODE_INFO *const mi = xd->mi[0]; |
224 | | |
225 | 67.3M | if (plane_type != PLANE_TYPE_Y || xd->lossless || is_inter_block(mi)) |
226 | 16.4M | return DCT_DCT; |
227 | | |
228 | 50.8M | return intra_mode_to_tx_type_lookup[mi->mode]; |
229 | 67.3M | } Unexecuted instantiation: vp9_cx_iface.c:get_tx_type Unexecuted instantiation: vp9_firstpass.c:get_tx_type Unexecuted instantiation: vp9_mcomp.c:get_tx_type Unexecuted instantiation: vp9_encoder.c:get_tx_type Unexecuted instantiation: vp9_picklpf.c:get_tx_type Unexecuted instantiation: vp9_quantize.c:get_tx_type Unexecuted instantiation: vp9_ratectrl.c:get_tx_type Unexecuted instantiation: vp9_rd.c:get_tx_type Unexecuted instantiation: vp9_segmentation.c:get_tx_type Unexecuted instantiation: vp9_speed_features.c:get_tx_type Unexecuted instantiation: vp9_svc_layercontext.c:get_tx_type Unexecuted instantiation: vp9_tokenize.c:get_tx_type Unexecuted instantiation: vp9_aq_variance.c:get_tx_type Unexecuted instantiation: vp9_aq_360.c:get_tx_type Unexecuted instantiation: vp9_aq_cyclicrefresh.c:get_tx_type Unexecuted instantiation: vp9_aq_complexity.c:get_tx_type Unexecuted instantiation: vp9_alt_ref_aq.c:get_tx_type Unexecuted instantiation: vp9_skin_detection.c:get_tx_type Unexecuted instantiation: vp9_noise_estimate.c:get_tx_type Unexecuted instantiation: vp9_ext_ratectrl.c:get_tx_type Unexecuted instantiation: vp9_temporal_filter.c:get_tx_type Unexecuted instantiation: vp9_tpl_model.c:get_tx_type Unexecuted instantiation: vp9_mbgraph.c:get_tx_type Unexecuted instantiation: yv12config.c:get_tx_type Unexecuted instantiation: vp9_alloccommon.c:get_tx_type Unexecuted instantiation: vp9_blockd.c:get_tx_type Unexecuted instantiation: vp9_entropy.c:get_tx_type Unexecuted instantiation: vp9_entropymode.c:get_tx_type Unexecuted instantiation: vp9_entropymv.c:get_tx_type Unexecuted instantiation: vp9_idct.c:get_tx_type Unexecuted instantiation: vp9_seg_common.c:get_tx_type Unexecuted instantiation: vp9_tile_common.c:get_tx_type Unexecuted instantiation: vp9_loopfilter.c:get_tx_type Unexecuted instantiation: vp9_thread_common.c:get_tx_type Unexecuted instantiation: vp9_reconinter.c:get_tx_type Unexecuted instantiation: vp9_reconintra.c:get_tx_type Unexecuted instantiation: vp9_scan.c:get_tx_type Unexecuted instantiation: vp9_bitstream.c:get_tx_type Unexecuted instantiation: vp9_context_tree.c:get_tx_type Unexecuted instantiation: vp9_dct.c:get_tx_type Unexecuted instantiation: vp9_encodeframe.c:get_tx_type vp9_encodemb.c:get_tx_type Line | Count | Source | 222 | 67.3M | const MACROBLOCKD *xd) { | 223 | 67.3M | const MODE_INFO *const mi = xd->mi[0]; | 224 | | | 225 | 67.3M | if (plane_type != PLANE_TYPE_Y || xd->lossless || is_inter_block(mi)) | 226 | 16.4M | return DCT_DCT; | 227 | | | 228 | 50.8M | return intra_mode_to_tx_type_lookup[mi->mode]; | 229 | 67.3M | } |
Unexecuted instantiation: vp9_encodemv.c:get_tx_type Unexecuted instantiation: vp9_ethread.c:get_tx_type Unexecuted instantiation: vp9_frame_scale.c:get_tx_type Unexecuted instantiation: vp9_lookahead.c:get_tx_type Unexecuted instantiation: vp9_multi_thread.c:get_tx_type Unexecuted instantiation: vp9_rdopt.c:get_tx_type Unexecuted instantiation: vp9_pickmode.c:get_tx_type Unexecuted instantiation: temporal_filter_sse4.c:get_tx_type Unexecuted instantiation: vp9_quantize_sse2.c:get_tx_type Unexecuted instantiation: vp9_quantize_ssse3.c:get_tx_type Unexecuted instantiation: vp9_quantize_avx2.c:get_tx_type Unexecuted instantiation: highbd_temporal_filter_sse4.c:get_tx_type Unexecuted instantiation: quantize.c:get_tx_type Unexecuted instantiation: quantize_sse2.c:get_tx_type Unexecuted instantiation: quantize_ssse3.c:get_tx_type Unexecuted instantiation: quantize_avx.c:get_tx_type Unexecuted instantiation: quantize_avx2.c:get_tx_type Unexecuted instantiation: highbd_quantize_intrin_sse2.c:get_tx_type Unexecuted instantiation: highbd_quantize_intrin_avx2.c:get_tx_type Unexecuted instantiation: vp9_pred_common.c:get_tx_type Unexecuted instantiation: vp9_mvref_common.c:get_tx_type |
230 | | |
231 | | static INLINE TX_TYPE get_tx_type_4x4(PLANE_TYPE plane_type, |
232 | 359M | const MACROBLOCKD *xd, int ib) { |
233 | 359M | const MODE_INFO *const mi = xd->mi[0]; |
234 | | |
235 | 359M | if (plane_type != PLANE_TYPE_Y || xd->lossless || is_inter_block(mi)) |
236 | 186M | return DCT_DCT; |
237 | | |
238 | 172M | return intra_mode_to_tx_type_lookup[get_y_mode(mi, ib)]; |
239 | 359M | } Unexecuted instantiation: vp9_cx_iface.c:get_tx_type_4x4 Unexecuted instantiation: vp9_firstpass.c:get_tx_type_4x4 Unexecuted instantiation: vp9_mcomp.c:get_tx_type_4x4 Unexecuted instantiation: vp9_encoder.c:get_tx_type_4x4 Unexecuted instantiation: vp9_picklpf.c:get_tx_type_4x4 Unexecuted instantiation: vp9_quantize.c:get_tx_type_4x4 Unexecuted instantiation: vp9_ratectrl.c:get_tx_type_4x4 Unexecuted instantiation: vp9_rd.c:get_tx_type_4x4 Unexecuted instantiation: vp9_segmentation.c:get_tx_type_4x4 Unexecuted instantiation: vp9_speed_features.c:get_tx_type_4x4 Unexecuted instantiation: vp9_svc_layercontext.c:get_tx_type_4x4 Unexecuted instantiation: vp9_tokenize.c:get_tx_type_4x4 Unexecuted instantiation: vp9_aq_variance.c:get_tx_type_4x4 Unexecuted instantiation: vp9_aq_360.c:get_tx_type_4x4 Unexecuted instantiation: vp9_aq_cyclicrefresh.c:get_tx_type_4x4 Unexecuted instantiation: vp9_aq_complexity.c:get_tx_type_4x4 Unexecuted instantiation: vp9_alt_ref_aq.c:get_tx_type_4x4 Unexecuted instantiation: vp9_skin_detection.c:get_tx_type_4x4 Unexecuted instantiation: vp9_noise_estimate.c:get_tx_type_4x4 Unexecuted instantiation: vp9_ext_ratectrl.c:get_tx_type_4x4 Unexecuted instantiation: vp9_temporal_filter.c:get_tx_type_4x4 Unexecuted instantiation: vp9_tpl_model.c:get_tx_type_4x4 Unexecuted instantiation: vp9_mbgraph.c:get_tx_type_4x4 Unexecuted instantiation: yv12config.c:get_tx_type_4x4 Unexecuted instantiation: vp9_alloccommon.c:get_tx_type_4x4 Unexecuted instantiation: vp9_blockd.c:get_tx_type_4x4 Unexecuted instantiation: vp9_entropy.c:get_tx_type_4x4 Unexecuted instantiation: vp9_entropymode.c:get_tx_type_4x4 Unexecuted instantiation: vp9_entropymv.c:get_tx_type_4x4 Unexecuted instantiation: vp9_idct.c:get_tx_type_4x4 Unexecuted instantiation: vp9_seg_common.c:get_tx_type_4x4 Unexecuted instantiation: vp9_tile_common.c:get_tx_type_4x4 Unexecuted instantiation: vp9_loopfilter.c:get_tx_type_4x4 Unexecuted instantiation: vp9_thread_common.c:get_tx_type_4x4 Unexecuted instantiation: vp9_reconinter.c:get_tx_type_4x4 Unexecuted instantiation: vp9_reconintra.c:get_tx_type_4x4 Unexecuted instantiation: vp9_scan.c:get_tx_type_4x4 Unexecuted instantiation: vp9_bitstream.c:get_tx_type_4x4 Unexecuted instantiation: vp9_context_tree.c:get_tx_type_4x4 Unexecuted instantiation: vp9_dct.c:get_tx_type_4x4 Unexecuted instantiation: vp9_encodeframe.c:get_tx_type_4x4 vp9_encodemb.c:get_tx_type_4x4 Line | Count | Source | 232 | 226M | const MACROBLOCKD *xd, int ib) { | 233 | 226M | const MODE_INFO *const mi = xd->mi[0]; | 234 | | | 235 | 226M | if (plane_type != PLANE_TYPE_Y || xd->lossless || is_inter_block(mi)) | 236 | 186M | return DCT_DCT; | 237 | | | 238 | 39.7M | return intra_mode_to_tx_type_lookup[get_y_mode(mi, ib)]; | 239 | 226M | } |
Unexecuted instantiation: vp9_encodemv.c:get_tx_type_4x4 Unexecuted instantiation: vp9_ethread.c:get_tx_type_4x4 Unexecuted instantiation: vp9_frame_scale.c:get_tx_type_4x4 Unexecuted instantiation: vp9_lookahead.c:get_tx_type_4x4 Unexecuted instantiation: vp9_multi_thread.c:get_tx_type_4x4 vp9_rdopt.c:get_tx_type_4x4 Line | Count | Source | 232 | 133M | const MACROBLOCKD *xd, int ib) { | 233 | 133M | const MODE_INFO *const mi = xd->mi[0]; | 234 | | | 235 | 133M | if (plane_type != PLANE_TYPE_Y || xd->lossless || is_inter_block(mi)) | 236 | 0 | return DCT_DCT; | 237 | | | 238 | 133M | return intra_mode_to_tx_type_lookup[get_y_mode(mi, ib)]; | 239 | 133M | } |
Unexecuted instantiation: vp9_pickmode.c:get_tx_type_4x4 Unexecuted instantiation: temporal_filter_sse4.c:get_tx_type_4x4 Unexecuted instantiation: vp9_quantize_sse2.c:get_tx_type_4x4 Unexecuted instantiation: vp9_quantize_ssse3.c:get_tx_type_4x4 Unexecuted instantiation: vp9_quantize_avx2.c:get_tx_type_4x4 Unexecuted instantiation: highbd_temporal_filter_sse4.c:get_tx_type_4x4 Unexecuted instantiation: quantize.c:get_tx_type_4x4 Unexecuted instantiation: quantize_sse2.c:get_tx_type_4x4 Unexecuted instantiation: quantize_ssse3.c:get_tx_type_4x4 Unexecuted instantiation: quantize_avx.c:get_tx_type_4x4 Unexecuted instantiation: quantize_avx2.c:get_tx_type_4x4 Unexecuted instantiation: highbd_quantize_intrin_sse2.c:get_tx_type_4x4 Unexecuted instantiation: highbd_quantize_intrin_avx2.c:get_tx_type_4x4 Unexecuted instantiation: vp9_pred_common.c:get_tx_type_4x4 Unexecuted instantiation: vp9_mvref_common.c:get_tx_type_4x4 |
240 | | |
241 | | void vp9_setup_block_planes(MACROBLOCKD *xd, int ss_x, int ss_y); |
242 | | |
243 | | static INLINE TX_SIZE get_uv_tx_size(const MODE_INFO *mi, |
244 | 255M | const struct macroblockd_plane *pd) { |
245 | 255M | assert(mi->sb_type < BLOCK_8X8 || |
246 | 255M | ss_size_lookup[mi->sb_type][pd->subsampling_x][pd->subsampling_y] != |
247 | 255M | BLOCK_INVALID); |
248 | 255M | return uv_txsize_lookup[mi->sb_type][mi->tx_size][pd->subsampling_x] |
249 | 255M | [pd->subsampling_y]; |
250 | 255M | } Unexecuted instantiation: vp9_cx_iface.c:get_uv_tx_size Unexecuted instantiation: vp9_firstpass.c:get_uv_tx_size Unexecuted instantiation: vp9_mcomp.c:get_uv_tx_size Unexecuted instantiation: vp9_encoder.c:get_uv_tx_size Unexecuted instantiation: vp9_picklpf.c:get_uv_tx_size Unexecuted instantiation: vp9_quantize.c:get_uv_tx_size Unexecuted instantiation: vp9_ratectrl.c:get_uv_tx_size Unexecuted instantiation: vp9_rd.c:get_uv_tx_size Unexecuted instantiation: vp9_segmentation.c:get_uv_tx_size Unexecuted instantiation: vp9_speed_features.c:get_uv_tx_size Unexecuted instantiation: vp9_svc_layercontext.c:get_uv_tx_size Unexecuted instantiation: vp9_tokenize.c:get_uv_tx_size Unexecuted instantiation: vp9_aq_variance.c:get_uv_tx_size Unexecuted instantiation: vp9_aq_360.c:get_uv_tx_size Unexecuted instantiation: vp9_aq_cyclicrefresh.c:get_uv_tx_size Unexecuted instantiation: vp9_aq_complexity.c:get_uv_tx_size Unexecuted instantiation: vp9_alt_ref_aq.c:get_uv_tx_size Unexecuted instantiation: vp9_skin_detection.c:get_uv_tx_size Unexecuted instantiation: vp9_noise_estimate.c:get_uv_tx_size Unexecuted instantiation: vp9_ext_ratectrl.c:get_uv_tx_size Unexecuted instantiation: vp9_temporal_filter.c:get_uv_tx_size Unexecuted instantiation: vp9_tpl_model.c:get_uv_tx_size Unexecuted instantiation: vp9_mbgraph.c:get_uv_tx_size Unexecuted instantiation: yv12config.c:get_uv_tx_size Unexecuted instantiation: vp9_alloccommon.c:get_uv_tx_size vp9_blockd.c:get_uv_tx_size Line | Count | Source | 244 | 176M | const struct macroblockd_plane *pd) { | 245 | 176M | assert(mi->sb_type < BLOCK_8X8 || | 246 | 176M | ss_size_lookup[mi->sb_type][pd->subsampling_x][pd->subsampling_y] != | 247 | 176M | BLOCK_INVALID); | 248 | 176M | return uv_txsize_lookup[mi->sb_type][mi->tx_size][pd->subsampling_x] | 249 | 176M | [pd->subsampling_y]; | 250 | 176M | } |
Unexecuted instantiation: vp9_entropy.c:get_uv_tx_size Unexecuted instantiation: vp9_entropymode.c:get_uv_tx_size Unexecuted instantiation: vp9_entropymv.c:get_uv_tx_size Unexecuted instantiation: vp9_idct.c:get_uv_tx_size Unexecuted instantiation: vp9_seg_common.c:get_uv_tx_size Unexecuted instantiation: vp9_tile_common.c:get_uv_tx_size Unexecuted instantiation: vp9_loopfilter.c:get_uv_tx_size Unexecuted instantiation: vp9_thread_common.c:get_uv_tx_size Unexecuted instantiation: vp9_reconinter.c:get_uv_tx_size Unexecuted instantiation: vp9_reconintra.c:get_uv_tx_size Unexecuted instantiation: vp9_scan.c:get_uv_tx_size Unexecuted instantiation: vp9_bitstream.c:get_uv_tx_size Unexecuted instantiation: vp9_context_tree.c:get_uv_tx_size Unexecuted instantiation: vp9_dct.c:get_uv_tx_size vp9_encodeframe.c:get_uv_tx_size Line | Count | Source | 244 | 1.89M | const struct macroblockd_plane *pd) { | 245 | 1.89M | assert(mi->sb_type < BLOCK_8X8 || | 246 | 1.89M | ss_size_lookup[mi->sb_type][pd->subsampling_x][pd->subsampling_y] != | 247 | 1.89M | BLOCK_INVALID); | 248 | 1.89M | return uv_txsize_lookup[mi->sb_type][mi->tx_size][pd->subsampling_x] | 249 | 1.89M | [pd->subsampling_y]; | 250 | 1.89M | } |
Unexecuted instantiation: vp9_encodemb.c:get_uv_tx_size Unexecuted instantiation: vp9_encodemv.c:get_uv_tx_size Unexecuted instantiation: vp9_ethread.c:get_uv_tx_size Unexecuted instantiation: vp9_frame_scale.c:get_uv_tx_size Unexecuted instantiation: vp9_lookahead.c:get_uv_tx_size Unexecuted instantiation: vp9_multi_thread.c:get_uv_tx_size vp9_rdopt.c:get_uv_tx_size Line | Count | Source | 244 | 77.5M | const struct macroblockd_plane *pd) { | 245 | 77.5M | assert(mi->sb_type < BLOCK_8X8 || | 246 | 77.5M | ss_size_lookup[mi->sb_type][pd->subsampling_x][pd->subsampling_y] != | 247 | 77.5M | BLOCK_INVALID); | 248 | 77.5M | return uv_txsize_lookup[mi->sb_type][mi->tx_size][pd->subsampling_x] | 249 | 77.5M | [pd->subsampling_y]; | 250 | 77.5M | } |
Unexecuted instantiation: vp9_pickmode.c:get_uv_tx_size Unexecuted instantiation: temporal_filter_sse4.c:get_uv_tx_size Unexecuted instantiation: vp9_quantize_sse2.c:get_uv_tx_size Unexecuted instantiation: vp9_quantize_ssse3.c:get_uv_tx_size Unexecuted instantiation: vp9_quantize_avx2.c:get_uv_tx_size Unexecuted instantiation: highbd_temporal_filter_sse4.c:get_uv_tx_size Unexecuted instantiation: quantize.c:get_uv_tx_size Unexecuted instantiation: quantize_sse2.c:get_uv_tx_size Unexecuted instantiation: quantize_ssse3.c:get_uv_tx_size Unexecuted instantiation: quantize_avx.c:get_uv_tx_size Unexecuted instantiation: quantize_avx2.c:get_uv_tx_size Unexecuted instantiation: highbd_quantize_intrin_sse2.c:get_uv_tx_size Unexecuted instantiation: highbd_quantize_intrin_avx2.c:get_uv_tx_size Unexecuted instantiation: vp9_pred_common.c:get_uv_tx_size Unexecuted instantiation: vp9_mvref_common.c:get_uv_tx_size |
251 | | |
252 | | static INLINE BLOCK_SIZE |
253 | 741M | get_plane_block_size(BLOCK_SIZE bsize, const struct macroblockd_plane *pd) { |
254 | 741M | return ss_size_lookup[bsize][pd->subsampling_x][pd->subsampling_y]; |
255 | 741M | } Unexecuted instantiation: vp9_cx_iface.c:get_plane_block_size Unexecuted instantiation: vp9_firstpass.c:get_plane_block_size Unexecuted instantiation: vp9_mcomp.c:get_plane_block_size Unexecuted instantiation: vp9_encoder.c:get_plane_block_size Unexecuted instantiation: vp9_picklpf.c:get_plane_block_size Unexecuted instantiation: vp9_quantize.c:get_plane_block_size Unexecuted instantiation: vp9_ratectrl.c:get_plane_block_size vp9_rd.c:get_plane_block_size Line | Count | Source | 253 | 202M | get_plane_block_size(BLOCK_SIZE bsize, const struct macroblockd_plane *pd) { | 254 | 202M | return ss_size_lookup[bsize][pd->subsampling_x][pd->subsampling_y]; | 255 | 202M | } |
Unexecuted instantiation: vp9_segmentation.c:get_plane_block_size Unexecuted instantiation: vp9_speed_features.c:get_plane_block_size Unexecuted instantiation: vp9_svc_layercontext.c:get_plane_block_size vp9_tokenize.c:get_plane_block_size Line | Count | Source | 253 | 2.70M | get_plane_block_size(BLOCK_SIZE bsize, const struct macroblockd_plane *pd) { | 254 | 2.70M | return ss_size_lookup[bsize][pd->subsampling_x][pd->subsampling_y]; | 255 | 2.70M | } |
Unexecuted instantiation: vp9_aq_variance.c:get_plane_block_size Unexecuted instantiation: vp9_aq_360.c:get_plane_block_size Unexecuted instantiation: vp9_aq_cyclicrefresh.c:get_plane_block_size Unexecuted instantiation: vp9_aq_complexity.c:get_plane_block_size Unexecuted instantiation: vp9_alt_ref_aq.c:get_plane_block_size Unexecuted instantiation: vp9_skin_detection.c:get_plane_block_size Unexecuted instantiation: vp9_noise_estimate.c:get_plane_block_size Unexecuted instantiation: vp9_ext_ratectrl.c:get_plane_block_size Unexecuted instantiation: vp9_temporal_filter.c:get_plane_block_size Unexecuted instantiation: vp9_tpl_model.c:get_plane_block_size Unexecuted instantiation: vp9_mbgraph.c:get_plane_block_size Unexecuted instantiation: yv12config.c:get_plane_block_size Unexecuted instantiation: vp9_alloccommon.c:get_plane_block_size vp9_blockd.c:get_plane_block_size Line | Count | Source | 253 | 251M | get_plane_block_size(BLOCK_SIZE bsize, const struct macroblockd_plane *pd) { | 254 | 251M | return ss_size_lookup[bsize][pd->subsampling_x][pd->subsampling_y]; | 255 | 251M | } |
Unexecuted instantiation: vp9_entropy.c:get_plane_block_size Unexecuted instantiation: vp9_entropymode.c:get_plane_block_size Unexecuted instantiation: vp9_entropymv.c:get_plane_block_size Unexecuted instantiation: vp9_idct.c:get_plane_block_size Unexecuted instantiation: vp9_seg_common.c:get_plane_block_size Unexecuted instantiation: vp9_tile_common.c:get_plane_block_size Unexecuted instantiation: vp9_loopfilter.c:get_plane_block_size Unexecuted instantiation: vp9_thread_common.c:get_plane_block_size vp9_reconinter.c:get_plane_block_size Line | Count | Source | 253 | 101M | get_plane_block_size(BLOCK_SIZE bsize, const struct macroblockd_plane *pd) { | 254 | 101M | return ss_size_lookup[bsize][pd->subsampling_x][pd->subsampling_y]; | 255 | 101M | } |
Unexecuted instantiation: vp9_reconintra.c:get_plane_block_size Unexecuted instantiation: vp9_scan.c:get_plane_block_size Unexecuted instantiation: vp9_bitstream.c:get_plane_block_size Unexecuted instantiation: vp9_context_tree.c:get_plane_block_size Unexecuted instantiation: vp9_dct.c:get_plane_block_size Unexecuted instantiation: vp9_encodeframe.c:get_plane_block_size vp9_encodemb.c:get_plane_block_size Line | Count | Source | 253 | 41.7M | get_plane_block_size(BLOCK_SIZE bsize, const struct macroblockd_plane *pd) { | 254 | 41.7M | return ss_size_lookup[bsize][pd->subsampling_x][pd->subsampling_y]; | 255 | 41.7M | } |
Unexecuted instantiation: vp9_encodemv.c:get_plane_block_size Unexecuted instantiation: vp9_ethread.c:get_plane_block_size Unexecuted instantiation: vp9_frame_scale.c:get_plane_block_size Unexecuted instantiation: vp9_lookahead.c:get_plane_block_size Unexecuted instantiation: vp9_multi_thread.c:get_plane_block_size vp9_rdopt.c:get_plane_block_size Line | Count | Source | 253 | 142M | get_plane_block_size(BLOCK_SIZE bsize, const struct macroblockd_plane *pd) { | 254 | 142M | return ss_size_lookup[bsize][pd->subsampling_x][pd->subsampling_y]; | 255 | 142M | } |
Unexecuted instantiation: vp9_pickmode.c:get_plane_block_size Unexecuted instantiation: temporal_filter_sse4.c:get_plane_block_size Unexecuted instantiation: vp9_quantize_sse2.c:get_plane_block_size Unexecuted instantiation: vp9_quantize_ssse3.c:get_plane_block_size Unexecuted instantiation: vp9_quantize_avx2.c:get_plane_block_size Unexecuted instantiation: highbd_temporal_filter_sse4.c:get_plane_block_size Unexecuted instantiation: quantize.c:get_plane_block_size Unexecuted instantiation: quantize_sse2.c:get_plane_block_size Unexecuted instantiation: quantize_ssse3.c:get_plane_block_size Unexecuted instantiation: quantize_avx.c:get_plane_block_size Unexecuted instantiation: quantize_avx2.c:get_plane_block_size Unexecuted instantiation: highbd_quantize_intrin_sse2.c:get_plane_block_size Unexecuted instantiation: highbd_quantize_intrin_avx2.c:get_plane_block_size Unexecuted instantiation: vp9_pred_common.c:get_plane_block_size Unexecuted instantiation: vp9_mvref_common.c:get_plane_block_size |
256 | | |
257 | 902k | static INLINE void reset_skip_context(MACROBLOCKD *xd, BLOCK_SIZE bsize) { |
258 | 902k | int i; |
259 | 3.61M | for (i = 0; i < MAX_MB_PLANE; i++) { |
260 | 2.70M | struct macroblockd_plane *const pd = &xd->plane[i]; |
261 | 2.70M | const BLOCK_SIZE plane_bsize = get_plane_block_size(bsize, pd); |
262 | 2.70M | memset(pd->above_context, 0, |
263 | 2.70M | sizeof(ENTROPY_CONTEXT) * num_4x4_blocks_wide_lookup[plane_bsize]); |
264 | 2.70M | memset(pd->left_context, 0, |
265 | 2.70M | sizeof(ENTROPY_CONTEXT) * num_4x4_blocks_high_lookup[plane_bsize]); |
266 | 2.70M | } |
267 | 902k | } Unexecuted instantiation: vp9_cx_iface.c:reset_skip_context Unexecuted instantiation: vp9_firstpass.c:reset_skip_context Unexecuted instantiation: vp9_mcomp.c:reset_skip_context Unexecuted instantiation: vp9_encoder.c:reset_skip_context Unexecuted instantiation: vp9_picklpf.c:reset_skip_context Unexecuted instantiation: vp9_quantize.c:reset_skip_context Unexecuted instantiation: vp9_ratectrl.c:reset_skip_context Unexecuted instantiation: vp9_rd.c:reset_skip_context Unexecuted instantiation: vp9_segmentation.c:reset_skip_context Unexecuted instantiation: vp9_speed_features.c:reset_skip_context Unexecuted instantiation: vp9_svc_layercontext.c:reset_skip_context vp9_tokenize.c:reset_skip_context Line | Count | Source | 257 | 902k | static INLINE void reset_skip_context(MACROBLOCKD *xd, BLOCK_SIZE bsize) { | 258 | 902k | int i; | 259 | 3.61M | for (i = 0; i < MAX_MB_PLANE; i++) { | 260 | 2.70M | struct macroblockd_plane *const pd = &xd->plane[i]; | 261 | 2.70M | const BLOCK_SIZE plane_bsize = get_plane_block_size(bsize, pd); | 262 | 2.70M | memset(pd->above_context, 0, | 263 | 2.70M | sizeof(ENTROPY_CONTEXT) * num_4x4_blocks_wide_lookup[plane_bsize]); | 264 | 2.70M | memset(pd->left_context, 0, | 265 | 2.70M | sizeof(ENTROPY_CONTEXT) * num_4x4_blocks_high_lookup[plane_bsize]); | 266 | 2.70M | } | 267 | 902k | } |
Unexecuted instantiation: vp9_aq_variance.c:reset_skip_context Unexecuted instantiation: vp9_aq_360.c:reset_skip_context Unexecuted instantiation: vp9_aq_cyclicrefresh.c:reset_skip_context Unexecuted instantiation: vp9_aq_complexity.c:reset_skip_context Unexecuted instantiation: vp9_alt_ref_aq.c:reset_skip_context Unexecuted instantiation: vp9_skin_detection.c:reset_skip_context Unexecuted instantiation: vp9_noise_estimate.c:reset_skip_context Unexecuted instantiation: vp9_ext_ratectrl.c:reset_skip_context Unexecuted instantiation: vp9_temporal_filter.c:reset_skip_context Unexecuted instantiation: vp9_tpl_model.c:reset_skip_context Unexecuted instantiation: vp9_mbgraph.c:reset_skip_context Unexecuted instantiation: yv12config.c:reset_skip_context Unexecuted instantiation: vp9_alloccommon.c:reset_skip_context Unexecuted instantiation: vp9_blockd.c:reset_skip_context Unexecuted instantiation: vp9_entropy.c:reset_skip_context Unexecuted instantiation: vp9_entropymode.c:reset_skip_context Unexecuted instantiation: vp9_entropymv.c:reset_skip_context Unexecuted instantiation: vp9_idct.c:reset_skip_context Unexecuted instantiation: vp9_seg_common.c:reset_skip_context Unexecuted instantiation: vp9_tile_common.c:reset_skip_context Unexecuted instantiation: vp9_loopfilter.c:reset_skip_context Unexecuted instantiation: vp9_thread_common.c:reset_skip_context Unexecuted instantiation: vp9_reconinter.c:reset_skip_context Unexecuted instantiation: vp9_reconintra.c:reset_skip_context Unexecuted instantiation: vp9_scan.c:reset_skip_context Unexecuted instantiation: vp9_bitstream.c:reset_skip_context Unexecuted instantiation: vp9_context_tree.c:reset_skip_context Unexecuted instantiation: vp9_dct.c:reset_skip_context Unexecuted instantiation: vp9_encodeframe.c:reset_skip_context Unexecuted instantiation: vp9_encodemb.c:reset_skip_context Unexecuted instantiation: vp9_encodemv.c:reset_skip_context Unexecuted instantiation: vp9_ethread.c:reset_skip_context Unexecuted instantiation: vp9_frame_scale.c:reset_skip_context Unexecuted instantiation: vp9_lookahead.c:reset_skip_context Unexecuted instantiation: vp9_multi_thread.c:reset_skip_context Unexecuted instantiation: vp9_rdopt.c:reset_skip_context Unexecuted instantiation: vp9_pickmode.c:reset_skip_context Unexecuted instantiation: temporal_filter_sse4.c:reset_skip_context Unexecuted instantiation: vp9_quantize_sse2.c:reset_skip_context Unexecuted instantiation: vp9_quantize_ssse3.c:reset_skip_context Unexecuted instantiation: vp9_quantize_avx2.c:reset_skip_context Unexecuted instantiation: highbd_temporal_filter_sse4.c:reset_skip_context Unexecuted instantiation: quantize.c:reset_skip_context Unexecuted instantiation: quantize_sse2.c:reset_skip_context Unexecuted instantiation: quantize_ssse3.c:reset_skip_context Unexecuted instantiation: quantize_avx.c:reset_skip_context Unexecuted instantiation: quantize_avx2.c:reset_skip_context Unexecuted instantiation: highbd_quantize_intrin_sse2.c:reset_skip_context Unexecuted instantiation: highbd_quantize_intrin_avx2.c:reset_skip_context Unexecuted instantiation: vp9_pred_common.c:reset_skip_context Unexecuted instantiation: vp9_mvref_common.c:reset_skip_context |
268 | | |
269 | | static INLINE const vpx_prob *get_y_mode_probs(const MODE_INFO *mi, |
270 | | const MODE_INFO *above_mi, |
271 | | const MODE_INFO *left_mi, |
272 | 1.41M | int block) { |
273 | 1.41M | const PREDICTION_MODE above = vp9_above_block_mode(mi, above_mi, block); |
274 | 1.41M | const PREDICTION_MODE left = vp9_left_block_mode(mi, left_mi, block); |
275 | 1.41M | return vp9_kf_y_mode_prob[above][left]; |
276 | 1.41M | } Unexecuted instantiation: vp9_cx_iface.c:get_y_mode_probs Unexecuted instantiation: vp9_firstpass.c:get_y_mode_probs Unexecuted instantiation: vp9_mcomp.c:get_y_mode_probs Unexecuted instantiation: vp9_encoder.c:get_y_mode_probs Unexecuted instantiation: vp9_picklpf.c:get_y_mode_probs Unexecuted instantiation: vp9_quantize.c:get_y_mode_probs Unexecuted instantiation: vp9_ratectrl.c:get_y_mode_probs Unexecuted instantiation: vp9_rd.c:get_y_mode_probs Unexecuted instantiation: vp9_segmentation.c:get_y_mode_probs Unexecuted instantiation: vp9_speed_features.c:get_y_mode_probs Unexecuted instantiation: vp9_svc_layercontext.c:get_y_mode_probs Unexecuted instantiation: vp9_tokenize.c:get_y_mode_probs Unexecuted instantiation: vp9_aq_variance.c:get_y_mode_probs Unexecuted instantiation: vp9_aq_360.c:get_y_mode_probs Unexecuted instantiation: vp9_aq_cyclicrefresh.c:get_y_mode_probs Unexecuted instantiation: vp9_aq_complexity.c:get_y_mode_probs Unexecuted instantiation: vp9_alt_ref_aq.c:get_y_mode_probs Unexecuted instantiation: vp9_skin_detection.c:get_y_mode_probs Unexecuted instantiation: vp9_noise_estimate.c:get_y_mode_probs Unexecuted instantiation: vp9_ext_ratectrl.c:get_y_mode_probs Unexecuted instantiation: vp9_temporal_filter.c:get_y_mode_probs Unexecuted instantiation: vp9_tpl_model.c:get_y_mode_probs Unexecuted instantiation: vp9_mbgraph.c:get_y_mode_probs Unexecuted instantiation: yv12config.c:get_y_mode_probs Unexecuted instantiation: vp9_alloccommon.c:get_y_mode_probs Unexecuted instantiation: vp9_blockd.c:get_y_mode_probs Unexecuted instantiation: vp9_entropy.c:get_y_mode_probs Unexecuted instantiation: vp9_entropymode.c:get_y_mode_probs Unexecuted instantiation: vp9_entropymv.c:get_y_mode_probs Unexecuted instantiation: vp9_idct.c:get_y_mode_probs Unexecuted instantiation: vp9_seg_common.c:get_y_mode_probs Unexecuted instantiation: vp9_tile_common.c:get_y_mode_probs Unexecuted instantiation: vp9_loopfilter.c:get_y_mode_probs Unexecuted instantiation: vp9_thread_common.c:get_y_mode_probs Unexecuted instantiation: vp9_reconinter.c:get_y_mode_probs Unexecuted instantiation: vp9_reconintra.c:get_y_mode_probs Unexecuted instantiation: vp9_scan.c:get_y_mode_probs vp9_bitstream.c:get_y_mode_probs Line | Count | Source | 272 | 1.41M | int block) { | 273 | 1.41M | const PREDICTION_MODE above = vp9_above_block_mode(mi, above_mi, block); | 274 | 1.41M | const PREDICTION_MODE left = vp9_left_block_mode(mi, left_mi, block); | 275 | 1.41M | return vp9_kf_y_mode_prob[above][left]; | 276 | 1.41M | } |
Unexecuted instantiation: vp9_context_tree.c:get_y_mode_probs Unexecuted instantiation: vp9_dct.c:get_y_mode_probs Unexecuted instantiation: vp9_encodeframe.c:get_y_mode_probs Unexecuted instantiation: vp9_encodemb.c:get_y_mode_probs Unexecuted instantiation: vp9_encodemv.c:get_y_mode_probs Unexecuted instantiation: vp9_ethread.c:get_y_mode_probs Unexecuted instantiation: vp9_frame_scale.c:get_y_mode_probs Unexecuted instantiation: vp9_lookahead.c:get_y_mode_probs Unexecuted instantiation: vp9_multi_thread.c:get_y_mode_probs Unexecuted instantiation: vp9_rdopt.c:get_y_mode_probs Unexecuted instantiation: vp9_pickmode.c:get_y_mode_probs Unexecuted instantiation: temporal_filter_sse4.c:get_y_mode_probs Unexecuted instantiation: vp9_quantize_sse2.c:get_y_mode_probs Unexecuted instantiation: vp9_quantize_ssse3.c:get_y_mode_probs Unexecuted instantiation: vp9_quantize_avx2.c:get_y_mode_probs Unexecuted instantiation: highbd_temporal_filter_sse4.c:get_y_mode_probs Unexecuted instantiation: quantize.c:get_y_mode_probs Unexecuted instantiation: quantize_sse2.c:get_y_mode_probs Unexecuted instantiation: quantize_ssse3.c:get_y_mode_probs Unexecuted instantiation: quantize_avx.c:get_y_mode_probs Unexecuted instantiation: quantize_avx2.c:get_y_mode_probs Unexecuted instantiation: highbd_quantize_intrin_sse2.c:get_y_mode_probs Unexecuted instantiation: highbd_quantize_intrin_avx2.c:get_y_mode_probs Unexecuted instantiation: vp9_pred_common.c:get_y_mode_probs Unexecuted instantiation: vp9_mvref_common.c:get_y_mode_probs |
277 | | |
278 | | typedef void (*foreach_transformed_block_visitor)(int plane, int block, int row, |
279 | | int col, |
280 | | BLOCK_SIZE plane_bsize, |
281 | | TX_SIZE tx_size, void *arg); |
282 | | |
283 | | void vp9_foreach_transformed_block_in_plane( |
284 | | const MACROBLOCKD *const xd, BLOCK_SIZE bsize, int plane, |
285 | | foreach_transformed_block_visitor visit, void *arg); |
286 | | |
287 | | void vp9_foreach_transformed_block(const MACROBLOCKD *const xd, |
288 | | BLOCK_SIZE bsize, |
289 | | foreach_transformed_block_visitor visit, |
290 | | void *arg); |
291 | | |
292 | | void vp9_set_contexts(const MACROBLOCKD *xd, struct macroblockd_plane *pd, |
293 | | BLOCK_SIZE plane_bsize, TX_SIZE tx_size, int has_eob, |
294 | | int aoff, int loff); |
295 | | |
296 | | #if CONFIG_MISMATCH_DEBUG |
297 | | #define TX_UNIT_SIZE_LOG2 2 |
298 | | static INLINE void mi_to_pixel_loc(int *pixel_c, int *pixel_r, int mi_col, |
299 | | int mi_row, int tx_blk_col, int tx_blk_row, |
300 | | int subsampling_x, int subsampling_y) { |
301 | | *pixel_c = ((mi_col << MI_SIZE_LOG2) >> subsampling_x) + |
302 | | (tx_blk_col << TX_UNIT_SIZE_LOG2); |
303 | | *pixel_r = ((mi_row << MI_SIZE_LOG2) >> subsampling_y) + |
304 | | (tx_blk_row << TX_UNIT_SIZE_LOG2); |
305 | | } |
306 | | |
307 | | static INLINE int get_block_width(BLOCK_SIZE bsize) { |
308 | | const int num_4x4_w = num_4x4_blocks_wide_lookup[bsize]; |
309 | | return 4 * num_4x4_w; |
310 | | } |
311 | | |
312 | | static INLINE int get_block_height(BLOCK_SIZE bsize) { |
313 | | const int num_4x4_h = num_4x4_blocks_high_lookup[bsize]; |
314 | | return 4 * num_4x4_h; |
315 | | } |
316 | | #endif |
317 | | |
318 | | #ifdef __cplusplus |
319 | | } // extern "C" |
320 | | #endif |
321 | | |
322 | | #endif // VPX_VP9_COMMON_VP9_BLOCKD_H_ |