Coverage Report

Created: 2026-07-16 06:32

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/work/vvenc/source/Lib/CommonLib/CommonDef.h
Line
Count
Source
1
/* -----------------------------------------------------------------------------
2
The copyright in this software is being made available under the Clear BSD
3
License, included below. No patent rights, trademark rights and/or 
4
other Intellectual Property Rights other than the copyrights concerning 
5
the Software are granted under this license.
6
7
The Clear BSD License
8
9
Copyright (c) 2019-2026, Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. & The VVenC Authors.
10
All rights reserved.
11
12
Redistribution and use in source and binary forms, with or without modification,
13
are permitted (subject to the limitations in the disclaimer below) provided that
14
the following conditions are met:
15
16
     * Redistributions of source code must retain the above copyright notice,
17
     this list of conditions and the following disclaimer.
18
19
     * Redistributions in binary form must reproduce the above copyright
20
     notice, this list of conditions and the following disclaimer in the
21
     documentation and/or other materials provided with the distribution.
22
23
     * Neither the name of the copyright holder nor the names of its
24
     contributors may be used to endorse or promote products derived from this
25
     software without specific prior written permission.
26
27
NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE GRANTED BY
28
THIS LICENSE. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
29
CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
30
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
31
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
32
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
33
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
34
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
35
BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
36
IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
37
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
38
POSSIBILITY OF SUCH DAMAGE.
39
40
41
------------------------------------------------------------------------------------------- */
42
/** \file     CommonDef.h
43
    \brief    Defines version information, constants and small in-line functions
44
*/
45
46
#pragma once
47
48
#include <algorithm>
49
#include <iostream>
50
#include <iomanip>
51
#include <limits>
52
#include <cstdarg>
53
#include <functional>
54
#include <mutex>
55
56
#if defined( __x86_64__ ) || defined( _M_X64 ) || defined( __i386__ ) || defined( __i386 ) || defined( _M_IX86 )
57
# define REAL_TARGET_X86 1
58
#elif defined( __aarch64__ ) || defined( _M_ARM64 ) || defined( __arm__ ) || defined( _M_ARM )
59
# if defined( __aarch64__ ) || defined( _M_ARM64 )
60
#  define REAL_TARGET_AARCH64 1
61
# endif
62
# define REAL_TARGET_ARM 1
63
#elif defined( __wasm__ ) || defined( __wasm32__ )
64
# define REAL_TARGET_WASM 1
65
#elif defined( __loongarch__ )
66
# define REAL_TARGET_LOONGARCH 1
67
#endif
68
69
#if defined( TARGET_SIMD_X86 )
70
# ifdef _WIN32
71
#  include <intrin.h>
72
//# elif defined( __GNUC__ )
73
//#  include <simde/x86/sse2.h>
74
# endif
75
#endif // TARGET_SIMD_X86
76
77
#if _MSC_VER > 1000
78
// disable "signed and unsigned mismatch"
79
#pragma warning( disable : 4018 )
80
// disable bool coercion "performance warning"
81
#pragma warning( disable : 4800 )
82
// disable "conditional expression is constant" warning (cannot do `if constexpr` in C++14)
83
#pragma warning( disable : 4127 )
84
#endif // _MSC_VER > 1000
85
86
#define __IN_COMMONDEF_H__
87
#include "TypeDef.h"
88
#undef __IN_COMMONDEF_H__
89
90
#if ENABLE_CU_MODE_COUNTERS
91
#include "StatCounter.h"
92
#endif
93
94
// MS Visual Studio before 2014 does not support required C++11 features
95
#ifdef _MSC_VER
96
#if _MSC_VER < 1900
97
#error "MS Visual Studio version not supported. Please upgrade to Visual Studio 2015 or higher (or use other compilers)"
98
#endif
99
#endif
100
101
102
// macros to selectively disable some usually useful warnings
103
#if defined( __GNUC__ ) && __GNUC__ >= 8 && !defined( __clang__ )
104
# define GCC_WARNING_DISABLE_maybe_uninitialized _Pragma("GCC diagnostic push"); \
105
                                                 _Pragma("GCC diagnostic ignored \"-Wmaybe-uninitialized\"");
106
# define GCC_WARNING_DISABLE_class_memaccess     _Pragma("GCC diagnostic push"); \
107
                                                 _Pragma("GCC diagnostic ignored \"-Wclass-memaccess\"");
108
# define GCC_WARNING_DISABLE_array_bounds        _Pragma("GCC diagnostic push"); \
109
                                                 _Pragma("GCC diagnostic ignored \"-Warray-bounds\"");
110
# define GCC_WARNING_RESET                       _Pragma("GCC diagnostic pop");
111
#else
112
# define GCC_WARNING_DISABLE_maybe_uninitialized
113
# define GCC_WARNING_DISABLE_class_memaccess
114
# define GCC_WARNING_DISABLE_array_bounds
115
# define GCC_WARNING_RESET
116
#endif
117
118
#ifdef TARGET_SIMD_X86
119
# if ENABLE_SIMD_OPT
120
#  define SIMD_PREFETCH_T0( _s ) _mm_prefetch( (char*) ( _s ), _MM_HINT_T0 )
121
# else
122
#  define SIMD_PREFETCH_T0( _s )
123
# endif   // ENABLE_SIMD_OPT
124
#endif    // TARGET_SIMD_X86
125
126
#if !ENABLE_SIMD_LOG2
127
#include <cmath>
128
#endif
129
130
//! \ingroup CommonLib
131
//! \{
132
133
namespace vvenc {
134
135
// ====================================================================================================================
136
// Platform information
137
// ====================================================================================================================
138
139
#ifdef __clang__
140
1.21k
#define NVM_COMPILEDBY  "[clang %d.%d.%d]", __clang_major__, __clang_minor__, __clang_patchlevel__
141
#ifdef __IA64__
142
#define NVM_ONARCH    "[on 64-bit] "
143
#else
144
#define NVM_ONARCH    "[on 32-bit] "
145
#endif
146
#elif __GNUC__
147
#define NVM_COMPILEDBY  "[GCC %d.%d.%d]", __GNUC__, __GNUC_MINOR__, __GNUC_PATCHLEVEL__
148
#ifdef __IA64__
149
#define NVM_ONARCH    "[on 64-bit] "
150
#else
151
#define NVM_ONARCH    "[on 32-bit] "
152
#endif
153
#elif __INTEL_COMPILER
154
#define NVM_COMPILEDBY  "[ICC %d]", __INTEL_COMPILER
155
#elif  _MSC_VER
156
#define NVM_COMPILEDBY  "[VS %d]", _MSC_VER
157
#endif
158
159
#ifndef NVM_COMPILEDBY
160
#define NVM_COMPILEDBY  "[Unk-CXX]"
161
#endif
162
163
#ifdef _WIN32
164
#define NVM_ONOS        "[Windows]"
165
#elif  __linux
166
1.21k
#define NVM_ONOS        "[Linux]"
167
#elif  __CYGWIN__
168
#define NVM_ONOS        "[Cygwin]"
169
#elif __APPLE__
170
#define NVM_ONOS        "[Mac OS X]"
171
#else
172
#define NVM_ONOS        "[Unk-OS]"
173
#endif
174
175
1.21k
#define NVM_BITS          "[%d bit]", (sizeof(void*) == 8 ? 64 : 32) ///< used for checking 64-bit O/S
176
177
#ifndef NULL
178
#define NULL              0
179
#endif
180
181
enum EAffineModel : uint8_t
182
{
183
  AFFINEMODEL_4PARAM,
184
  AFFINEMODEL_6PARAM,
185
  AFFINE_MODEL_NUM
186
};
187
188
static constexpr int AFFINE_ME_LIST_SIZE =                             4;
189
static constexpr int AFFINE_ME_LIST_SIZE_LD =                          3;
190
static constexpr double AFFINE_ME_LIST_MVP_TH =                        1.0;
191
192
// ====================================================================================================================
193
// Common constants
194
// ====================================================================================================================
195
static constexpr uint64_t   MAX_UINT64 =                  0xFFFFFFFFFFFFFFFFU;
196
static constexpr uint32_t   MAX_UINT =                            0xFFFFFFFFU; ///< max. value of unsigned 32-bit integer
197
static constexpr int      MAX_INT =                             std::numeric_limits<int>::max(); ///< max. value of signed 32-bit integer
198
static constexpr int      MIN_INT =                             std::numeric_limits<int>::min(); ///< min. value of signed 32-bit integer
199
static constexpr uint8_t  MAX_UCHAR =                                   255;
200
static constexpr uint8_t  MAX_SCHAR =                                   127;
201
static constexpr double MAX_DOUBLE =                             1.7e+308; ///< max. value of double-type value
202
static constexpr Distortion MAX_DISTORTION =                     std::numeric_limits<Distortion>::max();
203
204
// ====================================================================================================================
205
// Coding tool configuration
206
// ====================================================================================================================
207
// Most of these should not be changed - they resolve the meaning of otherwise magic numbers.
208
209
static constexpr int MAX_NUM_REF =                                     16; ///< max. number of entries in picture reference list
210
static constexpr int MAX_QP =                                          63;
211
static constexpr int MAX_QP_PERCEPT_QPA =                              63; ///< max. base QP up to which CTU or sub-CTU QPA is used instead of frame QPA
212
static constexpr int MAX_QP_INIT_QPA =                                 42;
213
static constexpr int NOT_VALID =                                       -1;
214
static constexpr int MI_NOT_VALID =                                    -1;
215
static constexpr int MH_NOT_VALID =                                    -1;
216
217
typedef enum
218
{
219
  PREV_FRAME_1    = 0,
220
  PREV_FRAME_2    = 1,
221
} PrevFrameType;
222
223
static constexpr int NUM_QPA_PREV_FRAMES =          (int)PREV_FRAME_2 + 1;
224
225
static constexpr int AMVP_MAX_NUM_CANDS =                               2; ///< AMVP: advanced motion vector prediction - max number of final candidates
226
static constexpr int AMVP_MAX_NUM_CANDS_MEM =                           3; ///< AMVP: advanced motion vector prediction - max number of candidates
227
static constexpr int AMVP_DECIMATION_FACTOR =                           2;
228
static constexpr int MRG_MAX_NUM_CANDS =                                6; ///< MERGE
229
static constexpr int AFFINE_MRG_MAX_NUM_CANDS =                         5; ///< AFFINE MERGE
230
static constexpr int IBC_MRG_MAX_NUM_CANDS =                            6; ///< IBC MERGE
231
232
static constexpr int ADAPT_SR_SCALE =                                   1; ///< division factor for adaptive search range
233
234
static constexpr int MIN_TB_LOG2_SIZEY = 2;
235
static constexpr int MAX_TB_LOG2_SIZEY = 6;
236
237
static constexpr int MIN_TB_SIZEY = 1 << MIN_TB_LOG2_SIZEY;
238
static constexpr int MAX_TB_SIZEY = 1 << MAX_TB_LOG2_SIZEY;
239
240
static constexpr int MAX_NESTING_NUM_LAYER =                           64;
241
242
static constexpr int MAX_VPS_LAYERS =                                  64;
243
static constexpr int MAX_VPS_SUBLAYERS =                                7;
244
static constexpr int MAX_NUM_OLSS =                                   256;
245
static constexpr int MAX_VPS_OLS_MODE_IDC =                             2;
246
247
static constexpr int MIP_MAX_WIDTH =                                   MAX_TB_SIZEY;
248
static constexpr int MIP_MAX_HEIGHT =                                  MAX_TB_SIZEY;
249
250
static constexpr int MAX_NUM_ALF_CLASSES         =                     25;
251
static constexpr int MAX_NUM_ALF_LUMA_COEFF      =                     13;
252
static constexpr int MAX_NUM_ALF_CHROMA_COEFF    =                      7;
253
static constexpr int MAX_ALF_FILTER_LENGTH       =                      7;
254
static constexpr int MAX_ALF_PADDING_SIZE        =                      4;
255
256
static constexpr int MAX_NUM_CC_ALF_FILTERS  =                          4;
257
static constexpr int MAX_NUM_CC_ALF_CHROMA_COEFF    =                   8;
258
static constexpr int CCALF_DYNAMIC_RANGE            =                   6;
259
static constexpr int CCALF_BITS_PER_COEFF_LEVEL     =                   3;
260
261
static constexpr int ALF_FIXED_FILTER_NUM        =                     64;
262
static constexpr int ALF_CTB_MAX_NUM_APS         =                      8;
263
static constexpr int NUM_FIXED_FILTER_SETS       =                     16;
264
265
static constexpr int MAX_BDOF_APPLICATION_REGION =                     16;
266
267
static constexpr int MAX_CPB_CNT =                                     32; ///< Upper bound of (cpb_cnt_minus1 + 1)
268
static constexpr int COEF_REMAIN_BIN_REDUCTION =                        5; ///< indicates the level at which the VLC transitions from Golomb-Rice to TU+EG(k)
269
static constexpr int CU_DQP_TU_CMAX =                                   5; ///< max number bins for truncated unary
270
static constexpr int CU_DQP_EG_k =                                      0; ///< expgolomb order
271
272
static constexpr int SBH_THRESHOLD =                                    4; ///< value of the fixed SBH controlling threshold
273
274
static constexpr int MAX_NUM_VPS =                                     16;
275
static constexpr int MAX_NUM_DCI =                                     16;
276
static constexpr int MAX_NUM_SPS =                                     16;
277
static constexpr int MAX_NUM_PPS =                                     64;
278
static constexpr int MAX_NUM_APS =                                     32;  //Currently APS ID has 5 bits
279
static constexpr int NUM_APS_TYPE_LEN =                                 3;  //Currently APS Type has 3 bits
280
static constexpr int MAX_NUM_APS_TYPE =                                 8;  //Currently APS Type has 3 bits so the max type is 8
281
282
static constexpr int MAX_TILE_COLS =                                   30;  ///< Maximum number of tile columns
283
static constexpr int MAX_TILES =                                      990;  ///< Maximum number of tiles
284
static constexpr int MAX_SLICES =                                     600;  ///< Maximum number of slices per picture
285
286
static constexpr int MLS_GRP_NUM =                                    256; ///< Max number of coefficient groups, max(16, 256)
287
static constexpr int MLS_CG_SIZE =                                      4; ///< Coefficient group size of 4x4; = MLS_CG_LOG2_WIDTH + MLS_CG_LOG2_HEIGHT
288
289
static constexpr int MAX_REF_LINE_IDX =                                 3; //highest refLine offset in the list
290
static constexpr int MRL_NUM_REF_LINES =                                3; //number of candidates in the array
291
static constexpr int MULTI_REF_LINE_IDX[3] =                  { 0, 1, 2 };
292
293
static constexpr int PRED_REG_MIN_WIDTH =                               4;  // Minimum prediction region width for ISP subblocks
294
295
static constexpr int NUM_LUMA_MODE =                                   67; ///< Planar + DC + 65 directional mode (4*16 + 1)
296
static constexpr int NUM_LMC_MODE =                                    1 + 2; ///< LMC + MDLM_T + MDLM_L
297
static constexpr int NUM_INTRA_MODE = (NUM_LUMA_MODE + NUM_LMC_MODE);
298
299
static constexpr int NUM_EXT_LUMA_MODE =                               28;
300
301
static constexpr int NUM_DIR =           (((NUM_LUMA_MODE - 3) >> 2) + 1);
302
static constexpr int PLANAR_IDX =                                       0; ///< index for intra PLANAR mode
303
static constexpr int DC_IDX =                                           1; ///< index for intra DC     mode
304
static constexpr int HOR_IDX =                    (1 * (NUM_DIR - 1) + 2); ///< index for intra HORIZONTAL mode
305
static constexpr int DIA_IDX =                    (2 * (NUM_DIR - 1) + 2); ///< index for intra DIAGONAL   mode
306
static constexpr int VER_IDX =                    (3 * (NUM_DIR - 1) + 2); ///< index for intra VERTICAL   mode
307
static constexpr int VDIA_IDX =                   (4 * (NUM_DIR - 1) + 2); ///< index for intra VDIAGONAL  mode
308
static constexpr int BDPCM_IDX =                  (5 * (NUM_DIR - 1) + 2); ///< index for intra VDIAGONAL  mode
309
310
static constexpr int NUM_CHROMA_MODE =                 (5 + NUM_LMC_MODE); ///< total number of chroma modes
311
static constexpr int LM_CHROMA_IDX                        = NUM_LUMA_MODE; ///< chroma mode index for derived from LM mode
312
static constexpr int MDLM_L_IDX =                       LM_CHROMA_IDX + 1; ///< MDLM_L
313
static constexpr int MDLM_T_IDX =                       LM_CHROMA_IDX + 2; ///< MDLM_T
314
static constexpr int DM_CHROMA_IDX =                       NUM_INTRA_MODE; ///< chroma mode index for derived from luma intra mode
315
static constexpr int NUM_MOST_PROBABLE_MODES                          = 6;
316
static constexpr int LM_SYMBOL_NUM                   = (1 + NUM_LMC_MODE);
317
318
static constexpr uint32_t  NUM_TRAFO_MODES_MTS =                        6; ///< Max Intra CU size applying EMT, supported values: 8, 16, 32, 64, 128
319
static constexpr uint32_t  MTS_INTRA_MAX_CU_SIZE =                     32; ///< Max Intra CU size applying EMT, supported values: 8, 16, 32, 64, 128
320
static constexpr uint32_t  MTS_INTER_MAX_CU_SIZE =                     32; ///< Max Inter CU size applying EMT, supported values: 8, 16, 32, 64, 128
321
322
static constexpr int MAX_NUM_MIP_MODE =                                32; ///< maximum number of MIP modes
323
#if INTRA_FULL_SEARCH
324
static constexpr int FAST_UDI_MAX_RDMODE_NUM = (NUM_LUMA_MODE + MAX_NUM_MIP_MODE); ///< maximum number of RD comparison in fast-UDI estimation loop
325
#else
326
static constexpr int FAST_UDI_MAX_RDMODE_NUM = (16);                       ///< maximum number of RD comparison in fast-UDI estimation loop
327
#endif
328
static constexpr int MAX_LFNST_COEF_NUM =                              16;
329
330
static constexpr int LFNST_LAST_SIG_LUMA =                              1;
331
static constexpr int LFNST_LAST_SIG_CHROMA =                            1;
332
333
static constexpr int NUM_LFNST_NUM_PER_SET =                            3;
334
335
static constexpr int MV_FRACTIONAL_BITS_INTERNAL                      = 4;
336
static constexpr int MV_FRACTIONAL_BITS_SIGNAL                        = 2;
337
static constexpr int MV_FRACTIONAL_BITS_DIFF = MV_FRACTIONAL_BITS_INTERNAL - MV_FRACTIONAL_BITS_SIGNAL;
338
static constexpr int LUMA_INTERPOLATION_FILTER_SUB_SAMPLE_POSITIONS_SIGNAL = 1 << MV_FRACTIONAL_BITS_SIGNAL;
339
static constexpr int LUMA_INTERPOLATION_FILTER_SUB_SAMPLE_POSITIONS = 1 << MV_FRACTIONAL_BITS_INTERNAL;
340
static constexpr int CHROMA_INTERPOLATION_FILTER_SUB_SAMPLE_POSITIONS = 1 << (MV_FRACTIONAL_BITS_INTERNAL + 1);
341
342
static constexpr int MAX_NUM_SUB_PICS =                         (1 << 16);
343
static constexpr int MAX_NUM_LONG_TERM_REF_PICS =                      33;
344
static constexpr int NUM_LONG_TERM_REF_PIC_SPS =                        0;
345
#if INTER_FULL_SEARCH
346
static constexpr int MAX_REF_PICS =                                    33;
347
#else
348
static constexpr int MAX_REF_PICS =                                    6;
349
#endif
350
351
static constexpr int MAX_QP_OFFSET_LIST_SIZE =                          6; ///< Maximum size of QP offset list is 6 entries
352
353
// Cost mode support
354
static constexpr int LOSSLESS_AND_MIXED_LOSSLESS_RD_COST_TEST_QP =      0; ///< QP to use for lossless coding.
355
static constexpr int LOSSLESS_AND_MIXED_LOSSLESS_RD_COST_TEST_QP_PRIME =4; ///< QP' to use for mixed_lossy_lossless coding.
356
357
static constexpr int MAX_CU_DEPTH =                                     7; ///< log2(CTUSize)
358
static constexpr int MAX_CU_SIZE_IDX =                                  MAX_CU_DEPTH + 1; ///< 1+log2(CTUSize)
359
static constexpr int MAX_TU_SIZE_IDX =                                  MAX_TB_LOG2_SIZEY + 1; ///< 1+log2(MaxTuSize)
360
static constexpr int MAX_CU_SIZE =                                      1<<MAX_CU_DEPTH;
361
static constexpr int MIN_CU_LOG2 =                                      2;
362
static constexpr int MIN_PU_SIZE =                                      4;
363
364
static constexpr int JVET_C0024_ZERO_OUT_TH =                          32;
365
366
static constexpr int MAX_NUM_PART_IDXS_IN_CTU_WIDTH = MAX_CU_SIZE/MIN_PU_SIZE; ///< maximum number of partition indices across the width of a CTU (or height of a CTU)
367
static constexpr int SCALING_LIST_REM_NUM =                             6;
368
369
static constexpr int QUANT_SHIFT =                                     14; ///< Q(4) = 2^14
370
static constexpr int IQUANT_SHIFT =                                     6;
371
372
static constexpr int    SCALE_BITS      = 15;   // Precision for fractional bit estimates
373
static constexpr double FRAC_BITS_SCALE = 1.0 / (1 << SCALE_BITS);
374
375
static constexpr int SCALING_LIST_PRED_MODES = 2;
376
static constexpr int SCALING_LIST_NUM = MAX_NUM_COMP * SCALING_LIST_PRED_MODES; ///< list number for quantization matrix
377
378
static constexpr int SCALING_LIST_BITS =                                8; ///< bit depth of scaling list entries
379
static constexpr int LOG2_SCALING_LIST_NEUTRAL_VALUE =                  4; ///< log2 of the value that, when used in a scaling list, has no effect on quantisation
380
381
static constexpr int LAST_SIGNIFICANT_GROUPS =                         14;
382
383
static constexpr int AFFINE_MIN_BLOCK_SIZE =                            4; ///< Minimum affine MC block size
384
385
static constexpr int MMVD_REFINE_STEP =                                 8; ///< max number of distance step
386
static constexpr int MMVD_MAX_REFINE_NUM =                              (MMVD_REFINE_STEP * 4); ///< max number of candidate from a base candidate
387
static constexpr int MMVD_BASE_MV_NUM =                                 2; ///< max number of base candidate
388
static constexpr int MMVD_ADD_NUM =                                     (MMVD_MAX_REFINE_NUM * MMVD_BASE_MV_NUM);///< total number of mmvd candidate
389
390
union MmvdIdx
391
{
392
  using T = uint8_t;
393
394
  static constexpr int LOG_REFINE_STEP = 3;
395
  static constexpr int REFINE_STEP     = 1 << LOG_REFINE_STEP;
396
  static constexpr int LOG_BASE_MV_NUM = 1;
397
  static constexpr int BASE_MV_NUM     = 1 << LOG_BASE_MV_NUM;
398
  static constexpr int MAX_REFINE_NUM  = 4 * REFINE_STEP;
399
  static constexpr int ADD_NUM         = MAX_REFINE_NUM * BASE_MV_NUM;
400
  static constexpr int INVALID         = std::numeric_limits<T>::max();
401
402
  struct
403
  {
404
    T position : 2;
405
    T step     : LOG_REFINE_STEP;
406
    T baseIdx  : LOG_BASE_MV_NUM;
407
  } pos;
408
  T val;
409
};
410
411
static constexpr int MAX_TU_LEVEL_CTX_CODED_BIN_CONSTRAINT =            28;
412
413
static constexpr int BDOF_EXTEND_SIZE             =                     1;
414
static constexpr int BDOF_TEMP_BUFFER_SIZE        =                     (MAX_CU_SIZE + 2 * BDOF_EXTEND_SIZE) * (MAX_CU_SIZE + 2 * BDOF_EXTEND_SIZE) + 2; // add 2 to allow for SIMD overreads
415
416
static constexpr int PROF_BORDER_EXT_W            =                     1;
417
static constexpr int PROF_BORDER_EXT_H            =                     1;
418
static constexpr int BCW_NUM =                                          5; ///< the number of weight options
419
static constexpr int BCW_DEFAULT =                                      ((uint8_t)(BCW_NUM >> 1)); ///< Default weighting index representing for w=0.5
420
static constexpr int BCW_SIZE_CONSTRAINT =                            256; ///< disabling Bcw if cu size is smaller than 256
421
static constexpr int MAX_NUM_HMVP_CANDS =                              (MRG_MAX_NUM_CANDS-1); ///< maximum number of HMVP candidates to be stored and used in merge list
422
static constexpr int MAX_NUM_HMVP_AVMPCANDS =                          4; ///< maximum number of HMVP candidates to be used in AMVP list
423
424
static constexpr int ALF_VB_POS_ABOVE_CTUROW_LUMA = 4;
425
static constexpr int ALF_VB_POS_ABOVE_CTUROW_CHMA = 2;
426
427
static constexpr int DMVR_SUBCU_SIZE = 16;
428
static constexpr int DMVR_SUBCU_SIZE_LOG2 = 4;
429
static constexpr int MAX_NUM_SUBCU_DMVR = ((MAX_CU_SIZE * MAX_CU_SIZE) >> (DMVR_SUBCU_SIZE_LOG2 + DMVR_SUBCU_SIZE_LOG2));
430
static constexpr int DMVR_NUM_ITERATION = 2;
431
432
//QTBT high level parameters
433
//for I slice luma CTB configuration para.
434
static constexpr int    MAX_BT_DEPTH  =                                 4;      ///<  <=7
435
                                                                            //for P/B slice CTU config. para.
436
static constexpr int    MAX_BT_DEPTH_INTER =                            4;      ///< <=7
437
static constexpr int    MAX_BT_SIZE_INTER  =                          128;      ///< for initialization, [1<<MIN_BT_SIZE_INTER, 1<<CTU_LOG2]
438
439
                                                                           //for I slice chroma CTB configuration para. (in luma samples)
440
static constexpr int    MIN_DUALTREE_CHROMA_WIDTH  =                    4;
441
static constexpr int    MIN_DUALTREE_CHROMA_SIZE   =                   16;
442
static constexpr SplitSeries SPLIT_BITS         =                       5;
443
static constexpr SplitSeries SPLIT_DMULT        =                       5;
444
static constexpr SplitSeries SPLIT_MASK         =                      31;      ///< = (1 << SPLIT_BITS) - 1
445
446
static constexpr int    SKIP_DEPTH =                                    3;
447
static constexpr int    PICTURE_DISTANCE_TH =                           1;
448
static constexpr int    FAST_SKIP_DEPTH =                               2;
449
450
static constexpr double PBINTRA_RATIO     =                             1.1;
451
static constexpr int    NUM_MRG_SATD_CAND =                             4;
452
static constexpr double MRG_FAST_RATIO[2]    =                        { 1.25, 1.05 };
453
static constexpr double MRG_FAST_RATIOMYV[4] =                        { 1.15, 1.1, 1.1, 1.05 };
454
static constexpr int    NUM_AMAXBT_LAYER =                             10;
455
static constexpr double AMAXBT_TH32 =                                  15.0;
456
static constexpr double AMAXBT_TH64 =                                  30.0;
457
static constexpr int    NUM_AFF_MRG_SATD_CAND =                         2;
458
459
// Threshholds for Fast Chroma Block Partitoning. Only used in Intra Only Coding
460
static constexpr int    FCBP_TH1 =                                     18000;
461
static constexpr int    FCBP_TH2 =                                     105;
462
463
static constexpr int NTAPS_LUMA               =                         8; ///< Number of taps for luma
464
static constexpr int NTAPS_CHROMA             =                         4; ///< Number of taps for chroma
465
static constexpr int NTAPS_AFFINE             =                         6;
466
static constexpr int NTAPS_BILINEAR           =                         2; ///< Number of taps for bilinear filter
467
468
static constexpr int ATMVP_SUB_BLOCK_SIZE =                             3; ///< sub-block size for ATMVP
469
470
static constexpr int GEO_MAX_NUM_UNI_CANDS =                            6;
471
static constexpr int GEO_MAX_NUM_CANDS = GEO_MAX_NUM_UNI_CANDS * (GEO_MAX_NUM_UNI_CANDS - 1);
472
static constexpr int GEO_MIN_CU_LOG2 =                                  3;
473
static constexpr int GEO_MAX_CU_LOG2 =                                  6;
474
static constexpr int GEO_MIN_CU_SIZE =               1 << GEO_MIN_CU_LOG2;
475
static constexpr int GEO_MAX_CU_SIZE =               1 << GEO_MAX_CU_LOG2;
476
static constexpr int GEO_NUM_CU_SIZE = ( GEO_MAX_CU_LOG2 - GEO_MIN_CU_LOG2 ) + 1;
477
static constexpr int GEO_NUM_PARTITION_MODE =                          64;
478
static constexpr int GEO_NUM_ANGLES =                                  32;
479
static constexpr int GEO_NUM_DISTANCES =                                4;
480
static constexpr int GEO_NUM_PRESTORED_MASK =                           6;
481
static constexpr int GEO_WEIGHT_MASK_SIZE = 3 * (GEO_MAX_CU_SIZE >> 3) * 2 + GEO_MAX_CU_SIZE;
482
static constexpr int GEO_MV_MASK_SIZE =         GEO_WEIGHT_MASK_SIZE >> 2;
483
static constexpr int GEO_MAX_TRY_WEIGHTED_SAD = 60;
484
static constexpr int GEO_MAX_TRY_WEIGHTED_SATD = 8;
485
486
#if INTER_FULL_SEARCH
487
static constexpr int SBT_NUM_SL =                                      10; ///< maximum number of historical PU decision saved for a CU
488
#else
489
static constexpr int SBT_NUM_SL =                                       4; ///< maximum number of historical PU decision saved for a CU
490
#endif
491
static constexpr int SBT_NUM_RDO =                                      2; ///< maximum number of SBT mode tried for a PU
492
static constexpr unsigned SBT_FAST64_WIDTH_THRESHOLD =               1920;
493
494
static constexpr int NUM_INTER_CU_INFO_SAVE =                           8; ///< maximum number of inter cu information saved for fast algorithm
495
static constexpr int LDT_MODE_TYPE_INHERIT =                            0; ///< No need to signal mode_constraint_flag, and the modeType of the region is inherited from its parent node
496
static constexpr int LDT_MODE_TYPE_INFER =                              1; ///< No need to signal mode_constraint_flag, and the modeType of the region is inferred as MODE_TYPE_INTRA
497
static constexpr int LDT_MODE_TYPE_SIGNAL =                             2; ///< Need to signal mode_constraint_flag, and the modeType of the region is determined by the flag
498
499
static constexpr int IBC_NUM_CANDIDATES = 64; ///< Maximum number of candidates to store/test
500
static constexpr int CHROMA_REFINEMENT_CANDIDATES = 8; /// 8 candidates BV to choose from
501
502
static constexpr int MV_EXPONENT_BITCOUNT    = 4;
503
static constexpr int MV_MANTISSA_BITCOUNT    = 6;
504
static constexpr int MV_MANTISSA_UPPER_LIMIT = ((1 << (MV_MANTISSA_BITCOUNT - 1)) - 1);
505
static constexpr int MV_MANTISSA_LIMIT       = (1 << (MV_MANTISSA_BITCOUNT - 1));
506
static constexpr int MV_EXPONENT_MASK        = ((1 << MV_EXPONENT_BITCOUNT) - 1);
507
508
static constexpr int MV_BITS =                                   18;
509
static constexpr int MV_MAX =              (1 << (MV_BITS - 1)) - 1;
510
static constexpr int MV_MIN =                 -(1 << (MV_BITS - 1));
511
512
static constexpr int MVD_MAX =                            (1 << 17) - 1;
513
static constexpr int MVD_MIN =                               -(1 << 17);
514
515
static constexpr int PIC_ANALYZE_CW_BINS =                           32;
516
static constexpr int PIC_CODE_CW_BINS =                              16;
517
static constexpr int LMCS_SEG_NUM =                                  32;
518
static constexpr int FP_PREC =                                       11;
519
static constexpr int CSCALE_FP_PREC =                                11;
520
521
static constexpr int MCTF_PADDING         = 128;
522
523
static constexpr int SCALE_RATIO_BITS =                              14;
524
static constexpr int DELTA_QP_ACT[4] =                  { -5, 1, 3, 1 };
525
526
static constexpr uint32_t CCALF_CANDS_COEFF_NR = 8;
527
static constexpr int CCALF_SMALL_TAB[CCALF_CANDS_COEFF_NR] = { 0, 1, 2, 4, 8, 16, 32, 64 };
528
529
static constexpr uint8_t MIP_SHIFT_MATRIX  =  6;
530
static constexpr uint8_t MIP_OFFSET_MATRIX = 32;
531
static constexpr uint8_t SORTED_BUFS = 9;
532
static constexpr uint8_t MAX_TMP_BUFS = 2 + 2 * GEO_MAX_NUM_UNI_CANDS;
533
534
static constexpr int QPA_MAX_NOISE_LEVELS = 8;
535
536
537
538
// ====================================================================================================================
539
// Macro functions
540
// ====================================================================================================================
541
542
struct ClpRng
543
{
544
  static constexpr
545
839M
  int min()       { return 0; }
546
839M
  int max() const { return ( 1 << bd )-1; }
547
  int bd;
548
};
549
550
struct ClpRngs : public ClpRng
551
{
552
  // bitdepth has to be the same for all channels
553
6.33M
  const ClpRng& operator[] ( const ComponentID /*compID*/ ) const { return *this; }
554
0
  const ClpRng& operator[] ( const int         /*compID*/ ) const { return *this; }
555
  //const ClpRng& operator[] ( const ComponentID compId ) const { return comp[compId]; }
556
  //ClpRng comp[MAX_NUM_COMP]; ///< the bit depth as indicated in the SPS
557
};
558
559
struct Position;
560
struct Size;
561
struct VPS;
562
struct DCI;
563
struct SPS;
564
struct PPS;
565
class Slice;
566
class PreCalcValues;
567
568
390M
template <typename T> constexpr static inline T Clip3  ( const T minVal, const T maxVal, const T a) { return std::min<T> (std::max<T> (minVal, a) , maxVal); }  ///< general min/max clip
Unexecuted instantiation: vvencCfg.cpp:int vvenc::Clip3<int>(int, int, int)
vvencCfg.cpp:double vvenc::Clip3<double>(double, double, double)
Line
Count
Source
568
4.58k
template <typename T> constexpr static inline T Clip3  ( const T minVal, const T maxVal, const T a) { return std::min<T> (std::max<T> (minVal, a) , maxVal); }  ///< general min/max clip
Unexecuted instantiation: vvencCfg.cpp:unsigned int vvenc::Clip3<unsigned int>(unsigned int, unsigned int, unsigned int)
Unexecuted instantiation: vvencimpl.cpp:int vvenc::Clip3<int>(int, int, int)
Unexecuted instantiation: vvencimpl.cpp:unsigned int vvenc::Clip3<unsigned int>(unsigned int, unsigned int, unsigned int)
Unexecuted instantiation: ProfileLevelTier.cpp:int vvenc::Clip3<int>(int, int, int)
Unexecuted instantiation: ProfileLevelTier.cpp:unsigned int vvenc::Clip3<unsigned int>(unsigned int, unsigned int, unsigned int)
Rom.cpp:int vvenc::Clip3<int>(int, int, int)
Line
Count
Source
568
1.05M
template <typename T> constexpr static inline T Clip3  ( const T minVal, const T maxVal, const T a) { return std::min<T> (std::max<T> (minVal, a) , maxVal); }  ///< general min/max clip
Unexecuted instantiation: Rom.cpp:unsigned int vvenc::Clip3<unsigned int>(unsigned int, unsigned int, unsigned int)
Slice.cpp:int vvenc::Clip3<int>(int, int, int)
Line
Count
Source
568
46.2k
template <typename T> constexpr static inline T Clip3  ( const T minVal, const T maxVal, const T a) { return std::min<T> (std::max<T> (minVal, a) , maxVal); }  ///< general min/max clip
Unexecuted instantiation: Slice.cpp:unsigned int vvenc::Clip3<unsigned int>(unsigned int, unsigned int, unsigned int)
Unexecuted instantiation: EncLib.cpp:int vvenc::Clip3<int>(int, int, int)
Unexecuted instantiation: EncLib.cpp:unsigned int vvenc::Clip3<unsigned int>(unsigned int, unsigned int, unsigned int)
PreProcess.cpp:unsigned short vvenc::Clip3<unsigned short>(unsigned short, unsigned short, unsigned short)
Line
Count
Source
568
4.86k
template <typename T> constexpr static inline T Clip3  ( const T minVal, const T maxVal, const T a) { return std::min<T> (std::max<T> (minVal, a) , maxVal); }  ///< general min/max clip
Unexecuted instantiation: PreProcess.cpp:int vvenc::Clip3<int>(int, int, int)
Unexecuted instantiation: PreProcess.cpp:unsigned int vvenc::Clip3<unsigned int>(unsigned int, unsigned int, unsigned int)
Unexecuted instantiation: RateCtrl.cpp:unsigned int vvenc::Clip3<unsigned int>(unsigned int, unsigned int, unsigned int)
Unexecuted instantiation: RateCtrl.cpp:int vvenc::Clip3<int>(int, int, int)
Unexecuted instantiation: RateCtrl.cpp:double vvenc::Clip3<double>(double, double, double)
Buffer.cpp:int vvenc::Clip3<int>(int, int, int)
Line
Count
Source
568
16.2M
template <typename T> constexpr static inline T Clip3  ( const T minVal, const T maxVal, const T a) { return std::min<T> (std::max<T> (minVal, a) , maxVal); }  ///< general min/max clip
Unexecuted instantiation: Buffer.cpp:unsigned int vvenc::Clip3<unsigned int>(unsigned int, unsigned int, unsigned int)
Unexecuted instantiation: MCTF.cpp:int vvenc::Clip3<int>(int, int, int)
Unexecuted instantiation: MCTF.cpp:unsigned int vvenc::Clip3<unsigned int>(unsigned int, unsigned int, unsigned int)
Unexecuted instantiation: Picture.cpp:int vvenc::Clip3<int>(int, int, int)
Unexecuted instantiation: Picture.cpp:unsigned int vvenc::Clip3<unsigned int>(unsigned int, unsigned int, unsigned int)
Unexecuted instantiation: Unit.cpp:int vvenc::Clip3<int>(int, int, int)
Unexecuted instantiation: Unit.cpp:unsigned int vvenc::Clip3<unsigned int>(unsigned int, unsigned int, unsigned int)
Unexecuted instantiation: UnitTools.cpp:int vvenc::Clip3<int>(int, int, int)
Unexecuted instantiation: UnitTools.cpp:unsigned int vvenc::Clip3<unsigned int>(unsigned int, unsigned int, unsigned int)
BitAllocation.cpp:unsigned short vvenc::Clip3<unsigned short>(unsigned short, unsigned short, unsigned short)
Line
Count
Source
568
12.5k
template <typename T> constexpr static inline T Clip3  ( const T minVal, const T maxVal, const T a) { return std::min<T> (std::max<T> (minVal, a) , maxVal); }  ///< general min/max clip
BitAllocation.cpp:int vvenc::Clip3<int>(int, int, int)
Line
Count
Source
568
8.85k
template <typename T> constexpr static inline T Clip3  ( const T minVal, const T maxVal, const T a) { return std::min<T> (std::max<T> (minVal, a) , maxVal); }  ///< general min/max clip
Unexecuted instantiation: BitAllocation.cpp:double vvenc::Clip3<double>(double, double, double)
Unexecuted instantiation: BitAllocation.cpp:unsigned int vvenc::Clip3<unsigned int>(unsigned int, unsigned int, unsigned int)
EncGOP.cpp:unsigned int vvenc::Clip3<unsigned int>(unsigned int, unsigned int, unsigned int)
Line
Count
Source
568
1.21k
template <typename T> constexpr static inline T Clip3  ( const T minVal, const T maxVal, const T a) { return std::min<T> (std::max<T> (minVal, a) , maxVal); }  ///< general min/max clip
Unexecuted instantiation: EncGOP.cpp:int vvenc::Clip3<int>(int, int, int)
Unexecuted instantiation: EncHRD.cpp:int vvenc::Clip3<int>(int, int, int)
Unexecuted instantiation: EncHRD.cpp:unsigned int vvenc::Clip3<unsigned int>(unsigned int, unsigned int, unsigned int)
Unexecuted instantiation: EncPicture.cpp:int vvenc::Clip3<int>(int, int, int)
Unexecuted instantiation: EncPicture.cpp:unsigned int vvenc::Clip3<unsigned int>(unsigned int, unsigned int, unsigned int)
Unexecuted instantiation: EncReshape.cpp:short vvenc::Clip3<short>(short, short, short)
Unexecuted instantiation: EncReshape.cpp:int vvenc::Clip3<int>(int, int, int)
Unexecuted instantiation: EncReshape.cpp:unsigned int vvenc::Clip3<unsigned int>(unsigned int, unsigned int, unsigned int)
EncSlice.cpp:int vvenc::Clip3<int>(int, int, int)
Line
Count
Source
568
10.9k
template <typename T> constexpr static inline T Clip3  ( const T minVal, const T maxVal, const T a) { return std::min<T> (std::max<T> (minVal, a) , maxVal); }  ///< general min/max clip
Unexecuted instantiation: EncSlice.cpp:double vvenc::Clip3<double>(double, double, double)
Unexecuted instantiation: EncSlice.cpp:unsigned int vvenc::Clip3<unsigned int>(unsigned int, unsigned int, unsigned int)
Unexecuted instantiation: GOPCfg.cpp:int vvenc::Clip3<int>(int, int, int)
Unexecuted instantiation: GOPCfg.cpp:unsigned int vvenc::Clip3<unsigned int>(unsigned int, unsigned int, unsigned int)
Unexecuted instantiation: InterSearch.cpp:int vvenc::Clip3<int>(int, int, int)
Unexecuted instantiation: InterSearch.cpp:unsigned int vvenc::Clip3<unsigned int>(unsigned int, unsigned int, unsigned int)
Unexecuted instantiation: SEIEncoder.cpp:int vvenc::Clip3<int>(int, int, int)
Unexecuted instantiation: SEIEncoder.cpp:unsigned int vvenc::Clip3<unsigned int>(unsigned int, unsigned int, unsigned int)
Unexecuted instantiation: SEIFilmGrainAnalyzer.cpp:short vvenc::Clip3<short>(short, short, short)
Unexecuted instantiation: SEIFilmGrainAnalyzer.cpp:int vvenc::Clip3<int>(int, int, int)
Unexecuted instantiation: SEIFilmGrainAnalyzer.cpp:double vvenc::Clip3<double>(double, double, double)
Unexecuted instantiation: SEIFilmGrainAnalyzer.cpp:unsigned int vvenc::Clip3<unsigned int>(unsigned int, unsigned int, unsigned int)
Unexecuted instantiation: SEIwrite.cpp:int vvenc::Clip3<int>(int, int, int)
Unexecuted instantiation: SEIwrite.cpp:unsigned int vvenc::Clip3<unsigned int>(unsigned int, unsigned int, unsigned int)
Unexecuted instantiation: VLCWriter.cpp:int vvenc::Clip3<int>(int, int, int)
Unexecuted instantiation: VLCWriter.cpp:unsigned int vvenc::Clip3<unsigned int>(unsigned int, unsigned int, unsigned int)
AdaptiveLoopFilter.cpp:int vvenc::Clip3<int>(int, int, int)
Line
Count
Source
568
1.81M
template <typename T> constexpr static inline T Clip3  ( const T minVal, const T maxVal, const T a) { return std::min<T> (std::max<T> (minVal, a) , maxVal); }  ///< general min/max clip
Unexecuted instantiation: AdaptiveLoopFilter.cpp:unsigned int vvenc::Clip3<unsigned int>(unsigned int, unsigned int, unsigned int)
Unexecuted instantiation: CodingStructure.cpp:int vvenc::Clip3<int>(int, int, int)
Unexecuted instantiation: CodingStructure.cpp:unsigned int vvenc::Clip3<unsigned int>(unsigned int, unsigned int, unsigned int)
ContextModelling.cpp:int vvenc::Clip3<int>(int, int, int)
Line
Count
Source
568
2.07M
template <typename T> constexpr static inline T Clip3  ( const T minVal, const T maxVal, const T a) { return std::min<T> (std::max<T> (minVal, a) , maxVal); }  ///< general min/max clip
Unexecuted instantiation: ContextModelling.cpp:unsigned int vvenc::Clip3<unsigned int>(unsigned int, unsigned int, unsigned int)
Contexts.cpp:int vvenc::Clip3<int>(int, int, int)
Line
Count
Source
568
12.2k
template <typename T> constexpr static inline T Clip3  ( const T minVal, const T maxVal, const T a) { return std::min<T> (std::max<T> (minVal, a) , maxVal); }  ///< general min/max clip
Unexecuted instantiation: Contexts.cpp:unsigned int vvenc::Clip3<unsigned int>(unsigned int, unsigned int, unsigned int)
Unexecuted instantiation: InterPrediction.cpp:int vvenc::Clip3<int>(int, int, int)
Unexecuted instantiation: InterPrediction.cpp:unsigned int vvenc::Clip3<unsigned int>(unsigned int, unsigned int, unsigned int)
Unexecuted instantiation: InterpolationFilter.cpp:int vvenc::Clip3<int>(int, int, int)
LoopFilter.cpp:int vvenc::Clip3<int>(int, int, int)
Line
Count
Source
568
37.6M
template <typename T> constexpr static inline T Clip3  ( const T minVal, const T maxVal, const T a) { return std::min<T> (std::max<T> (minVal, a) , maxVal); }  ///< general min/max clip
Unexecuted instantiation: LoopFilter.cpp:unsigned int vvenc::Clip3<unsigned int>(unsigned int, unsigned int, unsigned int)
Unexecuted instantiation: Mv.cpp:int vvenc::Clip3<int>(int, int, int)
Unexecuted instantiation: Mv.cpp:unsigned int vvenc::Clip3<unsigned int>(unsigned int, unsigned int, unsigned int)
Unexecuted instantiation: PicYuvMD5.cpp:int vvenc::Clip3<int>(int, int, int)
Unexecuted instantiation: PicYuvMD5.cpp:unsigned int vvenc::Clip3<unsigned int>(unsigned int, unsigned int, unsigned int)
Quant.cpp:int vvenc::Clip3<int>(int, int, int)
Line
Count
Source
568
31.8M
template <typename T> constexpr static inline T Clip3  ( const T minVal, const T maxVal, const T a) { return std::min<T> (std::max<T> (minVal, a) , maxVal); }  ///< general min/max clip
Unexecuted instantiation: Quant.cpp:unsigned int vvenc::Clip3<unsigned int>(unsigned int, unsigned int, unsigned int)
Unexecuted instantiation: RdCost.cpp:int vvenc::Clip3<int>(int, int, int)
Unexecuted instantiation: RdCost.cpp:unsigned int vvenc::Clip3<unsigned int>(unsigned int, unsigned int, unsigned int)
Unexecuted instantiation: Reshape.cpp:short vvenc::Clip3<short>(short, short, short)
Unexecuted instantiation: Reshape.cpp:int vvenc::Clip3<int>(int, int, int)
Unexecuted instantiation: Reshape.cpp:unsigned int vvenc::Clip3<unsigned int>(unsigned int, unsigned int, unsigned int)
Unexecuted instantiation: SampleAdaptiveOffset.cpp:int vvenc::Clip3<int>(int, int, int)
Unexecuted instantiation: SampleAdaptiveOffset.cpp:unsigned int vvenc::Clip3<unsigned int>(unsigned int, unsigned int, unsigned int)
TrQuant.cpp:int vvenc::Clip3<int>(int, int, int)
Line
Count
Source
568
18.3M
template <typename T> constexpr static inline T Clip3  ( const T minVal, const T maxVal, const T a) { return std::min<T> (std::max<T> (minVal, a) , maxVal); }  ///< general min/max clip
Unexecuted instantiation: TrQuant.cpp:unsigned int vvenc::Clip3<unsigned int>(unsigned int, unsigned int, unsigned int)
TrQuant_EMT.cpp:int vvenc::Clip3<int>(int, int, int)
Line
Count
Source
568
273M
template <typename T> constexpr static inline T Clip3  ( const T minVal, const T maxVal, const T a) { return std::min<T> (std::max<T> (minVal, a) , maxVal); }  ///< general min/max clip
Unexecuted instantiation: UnitPartitioner.cpp:int vvenc::Clip3<int>(int, int, int)
Unexecuted instantiation: UnitPartitioner.cpp:unsigned int vvenc::Clip3<unsigned int>(unsigned int, unsigned int, unsigned int)
Unexecuted instantiation: BinEncoder.cpp:int vvenc::Clip3<int>(int, int, int)
Unexecuted instantiation: BinEncoder.cpp:unsigned int vvenc::Clip3<unsigned int>(unsigned int, unsigned int, unsigned int)
Unexecuted instantiation: CABACWriter.cpp:int vvenc::Clip3<int>(int, int, int)
Unexecuted instantiation: CABACWriter.cpp:unsigned int vvenc::Clip3<unsigned int>(unsigned int, unsigned int, unsigned int)
Unexecuted instantiation: EncAdaptiveLoopFilter.cpp:int vvenc::Clip3<int>(int, int, int)
Unexecuted instantiation: EncAdaptiveLoopFilter.cpp:unsigned int vvenc::Clip3<unsigned int>(unsigned int, unsigned int, unsigned int)
Unexecuted instantiation: EncCu.cpp:int vvenc::Clip3<int>(int, int, int)
Unexecuted instantiation: EncCu.cpp:double vvenc::Clip3<double>(double, double, double)
Unexecuted instantiation: EncCu.cpp:unsigned int vvenc::Clip3<unsigned int>(unsigned int, unsigned int, unsigned int)
Unexecuted instantiation: EncModeCtrl.cpp:int vvenc::Clip3<int>(int, int, int)
Unexecuted instantiation: EncModeCtrl.cpp:unsigned int vvenc::Clip3<unsigned int>(unsigned int, unsigned int, unsigned int)
EncSampleAdaptiveOffset.cpp:int vvenc::Clip3<int>(int, int, int)
Line
Count
Source
568
13.7k
template <typename T> constexpr static inline T Clip3  ( const T minVal, const T maxVal, const T a) { return std::min<T> (std::max<T> (minVal, a) , maxVal); }  ///< general min/max clip
Unexecuted instantiation: EncSampleAdaptiveOffset.cpp:unsigned int vvenc::Clip3<unsigned int>(unsigned int, unsigned int, unsigned int)
Unexecuted instantiation: IntraSearch.cpp:int vvenc::Clip3<int>(int, int, int)
Unexecuted instantiation: IntraSearch.cpp:unsigned int vvenc::Clip3<unsigned int>(unsigned int, unsigned int, unsigned int)
DepQuant.cpp:unsigned int vvenc::Clip3<unsigned int>(unsigned int, unsigned int, unsigned int)
Line
Count
Source
568
1.53M
template <typename T> constexpr static inline T Clip3  ( const T minVal, const T maxVal, const T a) { return std::min<T> (std::max<T> (minVal, a) , maxVal); }  ///< general min/max clip
DepQuant.cpp:long vvenc::Clip3<long>(long, long, long)
Line
Count
Source
568
6.82M
template <typename T> constexpr static inline T Clip3  ( const T minVal, const T maxVal, const T a) { return std::min<T> (std::max<T> (minVal, a) , maxVal); }  ///< general min/max clip
Unexecuted instantiation: DepQuant.cpp:int vvenc::Clip3<int>(int, int, int)
Unexecuted instantiation: IntraPrediction.cpp:int vvenc::Clip3<int>(int, int, int)
Unexecuted instantiation: IntraPrediction.cpp:unsigned int vvenc::Clip3<unsigned int>(unsigned int, unsigned int, unsigned int)
Unexecuted instantiation: MatrixIntraPrediction.cpp:int vvenc::Clip3<int>(int, int, int)
Unexecuted instantiation: MatrixIntraPrediction.cpp:unsigned int vvenc::Clip3<unsigned int>(unsigned int, unsigned int, unsigned int)
Unexecuted instantiation: QuantRDOQ2.cpp:int vvenc::Clip3<int>(int, int, int)
Unexecuted instantiation: QuantRDOQ2.cpp:unsigned int vvenc::Clip3<unsigned int>(unsigned int, unsigned int, unsigned int)
Unexecuted instantiation: DecCu.cpp:int vvenc::Clip3<int>(int, int, int)
Unexecuted instantiation: DecCu.cpp:unsigned int vvenc::Clip3<unsigned int>(unsigned int, unsigned int, unsigned int)
Unexecuted instantiation: QuantRDOQ.cpp:int vvenc::Clip3<int>(int, int, int)
Unexecuted instantiation: QuantRDOQ.cpp:unsigned int vvenc::Clip3<unsigned int>(unsigned int, unsigned int, unsigned int)
569
17.3k
template <typename T> constexpr static inline T ClipBD ( const T x, const int bitDepth )            { return Clip3( T( 0 ), T( ( 1 << bitDepth ) - 1 ), x ); }
PreProcess.cpp:unsigned short vvenc::ClipBD<unsigned short>(unsigned short, int)
Line
Count
Source
569
4.86k
template <typename T> constexpr static inline T ClipBD ( const T x, const int bitDepth )            { return Clip3( T( 0 ), T( ( 1 << bitDepth ) - 1 ), x ); }
BitAllocation.cpp:unsigned short vvenc::ClipBD<unsigned short>(unsigned short, int)
Line
Count
Source
569
12.5k
template <typename T> constexpr static inline T ClipBD ( const T x, const int bitDepth )            { return Clip3( T( 0 ), T( ( 1 << bitDepth ) - 1 ), x ); }
570
839M
template <typename T> constexpr static inline T ClipPel( const T a, const ClpRng& clpRng )          { return std::min<T> (std::max<T> (clpRng.min(), a) , clpRng.max()); }  ///< clip reconstruction
Buffer.cpp:int vvenc::ClipPel<int>(int, vvenc::ClpRng const&)
Line
Count
Source
570
711M
template <typename T> constexpr static inline T ClipPel( const T a, const ClpRng& clpRng )          { return std::min<T> (std::max<T> (clpRng.min(), a) , clpRng.max()); }  ///< clip reconstruction
Unexecuted instantiation: Buffer.cpp:short vvenc::ClipPel<short>(short, vvenc::ClpRng const&)
Unexecuted instantiation: InterSearch.cpp:short vvenc::ClipPel<short>(short, vvenc::ClpRng const&)
Unexecuted instantiation: AdaptiveLoopFilter.cpp:int vvenc::ClipPel<int>(int, vvenc::ClpRng const&)
Unexecuted instantiation: InterPrediction.cpp:short vvenc::ClipPel<short>(short, vvenc::ClpRng const&)
Unexecuted instantiation: InterpolationFilter.cpp:int vvenc::ClipPel<int>(int, vvenc::ClpRng const&)
Unexecuted instantiation: InterpolationFilter.cpp:short vvenc::ClipPel<short>(short, vvenc::ClpRng const&)
LoopFilter.cpp:int vvenc::ClipPel<int>(int, vvenc::ClpRng const&)
Line
Count
Source
570
2.71M
template <typename T> constexpr static inline T ClipPel( const T a, const ClpRng& clpRng )          { return std::min<T> (std::max<T> (clpRng.min(), a) , clpRng.max()); }  ///< clip reconstruction
SampleAdaptiveOffset.cpp:int vvenc::ClipPel<int>(int, vvenc::ClpRng const&)
Line
Count
Source
570
118k
template <typename T> constexpr static inline T ClipPel( const T a, const ClpRng& clpRng )          { return std::min<T> (std::max<T> (clpRng.min(), a) , clpRng.max()); }  ///< clip reconstruction
IntraPrediction.cpp:int vvenc::ClipPel<int>(int, vvenc::ClpRng const&)
Line
Count
Source
570
39.8M
template <typename T> constexpr static inline T ClipPel( const T a, const ClpRng& clpRng )          { return std::min<T> (std::max<T> (clpRng.min(), a) , clpRng.max()); }  ///< clip reconstruction
IntraPrediction.cpp:short vvenc::ClipPel<short>(short, vvenc::ClpRng const&)
Line
Count
Source
570
85.2M
template <typename T> constexpr static inline T ClipPel( const T a, const ClpRng& clpRng )          { return std::min<T> (std::max<T> (clpRng.min(), a) , clpRng.max()); }  ///< clip reconstruction
571
572
template <typename T> inline void Check3( T minVal, T maxVal, T a)
573
{
574
  CHECK( ( a > maxVal ) || ( a < minVal ), "ERROR: Range check " << minVal << " >= " << a << " <= " << maxVal << " failed" );
575
}  ///< general min/max clip
576
577
// global logger message callback function - DEPRECATED - will be removed in next major version
578
extern std::function<void( void*, int, const char*, va_list )> g_msgFnc;
579
extern void * g_msgFncCtx;
580
// end global logger 
581
582
583
inline std::string prnt( const char* fmt, ...)
584
8.51k
{
585
8.51k
  va_list argptr;
586
587
8.51k
  va_start(argptr,fmt);
588
589
8.51k
  std::vector<char> cCharVector(256);
590
8.51k
  size_t tRequiredSize = vsnprintf(&cCharVector[0], cCharVector.size(), fmt, argptr);
591
592
8.51k
  if( tRequiredSize > cCharVector.size())
593
0
  {
594
    // try again
595
0
    cCharVector.resize( tRequiredSize );
596
0
    vsnprintf(&cCharVector[0], cCharVector.size(), fmt, argptr);
597
0
  }
598
599
8.51k
  va_end(argptr);
600
601
8.51k
  return std::string( &cCharVector[0] );
602
8.51k
}
603
604
// template<typename T> bool isPowerOf2( const T val ) { return ( val & ( val - 1 ) ) == 0; }
605
606
7.23M
#define MEMORY_ALIGN_DEF_SIZE       32  // for use with avx2 (256 bit)
607
#define CACHE_MEM_ALIGN_SIZE      1024
608
609
#define ALIGNED_MALLOC              1   ///< use 32-bit aligned malloc/free
610
611
#if ALIGNED_MALLOC
612
613
#if ( _WIN32 && ( _MSC_VER > 1300 ) ) || defined (__MINGW64_VERSION_MAJOR)
614
#define xMalloc( type, len )        _aligned_malloc( sizeof(type)*(len), MEMORY_ALIGN_DEF_SIZE )
615
#define xMalloc2( type, len, alg )  _aligned_malloc( sizeof(type)*(len), alg )
616
#define xFree( ptr )                _aligned_free  ( ptr )
617
#elif defined (__MINGW32__)
618
#define xMalloc( type, len )        __mingw_aligned_malloc( sizeof(type)*(len), MEMORY_ALIGN_DEF_SIZE )
619
#define xMalloc2( type, len, alg )  __mingw_aligned_malloc( sizeof(type)*(len), alg )
620
#define xFree( ptr )                __mingw_aligned_free( ptr )
621
#else
622
namespace detail {
623
template<typename T>
624
7.23M
static inline T* aligned_malloc(size_t len, size_t alignement) {
625
7.23M
  T* p = NULL;
626
7.23M
  if( posix_memalign( (void**)&p, alignement, sizeof(T)*(len) ) )
627
0
  {
628
0
    THROW("posix_memalign failed");
629
0
  }
630
7.23M
  return p;
631
7.23M
}
Buffer.cpp:short* vvenc::detail::aligned_malloc<short>(unsigned long, unsigned long)
Line
Count
Source
624
4.06M
static inline T* aligned_malloc(size_t len, size_t alignement) {
625
4.06M
  T* p = NULL;
626
4.06M
  if( posix_memalign( (void**)&p, alignement, sizeof(T)*(len) ) )
627
0
  {
628
0
    THROW("posix_memalign failed");
629
0
  }
630
4.06M
  return p;
631
4.06M
}
Unexecuted instantiation: SEIFilmGrainAnalyzer.cpp:int* vvenc::detail::aligned_malloc<int>(unsigned long, unsigned long)
CodingStructure.cpp:vvenc::LoopFilterParam* vvenc::detail::aligned_malloc<vvenc::LoopFilterParam>(unsigned long, unsigned long)
Line
Count
Source
624
2.43k
static inline T* aligned_malloc(size_t len, size_t alignement) {
625
2.43k
  T* p = NULL;
626
2.43k
  if( posix_memalign( (void**)&p, alignement, sizeof(T)*(len) ) )
627
0
  {
628
0
    THROW("posix_memalign failed");
629
0
  }
630
2.43k
  return p;
631
2.43k
}
CodingStructure.cpp:short* vvenc::detail::aligned_malloc<short>(unsigned long, unsigned long)
Line
Count
Source
624
1.69M
static inline T* aligned_malloc(size_t len, size_t alignement) {
625
1.69M
  T* p = NULL;
626
1.69M
  if( posix_memalign( (void**)&p, alignement, sizeof(T)*(len) ) )
627
0
  {
628
0
    THROW("posix_memalign failed");
629
0
  }
630
1.69M
  return p;
631
1.69M
}
InterPrediction.cpp:short* vvenc::detail::aligned_malloc<short>(unsigned long, unsigned long)
Line
Count
Source
624
1.24M
static inline T* aligned_malloc(size_t len, size_t alignement) {
625
1.24M
  T* p = NULL;
626
1.24M
  if( posix_memalign( (void**)&p, alignement, sizeof(T)*(len) ) )
627
0
  {
628
0
    THROW("posix_memalign failed");
629
0
  }
630
1.24M
  return p;
631
1.24M
}
TrQuant.cpp:int* vvenc::detail::aligned_malloc<int>(unsigned long, unsigned long)
Line
Count
Source
624
175k
static inline T* aligned_malloc(size_t len, size_t alignement) {
625
175k
  T* p = NULL;
626
175k
  if( posix_memalign( (void**)&p, alignement, sizeof(T)*(len) ) )
627
0
  {
628
0
    THROW("posix_memalign failed");
629
0
  }
630
175k
  return p;
631
175k
}
EncAdaptiveLoopFilter.cpp:short* vvenc::detail::aligned_malloc<short>(unsigned long, unsigned long)
Line
Count
Source
624
4.86k
static inline T* aligned_malloc(size_t len, size_t alignement) {
625
4.86k
  T* p = NULL;
626
4.86k
  if( posix_memalign( (void**)&p, alignement, sizeof(T)*(len) ) )
627
0
  {
628
0
    THROW("posix_memalign failed");
629
0
  }
630
4.86k
  return p;
631
4.86k
}
MatrixIntraPrediction.cpp:short* vvenc::detail::aligned_malloc<short>(unsigned long, unsigned long)
Line
Count
Source
624
38.9k
static inline T* aligned_malloc(size_t len, size_t alignement) {
625
38.9k
  T* p = NULL;
626
38.9k
  if( posix_memalign( (void**)&p, alignement, sizeof(T)*(len) ) )
627
0
  {
628
0
    THROW("posix_memalign failed");
629
0
  }
630
38.9k
  return p;
631
38.9k
}
632
}
633
7.23M
#define xMalloc( type, len )        detail::aligned_malloc<type>( len, MEMORY_ALIGN_DEF_SIZE )
634
#define xMalloc2( type, len, alg )  detail::aligned_malloc<type>( len, alg )
635
8.36M
#define xFree( ptr )                free( ptr )
636
#endif
637
638
#else
639
#define xMalloc( type, len )        malloc   ( sizeof(type)*(len) )
640
#define xMalloc2( type, len, alg )  malloc   ( sizeof(type)*(len) )
641
#define xFree( ptr )                free     ( ptr )
642
#endif //#if ALIGNED_MALLOC
643
644
#if defined _MSC_VER
645
#define ALIGN_DATA(nBytes,v) __declspec(align(nBytes)) v
646
#else
647
//#elif defined linux
648
258k
#define ALIGN_DATA(nBytes,v) v __attribute__ ((aligned (nBytes)))
649
//#else
650
//#error unknown platform
651
#endif
652
653
#if defined(__GNUC__) && !defined(__clang__)
654
#    define GCC_VERSION_AT_LEAST(x,y) (__GNUC__ > x || __GNUC__ == x && __GNUC_MINOR__ >= y)
655
#else
656
#    define GCC_VERSION_AT_LEAST(x,y) 0
657
#endif
658
659
#ifdef __clang__
660
#    define CLANG_VERSION_AT_LEAST(x,y) (__clang_major__ > x || __clang_major__ == x && __clang_minor__ >= y)
661
#else
662
#    define CLANG_VERSION_AT_LEAST(x,y) 0
663
#endif
664
665
#ifdef __GNUC__
666
#    define ALWAYS_INLINE __attribute__((always_inline)) inline
667
#elif defined _MSC_VER
668
#    define ALWAYS_INLINE __forceinline
669
#else
670
#    define ALWAYS_INLINE
671
#endif
672
673
#if defined( _WIN32 ) && defined( TARGET_SIMD_X86 )
674
static inline unsigned int bit_scan_reverse( int a )
675
{
676
  unsigned long idx = 0;
677
  _BitScanReverse( &idx, a );
678
  return idx;
679
}
680
// disabled because it requires x86intrin.h which conflicts with simd-everywhere
681
// #elif defined( __GNUC__ ) && defined( TARGET_SIMD_X86 ) && !defined( REAL_TARGET_WASM )
682
// static inline unsigned int bit_scan_reverse( int a )
683
// {
684
//   return _bit_scan_reverse( a );
685
// }
686
#elif defined( __GNUC__ ) || defined( __clang__ )
687
static inline unsigned int bit_scan_reverse( int a )
688
0
{
689
0
  return __builtin_clz( a ) ^ ( 8 * sizeof( a ) - 1 );
690
0
}
Unexecuted instantiation: vvenc.cpp:vvenc::bit_scan_reverse(int)
Unexecuted instantiation: vvencCfg.cpp:vvenc::bit_scan_reverse(int)
Unexecuted instantiation: vvencimpl.cpp:vvenc::bit_scan_reverse(int)
Unexecuted instantiation: ProfileLevelTier.cpp:vvenc::bit_scan_reverse(int)
Unexecuted instantiation: Rom.cpp:vvenc::bit_scan_reverse(int)
Unexecuted instantiation: Slice.cpp:vvenc::bit_scan_reverse(int)
Unexecuted instantiation: EncLib.cpp:vvenc::bit_scan_reverse(int)
Unexecuted instantiation: PreProcess.cpp:vvenc::bit_scan_reverse(int)
Unexecuted instantiation: RateCtrl.cpp:vvenc::bit_scan_reverse(int)
Unexecuted instantiation: NoMallocThreadPool.cpp:vvenc::bit_scan_reverse(int)
Unexecuted instantiation: BitStream.cpp:vvenc::bit_scan_reverse(int)
Unexecuted instantiation: Buffer.cpp:vvenc::bit_scan_reverse(int)
Unexecuted instantiation: MCTF.cpp:vvenc::bit_scan_reverse(int)
Unexecuted instantiation: Picture.cpp:vvenc::bit_scan_reverse(int)
Unexecuted instantiation: Unit.cpp:vvenc::bit_scan_reverse(int)
Unexecuted instantiation: UnitTools.cpp:vvenc::bit_scan_reverse(int)
Unexecuted instantiation: BitAllocation.cpp:vvenc::bit_scan_reverse(int)
Unexecuted instantiation: EncCfg.cpp:vvenc::bit_scan_reverse(int)
Unexecuted instantiation: EncGOP.cpp:vvenc::bit_scan_reverse(int)
Unexecuted instantiation: EncHRD.cpp:vvenc::bit_scan_reverse(int)
Unexecuted instantiation: EncPicture.cpp:vvenc::bit_scan_reverse(int)
Unexecuted instantiation: EncReshape.cpp:vvenc::bit_scan_reverse(int)
Unexecuted instantiation: EncSlice.cpp:vvenc::bit_scan_reverse(int)
Unexecuted instantiation: GOPCfg.cpp:vvenc::bit_scan_reverse(int)
Unexecuted instantiation: InterSearch.cpp:vvenc::bit_scan_reverse(int)
Unexecuted instantiation: NALwrite.cpp:vvenc::bit_scan_reverse(int)
Unexecuted instantiation: SEIEncoder.cpp:vvenc::bit_scan_reverse(int)
Unexecuted instantiation: SEIFilmGrainAnalyzer.cpp:vvenc::bit_scan_reverse(int)
Unexecuted instantiation: SEIwrite.cpp:vvenc::bit_scan_reverse(int)
Unexecuted instantiation: VLCWriter.cpp:vvenc::bit_scan_reverse(int)
Unexecuted instantiation: AdaptiveLoopFilter.cpp:vvenc::bit_scan_reverse(int)
Unexecuted instantiation: AffineGradientSearch.cpp:vvenc::bit_scan_reverse(int)
Unexecuted instantiation: CodingStructure.cpp:vvenc::bit_scan_reverse(int)
Unexecuted instantiation: ContextModelling.cpp:vvenc::bit_scan_reverse(int)
Unexecuted instantiation: Contexts.cpp:vvenc::bit_scan_reverse(int)
Unexecuted instantiation: InterPrediction.cpp:vvenc::bit_scan_reverse(int)
Unexecuted instantiation: InterpolationFilter.cpp:vvenc::bit_scan_reverse(int)
Unexecuted instantiation: LoopFilter.cpp:vvenc::bit_scan_reverse(int)
Unexecuted instantiation: Mv.cpp:vvenc::bit_scan_reverse(int)
Unexecuted instantiation: PicYuvMD5.cpp:vvenc::bit_scan_reverse(int)
Unexecuted instantiation: Quant.cpp:vvenc::bit_scan_reverse(int)
Unexecuted instantiation: RdCost.cpp:vvenc::bit_scan_reverse(int)
Unexecuted instantiation: Reshape.cpp:vvenc::bit_scan_reverse(int)
Unexecuted instantiation: SEI.cpp:vvenc::bit_scan_reverse(int)
Unexecuted instantiation: SampleAdaptiveOffset.cpp:vvenc::bit_scan_reverse(int)
Unexecuted instantiation: TrQuant.cpp:vvenc::bit_scan_reverse(int)
Unexecuted instantiation: TrQuant_EMT.cpp:vvenc::bit_scan_reverse(int)
Unexecuted instantiation: UnitPartitioner.cpp:vvenc::bit_scan_reverse(int)
Unexecuted instantiation: BinEncoder.cpp:vvenc::bit_scan_reverse(int)
Unexecuted instantiation: CABACWriter.cpp:vvenc::bit_scan_reverse(int)
Unexecuted instantiation: EncAdaptiveLoopFilter.cpp:vvenc::bit_scan_reverse(int)
Unexecuted instantiation: EncCu.cpp:vvenc::bit_scan_reverse(int)
Unexecuted instantiation: EncModeCtrl.cpp:vvenc::bit_scan_reverse(int)
Unexecuted instantiation: EncSampleAdaptiveOffset.cpp:vvenc::bit_scan_reverse(int)
Unexecuted instantiation: IntraSearch.cpp:vvenc::bit_scan_reverse(int)
Unexecuted instantiation: DepQuant.cpp:vvenc::bit_scan_reverse(int)
Unexecuted instantiation: IntraPrediction.cpp:vvenc::bit_scan_reverse(int)
Unexecuted instantiation: MatrixIntraPrediction.cpp:vvenc::bit_scan_reverse(int)
Unexecuted instantiation: QuantRDOQ2.cpp:vvenc::bit_scan_reverse(int)
Unexecuted instantiation: RomTr.cpp:vvenc::bit_scan_reverse(int)
Unexecuted instantiation: DecCu.cpp:vvenc::bit_scan_reverse(int)
Unexecuted instantiation: QuantRDOQ.cpp:vvenc::bit_scan_reverse(int)
691
#endif
692
693
#if ENABLE_SIMD_LOG2
694
static inline int getLog2( int val )
695
0
{
696
0
  return bit_scan_reverse( val );
697
0
}
Unexecuted instantiation: vvenc.cpp:vvenc::getLog2(int)
Unexecuted instantiation: vvencCfg.cpp:vvenc::getLog2(int)
Unexecuted instantiation: vvencimpl.cpp:vvenc::getLog2(int)
Unexecuted instantiation: ProfileLevelTier.cpp:vvenc::getLog2(int)
Unexecuted instantiation: Rom.cpp:vvenc::getLog2(int)
Unexecuted instantiation: Slice.cpp:vvenc::getLog2(int)
Unexecuted instantiation: EncLib.cpp:vvenc::getLog2(int)
Unexecuted instantiation: PreProcess.cpp:vvenc::getLog2(int)
Unexecuted instantiation: RateCtrl.cpp:vvenc::getLog2(int)
Unexecuted instantiation: NoMallocThreadPool.cpp:vvenc::getLog2(int)
Unexecuted instantiation: BitStream.cpp:vvenc::getLog2(int)
Unexecuted instantiation: Buffer.cpp:vvenc::getLog2(int)
Unexecuted instantiation: MCTF.cpp:vvenc::getLog2(int)
Unexecuted instantiation: Picture.cpp:vvenc::getLog2(int)
Unexecuted instantiation: Unit.cpp:vvenc::getLog2(int)
Unexecuted instantiation: UnitTools.cpp:vvenc::getLog2(int)
Unexecuted instantiation: BitAllocation.cpp:vvenc::getLog2(int)
Unexecuted instantiation: EncCfg.cpp:vvenc::getLog2(int)
Unexecuted instantiation: EncGOP.cpp:vvenc::getLog2(int)
Unexecuted instantiation: EncHRD.cpp:vvenc::getLog2(int)
Unexecuted instantiation: EncPicture.cpp:vvenc::getLog2(int)
Unexecuted instantiation: EncReshape.cpp:vvenc::getLog2(int)
Unexecuted instantiation: EncSlice.cpp:vvenc::getLog2(int)
Unexecuted instantiation: GOPCfg.cpp:vvenc::getLog2(int)
Unexecuted instantiation: InterSearch.cpp:vvenc::getLog2(int)
Unexecuted instantiation: NALwrite.cpp:vvenc::getLog2(int)
Unexecuted instantiation: SEIEncoder.cpp:vvenc::getLog2(int)
Unexecuted instantiation: SEIFilmGrainAnalyzer.cpp:vvenc::getLog2(int)
Unexecuted instantiation: SEIwrite.cpp:vvenc::getLog2(int)
Unexecuted instantiation: VLCWriter.cpp:vvenc::getLog2(int)
Unexecuted instantiation: AdaptiveLoopFilter.cpp:vvenc::getLog2(int)
Unexecuted instantiation: AffineGradientSearch.cpp:vvenc::getLog2(int)
Unexecuted instantiation: CodingStructure.cpp:vvenc::getLog2(int)
Unexecuted instantiation: ContextModelling.cpp:vvenc::getLog2(int)
Unexecuted instantiation: Contexts.cpp:vvenc::getLog2(int)
Unexecuted instantiation: InterPrediction.cpp:vvenc::getLog2(int)
Unexecuted instantiation: InterpolationFilter.cpp:vvenc::getLog2(int)
Unexecuted instantiation: LoopFilter.cpp:vvenc::getLog2(int)
Unexecuted instantiation: Mv.cpp:vvenc::getLog2(int)
Unexecuted instantiation: PicYuvMD5.cpp:vvenc::getLog2(int)
Unexecuted instantiation: Quant.cpp:vvenc::getLog2(int)
Unexecuted instantiation: RdCost.cpp:vvenc::getLog2(int)
Unexecuted instantiation: Reshape.cpp:vvenc::getLog2(int)
Unexecuted instantiation: SEI.cpp:vvenc::getLog2(int)
Unexecuted instantiation: SampleAdaptiveOffset.cpp:vvenc::getLog2(int)
Unexecuted instantiation: TrQuant.cpp:vvenc::getLog2(int)
Unexecuted instantiation: TrQuant_EMT.cpp:vvenc::getLog2(int)
Unexecuted instantiation: UnitPartitioner.cpp:vvenc::getLog2(int)
Unexecuted instantiation: BinEncoder.cpp:vvenc::getLog2(int)
Unexecuted instantiation: CABACWriter.cpp:vvenc::getLog2(int)
Unexecuted instantiation: EncAdaptiveLoopFilter.cpp:vvenc::getLog2(int)
Unexecuted instantiation: EncCu.cpp:vvenc::getLog2(int)
Unexecuted instantiation: EncModeCtrl.cpp:vvenc::getLog2(int)
Unexecuted instantiation: EncSampleAdaptiveOffset.cpp:vvenc::getLog2(int)
Unexecuted instantiation: IntraSearch.cpp:vvenc::getLog2(int)
Unexecuted instantiation: DepQuant.cpp:vvenc::getLog2(int)
Unexecuted instantiation: IntraPrediction.cpp:vvenc::getLog2(int)
Unexecuted instantiation: MatrixIntraPrediction.cpp:vvenc::getLog2(int)
Unexecuted instantiation: QuantRDOQ2.cpp:vvenc::getLog2(int)
Unexecuted instantiation: RomTr.cpp:vvenc::getLog2(int)
Unexecuted instantiation: DecCu.cpp:vvenc::getLog2(int)
Unexecuted instantiation: QuantRDOQ.cpp:vvenc::getLog2(int)
698
#else
699
extern const int8_t g_aucLog2[MAX_CU_SIZE + 1];
700
static inline int getLog2( int val )
701
{
702
  CHECKD( g_aucLog2[2] != 1, "g_aucLog2[] has not been initialized yet." );
703
  if( val > 0 && val < (int) sizeof( g_aucLog2 ) )
704
  {
705
    return g_aucLog2[val];
706
  }
707
  return std::log2( val );
708
}
709
#endif
710
711
#if ENABLE_SIMD_OPT
712
713
//necessary to be able to compare with SIMD_EVERYWHERE_EXTENSION_LEVEL in RdCostArm during compile time.
714
#define X86_SIMD_UNDEFINED -1
715
#define X86_SIMD_SCALAR 0
716
#define X86_SIMD_SSE41 1
717
#define X86_SIMD_SSE42 2
718
#define X86_SIMD_AVX 3
719
#define X86_SIMD_AVX2 4
720
#define X86_SIMD_AVX512 5
721
722
namespace x86_simd
723
{
724
#ifdef TARGET_SIMD_X86
725
  typedef enum
726
  {
727
    UNDEFINED = X86_SIMD_UNDEFINED,
728
    SCALAR = X86_SIMD_SCALAR,
729
    SSE41 = X86_SIMD_SSE41,
730
    SSE42 = X86_SIMD_SSE42,
731
    AVX = X86_SIMD_AVX,
732
    AVX2 = X86_SIMD_AVX2,
733
    AVX512 = X86_SIMD_AVX512
734
  } X86_VEXT;
735
#endif
736
}
737
738
namespace arm_simd
739
{
740
#ifdef TARGET_SIMD_ARM
741
typedef enum
742
{
743
  UNDEFINED = -1,
744
  SCALAR    = 0,
745
  NEON,
746
  SVE,
747
  SVE2,
748
} ARM_VEXT;
749
#endif   // TARGET_SIMD_ARM
750
}   // namespace arm_simd
751
752
#endif //ENABLE_SIMD_OPT
753
754
0
template <typename ValueType> inline ValueType leftShiftU  (const ValueType value, const unsigned shift) { return value << shift; }
755
40.5M
template <typename ValueType> inline ValueType rightShiftU (const ValueType value, const unsigned shift) { return value >> shift; }
756
757
#if ENABLE_SIMD_LOG2 && defined( TARGET_SIMD_X86 )
758
static inline int floorLog2( int val )
759
{
760
  CHECKD(val == 0, "invalid input value");
761
  return bit_scan_reverse( val );
762
}
763
#else
764
static inline int floorLog2(uint32_t x)
765
363M
{
766
363M
  CHECKD( x == 0, "invalid input value");
767
363M
#ifdef __GNUC__
768
363M
  return 31 - __builtin_clz(x);
769
#else
770
  int result = 0;
771
  if (x & 0xffff0000)
772
  {
773
    x >>= 16;
774
    result += 16;
775
  }
776
  if (x & 0xff00)
777
  {
778
    x >>= 8;
779
    result += 8;
780
  }
781
  if (x & 0xf0)
782
  {
783
    x >>= 4;
784
    result += 4;
785
  }
786
  if (x & 0xc)
787
  {
788
    x >>= 2;
789
    result += 2;
790
  }
791
  if (x & 0x2)
792
  {
793
    x >>= 1;
794
    result += 1;
795
  }
796
  return result;
797
#endif
798
363M
}
Unexecuted instantiation: vvenc.cpp:vvenc::floorLog2(unsigned int)
vvencCfg.cpp:vvenc::floorLog2(unsigned int)
Line
Count
Source
765
4.86k
{
766
4.86k
  CHECKD( x == 0, "invalid input value");
767
4.86k
#ifdef __GNUC__
768
4.86k
  return 31 - __builtin_clz(x);
769
#else
770
  int result = 0;
771
  if (x & 0xffff0000)
772
  {
773
    x >>= 16;
774
    result += 16;
775
  }
776
  if (x & 0xff00)
777
  {
778
    x >>= 8;
779
    result += 8;
780
  }
781
  if (x & 0xf0)
782
  {
783
    x >>= 4;
784
    result += 4;
785
  }
786
  if (x & 0xc)
787
  {
788
    x >>= 2;
789
    result += 2;
790
  }
791
  if (x & 0x2)
792
  {
793
    x >>= 1;
794
    result += 1;
795
  }
796
  return result;
797
#endif
798
4.86k
}
Unexecuted instantiation: vvencimpl.cpp:vvenc::floorLog2(unsigned int)
Unexecuted instantiation: ProfileLevelTier.cpp:vvenc::floorLog2(unsigned int)
Unexecuted instantiation: Rom.cpp:vvenc::floorLog2(unsigned int)
Unexecuted instantiation: Slice.cpp:vvenc::floorLog2(unsigned int)
Unexecuted instantiation: EncLib.cpp:vvenc::floorLog2(unsigned int)
Unexecuted instantiation: PreProcess.cpp:vvenc::floorLog2(unsigned int)
Unexecuted instantiation: RateCtrl.cpp:vvenc::floorLog2(unsigned int)
Unexecuted instantiation: NoMallocThreadPool.cpp:vvenc::floorLog2(unsigned int)
Unexecuted instantiation: BitStream.cpp:vvenc::floorLog2(unsigned int)
Unexecuted instantiation: Buffer.cpp:vvenc::floorLog2(unsigned int)
Unexecuted instantiation: MCTF.cpp:vvenc::floorLog2(unsigned int)
Unexecuted instantiation: Picture.cpp:vvenc::floorLog2(unsigned int)
Unexecuted instantiation: Unit.cpp:vvenc::floorLog2(unsigned int)
UnitTools.cpp:vvenc::floorLog2(unsigned int)
Line
Count
Source
765
4.70M
{
766
4.70M
  CHECKD( x == 0, "invalid input value");
767
4.70M
#ifdef __GNUC__
768
4.70M
  return 31 - __builtin_clz(x);
769
#else
770
  int result = 0;
771
  if (x & 0xffff0000)
772
  {
773
    x >>= 16;
774
    result += 16;
775
  }
776
  if (x & 0xff00)
777
  {
778
    x >>= 8;
779
    result += 8;
780
  }
781
  if (x & 0xf0)
782
  {
783
    x >>= 4;
784
    result += 4;
785
  }
786
  if (x & 0xc)
787
  {
788
    x >>= 2;
789
    result += 2;
790
  }
791
  if (x & 0x2)
792
  {
793
    x >>= 1;
794
    result += 1;
795
  }
796
  return result;
797
#endif
798
4.70M
}
Unexecuted instantiation: BitAllocation.cpp:vvenc::floorLog2(unsigned int)
EncCfg.cpp:vvenc::floorLog2(unsigned int)
Line
Count
Source
765
2.43k
{
766
2.43k
  CHECKD( x == 0, "invalid input value");
767
2.43k
#ifdef __GNUC__
768
2.43k
  return 31 - __builtin_clz(x);
769
#else
770
  int result = 0;
771
  if (x & 0xffff0000)
772
  {
773
    x >>= 16;
774
    result += 16;
775
  }
776
  if (x & 0xff00)
777
  {
778
    x >>= 8;
779
    result += 8;
780
  }
781
  if (x & 0xf0)
782
  {
783
    x >>= 4;
784
    result += 4;
785
  }
786
  if (x & 0xc)
787
  {
788
    x >>= 2;
789
    result += 2;
790
  }
791
  if (x & 0x2)
792
  {
793
    x >>= 1;
794
    result += 1;
795
  }
796
  return result;
797
#endif
798
2.43k
}
EncGOP.cpp:vvenc::floorLog2(unsigned int)
Line
Count
Source
765
3.64k
{
766
3.64k
  CHECKD( x == 0, "invalid input value");
767
3.64k
#ifdef __GNUC__
768
3.64k
  return 31 - __builtin_clz(x);
769
#else
770
  int result = 0;
771
  if (x & 0xffff0000)
772
  {
773
    x >>= 16;
774
    result += 16;
775
  }
776
  if (x & 0xff00)
777
  {
778
    x >>= 8;
779
    result += 8;
780
  }
781
  if (x & 0xf0)
782
  {
783
    x >>= 4;
784
    result += 4;
785
  }
786
  if (x & 0xc)
787
  {
788
    x >>= 2;
789
    result += 2;
790
  }
791
  if (x & 0x2)
792
  {
793
    x >>= 1;
794
    result += 1;
795
  }
796
  return result;
797
#endif
798
3.64k
}
Unexecuted instantiation: EncHRD.cpp:vvenc::floorLog2(unsigned int)
Unexecuted instantiation: EncPicture.cpp:vvenc::floorLog2(unsigned int)
Unexecuted instantiation: EncReshape.cpp:vvenc::floorLog2(unsigned int)
EncSlice.cpp:vvenc::floorLog2(unsigned int)
Line
Count
Source
765
1.21k
{
766
1.21k
  CHECKD( x == 0, "invalid input value");
767
1.21k
#ifdef __GNUC__
768
1.21k
  return 31 - __builtin_clz(x);
769
#else
770
  int result = 0;
771
  if (x & 0xffff0000)
772
  {
773
    x >>= 16;
774
    result += 16;
775
  }
776
  if (x & 0xff00)
777
  {
778
    x >>= 8;
779
    result += 8;
780
  }
781
  if (x & 0xf0)
782
  {
783
    x >>= 4;
784
    result += 4;
785
  }
786
  if (x & 0xc)
787
  {
788
    x >>= 2;
789
    result += 2;
790
  }
791
  if (x & 0x2)
792
  {
793
    x >>= 1;
794
    result += 1;
795
  }
796
  return result;
797
#endif
798
1.21k
}
Unexecuted instantiation: GOPCfg.cpp:vvenc::floorLog2(unsigned int)
InterSearch.cpp:vvenc::floorLog2(unsigned int)
Line
Count
Source
765
2.39M
{
766
2.39M
  CHECKD( x == 0, "invalid input value");
767
2.39M
#ifdef __GNUC__
768
2.39M
  return 31 - __builtin_clz(x);
769
#else
770
  int result = 0;
771
  if (x & 0xffff0000)
772
  {
773
    x >>= 16;
774
    result += 16;
775
  }
776
  if (x & 0xff00)
777
  {
778
    x >>= 8;
779
    result += 8;
780
  }
781
  if (x & 0xf0)
782
  {
783
    x >>= 4;
784
    result += 4;
785
  }
786
  if (x & 0xc)
787
  {
788
    x >>= 2;
789
    result += 2;
790
  }
791
  if (x & 0x2)
792
  {
793
    x >>= 1;
794
    result += 1;
795
  }
796
  return result;
797
#endif
798
2.39M
}
Unexecuted instantiation: NALwrite.cpp:vvenc::floorLog2(unsigned int)
Unexecuted instantiation: SEIEncoder.cpp:vvenc::floorLog2(unsigned int)
Unexecuted instantiation: SEIFilmGrainAnalyzer.cpp:vvenc::floorLog2(unsigned int)
Unexecuted instantiation: SEIwrite.cpp:vvenc::floorLog2(unsigned int)
VLCWriter.cpp:vvenc::floorLog2(unsigned int)
Line
Count
Source
765
19.4k
{
766
19.4k
  CHECKD( x == 0, "invalid input value");
767
19.4k
#ifdef __GNUC__
768
19.4k
  return 31 - __builtin_clz(x);
769
#else
770
  int result = 0;
771
  if (x & 0xffff0000)
772
  {
773
    x >>= 16;
774
    result += 16;
775
  }
776
  if (x & 0xff00)
777
  {
778
    x >>= 8;
779
    result += 8;
780
  }
781
  if (x & 0xf0)
782
  {
783
    x >>= 4;
784
    result += 4;
785
  }
786
  if (x & 0xc)
787
  {
788
    x >>= 2;
789
    result += 2;
790
  }
791
  if (x & 0x2)
792
  {
793
    x >>= 1;
794
    result += 1;
795
  }
796
  return result;
797
#endif
798
19.4k
}
Unexecuted instantiation: AdaptiveLoopFilter.cpp:vvenc::floorLog2(unsigned int)
Unexecuted instantiation: AffineGradientSearch.cpp:vvenc::floorLog2(unsigned int)
Unexecuted instantiation: CodingStructure.cpp:vvenc::floorLog2(unsigned int)
ContextModelling.cpp:vvenc::floorLog2(unsigned int)
Line
Count
Source
765
285M
{
766
285M
  CHECKD( x == 0, "invalid input value");
767
285M
#ifdef __GNUC__
768
285M
  return 31 - __builtin_clz(x);
769
#else
770
  int result = 0;
771
  if (x & 0xffff0000)
772
  {
773
    x >>= 16;
774
    result += 16;
775
  }
776
  if (x & 0xff00)
777
  {
778
    x >>= 8;
779
    result += 8;
780
  }
781
  if (x & 0xf0)
782
  {
783
    x >>= 4;
784
    result += 4;
785
  }
786
  if (x & 0xc)
787
  {
788
    x >>= 2;
789
    result += 2;
790
  }
791
  if (x & 0x2)
792
  {
793
    x >>= 1;
794
    result += 1;
795
  }
796
  return result;
797
#endif
798
285M
}
Unexecuted instantiation: Contexts.cpp:vvenc::floorLog2(unsigned int)
Unexecuted instantiation: InterPrediction.cpp:vvenc::floorLog2(unsigned int)
Unexecuted instantiation: InterpolationFilter.cpp:vvenc::floorLog2(unsigned int)
Unexecuted instantiation: LoopFilter.cpp:vvenc::floorLog2(unsigned int)
Unexecuted instantiation: Mv.cpp:vvenc::floorLog2(unsigned int)
Unexecuted instantiation: PicYuvMD5.cpp:vvenc::floorLog2(unsigned int)
Unexecuted instantiation: Quant.cpp:vvenc::floorLog2(unsigned int)
RdCost.cpp:vvenc::floorLog2(unsigned int)
Line
Count
Source
765
4.63M
{
766
4.63M
  CHECKD( x == 0, "invalid input value");
767
4.63M
#ifdef __GNUC__
768
4.63M
  return 31 - __builtin_clz(x);
769
#else
770
  int result = 0;
771
  if (x & 0xffff0000)
772
  {
773
    x >>= 16;
774
    result += 16;
775
  }
776
  if (x & 0xff00)
777
  {
778
    x >>= 8;
779
    result += 8;
780
  }
781
  if (x & 0xf0)
782
  {
783
    x >>= 4;
784
    result += 4;
785
  }
786
  if (x & 0xc)
787
  {
788
    x >>= 2;
789
    result += 2;
790
  }
791
  if (x & 0x2)
792
  {
793
    x >>= 1;
794
    result += 1;
795
  }
796
  return result;
797
#endif
798
4.63M
}
Unexecuted instantiation: Reshape.cpp:vvenc::floorLog2(unsigned int)
Unexecuted instantiation: SEI.cpp:vvenc::floorLog2(unsigned int)
Unexecuted instantiation: SampleAdaptiveOffset.cpp:vvenc::floorLog2(unsigned int)
TrQuant.cpp:vvenc::floorLog2(unsigned int)
Line
Count
Source
765
12.5M
{
766
12.5M
  CHECKD( x == 0, "invalid input value");
767
12.5M
#ifdef __GNUC__
768
12.5M
  return 31 - __builtin_clz(x);
769
#else
770
  int result = 0;
771
  if (x & 0xffff0000)
772
  {
773
    x >>= 16;
774
    result += 16;
775
  }
776
  if (x & 0xff00)
777
  {
778
    x >>= 8;
779
    result += 8;
780
  }
781
  if (x & 0xf0)
782
  {
783
    x >>= 4;
784
    result += 4;
785
  }
786
  if (x & 0xc)
787
  {
788
    x >>= 2;
789
    result += 2;
790
  }
791
  if (x & 0x2)
792
  {
793
    x >>= 1;
794
    result += 1;
795
  }
796
  return result;
797
#endif
798
12.5M
}
TrQuant_EMT.cpp:vvenc::floorLog2(unsigned int)
Line
Count
Source
765
3.73M
{
766
3.73M
  CHECKD( x == 0, "invalid input value");
767
3.73M
#ifdef __GNUC__
768
3.73M
  return 31 - __builtin_clz(x);
769
#else
770
  int result = 0;
771
  if (x & 0xffff0000)
772
  {
773
    x >>= 16;
774
    result += 16;
775
  }
776
  if (x & 0xff00)
777
  {
778
    x >>= 8;
779
    result += 8;
780
  }
781
  if (x & 0xf0)
782
  {
783
    x >>= 4;
784
    result += 4;
785
  }
786
  if (x & 0xc)
787
  {
788
    x >>= 2;
789
    result += 2;
790
  }
791
  if (x & 0x2)
792
  {
793
    x >>= 1;
794
    result += 1;
795
  }
796
  return result;
797
#endif
798
3.73M
}
Unexecuted instantiation: UnitPartitioner.cpp:vvenc::floorLog2(unsigned int)
Unexecuted instantiation: BinEncoder.cpp:vvenc::floorLog2(unsigned int)
Unexecuted instantiation: CABACWriter.cpp:vvenc::floorLog2(unsigned int)
Unexecuted instantiation: EncAdaptiveLoopFilter.cpp:vvenc::floorLog2(unsigned int)
Unexecuted instantiation: EncCu.cpp:vvenc::floorLog2(unsigned int)
Unexecuted instantiation: EncModeCtrl.cpp:vvenc::floorLog2(unsigned int)
Unexecuted instantiation: EncSampleAdaptiveOffset.cpp:vvenc::floorLog2(unsigned int)
IntraSearch.cpp:vvenc::floorLog2(unsigned int)
Line
Count
Source
765
121k
{
766
121k
  CHECKD( x == 0, "invalid input value");
767
121k
#ifdef __GNUC__
768
121k
  return 31 - __builtin_clz(x);
769
#else
770
  int result = 0;
771
  if (x & 0xffff0000)
772
  {
773
    x >>= 16;
774
    result += 16;
775
  }
776
  if (x & 0xff00)
777
  {
778
    x >>= 8;
779
    result += 8;
780
  }
781
  if (x & 0xf0)
782
  {
783
    x >>= 4;
784
    result += 4;
785
  }
786
  if (x & 0xc)
787
  {
788
    x >>= 2;
789
    result += 2;
790
  }
791
  if (x & 0x2)
792
  {
793
    x >>= 1;
794
    result += 1;
795
  }
796
  return result;
797
#endif
798
121k
}
DepQuant.cpp:vvenc::floorLog2(unsigned int)
Line
Count
Source
765
39.3M
{
766
39.3M
  CHECKD( x == 0, "invalid input value");
767
39.3M
#ifdef __GNUC__
768
39.3M
  return 31 - __builtin_clz(x);
769
#else
770
  int result = 0;
771
  if (x & 0xffff0000)
772
  {
773
    x >>= 16;
774
    result += 16;
775
  }
776
  if (x & 0xff00)
777
  {
778
    x >>= 8;
779
    result += 8;
780
  }
781
  if (x & 0xf0)
782
  {
783
    x >>= 4;
784
    result += 4;
785
  }
786
  if (x & 0xc)
787
  {
788
    x >>= 2;
789
    result += 2;
790
  }
791
  if (x & 0x2)
792
  {
793
    x >>= 1;
794
    result += 1;
795
  }
796
  return result;
797
#endif
798
39.3M
}
IntraPrediction.cpp:vvenc::floorLog2(unsigned int)
Line
Count
Source
765
9.85M
{
766
9.85M
  CHECKD( x == 0, "invalid input value");
767
9.85M
#ifdef __GNUC__
768
9.85M
  return 31 - __builtin_clz(x);
769
#else
770
  int result = 0;
771
  if (x & 0xffff0000)
772
  {
773
    x >>= 16;
774
    result += 16;
775
  }
776
  if (x & 0xff00)
777
  {
778
    x >>= 8;
779
    result += 8;
780
  }
781
  if (x & 0xf0)
782
  {
783
    x >>= 4;
784
    result += 4;
785
  }
786
  if (x & 0xc)
787
  {
788
    x >>= 2;
789
    result += 2;
790
  }
791
  if (x & 0x2)
792
  {
793
    x >>= 1;
794
    result += 1;
795
  }
796
  return result;
797
#endif
798
9.85M
}
MatrixIntraPrediction.cpp:vvenc::floorLog2(unsigned int)
Line
Count
Source
765
86.4k
{
766
86.4k
  CHECKD( x == 0, "invalid input value");
767
86.4k
#ifdef __GNUC__
768
86.4k
  return 31 - __builtin_clz(x);
769
#else
770
  int result = 0;
771
  if (x & 0xffff0000)
772
  {
773
    x >>= 16;
774
    result += 16;
775
  }
776
  if (x & 0xff00)
777
  {
778
    x >>= 8;
779
    result += 8;
780
  }
781
  if (x & 0xf0)
782
  {
783
    x >>= 4;
784
    result += 4;
785
  }
786
  if (x & 0xc)
787
  {
788
    x >>= 2;
789
    result += 2;
790
  }
791
  if (x & 0x2)
792
  {
793
    x >>= 1;
794
    result += 1;
795
  }
796
  return result;
797
#endif
798
86.4k
}
Unexecuted instantiation: QuantRDOQ2.cpp:vvenc::floorLog2(unsigned int)
Unexecuted instantiation: RomTr.cpp:vvenc::floorLog2(unsigned int)
Unexecuted instantiation: DecCu.cpp:vvenc::floorLog2(unsigned int)
Unexecuted instantiation: QuantRDOQ.cpp:vvenc::floorLog2(unsigned int)
799
#endif
800
801
static inline int ceilLog2(uint32_t x)
802
1.91M
{
803
1.91M
  return (x==0) ? -1 : floorLog2(x - 1) + 1;
804
1.91M
}
Unexecuted instantiation: vvenc.cpp:vvenc::ceilLog2(unsigned int)
vvencCfg.cpp:vvenc::ceilLog2(unsigned int)
Line
Count
Source
802
3.64k
{
803
3.64k
  return (x==0) ? -1 : floorLog2(x - 1) + 1;
804
3.64k
}
Unexecuted instantiation: vvencimpl.cpp:vvenc::ceilLog2(unsigned int)
Unexecuted instantiation: ProfileLevelTier.cpp:vvenc::ceilLog2(unsigned int)
Unexecuted instantiation: Rom.cpp:vvenc::ceilLog2(unsigned int)
Unexecuted instantiation: Slice.cpp:vvenc::ceilLog2(unsigned int)
Unexecuted instantiation: EncLib.cpp:vvenc::ceilLog2(unsigned int)
Unexecuted instantiation: PreProcess.cpp:vvenc::ceilLog2(unsigned int)
Unexecuted instantiation: RateCtrl.cpp:vvenc::ceilLog2(unsigned int)
Unexecuted instantiation: NoMallocThreadPool.cpp:vvenc::ceilLog2(unsigned int)
Unexecuted instantiation: BitStream.cpp:vvenc::ceilLog2(unsigned int)
Unexecuted instantiation: Buffer.cpp:vvenc::ceilLog2(unsigned int)
Unexecuted instantiation: MCTF.cpp:vvenc::ceilLog2(unsigned int)
Unexecuted instantiation: Picture.cpp:vvenc::ceilLog2(unsigned int)
Unexecuted instantiation: Unit.cpp:vvenc::ceilLog2(unsigned int)
Unexecuted instantiation: UnitTools.cpp:vvenc::ceilLog2(unsigned int)
Unexecuted instantiation: BitAllocation.cpp:vvenc::ceilLog2(unsigned int)
EncCfg.cpp:vvenc::ceilLog2(unsigned int)
Line
Count
Source
802
1.21k
{
803
1.21k
  return (x==0) ? -1 : floorLog2(x - 1) + 1;
804
1.21k
}
EncGOP.cpp:vvenc::ceilLog2(unsigned int)
Line
Count
Source
802
1.21k
{
803
1.21k
  return (x==0) ? -1 : floorLog2(x - 1) + 1;
804
1.21k
}
Unexecuted instantiation: EncHRD.cpp:vvenc::ceilLog2(unsigned int)
Unexecuted instantiation: EncPicture.cpp:vvenc::ceilLog2(unsigned int)
Unexecuted instantiation: EncReshape.cpp:vvenc::ceilLog2(unsigned int)
Unexecuted instantiation: EncSlice.cpp:vvenc::ceilLog2(unsigned int)
Unexecuted instantiation: GOPCfg.cpp:vvenc::ceilLog2(unsigned int)
Unexecuted instantiation: InterSearch.cpp:vvenc::ceilLog2(unsigned int)
Unexecuted instantiation: NALwrite.cpp:vvenc::ceilLog2(unsigned int)
Unexecuted instantiation: SEIEncoder.cpp:vvenc::ceilLog2(unsigned int)
Unexecuted instantiation: SEIFilmGrainAnalyzer.cpp:vvenc::ceilLog2(unsigned int)
Unexecuted instantiation: SEIwrite.cpp:vvenc::ceilLog2(unsigned int)
Unexecuted instantiation: VLCWriter.cpp:vvenc::ceilLog2(unsigned int)
Unexecuted instantiation: AdaptiveLoopFilter.cpp:vvenc::ceilLog2(unsigned int)
Unexecuted instantiation: AffineGradientSearch.cpp:vvenc::ceilLog2(unsigned int)
Unexecuted instantiation: CodingStructure.cpp:vvenc::ceilLog2(unsigned int)
Unexecuted instantiation: ContextModelling.cpp:vvenc::ceilLog2(unsigned int)
Unexecuted instantiation: Contexts.cpp:vvenc::ceilLog2(unsigned int)
Unexecuted instantiation: InterPrediction.cpp:vvenc::ceilLog2(unsigned int)
Unexecuted instantiation: InterpolationFilter.cpp:vvenc::ceilLog2(unsigned int)
Unexecuted instantiation: LoopFilter.cpp:vvenc::ceilLog2(unsigned int)
Unexecuted instantiation: Mv.cpp:vvenc::ceilLog2(unsigned int)
Unexecuted instantiation: PicYuvMD5.cpp:vvenc::ceilLog2(unsigned int)
Unexecuted instantiation: Quant.cpp:vvenc::ceilLog2(unsigned int)
Unexecuted instantiation: RdCost.cpp:vvenc::ceilLog2(unsigned int)
Unexecuted instantiation: Reshape.cpp:vvenc::ceilLog2(unsigned int)
Unexecuted instantiation: SEI.cpp:vvenc::ceilLog2(unsigned int)
Unexecuted instantiation: SampleAdaptiveOffset.cpp:vvenc::ceilLog2(unsigned int)
Unexecuted instantiation: TrQuant.cpp:vvenc::ceilLog2(unsigned int)
Unexecuted instantiation: TrQuant_EMT.cpp:vvenc::ceilLog2(unsigned int)
Unexecuted instantiation: UnitPartitioner.cpp:vvenc::ceilLog2(unsigned int)
Unexecuted instantiation: BinEncoder.cpp:vvenc::ceilLog2(unsigned int)
Unexecuted instantiation: CABACWriter.cpp:vvenc::ceilLog2(unsigned int)
Unexecuted instantiation: EncAdaptiveLoopFilter.cpp:vvenc::ceilLog2(unsigned int)
Unexecuted instantiation: EncCu.cpp:vvenc::ceilLog2(unsigned int)
Unexecuted instantiation: EncModeCtrl.cpp:vvenc::ceilLog2(unsigned int)
Unexecuted instantiation: EncSampleAdaptiveOffset.cpp:vvenc::ceilLog2(unsigned int)
Unexecuted instantiation: IntraSearch.cpp:vvenc::ceilLog2(unsigned int)
DepQuant.cpp:vvenc::ceilLog2(unsigned int)
Line
Count
Source
802
1.91M
{
803
1.91M
  return (x==0) ? -1 : floorLog2(x - 1) + 1;
804
1.91M
}
Unexecuted instantiation: IntraPrediction.cpp:vvenc::ceilLog2(unsigned int)
Unexecuted instantiation: MatrixIntraPrediction.cpp:vvenc::ceilLog2(unsigned int)
Unexecuted instantiation: QuantRDOQ2.cpp:vvenc::ceilLog2(unsigned int)
Unexecuted instantiation: RomTr.cpp:vvenc::ceilLog2(unsigned int)
Unexecuted instantiation: DecCu.cpp:vvenc::ceilLog2(unsigned int)
Unexecuted instantiation: QuantRDOQ.cpp:vvenc::ceilLog2(unsigned int)
805
806
807
//======================================================================================================================
808
//Chroma format utility functions  =====================================================================================
809
//======================================================================================================================
810
811
812
24.8M
static inline bool        isLuma                    (const ComponentID id)                         { return (id==COMP_Y);                                  }
Unexecuted instantiation: vvenc.cpp:vvenc::isLuma(vvenc::ComponentID)
Unexecuted instantiation: vvencCfg.cpp:vvenc::isLuma(vvenc::ComponentID)
Unexecuted instantiation: vvencimpl.cpp:vvenc::isLuma(vvenc::ComponentID)
Unexecuted instantiation: ProfileLevelTier.cpp:vvenc::isLuma(vvenc::ComponentID)
Unexecuted instantiation: Rom.cpp:vvenc::isLuma(vvenc::ComponentID)
Unexecuted instantiation: Slice.cpp:vvenc::isLuma(vvenc::ComponentID)
Unexecuted instantiation: EncLib.cpp:vvenc::isLuma(vvenc::ComponentID)
Unexecuted instantiation: PreProcess.cpp:vvenc::isLuma(vvenc::ComponentID)
Unexecuted instantiation: RateCtrl.cpp:vvenc::isLuma(vvenc::ComponentID)
Unexecuted instantiation: NoMallocThreadPool.cpp:vvenc::isLuma(vvenc::ComponentID)
Unexecuted instantiation: BitStream.cpp:vvenc::isLuma(vvenc::ComponentID)
Unexecuted instantiation: Buffer.cpp:vvenc::isLuma(vvenc::ComponentID)
Unexecuted instantiation: MCTF.cpp:vvenc::isLuma(vvenc::ComponentID)
Unexecuted instantiation: Picture.cpp:vvenc::isLuma(vvenc::ComponentID)
Unit.cpp:vvenc::isLuma(vvenc::ComponentID)
Line
Count
Source
812
173k
static inline bool        isLuma                    (const ComponentID id)                         { return (id==COMP_Y);                                  }
UnitTools.cpp:vvenc::isLuma(vvenc::ComponentID)
Line
Count
Source
812
761k
static inline bool        isLuma                    (const ComponentID id)                         { return (id==COMP_Y);                                  }
BitAllocation.cpp:vvenc::isLuma(vvenc::ComponentID)
Line
Count
Source
812
3.64k
static inline bool        isLuma                    (const ComponentID id)                         { return (id==COMP_Y);                                  }
Unexecuted instantiation: EncCfg.cpp:vvenc::isLuma(vvenc::ComponentID)
Unexecuted instantiation: EncGOP.cpp:vvenc::isLuma(vvenc::ComponentID)
Unexecuted instantiation: EncHRD.cpp:vvenc::isLuma(vvenc::ComponentID)
Unexecuted instantiation: EncPicture.cpp:vvenc::isLuma(vvenc::ComponentID)
Unexecuted instantiation: EncReshape.cpp:vvenc::isLuma(vvenc::ComponentID)
Unexecuted instantiation: EncSlice.cpp:vvenc::isLuma(vvenc::ComponentID)
Unexecuted instantiation: GOPCfg.cpp:vvenc::isLuma(vvenc::ComponentID)
InterSearch.cpp:vvenc::isLuma(vvenc::ComponentID)
Line
Count
Source
812
3.22k
static inline bool        isLuma                    (const ComponentID id)                         { return (id==COMP_Y);                                  }
Unexecuted instantiation: NALwrite.cpp:vvenc::isLuma(vvenc::ComponentID)
Unexecuted instantiation: SEIEncoder.cpp:vvenc::isLuma(vvenc::ComponentID)
Unexecuted instantiation: SEIFilmGrainAnalyzer.cpp:vvenc::isLuma(vvenc::ComponentID)
Unexecuted instantiation: SEIwrite.cpp:vvenc::isLuma(vvenc::ComponentID)
Unexecuted instantiation: VLCWriter.cpp:vvenc::isLuma(vvenc::ComponentID)
Unexecuted instantiation: AdaptiveLoopFilter.cpp:vvenc::isLuma(vvenc::ComponentID)
Unexecuted instantiation: AffineGradientSearch.cpp:vvenc::isLuma(vvenc::ComponentID)
Unexecuted instantiation: CodingStructure.cpp:vvenc::isLuma(vvenc::ComponentID)
Unexecuted instantiation: ContextModelling.cpp:vvenc::isLuma(vvenc::ComponentID)
Unexecuted instantiation: Contexts.cpp:vvenc::isLuma(vvenc::ComponentID)
Unexecuted instantiation: InterPrediction.cpp:vvenc::isLuma(vvenc::ComponentID)
Unexecuted instantiation: InterpolationFilter.cpp:vvenc::isLuma(vvenc::ComponentID)
Unexecuted instantiation: LoopFilter.cpp:vvenc::isLuma(vvenc::ComponentID)
Unexecuted instantiation: Mv.cpp:vvenc::isLuma(vvenc::ComponentID)
Unexecuted instantiation: PicYuvMD5.cpp:vvenc::isLuma(vvenc::ComponentID)
Quant.cpp:vvenc::isLuma(vvenc::ComponentID)
Line
Count
Source
812
6.47M
static inline bool        isLuma                    (const ComponentID id)                         { return (id==COMP_Y);                                  }
Unexecuted instantiation: RdCost.cpp:vvenc::isLuma(vvenc::ComponentID)
Unexecuted instantiation: Reshape.cpp:vvenc::isLuma(vvenc::ComponentID)
Unexecuted instantiation: SEI.cpp:vvenc::isLuma(vvenc::ComponentID)
SampleAdaptiveOffset.cpp:vvenc::isLuma(vvenc::ComponentID)
Line
Count
Source
812
25.8k
static inline bool        isLuma                    (const ComponentID id)                         { return (id==COMP_Y);                                  }
TrQuant.cpp:vvenc::isLuma(vvenc::ComponentID)
Line
Count
Source
812
5.36M
static inline bool        isLuma                    (const ComponentID id)                         { return (id==COMP_Y);                                  }
Unexecuted instantiation: TrQuant_EMT.cpp:vvenc::isLuma(vvenc::ComponentID)
Unexecuted instantiation: UnitPartitioner.cpp:vvenc::isLuma(vvenc::ComponentID)
Unexecuted instantiation: BinEncoder.cpp:vvenc::isLuma(vvenc::ComponentID)
CABACWriter.cpp:vvenc::isLuma(vvenc::ComponentID)
Line
Count
Source
812
4.90M
static inline bool        isLuma                    (const ComponentID id)                         { return (id==COMP_Y);                                  }
EncAdaptiveLoopFilter.cpp:vvenc::isLuma(vvenc::ComponentID)
Line
Count
Source
812
139k
static inline bool        isLuma                    (const ComponentID id)                         { return (id==COMP_Y);                                  }
Unexecuted instantiation: EncCu.cpp:vvenc::isLuma(vvenc::ComponentID)
Unexecuted instantiation: EncModeCtrl.cpp:vvenc::isLuma(vvenc::ComponentID)
Unexecuted instantiation: EncSampleAdaptiveOffset.cpp:vvenc::isLuma(vvenc::ComponentID)
IntraSearch.cpp:vvenc::isLuma(vvenc::ComponentID)
Line
Count
Source
812
6.22M
static inline bool        isLuma                    (const ComponentID id)                         { return (id==COMP_Y);                                  }
DepQuant.cpp:vvenc::isLuma(vvenc::ComponentID)
Line
Count
Source
812
809k
static inline bool        isLuma                    (const ComponentID id)                         { return (id==COMP_Y);                                  }
Unexecuted instantiation: IntraPrediction.cpp:vvenc::isLuma(vvenc::ComponentID)
Unexecuted instantiation: MatrixIntraPrediction.cpp:vvenc::isLuma(vvenc::ComponentID)
Unexecuted instantiation: QuantRDOQ2.cpp:vvenc::isLuma(vvenc::ComponentID)
Unexecuted instantiation: RomTr.cpp:vvenc::isLuma(vvenc::ComponentID)
Unexecuted instantiation: DecCu.cpp:vvenc::isLuma(vvenc::ComponentID)
Unexecuted instantiation: QuantRDOQ.cpp:vvenc::isLuma(vvenc::ComponentID)
813
129M
static inline bool        isLuma                    (const ChannelType id)                         { return (id==CH_L);                                    }
Unexecuted instantiation: vvenc.cpp:vvenc::isLuma(vvenc::ChannelType)
Unexecuted instantiation: vvencCfg.cpp:vvenc::isLuma(vvenc::ChannelType)
Unexecuted instantiation: vvencimpl.cpp:vvenc::isLuma(vvenc::ChannelType)
Unexecuted instantiation: ProfileLevelTier.cpp:vvenc::isLuma(vvenc::ChannelType)
Unexecuted instantiation: Rom.cpp:vvenc::isLuma(vvenc::ChannelType)
Unexecuted instantiation: Slice.cpp:vvenc::isLuma(vvenc::ChannelType)
Unexecuted instantiation: EncLib.cpp:vvenc::isLuma(vvenc::ChannelType)
Unexecuted instantiation: PreProcess.cpp:vvenc::isLuma(vvenc::ChannelType)
Unexecuted instantiation: RateCtrl.cpp:vvenc::isLuma(vvenc::ChannelType)
Unexecuted instantiation: NoMallocThreadPool.cpp:vvenc::isLuma(vvenc::ChannelType)
Unexecuted instantiation: BitStream.cpp:vvenc::isLuma(vvenc::ChannelType)
Buffer.cpp:vvenc::isLuma(vvenc::ChannelType)
Line
Count
Source
813
38.2M
static inline bool        isLuma                    (const ChannelType id)                         { return (id==CH_L);                                    }
MCTF.cpp:vvenc::isLuma(vvenc::ChannelType)
Line
Count
Source
813
7.29k
static inline bool        isLuma                    (const ChannelType id)                         { return (id==CH_L);                                    }
Unexecuted instantiation: Picture.cpp:vvenc::isLuma(vvenc::ChannelType)
Unit.cpp:vvenc::isLuma(vvenc::ChannelType)
Line
Count
Source
813
32.2M
static inline bool        isLuma                    (const ChannelType id)                         { return (id==CH_L);                                    }
UnitTools.cpp:vvenc::isLuma(vvenc::ChannelType)
Line
Count
Source
813
2.11M
static inline bool        isLuma                    (const ChannelType id)                         { return (id==CH_L);                                    }
BitAllocation.cpp:vvenc::isLuma(vvenc::ChannelType)
Line
Count
Source
813
25.4k
static inline bool        isLuma                    (const ChannelType id)                         { return (id==CH_L);                                    }
Unexecuted instantiation: EncCfg.cpp:vvenc::isLuma(vvenc::ChannelType)
EncGOP.cpp:vvenc::isLuma(vvenc::ChannelType)
Line
Count
Source
813
3.64k
static inline bool        isLuma                    (const ChannelType id)                         { return (id==CH_L);                                    }
Unexecuted instantiation: EncHRD.cpp:vvenc::isLuma(vvenc::ChannelType)
EncPicture.cpp:vvenc::isLuma(vvenc::ChannelType)
Line
Count
Source
813
7.29k
static inline bool        isLuma                    (const ChannelType id)                         { return (id==CH_L);                                    }
Unexecuted instantiation: EncReshape.cpp:vvenc::isLuma(vvenc::ChannelType)
EncSlice.cpp:vvenc::isLuma(vvenc::ChannelType)
Line
Count
Source
813
90.9k
static inline bool        isLuma                    (const ChannelType id)                         { return (id==CH_L);                                    }
Unexecuted instantiation: GOPCfg.cpp:vvenc::isLuma(vvenc::ChannelType)
Unexecuted instantiation: InterSearch.cpp:vvenc::isLuma(vvenc::ChannelType)
Unexecuted instantiation: NALwrite.cpp:vvenc::isLuma(vvenc::ChannelType)
Unexecuted instantiation: SEIEncoder.cpp:vvenc::isLuma(vvenc::ChannelType)
Unexecuted instantiation: SEIFilmGrainAnalyzer.cpp:vvenc::isLuma(vvenc::ChannelType)
Unexecuted instantiation: SEIwrite.cpp:vvenc::isLuma(vvenc::ChannelType)
Unexecuted instantiation: VLCWriter.cpp:vvenc::isLuma(vvenc::ChannelType)
AdaptiveLoopFilter.cpp:vvenc::isLuma(vvenc::ChannelType)
Line
Count
Source
813
188k
static inline bool        isLuma                    (const ChannelType id)                         { return (id==CH_L);                                    }
Unexecuted instantiation: AffineGradientSearch.cpp:vvenc::isLuma(vvenc::ChannelType)
CodingStructure.cpp:vvenc::isLuma(vvenc::ChannelType)
Line
Count
Source
813
10.0M
static inline bool        isLuma                    (const ChannelType id)                         { return (id==CH_L);                                    }
Unexecuted instantiation: ContextModelling.cpp:vvenc::isLuma(vvenc::ChannelType)
Unexecuted instantiation: Contexts.cpp:vvenc::isLuma(vvenc::ChannelType)
InterPrediction.cpp:vvenc::isLuma(vvenc::ChannelType)
Line
Count
Source
813
45.3k
static inline bool        isLuma                    (const ChannelType id)                         { return (id==CH_L);                                    }
Unexecuted instantiation: InterpolationFilter.cpp:vvenc::isLuma(vvenc::ChannelType)
LoopFilter.cpp:vvenc::isLuma(vvenc::ChannelType)
Line
Count
Source
813
4.58M
static inline bool        isLuma                    (const ChannelType id)                         { return (id==CH_L);                                    }
Unexecuted instantiation: Mv.cpp:vvenc::isLuma(vvenc::ChannelType)
Unexecuted instantiation: PicYuvMD5.cpp:vvenc::isLuma(vvenc::ChannelType)
Unexecuted instantiation: Quant.cpp:vvenc::isLuma(vvenc::ChannelType)
Unexecuted instantiation: RdCost.cpp:vvenc::isLuma(vvenc::ChannelType)
Unexecuted instantiation: Reshape.cpp:vvenc::isLuma(vvenc::ChannelType)
Unexecuted instantiation: SEI.cpp:vvenc::isLuma(vvenc::ChannelType)
Unexecuted instantiation: SampleAdaptiveOffset.cpp:vvenc::isLuma(vvenc::ChannelType)
Unexecuted instantiation: TrQuant.cpp:vvenc::isLuma(vvenc::ChannelType)
Unexecuted instantiation: TrQuant_EMT.cpp:vvenc::isLuma(vvenc::ChannelType)
UnitPartitioner.cpp:vvenc::isLuma(vvenc::ChannelType)
Line
Count
Source
813
5.19M
static inline bool        isLuma                    (const ChannelType id)                         { return (id==CH_L);                                    }
Unexecuted instantiation: BinEncoder.cpp:vvenc::isLuma(vvenc::ChannelType)
CABACWriter.cpp:vvenc::isLuma(vvenc::ChannelType)
Line
Count
Source
813
9.35M
static inline bool        isLuma                    (const ChannelType id)                         { return (id==CH_L);                                    }
EncAdaptiveLoopFilter.cpp:vvenc::isLuma(vvenc::ChannelType)
Line
Count
Source
813
18.9M
static inline bool        isLuma                    (const ChannelType id)                         { return (id==CH_L);                                    }
EncCu.cpp:vvenc::isLuma(vvenc::ChannelType)
Line
Count
Source
813
868k
static inline bool        isLuma                    (const ChannelType id)                         { return (id==CH_L);                                    }
Unexecuted instantiation: EncModeCtrl.cpp:vvenc::isLuma(vvenc::ChannelType)
Unexecuted instantiation: EncSampleAdaptiveOffset.cpp:vvenc::isLuma(vvenc::ChannelType)
IntraSearch.cpp:vvenc::isLuma(vvenc::ChannelType)
Line
Count
Source
813
162k
static inline bool        isLuma                    (const ChannelType id)                         { return (id==CH_L);                                    }
DepQuant.cpp:vvenc::isLuma(vvenc::ChannelType)
Line
Count
Source
813
11.6k
static inline bool        isLuma                    (const ChannelType id)                         { return (id==CH_L);                                    }
IntraPrediction.cpp:vvenc::isLuma(vvenc::ChannelType)
Line
Count
Source
813
7.15M
static inline bool        isLuma                    (const ChannelType id)                         { return (id==CH_L);                                    }
Unexecuted instantiation: MatrixIntraPrediction.cpp:vvenc::isLuma(vvenc::ChannelType)
Unexecuted instantiation: QuantRDOQ2.cpp:vvenc::isLuma(vvenc::ChannelType)
Unexecuted instantiation: RomTr.cpp:vvenc::isLuma(vvenc::ChannelType)
Unexecuted instantiation: DecCu.cpp:vvenc::isLuma(vvenc::ChannelType)
Unexecuted instantiation: QuantRDOQ.cpp:vvenc::isLuma(vvenc::ChannelType)
814
25.6M
static inline bool        isChroma                  (const ComponentID id)                         { return (id!=COMP_Y);                                  }
Unexecuted instantiation: vvenc.cpp:vvenc::isChroma(vvenc::ComponentID)
Unexecuted instantiation: vvencCfg.cpp:vvenc::isChroma(vvenc::ComponentID)
Unexecuted instantiation: vvencimpl.cpp:vvenc::isChroma(vvenc::ComponentID)
Unexecuted instantiation: ProfileLevelTier.cpp:vvenc::isChroma(vvenc::ComponentID)
Unexecuted instantiation: Rom.cpp:vvenc::isChroma(vvenc::ComponentID)
Unexecuted instantiation: Slice.cpp:vvenc::isChroma(vvenc::ComponentID)
Unexecuted instantiation: EncLib.cpp:vvenc::isChroma(vvenc::ComponentID)
Unexecuted instantiation: PreProcess.cpp:vvenc::isChroma(vvenc::ComponentID)
Unexecuted instantiation: RateCtrl.cpp:vvenc::isChroma(vvenc::ComponentID)
Unexecuted instantiation: NoMallocThreadPool.cpp:vvenc::isChroma(vvenc::ComponentID)
Unexecuted instantiation: BitStream.cpp:vvenc::isChroma(vvenc::ComponentID)
Unexecuted instantiation: Buffer.cpp:vvenc::isChroma(vvenc::ComponentID)
Unexecuted instantiation: MCTF.cpp:vvenc::isChroma(vvenc::ComponentID)
Unexecuted instantiation: Picture.cpp:vvenc::isChroma(vvenc::ComponentID)
Unit.cpp:vvenc::isChroma(vvenc::ComponentID)
Line
Count
Source
814
7.87M
static inline bool        isChroma                  (const ComponentID id)                         { return (id!=COMP_Y);                                  }
Unexecuted instantiation: UnitTools.cpp:vvenc::isChroma(vvenc::ComponentID)
Unexecuted instantiation: BitAllocation.cpp:vvenc::isChroma(vvenc::ComponentID)
Unexecuted instantiation: EncCfg.cpp:vvenc::isChroma(vvenc::ComponentID)
Unexecuted instantiation: EncGOP.cpp:vvenc::isChroma(vvenc::ComponentID)
Unexecuted instantiation: EncHRD.cpp:vvenc::isChroma(vvenc::ComponentID)
Unexecuted instantiation: EncPicture.cpp:vvenc::isChroma(vvenc::ComponentID)
Unexecuted instantiation: EncReshape.cpp:vvenc::isChroma(vvenc::ComponentID)
Unexecuted instantiation: EncSlice.cpp:vvenc::isChroma(vvenc::ComponentID)
Unexecuted instantiation: GOPCfg.cpp:vvenc::isChroma(vvenc::ComponentID)
InterSearch.cpp:vvenc::isChroma(vvenc::ComponentID)
Line
Count
Source
814
48.3k
static inline bool        isChroma                  (const ComponentID id)                         { return (id!=COMP_Y);                                  }
Unexecuted instantiation: NALwrite.cpp:vvenc::isChroma(vvenc::ComponentID)
Unexecuted instantiation: SEIEncoder.cpp:vvenc::isChroma(vvenc::ComponentID)
Unexecuted instantiation: SEIFilmGrainAnalyzer.cpp:vvenc::isChroma(vvenc::ComponentID)
Unexecuted instantiation: SEIwrite.cpp:vvenc::isChroma(vvenc::ComponentID)
Unexecuted instantiation: VLCWriter.cpp:vvenc::isChroma(vvenc::ComponentID)
Unexecuted instantiation: AdaptiveLoopFilter.cpp:vvenc::isChroma(vvenc::ComponentID)
Unexecuted instantiation: AffineGradientSearch.cpp:vvenc::isChroma(vvenc::ComponentID)
Unexecuted instantiation: CodingStructure.cpp:vvenc::isChroma(vvenc::ComponentID)
Unexecuted instantiation: ContextModelling.cpp:vvenc::isChroma(vvenc::ComponentID)
Unexecuted instantiation: Contexts.cpp:vvenc::isChroma(vvenc::ComponentID)
Unexecuted instantiation: InterPrediction.cpp:vvenc::isChroma(vvenc::ComponentID)
Unexecuted instantiation: InterpolationFilter.cpp:vvenc::isChroma(vvenc::ComponentID)
Unexecuted instantiation: LoopFilter.cpp:vvenc::isChroma(vvenc::ComponentID)
Unexecuted instantiation: Mv.cpp:vvenc::isChroma(vvenc::ComponentID)
Unexecuted instantiation: PicYuvMD5.cpp:vvenc::isChroma(vvenc::ComponentID)
Quant.cpp:vvenc::isChroma(vvenc::ComponentID)
Line
Count
Source
814
12.9M
static inline bool        isChroma                  (const ComponentID id)                         { return (id!=COMP_Y);                                  }
RdCost.cpp:vvenc::isChroma(vvenc::ComponentID)
Line
Count
Source
814
2.76M
static inline bool        isChroma                  (const ComponentID id)                         { return (id!=COMP_Y);                                  }
Unexecuted instantiation: Reshape.cpp:vvenc::isChroma(vvenc::ComponentID)
Unexecuted instantiation: SEI.cpp:vvenc::isChroma(vvenc::ComponentID)
Unexecuted instantiation: SampleAdaptiveOffset.cpp:vvenc::isChroma(vvenc::ComponentID)
Unexecuted instantiation: TrQuant.cpp:vvenc::isChroma(vvenc::ComponentID)
Unexecuted instantiation: TrQuant_EMT.cpp:vvenc::isChroma(vvenc::ComponentID)
Unexecuted instantiation: UnitPartitioner.cpp:vvenc::isChroma(vvenc::ComponentID)
Unexecuted instantiation: BinEncoder.cpp:vvenc::isChroma(vvenc::ComponentID)
Unexecuted instantiation: CABACWriter.cpp:vvenc::isChroma(vvenc::ComponentID)
Unexecuted instantiation: EncAdaptiveLoopFilter.cpp:vvenc::isChroma(vvenc::ComponentID)
Unexecuted instantiation: EncCu.cpp:vvenc::isChroma(vvenc::ComponentID)
Unexecuted instantiation: EncModeCtrl.cpp:vvenc::isChroma(vvenc::ComponentID)
Unexecuted instantiation: EncSampleAdaptiveOffset.cpp:vvenc::isChroma(vvenc::ComponentID)
IntraSearch.cpp:vvenc::isChroma(vvenc::ComponentID)
Line
Count
Source
814
1.98M
static inline bool        isChroma                  (const ComponentID id)                         { return (id!=COMP_Y);                                  }
Unexecuted instantiation: DepQuant.cpp:vvenc::isChroma(vvenc::ComponentID)
Unexecuted instantiation: IntraPrediction.cpp:vvenc::isChroma(vvenc::ComponentID)
Unexecuted instantiation: MatrixIntraPrediction.cpp:vvenc::isChroma(vvenc::ComponentID)
Unexecuted instantiation: QuantRDOQ2.cpp:vvenc::isChroma(vvenc::ComponentID)
Unexecuted instantiation: RomTr.cpp:vvenc::isChroma(vvenc::ComponentID)
Unexecuted instantiation: DecCu.cpp:vvenc::isChroma(vvenc::ComponentID)
Unexecuted instantiation: QuantRDOQ.cpp:vvenc::isChroma(vvenc::ComponentID)
815
1.56M
static inline bool        isChroma                  (const ChannelType id)                         { return (id!=CH_L);                                    }
Unexecuted instantiation: vvenc.cpp:vvenc::isChroma(vvenc::ChannelType)
Unexecuted instantiation: vvencCfg.cpp:vvenc::isChroma(vvenc::ChannelType)
Unexecuted instantiation: vvencimpl.cpp:vvenc::isChroma(vvenc::ChannelType)
Unexecuted instantiation: ProfileLevelTier.cpp:vvenc::isChroma(vvenc::ChannelType)
Unexecuted instantiation: Rom.cpp:vvenc::isChroma(vvenc::ChannelType)
Unexecuted instantiation: Slice.cpp:vvenc::isChroma(vvenc::ChannelType)
Unexecuted instantiation: EncLib.cpp:vvenc::isChroma(vvenc::ChannelType)
Unexecuted instantiation: PreProcess.cpp:vvenc::isChroma(vvenc::ChannelType)
Unexecuted instantiation: RateCtrl.cpp:vvenc::isChroma(vvenc::ChannelType)
Unexecuted instantiation: NoMallocThreadPool.cpp:vvenc::isChroma(vvenc::ChannelType)
Unexecuted instantiation: BitStream.cpp:vvenc::isChroma(vvenc::ChannelType)
Unexecuted instantiation: Buffer.cpp:vvenc::isChroma(vvenc::ChannelType)
Unexecuted instantiation: MCTF.cpp:vvenc::isChroma(vvenc::ChannelType)
Unexecuted instantiation: Picture.cpp:vvenc::isChroma(vvenc::ChannelType)
Unexecuted instantiation: Unit.cpp:vvenc::isChroma(vvenc::ChannelType)
Unexecuted instantiation: UnitTools.cpp:vvenc::isChroma(vvenc::ChannelType)
Unexecuted instantiation: BitAllocation.cpp:vvenc::isChroma(vvenc::ChannelType)
Unexecuted instantiation: EncCfg.cpp:vvenc::isChroma(vvenc::ChannelType)
Unexecuted instantiation: EncGOP.cpp:vvenc::isChroma(vvenc::ChannelType)
Unexecuted instantiation: EncHRD.cpp:vvenc::isChroma(vvenc::ChannelType)
Unexecuted instantiation: EncPicture.cpp:vvenc::isChroma(vvenc::ChannelType)
Unexecuted instantiation: EncReshape.cpp:vvenc::isChroma(vvenc::ChannelType)
Unexecuted instantiation: EncSlice.cpp:vvenc::isChroma(vvenc::ChannelType)
Unexecuted instantiation: GOPCfg.cpp:vvenc::isChroma(vvenc::ChannelType)
Unexecuted instantiation: InterSearch.cpp:vvenc::isChroma(vvenc::ChannelType)
Unexecuted instantiation: NALwrite.cpp:vvenc::isChroma(vvenc::ChannelType)
Unexecuted instantiation: SEIEncoder.cpp:vvenc::isChroma(vvenc::ChannelType)
Unexecuted instantiation: SEIFilmGrainAnalyzer.cpp:vvenc::isChroma(vvenc::ChannelType)
Unexecuted instantiation: SEIwrite.cpp:vvenc::isChroma(vvenc::ChannelType)
Unexecuted instantiation: VLCWriter.cpp:vvenc::isChroma(vvenc::ChannelType)
AdaptiveLoopFilter.cpp:vvenc::isChroma(vvenc::ChannelType)
Line
Count
Source
815
47.8k
static inline bool        isChroma                  (const ChannelType id)                         { return (id!=CH_L);                                    }
Unexecuted instantiation: AffineGradientSearch.cpp:vvenc::isChroma(vvenc::ChannelType)
Unexecuted instantiation: CodingStructure.cpp:vvenc::isChroma(vvenc::ChannelType)
Unexecuted instantiation: ContextModelling.cpp:vvenc::isChroma(vvenc::ChannelType)
Unexecuted instantiation: Contexts.cpp:vvenc::isChroma(vvenc::ChannelType)
Unexecuted instantiation: InterPrediction.cpp:vvenc::isChroma(vvenc::ChannelType)
Unexecuted instantiation: InterpolationFilter.cpp:vvenc::isChroma(vvenc::ChannelType)
LoopFilter.cpp:vvenc::isChroma(vvenc::ChannelType)
Line
Count
Source
815
124k
static inline bool        isChroma                  (const ChannelType id)                         { return (id!=CH_L);                                    }
Unexecuted instantiation: Mv.cpp:vvenc::isChroma(vvenc::ChannelType)
Unexecuted instantiation: PicYuvMD5.cpp:vvenc::isChroma(vvenc::ChannelType)
Unexecuted instantiation: Quant.cpp:vvenc::isChroma(vvenc::ChannelType)
Unexecuted instantiation: RdCost.cpp:vvenc::isChroma(vvenc::ChannelType)
Unexecuted instantiation: Reshape.cpp:vvenc::isChroma(vvenc::ChannelType)
Unexecuted instantiation: SEI.cpp:vvenc::isChroma(vvenc::ChannelType)
Unexecuted instantiation: SampleAdaptiveOffset.cpp:vvenc::isChroma(vvenc::ChannelType)
Unexecuted instantiation: TrQuant.cpp:vvenc::isChroma(vvenc::ChannelType)
Unexecuted instantiation: TrQuant_EMT.cpp:vvenc::isChroma(vvenc::ChannelType)
Unexecuted instantiation: UnitPartitioner.cpp:vvenc::isChroma(vvenc::ChannelType)
Unexecuted instantiation: BinEncoder.cpp:vvenc::isChroma(vvenc::ChannelType)
CABACWriter.cpp:vvenc::isChroma(vvenc::ChannelType)
Line
Count
Source
815
485k
static inline bool        isChroma                  (const ChannelType id)                         { return (id!=CH_L);                                    }
EncAdaptiveLoopFilter.cpp:vvenc::isChroma(vvenc::ChannelType)
Line
Count
Source
815
37.2k
static inline bool        isChroma                  (const ChannelType id)                         { return (id!=CH_L);                                    }
EncCu.cpp:vvenc::isChroma(vvenc::ChannelType)
Line
Count
Source
815
436k
static inline bool        isChroma                  (const ChannelType id)                         { return (id!=CH_L);                                    }
EncModeCtrl.cpp:vvenc::isChroma(vvenc::ChannelType)
Line
Count
Source
815
354k
static inline bool        isChroma                  (const ChannelType id)                         { return (id!=CH_L);                                    }
Unexecuted instantiation: EncSampleAdaptiveOffset.cpp:vvenc::isChroma(vvenc::ChannelType)
Unexecuted instantiation: IntraSearch.cpp:vvenc::isChroma(vvenc::ChannelType)
Unexecuted instantiation: DepQuant.cpp:vvenc::isChroma(vvenc::ChannelType)
IntraPrediction.cpp:vvenc::isChroma(vvenc::ChannelType)
Line
Count
Source
815
78.6k
static inline bool        isChroma                  (const ChannelType id)                         { return (id!=CH_L);                                    }
Unexecuted instantiation: MatrixIntraPrediction.cpp:vvenc::isChroma(vvenc::ChannelType)
Unexecuted instantiation: QuantRDOQ2.cpp:vvenc::isChroma(vvenc::ChannelType)
Unexecuted instantiation: RomTr.cpp:vvenc::isChroma(vvenc::ChannelType)
Unexecuted instantiation: DecCu.cpp:vvenc::isChroma(vvenc::ChannelType)
Unexecuted instantiation: QuantRDOQ.cpp:vvenc::isChroma(vvenc::ChannelType)
816
115M
static inline ChannelType toChannelType             (const ComponentID id)                         { return (id==COMP_Y)? CH_L : CH_C;                     }
Unexecuted instantiation: vvenc.cpp:vvenc::toChannelType(vvenc::ComponentID)
Unexecuted instantiation: vvencCfg.cpp:vvenc::toChannelType(vvenc::ComponentID)
Unexecuted instantiation: vvencimpl.cpp:vvenc::toChannelType(vvenc::ComponentID)
Unexecuted instantiation: ProfileLevelTier.cpp:vvenc::toChannelType(vvenc::ComponentID)
Unexecuted instantiation: Rom.cpp:vvenc::toChannelType(vvenc::ComponentID)
Unexecuted instantiation: Slice.cpp:vvenc::toChannelType(vvenc::ComponentID)
Unexecuted instantiation: EncLib.cpp:vvenc::toChannelType(vvenc::ComponentID)
Unexecuted instantiation: PreProcess.cpp:vvenc::toChannelType(vvenc::ComponentID)
Unexecuted instantiation: RateCtrl.cpp:vvenc::toChannelType(vvenc::ComponentID)
Unexecuted instantiation: NoMallocThreadPool.cpp:vvenc::toChannelType(vvenc::ComponentID)
Unexecuted instantiation: BitStream.cpp:vvenc::toChannelType(vvenc::ComponentID)
Buffer.cpp:vvenc::toChannelType(vvenc::ComponentID)
Line
Count
Source
816
38.2M
static inline ChannelType toChannelType             (const ComponentID id)                         { return (id==COMP_Y)? CH_L : CH_C;                     }
MCTF.cpp:vvenc::toChannelType(vvenc::ComponentID)
Line
Count
Source
816
7.29k
static inline ChannelType toChannelType             (const ComponentID id)                         { return (id==COMP_Y)? CH_L : CH_C;                     }
Unexecuted instantiation: Picture.cpp:vvenc::toChannelType(vvenc::ComponentID)
Unit.cpp:vvenc::toChannelType(vvenc::ComponentID)
Line
Count
Source
816
34.3M
static inline ChannelType toChannelType             (const ComponentID id)                         { return (id==COMP_Y)? CH_L : CH_C;                     }
UnitTools.cpp:vvenc::toChannelType(vvenc::ComponentID)
Line
Count
Source
816
4.12M
static inline ChannelType toChannelType             (const ComponentID id)                         { return (id==COMP_Y)? CH_L : CH_C;                     }
Unexecuted instantiation: BitAllocation.cpp:vvenc::toChannelType(vvenc::ComponentID)
Unexecuted instantiation: EncCfg.cpp:vvenc::toChannelType(vvenc::ComponentID)
EncGOP.cpp:vvenc::toChannelType(vvenc::ComponentID)
Line
Count
Source
816
2.43k
static inline ChannelType toChannelType             (const ComponentID id)                         { return (id==COMP_Y)? CH_L : CH_C;                     }
Unexecuted instantiation: EncHRD.cpp:vvenc::toChannelType(vvenc::ComponentID)
EncPicture.cpp:vvenc::toChannelType(vvenc::ComponentID)
Line
Count
Source
816
10.9k
static inline ChannelType toChannelType             (const ComponentID id)                         { return (id==COMP_Y)? CH_L : CH_C;                     }
Unexecuted instantiation: EncReshape.cpp:vvenc::toChannelType(vvenc::ComponentID)
EncSlice.cpp:vvenc::toChannelType(vvenc::ComponentID)
Line
Count
Source
816
90.9k
static inline ChannelType toChannelType             (const ComponentID id)                         { return (id==COMP_Y)? CH_L : CH_C;                     }
Unexecuted instantiation: GOPCfg.cpp:vvenc::toChannelType(vvenc::ComponentID)
InterSearch.cpp:vvenc::toChannelType(vvenc::ComponentID)
Line
Count
Source
816
90.6k
static inline ChannelType toChannelType             (const ComponentID id)                         { return (id==COMP_Y)? CH_L : CH_C;                     }
Unexecuted instantiation: NALwrite.cpp:vvenc::toChannelType(vvenc::ComponentID)
Unexecuted instantiation: SEIEncoder.cpp:vvenc::toChannelType(vvenc::ComponentID)
Unexecuted instantiation: SEIFilmGrainAnalyzer.cpp:vvenc::toChannelType(vvenc::ComponentID)
Unexecuted instantiation: SEIwrite.cpp:vvenc::toChannelType(vvenc::ComponentID)
Unexecuted instantiation: VLCWriter.cpp:vvenc::toChannelType(vvenc::ComponentID)
Unexecuted instantiation: AdaptiveLoopFilter.cpp:vvenc::toChannelType(vvenc::ComponentID)
Unexecuted instantiation: AffineGradientSearch.cpp:vvenc::toChannelType(vvenc::ComponentID)
CodingStructure.cpp:vvenc::toChannelType(vvenc::ComponentID)
Line
Count
Source
816
75.1k
static inline ChannelType toChannelType             (const ComponentID id)                         { return (id==COMP_Y)? CH_L : CH_C;                     }
ContextModelling.cpp:vvenc::toChannelType(vvenc::ComponentID)
Line
Count
Source
816
1.07M
static inline ChannelType toChannelType             (const ComponentID id)                         { return (id==COMP_Y)? CH_L : CH_C;                     }
Unexecuted instantiation: Contexts.cpp:vvenc::toChannelType(vvenc::ComponentID)
InterPrediction.cpp:vvenc::toChannelType(vvenc::ComponentID)
Line
Count
Source
816
45.3k
static inline ChannelType toChannelType             (const ComponentID id)                         { return (id==COMP_Y)? CH_L : CH_C;                     }
Unexecuted instantiation: InterpolationFilter.cpp:vvenc::toChannelType(vvenc::ComponentID)
Unexecuted instantiation: LoopFilter.cpp:vvenc::toChannelType(vvenc::ComponentID)
Unexecuted instantiation: Mv.cpp:vvenc::toChannelType(vvenc::ComponentID)
Unexecuted instantiation: PicYuvMD5.cpp:vvenc::toChannelType(vvenc::ComponentID)
Quant.cpp:vvenc::toChannelType(vvenc::ComponentID)
Line
Count
Source
816
6.64M
static inline ChannelType toChannelType             (const ComponentID id)                         { return (id==COMP_Y)? CH_L : CH_C;                     }
Unexecuted instantiation: RdCost.cpp:vvenc::toChannelType(vvenc::ComponentID)
Unexecuted instantiation: Reshape.cpp:vvenc::toChannelType(vvenc::ComponentID)
Unexecuted instantiation: SEI.cpp:vvenc::toChannelType(vvenc::ComponentID)
SampleAdaptiveOffset.cpp:vvenc::toChannelType(vvenc::ComponentID)
Line
Count
Source
816
27
static inline ChannelType toChannelType             (const ComponentID id)                         { return (id==COMP_Y)? CH_L : CH_C;                     }
TrQuant.cpp:vvenc::toChannelType(vvenc::ComponentID)
Line
Count
Source
816
11.5M
static inline ChannelType toChannelType             (const ComponentID id)                         { return (id==COMP_Y)? CH_L : CH_C;                     }
Unexecuted instantiation: TrQuant_EMT.cpp:vvenc::toChannelType(vvenc::ComponentID)
Unexecuted instantiation: UnitPartitioner.cpp:vvenc::toChannelType(vvenc::ComponentID)
Unexecuted instantiation: BinEncoder.cpp:vvenc::toChannelType(vvenc::ComponentID)
CABACWriter.cpp:vvenc::toChannelType(vvenc::ComponentID)
Line
Count
Source
816
4.36M
static inline ChannelType toChannelType             (const ComponentID id)                         { return (id==COMP_Y)? CH_L : CH_C;                     }
EncAdaptiveLoopFilter.cpp:vvenc::toChannelType(vvenc::ComponentID)
Line
Count
Source
816
414k
static inline ChannelType toChannelType             (const ComponentID id)                         { return (id==COMP_Y)? CH_L : CH_C;                     }
EncCu.cpp:vvenc::toChannelType(vvenc::ComponentID)
Line
Count
Source
816
466k
static inline ChannelType toChannelType             (const ComponentID id)                         { return (id==COMP_Y)? CH_L : CH_C;                     }
Unexecuted instantiation: EncModeCtrl.cpp:vvenc::toChannelType(vvenc::ComponentID)
EncSampleAdaptiveOffset.cpp:vvenc::toChannelType(vvenc::ComponentID)
Line
Count
Source
816
11.3k
static inline ChannelType toChannelType             (const ComponentID id)                         { return (id==COMP_Y)? CH_L : CH_C;                     }
IntraSearch.cpp:vvenc::toChannelType(vvenc::ComponentID)
Line
Count
Source
816
1.98M
static inline ChannelType toChannelType             (const ComponentID id)                         { return (id==COMP_Y)? CH_L : CH_C;                     }
DepQuant.cpp:vvenc::toChannelType(vvenc::ComponentID)
Line
Count
Source
816
4.60M
static inline ChannelType toChannelType             (const ComponentID id)                         { return (id==COMP_Y)? CH_L : CH_C;                     }
IntraPrediction.cpp:vvenc::toChannelType(vvenc::ComponentID)
Line
Count
Source
816
7.21M
static inline ChannelType toChannelType             (const ComponentID id)                         { return (id==COMP_Y)? CH_L : CH_C;                     }
Unexecuted instantiation: MatrixIntraPrediction.cpp:vvenc::toChannelType(vvenc::ComponentID)
Unexecuted instantiation: QuantRDOQ2.cpp:vvenc::toChannelType(vvenc::ComponentID)
Unexecuted instantiation: RomTr.cpp:vvenc::toChannelType(vvenc::ComponentID)
Unexecuted instantiation: DecCu.cpp:vvenc::toChannelType(vvenc::ComponentID)
QuantRDOQ.cpp:vvenc::toChannelType(vvenc::ComponentID)
Line
Count
Source
816
292k
static inline ChannelType toChannelType             (const ComponentID id)                         { return (id==COMP_Y)? CH_L : CH_C;                     }
817
53.8M
static inline uint32_t    getChannelTypeScaleX      (const ChannelType id, const ChromaFormat fmt) { return (isLuma(id) || (fmt==CHROMA_444)) ? 0 : 1;     }
Unexecuted instantiation: vvenc.cpp:vvenc::getChannelTypeScaleX(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: vvencCfg.cpp:vvenc::getChannelTypeScaleX(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: vvencimpl.cpp:vvenc::getChannelTypeScaleX(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: ProfileLevelTier.cpp:vvenc::getChannelTypeScaleX(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: Rom.cpp:vvenc::getChannelTypeScaleX(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: Slice.cpp:vvenc::getChannelTypeScaleX(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: EncLib.cpp:vvenc::getChannelTypeScaleX(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: PreProcess.cpp:vvenc::getChannelTypeScaleX(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: RateCtrl.cpp:vvenc::getChannelTypeScaleX(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: NoMallocThreadPool.cpp:vvenc::getChannelTypeScaleX(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: BitStream.cpp:vvenc::getChannelTypeScaleX(vvenc::ChannelType, vvencChromaFormat)
Buffer.cpp:vvenc::getChannelTypeScaleX(vvenc::ChannelType, vvencChromaFormat)
Line
Count
Source
817
19.1M
static inline uint32_t    getChannelTypeScaleX      (const ChannelType id, const ChromaFormat fmt) { return (isLuma(id) || (fmt==CHROMA_444)) ? 0 : 1;     }
MCTF.cpp:vvenc::getChannelTypeScaleX(vvenc::ChannelType, vvencChromaFormat)
Line
Count
Source
817
3.64k
static inline uint32_t    getChannelTypeScaleX      (const ChannelType id, const ChromaFormat fmt) { return (isLuma(id) || (fmt==CHROMA_444)) ? 0 : 1;     }
Unexecuted instantiation: Picture.cpp:vvenc::getChannelTypeScaleX(vvenc::ChannelType, vvencChromaFormat)
Unit.cpp:vvenc::getChannelTypeScaleX(vvenc::ChannelType, vvencChromaFormat)
Line
Count
Source
817
16.1M
static inline uint32_t    getChannelTypeScaleX      (const ChannelType id, const ChromaFormat fmt) { return (isLuma(id) || (fmt==CHROMA_444)) ? 0 : 1;     }
UnitTools.cpp:vvenc::getChannelTypeScaleX(vvenc::ChannelType, vvencChromaFormat)
Line
Count
Source
817
762k
static inline uint32_t    getChannelTypeScaleX      (const ChannelType id, const ChromaFormat fmt) { return (isLuma(id) || (fmt==CHROMA_444)) ? 0 : 1;     }
BitAllocation.cpp:vvenc::getChannelTypeScaleX(vvenc::ChannelType, vvencChromaFormat)
Line
Count
Source
817
12.7k
static inline uint32_t    getChannelTypeScaleX      (const ChannelType id, const ChromaFormat fmt) { return (isLuma(id) || (fmt==CHROMA_444)) ? 0 : 1;     }
Unexecuted instantiation: EncCfg.cpp:vvenc::getChannelTypeScaleX(vvenc::ChannelType, vvencChromaFormat)
EncGOP.cpp:vvenc::getChannelTypeScaleX(vvenc::ChannelType, vvencChromaFormat)
Line
Count
Source
817
2.43k
static inline uint32_t    getChannelTypeScaleX      (const ChannelType id, const ChromaFormat fmt) { return (isLuma(id) || (fmt==CHROMA_444)) ? 0 : 1;     }
Unexecuted instantiation: EncHRD.cpp:vvenc::getChannelTypeScaleX(vvenc::ChannelType, vvencChromaFormat)
EncPicture.cpp:vvenc::getChannelTypeScaleX(vvenc::ChannelType, vvencChromaFormat)
Line
Count
Source
817
3.64k
static inline uint32_t    getChannelTypeScaleX      (const ChannelType id, const ChromaFormat fmt) { return (isLuma(id) || (fmt==CHROMA_444)) ? 0 : 1;     }
Unexecuted instantiation: EncReshape.cpp:vvenc::getChannelTypeScaleX(vvenc::ChannelType, vvencChromaFormat)
EncSlice.cpp:vvenc::getChannelTypeScaleX(vvenc::ChannelType, vvencChromaFormat)
Line
Count
Source
817
45.4k
static inline uint32_t    getChannelTypeScaleX      (const ChannelType id, const ChromaFormat fmt) { return (isLuma(id) || (fmt==CHROMA_444)) ? 0 : 1;     }
Unexecuted instantiation: GOPCfg.cpp:vvenc::getChannelTypeScaleX(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: InterSearch.cpp:vvenc::getChannelTypeScaleX(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: NALwrite.cpp:vvenc::getChannelTypeScaleX(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: SEIEncoder.cpp:vvenc::getChannelTypeScaleX(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: SEIFilmGrainAnalyzer.cpp:vvenc::getChannelTypeScaleX(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: SEIwrite.cpp:vvenc::getChannelTypeScaleX(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: VLCWriter.cpp:vvenc::getChannelTypeScaleX(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: AdaptiveLoopFilter.cpp:vvenc::getChannelTypeScaleX(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: AffineGradientSearch.cpp:vvenc::getChannelTypeScaleX(vvenc::ChannelType, vvencChromaFormat)
CodingStructure.cpp:vvenc::getChannelTypeScaleX(vvenc::ChannelType, vvencChromaFormat)
Line
Count
Source
817
4.71M
static inline uint32_t    getChannelTypeScaleX      (const ChannelType id, const ChromaFormat fmt) { return (isLuma(id) || (fmt==CHROMA_444)) ? 0 : 1;     }
Unexecuted instantiation: ContextModelling.cpp:vvenc::getChannelTypeScaleX(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: Contexts.cpp:vvenc::getChannelTypeScaleX(vvenc::ChannelType, vvencChromaFormat)
InterPrediction.cpp:vvenc::getChannelTypeScaleX(vvenc::ChannelType, vvencChromaFormat)
Line
Count
Source
817
22.6k
static inline uint32_t    getChannelTypeScaleX      (const ChannelType id, const ChromaFormat fmt) { return (isLuma(id) || (fmt==CHROMA_444)) ? 0 : 1;     }
Unexecuted instantiation: InterpolationFilter.cpp:vvenc::getChannelTypeScaleX(vvenc::ChannelType, vvencChromaFormat)
LoopFilter.cpp:vvenc::getChannelTypeScaleX(vvenc::ChannelType, vvencChromaFormat)
Line
Count
Source
817
1.90M
static inline uint32_t    getChannelTypeScaleX      (const ChannelType id, const ChromaFormat fmt) { return (isLuma(id) || (fmt==CHROMA_444)) ? 0 : 1;     }
Unexecuted instantiation: Mv.cpp:vvenc::getChannelTypeScaleX(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: PicYuvMD5.cpp:vvenc::getChannelTypeScaleX(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: Quant.cpp:vvenc::getChannelTypeScaleX(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: RdCost.cpp:vvenc::getChannelTypeScaleX(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: Reshape.cpp:vvenc::getChannelTypeScaleX(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: SEI.cpp:vvenc::getChannelTypeScaleX(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: SampleAdaptiveOffset.cpp:vvenc::getChannelTypeScaleX(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: TrQuant.cpp:vvenc::getChannelTypeScaleX(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: TrQuant_EMT.cpp:vvenc::getChannelTypeScaleX(vvenc::ChannelType, vvencChromaFormat)
UnitPartitioner.cpp:vvenc::getChannelTypeScaleX(vvenc::ChannelType, vvencChromaFormat)
Line
Count
Source
817
2.59M
static inline uint32_t    getChannelTypeScaleX      (const ChannelType id, const ChromaFormat fmt) { return (isLuma(id) || (fmt==CHROMA_444)) ? 0 : 1;     }
Unexecuted instantiation: BinEncoder.cpp:vvenc::getChannelTypeScaleX(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: CABACWriter.cpp:vvenc::getChannelTypeScaleX(vvenc::ChannelType, vvencChromaFormat)
EncAdaptiveLoopFilter.cpp:vvenc::getChannelTypeScaleX(vvenc::ChannelType, vvencChromaFormat)
Line
Count
Source
817
7.09M
static inline uint32_t    getChannelTypeScaleX      (const ChannelType id, const ChromaFormat fmt) { return (isLuma(id) || (fmt==CHROMA_444)) ? 0 : 1;     }
EncCu.cpp:vvenc::getChannelTypeScaleX(vvenc::ChannelType, vvencChromaFormat)
Line
Count
Source
817
153k
static inline uint32_t    getChannelTypeScaleX      (const ChannelType id, const ChromaFormat fmt) { return (isLuma(id) || (fmt==CHROMA_444)) ? 0 : 1;     }
Unexecuted instantiation: EncModeCtrl.cpp:vvenc::getChannelTypeScaleX(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: EncSampleAdaptiveOffset.cpp:vvenc::getChannelTypeScaleX(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: IntraSearch.cpp:vvenc::getChannelTypeScaleX(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: DepQuant.cpp:vvenc::getChannelTypeScaleX(vvenc::ChannelType, vvencChromaFormat)
IntraPrediction.cpp:vvenc::getChannelTypeScaleX(vvenc::ChannelType, vvencChromaFormat)
Line
Count
Source
817
1.26M
static inline uint32_t    getChannelTypeScaleX      (const ChannelType id, const ChromaFormat fmt) { return (isLuma(id) || (fmt==CHROMA_444)) ? 0 : 1;     }
Unexecuted instantiation: MatrixIntraPrediction.cpp:vvenc::getChannelTypeScaleX(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: QuantRDOQ2.cpp:vvenc::getChannelTypeScaleX(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: RomTr.cpp:vvenc::getChannelTypeScaleX(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: DecCu.cpp:vvenc::getChannelTypeScaleX(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: QuantRDOQ.cpp:vvenc::getChannelTypeScaleX(vvenc::ChannelType, vvencChromaFormat)
818
47.1M
static inline uint32_t    getChannelTypeScaleY      (const ChannelType id, const ChromaFormat fmt) { return (isLuma(id) || (fmt!=CHROMA_420)) ? 0 : 1;     }
Unexecuted instantiation: vvenc.cpp:vvenc::getChannelTypeScaleY(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: vvencCfg.cpp:vvenc::getChannelTypeScaleY(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: vvencimpl.cpp:vvenc::getChannelTypeScaleY(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: ProfileLevelTier.cpp:vvenc::getChannelTypeScaleY(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: Rom.cpp:vvenc::getChannelTypeScaleY(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: Slice.cpp:vvenc::getChannelTypeScaleY(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: EncLib.cpp:vvenc::getChannelTypeScaleY(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: PreProcess.cpp:vvenc::getChannelTypeScaleY(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: RateCtrl.cpp:vvenc::getChannelTypeScaleY(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: NoMallocThreadPool.cpp:vvenc::getChannelTypeScaleY(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: BitStream.cpp:vvenc::getChannelTypeScaleY(vvenc::ChannelType, vvencChromaFormat)
Buffer.cpp:vvenc::getChannelTypeScaleY(vvenc::ChannelType, vvencChromaFormat)
Line
Count
Source
818
19.1M
static inline uint32_t    getChannelTypeScaleY      (const ChannelType id, const ChromaFormat fmt) { return (isLuma(id) || (fmt!=CHROMA_420)) ? 0 : 1;     }
MCTF.cpp:vvenc::getChannelTypeScaleY(vvenc::ChannelType, vvencChromaFormat)
Line
Count
Source
818
3.64k
static inline uint32_t    getChannelTypeScaleY      (const ChannelType id, const ChromaFormat fmt) { return (isLuma(id) || (fmt!=CHROMA_420)) ? 0 : 1;     }
Unexecuted instantiation: Picture.cpp:vvenc::getChannelTypeScaleY(vvenc::ChannelType, vvencChromaFormat)
Unit.cpp:vvenc::getChannelTypeScaleY(vvenc::ChannelType, vvencChromaFormat)
Line
Count
Source
818
16.1M
static inline uint32_t    getChannelTypeScaleY      (const ChannelType id, const ChromaFormat fmt) { return (isLuma(id) || (fmt!=CHROMA_420)) ? 0 : 1;     }
UnitTools.cpp:vvenc::getChannelTypeScaleY(vvenc::ChannelType, vvencChromaFormat)
Line
Count
Source
818
762k
static inline uint32_t    getChannelTypeScaleY      (const ChannelType id, const ChromaFormat fmt) { return (isLuma(id) || (fmt!=CHROMA_420)) ? 0 : 1;     }
BitAllocation.cpp:vvenc::getChannelTypeScaleY(vvenc::ChannelType, vvencChromaFormat)
Line
Count
Source
818
12.7k
static inline uint32_t    getChannelTypeScaleY      (const ChannelType id, const ChromaFormat fmt) { return (isLuma(id) || (fmt!=CHROMA_420)) ? 0 : 1;     }
Unexecuted instantiation: EncCfg.cpp:vvenc::getChannelTypeScaleY(vvenc::ChannelType, vvencChromaFormat)
EncGOP.cpp:vvenc::getChannelTypeScaleY(vvenc::ChannelType, vvencChromaFormat)
Line
Count
Source
818
1.21k
static inline uint32_t    getChannelTypeScaleY      (const ChannelType id, const ChromaFormat fmt) { return (isLuma(id) || (fmt!=CHROMA_420)) ? 0 : 1;     }
Unexecuted instantiation: EncHRD.cpp:vvenc::getChannelTypeScaleY(vvenc::ChannelType, vvencChromaFormat)
EncPicture.cpp:vvenc::getChannelTypeScaleY(vvenc::ChannelType, vvencChromaFormat)
Line
Count
Source
818
3.64k
static inline uint32_t    getChannelTypeScaleY      (const ChannelType id, const ChromaFormat fmt) { return (isLuma(id) || (fmt!=CHROMA_420)) ? 0 : 1;     }
Unexecuted instantiation: EncReshape.cpp:vvenc::getChannelTypeScaleY(vvenc::ChannelType, vvencChromaFormat)
EncSlice.cpp:vvenc::getChannelTypeScaleY(vvenc::ChannelType, vvencChromaFormat)
Line
Count
Source
818
45.4k
static inline uint32_t    getChannelTypeScaleY      (const ChannelType id, const ChromaFormat fmt) { return (isLuma(id) || (fmt!=CHROMA_420)) ? 0 : 1;     }
Unexecuted instantiation: GOPCfg.cpp:vvenc::getChannelTypeScaleY(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: InterSearch.cpp:vvenc::getChannelTypeScaleY(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: NALwrite.cpp:vvenc::getChannelTypeScaleY(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: SEIEncoder.cpp:vvenc::getChannelTypeScaleY(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: SEIFilmGrainAnalyzer.cpp:vvenc::getChannelTypeScaleY(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: SEIwrite.cpp:vvenc::getChannelTypeScaleY(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: VLCWriter.cpp:vvenc::getChannelTypeScaleY(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: AdaptiveLoopFilter.cpp:vvenc::getChannelTypeScaleY(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: AffineGradientSearch.cpp:vvenc::getChannelTypeScaleY(vvenc::ChannelType, vvencChromaFormat)
CodingStructure.cpp:vvenc::getChannelTypeScaleY(vvenc::ChannelType, vvencChromaFormat)
Line
Count
Source
818
4.71M
static inline uint32_t    getChannelTypeScaleY      (const ChannelType id, const ChromaFormat fmt) { return (isLuma(id) || (fmt!=CHROMA_420)) ? 0 : 1;     }
Unexecuted instantiation: ContextModelling.cpp:vvenc::getChannelTypeScaleY(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: Contexts.cpp:vvenc::getChannelTypeScaleY(vvenc::ChannelType, vvencChromaFormat)
InterPrediction.cpp:vvenc::getChannelTypeScaleY(vvenc::ChannelType, vvencChromaFormat)
Line
Count
Source
818
22.6k
static inline uint32_t    getChannelTypeScaleY      (const ChannelType id, const ChromaFormat fmt) { return (isLuma(id) || (fmt!=CHROMA_420)) ? 0 : 1;     }
Unexecuted instantiation: InterpolationFilter.cpp:vvenc::getChannelTypeScaleY(vvenc::ChannelType, vvencChromaFormat)
LoopFilter.cpp:vvenc::getChannelTypeScaleY(vvenc::ChannelType, vvencChromaFormat)
Line
Count
Source
818
1.90M
static inline uint32_t    getChannelTypeScaleY      (const ChannelType id, const ChromaFormat fmt) { return (isLuma(id) || (fmt!=CHROMA_420)) ? 0 : 1;     }
Unexecuted instantiation: Mv.cpp:vvenc::getChannelTypeScaleY(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: PicYuvMD5.cpp:vvenc::getChannelTypeScaleY(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: Quant.cpp:vvenc::getChannelTypeScaleY(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: RdCost.cpp:vvenc::getChannelTypeScaleY(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: Reshape.cpp:vvenc::getChannelTypeScaleY(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: SEI.cpp:vvenc::getChannelTypeScaleY(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: SampleAdaptiveOffset.cpp:vvenc::getChannelTypeScaleY(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: TrQuant.cpp:vvenc::getChannelTypeScaleY(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: TrQuant_EMT.cpp:vvenc::getChannelTypeScaleY(vvenc::ChannelType, vvencChromaFormat)
UnitPartitioner.cpp:vvenc::getChannelTypeScaleY(vvenc::ChannelType, vvencChromaFormat)
Line
Count
Source
818
2.59M
static inline uint32_t    getChannelTypeScaleY      (const ChannelType id, const ChromaFormat fmt) { return (isLuma(id) || (fmt!=CHROMA_420)) ? 0 : 1;     }
Unexecuted instantiation: BinEncoder.cpp:vvenc::getChannelTypeScaleY(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: CABACWriter.cpp:vvenc::getChannelTypeScaleY(vvenc::ChannelType, vvencChromaFormat)
EncAdaptiveLoopFilter.cpp:vvenc::getChannelTypeScaleY(vvenc::ChannelType, vvencChromaFormat)
Line
Count
Source
818
358k
static inline uint32_t    getChannelTypeScaleY      (const ChannelType id, const ChromaFormat fmt) { return (isLuma(id) || (fmt!=CHROMA_420)) ? 0 : 1;     }
EncCu.cpp:vvenc::getChannelTypeScaleY(vvenc::ChannelType, vvencChromaFormat)
Line
Count
Source
818
153k
static inline uint32_t    getChannelTypeScaleY      (const ChannelType id, const ChromaFormat fmt) { return (isLuma(id) || (fmt!=CHROMA_420)) ? 0 : 1;     }
Unexecuted instantiation: EncModeCtrl.cpp:vvenc::getChannelTypeScaleY(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: EncSampleAdaptiveOffset.cpp:vvenc::getChannelTypeScaleY(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: IntraSearch.cpp:vvenc::getChannelTypeScaleY(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: DepQuant.cpp:vvenc::getChannelTypeScaleY(vvenc::ChannelType, vvencChromaFormat)
IntraPrediction.cpp:vvenc::getChannelTypeScaleY(vvenc::ChannelType, vvencChromaFormat)
Line
Count
Source
818
1.26M
static inline uint32_t    getChannelTypeScaleY      (const ChannelType id, const ChromaFormat fmt) { return (isLuma(id) || (fmt!=CHROMA_420)) ? 0 : 1;     }
Unexecuted instantiation: MatrixIntraPrediction.cpp:vvenc::getChannelTypeScaleY(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: QuantRDOQ2.cpp:vvenc::getChannelTypeScaleY(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: RomTr.cpp:vvenc::getChannelTypeScaleY(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: DecCu.cpp:vvenc::getChannelTypeScaleY(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: QuantRDOQ.cpp:vvenc::getChannelTypeScaleY(vvenc::ChannelType, vvencChromaFormat)
819
37.1M
static inline uint32_t    getComponentScaleX        (const ComponentID id, const ChromaFormat fmt) { return getChannelTypeScaleX(toChannelType(id), fmt);  }
Unexecuted instantiation: vvenc.cpp:vvenc::getComponentScaleX(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: vvencCfg.cpp:vvenc::getComponentScaleX(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: vvencimpl.cpp:vvenc::getComponentScaleX(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: ProfileLevelTier.cpp:vvenc::getComponentScaleX(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: Rom.cpp:vvenc::getComponentScaleX(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: Slice.cpp:vvenc::getComponentScaleX(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: EncLib.cpp:vvenc::getComponentScaleX(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: PreProcess.cpp:vvenc::getComponentScaleX(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: RateCtrl.cpp:vvenc::getComponentScaleX(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: NoMallocThreadPool.cpp:vvenc::getComponentScaleX(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: BitStream.cpp:vvenc::getComponentScaleX(vvenc::ComponentID, vvencChromaFormat)
Buffer.cpp:vvenc::getComponentScaleX(vvenc::ComponentID, vvencChromaFormat)
Line
Count
Source
819
19.1M
static inline uint32_t    getComponentScaleX        (const ComponentID id, const ChromaFormat fmt) { return getChannelTypeScaleX(toChannelType(id), fmt);  }
MCTF.cpp:vvenc::getComponentScaleX(vvenc::ComponentID, vvencChromaFormat)
Line
Count
Source
819
3.64k
static inline uint32_t    getComponentScaleX        (const ComponentID id, const ChromaFormat fmt) { return getChannelTypeScaleX(toChannelType(id), fmt);  }
Unexecuted instantiation: Picture.cpp:vvenc::getComponentScaleX(vvenc::ComponentID, vvencChromaFormat)
Unit.cpp:vvenc::getComponentScaleX(vvenc::ComponentID, vvencChromaFormat)
Line
Count
Source
819
16.1M
static inline uint32_t    getComponentScaleX        (const ComponentID id, const ChromaFormat fmt) { return getChannelTypeScaleX(toChannelType(id), fmt);  }
UnitTools.cpp:vvenc::getComponentScaleX(vvenc::ComponentID, vvencChromaFormat)
Line
Count
Source
819
670k
static inline uint32_t    getComponentScaleX        (const ComponentID id, const ChromaFormat fmt) { return getChannelTypeScaleX(toChannelType(id), fmt);  }
Unexecuted instantiation: BitAllocation.cpp:vvenc::getComponentScaleX(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: EncCfg.cpp:vvenc::getComponentScaleX(vvenc::ComponentID, vvencChromaFormat)
EncGOP.cpp:vvenc::getComponentScaleX(vvenc::ComponentID, vvencChromaFormat)
Line
Count
Source
819
1.21k
static inline uint32_t    getComponentScaleX        (const ComponentID id, const ChromaFormat fmt) { return getChannelTypeScaleX(toChannelType(id), fmt);  }
Unexecuted instantiation: EncHRD.cpp:vvenc::getComponentScaleX(vvenc::ComponentID, vvencChromaFormat)
EncPicture.cpp:vvenc::getComponentScaleX(vvenc::ComponentID, vvencChromaFormat)
Line
Count
Source
819
3.64k
static inline uint32_t    getComponentScaleX        (const ComponentID id, const ChromaFormat fmt) { return getChannelTypeScaleX(toChannelType(id), fmt);  }
Unexecuted instantiation: EncReshape.cpp:vvenc::getComponentScaleX(vvenc::ComponentID, vvencChromaFormat)
EncSlice.cpp:vvenc::getComponentScaleX(vvenc::ComponentID, vvencChromaFormat)
Line
Count
Source
819
45.4k
static inline uint32_t    getComponentScaleX        (const ComponentID id, const ChromaFormat fmt) { return getChannelTypeScaleX(toChannelType(id), fmt);  }
Unexecuted instantiation: GOPCfg.cpp:vvenc::getComponentScaleX(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: InterSearch.cpp:vvenc::getComponentScaleX(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: NALwrite.cpp:vvenc::getComponentScaleX(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: SEIEncoder.cpp:vvenc::getComponentScaleX(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: SEIFilmGrainAnalyzer.cpp:vvenc::getComponentScaleX(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: SEIwrite.cpp:vvenc::getComponentScaleX(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: VLCWriter.cpp:vvenc::getComponentScaleX(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: AdaptiveLoopFilter.cpp:vvenc::getComponentScaleX(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: AffineGradientSearch.cpp:vvenc::getComponentScaleX(vvenc::ComponentID, vvencChromaFormat)
CodingStructure.cpp:vvenc::getComponentScaleX(vvenc::ComponentID, vvencChromaFormat)
Line
Count
Source
819
37.5k
static inline uint32_t    getComponentScaleX        (const ComponentID id, const ChromaFormat fmt) { return getChannelTypeScaleX(toChannelType(id), fmt);  }
Unexecuted instantiation: ContextModelling.cpp:vvenc::getComponentScaleX(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: Contexts.cpp:vvenc::getComponentScaleX(vvenc::ComponentID, vvencChromaFormat)
InterPrediction.cpp:vvenc::getComponentScaleX(vvenc::ComponentID, vvencChromaFormat)
Line
Count
Source
819
22.6k
static inline uint32_t    getComponentScaleX        (const ComponentID id, const ChromaFormat fmt) { return getChannelTypeScaleX(toChannelType(id), fmt);  }
Unexecuted instantiation: InterpolationFilter.cpp:vvenc::getComponentScaleX(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: LoopFilter.cpp:vvenc::getComponentScaleX(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: Mv.cpp:vvenc::getComponentScaleX(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: PicYuvMD5.cpp:vvenc::getComponentScaleX(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: Quant.cpp:vvenc::getComponentScaleX(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: RdCost.cpp:vvenc::getComponentScaleX(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: Reshape.cpp:vvenc::getComponentScaleX(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: SEI.cpp:vvenc::getComponentScaleX(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: SampleAdaptiveOffset.cpp:vvenc::getComponentScaleX(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: TrQuant.cpp:vvenc::getComponentScaleX(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: TrQuant_EMT.cpp:vvenc::getComponentScaleX(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: UnitPartitioner.cpp:vvenc::getComponentScaleX(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: BinEncoder.cpp:vvenc::getComponentScaleX(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: CABACWriter.cpp:vvenc::getComponentScaleX(vvenc::ComponentID, vvencChromaFormat)
EncAdaptiveLoopFilter.cpp:vvenc::getComponentScaleX(vvenc::ComponentID, vvencChromaFormat)
Line
Count
Source
819
25.9k
static inline uint32_t    getComponentScaleX        (const ComponentID id, const ChromaFormat fmt) { return getChannelTypeScaleX(toChannelType(id), fmt);  }
Unexecuted instantiation: EncCu.cpp:vvenc::getComponentScaleX(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: EncModeCtrl.cpp:vvenc::getComponentScaleX(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: EncSampleAdaptiveOffset.cpp:vvenc::getComponentScaleX(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: IntraSearch.cpp:vvenc::getComponentScaleX(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: DepQuant.cpp:vvenc::getComponentScaleX(vvenc::ComponentID, vvencChromaFormat)
IntraPrediction.cpp:vvenc::getComponentScaleX(vvenc::ComponentID, vvencChromaFormat)
Line
Count
Source
819
1.11M
static inline uint32_t    getComponentScaleX        (const ComponentID id, const ChromaFormat fmt) { return getChannelTypeScaleX(toChannelType(id), fmt);  }
Unexecuted instantiation: MatrixIntraPrediction.cpp:vvenc::getComponentScaleX(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: QuantRDOQ2.cpp:vvenc::getComponentScaleX(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: RomTr.cpp:vvenc::getComponentScaleX(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: DecCu.cpp:vvenc::getComponentScaleX(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: QuantRDOQ.cpp:vvenc::getComponentScaleX(vvenc::ComponentID, vvencChromaFormat)
820
37.5M
static inline uint32_t    getComponentScaleY        (const ComponentID id, const ChromaFormat fmt) { return getChannelTypeScaleY(toChannelType(id), fmt);  }
Unexecuted instantiation: vvenc.cpp:vvenc::getComponentScaleY(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: vvencCfg.cpp:vvenc::getComponentScaleY(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: vvencimpl.cpp:vvenc::getComponentScaleY(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: ProfileLevelTier.cpp:vvenc::getComponentScaleY(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: Rom.cpp:vvenc::getComponentScaleY(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: Slice.cpp:vvenc::getComponentScaleY(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: EncLib.cpp:vvenc::getComponentScaleY(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: PreProcess.cpp:vvenc::getComponentScaleY(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: RateCtrl.cpp:vvenc::getComponentScaleY(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: NoMallocThreadPool.cpp:vvenc::getComponentScaleY(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: BitStream.cpp:vvenc::getComponentScaleY(vvenc::ComponentID, vvencChromaFormat)
Buffer.cpp:vvenc::getComponentScaleY(vvenc::ComponentID, vvencChromaFormat)
Line
Count
Source
820
19.1M
static inline uint32_t    getComponentScaleY        (const ComponentID id, const ChromaFormat fmt) { return getChannelTypeScaleY(toChannelType(id), fmt);  }
MCTF.cpp:vvenc::getComponentScaleY(vvenc::ComponentID, vvencChromaFormat)
Line
Count
Source
820
3.64k
static inline uint32_t    getComponentScaleY        (const ComponentID id, const ChromaFormat fmt) { return getChannelTypeScaleY(toChannelType(id), fmt);  }
Unexecuted instantiation: Picture.cpp:vvenc::getComponentScaleY(vvenc::ComponentID, vvencChromaFormat)
Unit.cpp:vvenc::getComponentScaleY(vvenc::ComponentID, vvencChromaFormat)
Line
Count
Source
820
16.1M
static inline uint32_t    getComponentScaleY        (const ComponentID id, const ChromaFormat fmt) { return getChannelTypeScaleY(toChannelType(id), fmt);  }
UnitTools.cpp:vvenc::getComponentScaleY(vvenc::ComponentID, vvencChromaFormat)
Line
Count
Source
820
670k
static inline uint32_t    getComponentScaleY        (const ComponentID id, const ChromaFormat fmt) { return getChannelTypeScaleY(toChannelType(id), fmt);  }
Unexecuted instantiation: BitAllocation.cpp:vvenc::getComponentScaleY(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: EncCfg.cpp:vvenc::getComponentScaleY(vvenc::ComponentID, vvencChromaFormat)
EncGOP.cpp:vvenc::getComponentScaleY(vvenc::ComponentID, vvencChromaFormat)
Line
Count
Source
820
1.21k
static inline uint32_t    getComponentScaleY        (const ComponentID id, const ChromaFormat fmt) { return getChannelTypeScaleY(toChannelType(id), fmt);  }
Unexecuted instantiation: EncHRD.cpp:vvenc::getComponentScaleY(vvenc::ComponentID, vvencChromaFormat)
EncPicture.cpp:vvenc::getComponentScaleY(vvenc::ComponentID, vvencChromaFormat)
Line
Count
Source
820
3.64k
static inline uint32_t    getComponentScaleY        (const ComponentID id, const ChromaFormat fmt) { return getChannelTypeScaleY(toChannelType(id), fmt);  }
Unexecuted instantiation: EncReshape.cpp:vvenc::getComponentScaleY(vvenc::ComponentID, vvencChromaFormat)
EncSlice.cpp:vvenc::getComponentScaleY(vvenc::ComponentID, vvencChromaFormat)
Line
Count
Source
820
45.4k
static inline uint32_t    getComponentScaleY        (const ComponentID id, const ChromaFormat fmt) { return getChannelTypeScaleY(toChannelType(id), fmt);  }
Unexecuted instantiation: GOPCfg.cpp:vvenc::getComponentScaleY(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: InterSearch.cpp:vvenc::getComponentScaleY(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: NALwrite.cpp:vvenc::getComponentScaleY(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: SEIEncoder.cpp:vvenc::getComponentScaleY(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: SEIFilmGrainAnalyzer.cpp:vvenc::getComponentScaleY(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: SEIwrite.cpp:vvenc::getComponentScaleY(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: VLCWriter.cpp:vvenc::getComponentScaleY(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: AdaptiveLoopFilter.cpp:vvenc::getComponentScaleY(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: AffineGradientSearch.cpp:vvenc::getComponentScaleY(vvenc::ComponentID, vvencChromaFormat)
CodingStructure.cpp:vvenc::getComponentScaleY(vvenc::ComponentID, vvencChromaFormat)
Line
Count
Source
820
37.5k
static inline uint32_t    getComponentScaleY        (const ComponentID id, const ChromaFormat fmt) { return getChannelTypeScaleY(toChannelType(id), fmt);  }
Unexecuted instantiation: ContextModelling.cpp:vvenc::getComponentScaleY(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: Contexts.cpp:vvenc::getComponentScaleY(vvenc::ComponentID, vvencChromaFormat)
InterPrediction.cpp:vvenc::getComponentScaleY(vvenc::ComponentID, vvencChromaFormat)
Line
Count
Source
820
22.6k
static inline uint32_t    getComponentScaleY        (const ComponentID id, const ChromaFormat fmt) { return getChannelTypeScaleY(toChannelType(id), fmt);  }
Unexecuted instantiation: InterpolationFilter.cpp:vvenc::getComponentScaleY(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: LoopFilter.cpp:vvenc::getComponentScaleY(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: Mv.cpp:vvenc::getComponentScaleY(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: PicYuvMD5.cpp:vvenc::getComponentScaleY(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: Quant.cpp:vvenc::getComponentScaleY(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: RdCost.cpp:vvenc::getComponentScaleY(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: Reshape.cpp:vvenc::getComponentScaleY(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: SEI.cpp:vvenc::getComponentScaleY(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: SampleAdaptiveOffset.cpp:vvenc::getComponentScaleY(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: TrQuant.cpp:vvenc::getComponentScaleY(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: TrQuant_EMT.cpp:vvenc::getComponentScaleY(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: UnitPartitioner.cpp:vvenc::getComponentScaleY(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: BinEncoder.cpp:vvenc::getComponentScaleY(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: CABACWriter.cpp:vvenc::getComponentScaleY(vvenc::ComponentID, vvencChromaFormat)
EncAdaptiveLoopFilter.cpp:vvenc::getComponentScaleY(vvenc::ComponentID, vvencChromaFormat)
Line
Count
Source
820
358k
static inline uint32_t    getComponentScaleY        (const ComponentID id, const ChromaFormat fmt) { return getChannelTypeScaleY(toChannelType(id), fmt);  }
Unexecuted instantiation: EncCu.cpp:vvenc::getComponentScaleY(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: EncModeCtrl.cpp:vvenc::getComponentScaleY(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: EncSampleAdaptiveOffset.cpp:vvenc::getComponentScaleY(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: IntraSearch.cpp:vvenc::getComponentScaleY(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: DepQuant.cpp:vvenc::getComponentScaleY(vvenc::ComponentID, vvencChromaFormat)
IntraPrediction.cpp:vvenc::getComponentScaleY(vvenc::ComponentID, vvencChromaFormat)
Line
Count
Source
820
1.11M
static inline uint32_t    getComponentScaleY        (const ComponentID id, const ChromaFormat fmt) { return getChannelTypeScaleY(toChannelType(id), fmt);  }
Unexecuted instantiation: MatrixIntraPrediction.cpp:vvenc::getComponentScaleY(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: QuantRDOQ2.cpp:vvenc::getComponentScaleY(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: RomTr.cpp:vvenc::getComponentScaleY(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: DecCu.cpp:vvenc::getComponentScaleY(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: QuantRDOQ.cpp:vvenc::getComponentScaleY(vvenc::ComponentID, vvencChromaFormat)
821
15.8M
static inline uint32_t    getNumberValidComponents  (const ChromaFormat fmt)                       { return (fmt==CHROMA_400) ? 1 : MAX_NUM_COMP;          }
Unexecuted instantiation: vvenc.cpp:vvenc::getNumberValidComponents(vvencChromaFormat)
Unexecuted instantiation: vvencCfg.cpp:vvenc::getNumberValidComponents(vvencChromaFormat)
Unexecuted instantiation: vvencimpl.cpp:vvenc::getNumberValidComponents(vvencChromaFormat)
Unexecuted instantiation: ProfileLevelTier.cpp:vvenc::getNumberValidComponents(vvencChromaFormat)
Unexecuted instantiation: Rom.cpp:vvenc::getNumberValidComponents(vvencChromaFormat)
Unexecuted instantiation: Slice.cpp:vvenc::getNumberValidComponents(vvencChromaFormat)
Unexecuted instantiation: EncLib.cpp:vvenc::getNumberValidComponents(vvencChromaFormat)
Unexecuted instantiation: PreProcess.cpp:vvenc::getNumberValidComponents(vvencChromaFormat)
Unexecuted instantiation: RateCtrl.cpp:vvenc::getNumberValidComponents(vvencChromaFormat)
Unexecuted instantiation: NoMallocThreadPool.cpp:vvenc::getNumberValidComponents(vvencChromaFormat)
Unexecuted instantiation: BitStream.cpp:vvenc::getNumberValidComponents(vvencChromaFormat)
Buffer.cpp:vvenc::getNumberValidComponents(vvencChromaFormat)
Line
Count
Source
821
3.81M
static inline uint32_t    getNumberValidComponents  (const ChromaFormat fmt)                       { return (fmt==CHROMA_400) ? 1 : MAX_NUM_COMP;          }
Unexecuted instantiation: MCTF.cpp:vvenc::getNumberValidComponents(vvencChromaFormat)
Unexecuted instantiation: Picture.cpp:vvenc::getNumberValidComponents(vvencChromaFormat)
Unit.cpp:vvenc::getNumberValidComponents(vvencChromaFormat)
Line
Count
Source
821
10.0M
static inline uint32_t    getNumberValidComponents  (const ChromaFormat fmt)                       { return (fmt==CHROMA_400) ? 1 : MAX_NUM_COMP;          }
Unexecuted instantiation: UnitTools.cpp:vvenc::getNumberValidComponents(vvencChromaFormat)
BitAllocation.cpp:vvenc::getNumberValidComponents(vvencChromaFormat)
Line
Count
Source
821
4.86k
static inline uint32_t    getNumberValidComponents  (const ChromaFormat fmt)                       { return (fmt==CHROMA_400) ? 1 : MAX_NUM_COMP;          }
Unexecuted instantiation: EncCfg.cpp:vvenc::getNumberValidComponents(vvencChromaFormat)
Unexecuted instantiation: EncGOP.cpp:vvenc::getNumberValidComponents(vvencChromaFormat)
Unexecuted instantiation: EncHRD.cpp:vvenc::getNumberValidComponents(vvencChromaFormat)
EncPicture.cpp:vvenc::getNumberValidComponents(vvencChromaFormat)
Line
Count
Source
821
4.86k
static inline uint32_t    getNumberValidComponents  (const ChromaFormat fmt)                       { return (fmt==CHROMA_400) ? 1 : MAX_NUM_COMP;          }
Unexecuted instantiation: EncReshape.cpp:vvenc::getNumberValidComponents(vvencChromaFormat)
EncSlice.cpp:vvenc::getNumberValidComponents(vvencChromaFormat)
Line
Count
Source
821
4.86k
static inline uint32_t    getNumberValidComponents  (const ChromaFormat fmt)                       { return (fmt==CHROMA_400) ? 1 : MAX_NUM_COMP;          }
Unexecuted instantiation: GOPCfg.cpp:vvenc::getNumberValidComponents(vvencChromaFormat)
InterSearch.cpp:vvenc::getNumberValidComponents(vvencChromaFormat)
Line
Count
Source
821
45.3k
static inline uint32_t    getNumberValidComponents  (const ChromaFormat fmt)                       { return (fmt==CHROMA_400) ? 1 : MAX_NUM_COMP;          }
Unexecuted instantiation: NALwrite.cpp:vvenc::getNumberValidComponents(vvencChromaFormat)
Unexecuted instantiation: SEIEncoder.cpp:vvenc::getNumberValidComponents(vvencChromaFormat)
Unexecuted instantiation: SEIFilmGrainAnalyzer.cpp:vvenc::getNumberValidComponents(vvencChromaFormat)
Unexecuted instantiation: SEIwrite.cpp:vvenc::getNumberValidComponents(vvencChromaFormat)
VLCWriter.cpp:vvenc::getNumberValidComponents(vvencChromaFormat)
Line
Count
Source
821
1.21k
static inline uint32_t    getNumberValidComponents  (const ChromaFormat fmt)                       { return (fmt==CHROMA_400) ? 1 : MAX_NUM_COMP;          }
Unexecuted instantiation: AdaptiveLoopFilter.cpp:vvenc::getNumberValidComponents(vvencChromaFormat)
Unexecuted instantiation: AffineGradientSearch.cpp:vvenc::getNumberValidComponents(vvencChromaFormat)
CodingStructure.cpp:vvenc::getNumberValidComponents(vvencChromaFormat)
Line
Count
Source
821
1.09M
static inline uint32_t    getNumberValidComponents  (const ChromaFormat fmt)                       { return (fmt==CHROMA_400) ? 1 : MAX_NUM_COMP;          }
Unexecuted instantiation: ContextModelling.cpp:vvenc::getNumberValidComponents(vvencChromaFormat)
Unexecuted instantiation: Contexts.cpp:vvenc::getNumberValidComponents(vvencChromaFormat)
Unexecuted instantiation: InterPrediction.cpp:vvenc::getNumberValidComponents(vvencChromaFormat)
Unexecuted instantiation: InterpolationFilter.cpp:vvenc::getNumberValidComponents(vvencChromaFormat)
Unexecuted instantiation: LoopFilter.cpp:vvenc::getNumberValidComponents(vvencChromaFormat)
Unexecuted instantiation: Mv.cpp:vvenc::getNumberValidComponents(vvencChromaFormat)
Unexecuted instantiation: PicYuvMD5.cpp:vvenc::getNumberValidComponents(vvencChromaFormat)
Unexecuted instantiation: Quant.cpp:vvenc::getNumberValidComponents(vvencChromaFormat)
Unexecuted instantiation: RdCost.cpp:vvenc::getNumberValidComponents(vvencChromaFormat)
Unexecuted instantiation: Reshape.cpp:vvenc::getNumberValidComponents(vvencChromaFormat)
Unexecuted instantiation: SEI.cpp:vvenc::getNumberValidComponents(vvencChromaFormat)
SampleAdaptiveOffset.cpp:vvenc::getNumberValidComponents(vvencChromaFormat)
Line
Count
Source
821
12.3k
static inline uint32_t    getNumberValidComponents  (const ChromaFormat fmt)                       { return (fmt==CHROMA_400) ? 1 : MAX_NUM_COMP;          }
Unexecuted instantiation: TrQuant.cpp:vvenc::getNumberValidComponents(vvencChromaFormat)
Unexecuted instantiation: TrQuant_EMT.cpp:vvenc::getNumberValidComponents(vvencChromaFormat)
Unexecuted instantiation: UnitPartitioner.cpp:vvenc::getNumberValidComponents(vvencChromaFormat)
Unexecuted instantiation: BinEncoder.cpp:vvenc::getNumberValidComponents(vvencChromaFormat)
CABACWriter.cpp:vvenc::getNumberValidComponents(vvencChromaFormat)
Line
Count
Source
821
286k
static inline uint32_t    getNumberValidComponents  (const ChromaFormat fmt)                       { return (fmt==CHROMA_400) ? 1 : MAX_NUM_COMP;          }
EncAdaptiveLoopFilter.cpp:vvenc::getNumberValidComponents(vvencChromaFormat)
Line
Count
Source
821
40.1k
static inline uint32_t    getNumberValidComponents  (const ChromaFormat fmt)                       { return (fmt==CHROMA_400) ? 1 : MAX_NUM_COMP;          }
Unexecuted instantiation: EncCu.cpp:vvenc::getNumberValidComponents(vvencChromaFormat)
EncModeCtrl.cpp:vvenc::getNumberValidComponents(vvencChromaFormat)
Line
Count
Source
821
134k
static inline uint32_t    getNumberValidComponents  (const ChromaFormat fmt)                       { return (fmt==CHROMA_400) ? 1 : MAX_NUM_COMP;          }
EncSampleAdaptiveOffset.cpp:vvenc::getNumberValidComponents(vvencChromaFormat)
Line
Count
Source
821
5.00k
static inline uint32_t    getNumberValidComponents  (const ChromaFormat fmt)                       { return (fmt==CHROMA_400) ? 1 : MAX_NUM_COMP;          }
IntraSearch.cpp:vvenc::getNumberValidComponents(vvencChromaFormat)
Line
Count
Source
821
345k
static inline uint32_t    getNumberValidComponents  (const ChromaFormat fmt)                       { return (fmt==CHROMA_400) ? 1 : MAX_NUM_COMP;          }
Unexecuted instantiation: DepQuant.cpp:vvenc::getNumberValidComponents(vvencChromaFormat)
Unexecuted instantiation: IntraPrediction.cpp:vvenc::getNumberValidComponents(vvencChromaFormat)
Unexecuted instantiation: MatrixIntraPrediction.cpp:vvenc::getNumberValidComponents(vvencChromaFormat)
Unexecuted instantiation: QuantRDOQ2.cpp:vvenc::getNumberValidComponents(vvencChromaFormat)
Unexecuted instantiation: RomTr.cpp:vvenc::getNumberValidComponents(vvencChromaFormat)
Unexecuted instantiation: DecCu.cpp:vvenc::getNumberValidComponents(vvencChromaFormat)
Unexecuted instantiation: QuantRDOQ.cpp:vvenc::getNumberValidComponents(vvencChromaFormat)
822
1.89M
static inline uint32_t    getNumberValidChannels    (const ChromaFormat fmt)                       { return (fmt==CHROMA_400) ? 1 : MAX_NUM_CH;            }
Unexecuted instantiation: vvenc.cpp:vvenc::getNumberValidChannels(vvencChromaFormat)
Unexecuted instantiation: vvencCfg.cpp:vvenc::getNumberValidChannels(vvencChromaFormat)
Unexecuted instantiation: vvencimpl.cpp:vvenc::getNumberValidChannels(vvencChromaFormat)
Unexecuted instantiation: ProfileLevelTier.cpp:vvenc::getNumberValidChannels(vvencChromaFormat)
Unexecuted instantiation: Rom.cpp:vvenc::getNumberValidChannels(vvencChromaFormat)
Unexecuted instantiation: Slice.cpp:vvenc::getNumberValidChannels(vvencChromaFormat)
Unexecuted instantiation: EncLib.cpp:vvenc::getNumberValidChannels(vvencChromaFormat)
Unexecuted instantiation: PreProcess.cpp:vvenc::getNumberValidChannels(vvencChromaFormat)
Unexecuted instantiation: RateCtrl.cpp:vvenc::getNumberValidChannels(vvencChromaFormat)
Unexecuted instantiation: NoMallocThreadPool.cpp:vvenc::getNumberValidChannels(vvencChromaFormat)
Unexecuted instantiation: BitStream.cpp:vvenc::getNumberValidChannels(vvencChromaFormat)
Unexecuted instantiation: Buffer.cpp:vvenc::getNumberValidChannels(vvencChromaFormat)
Unexecuted instantiation: MCTF.cpp:vvenc::getNumberValidChannels(vvencChromaFormat)
Unexecuted instantiation: Picture.cpp:vvenc::getNumberValidChannels(vvencChromaFormat)
Unexecuted instantiation: Unit.cpp:vvenc::getNumberValidChannels(vvencChromaFormat)
Unexecuted instantiation: UnitTools.cpp:vvenc::getNumberValidChannels(vvencChromaFormat)
Unexecuted instantiation: BitAllocation.cpp:vvenc::getNumberValidChannels(vvencChromaFormat)
Unexecuted instantiation: EncCfg.cpp:vvenc::getNumberValidChannels(vvencChromaFormat)
Unexecuted instantiation: EncGOP.cpp:vvenc::getNumberValidChannels(vvencChromaFormat)
Unexecuted instantiation: EncHRD.cpp:vvenc::getNumberValidChannels(vvencChromaFormat)
Unexecuted instantiation: EncPicture.cpp:vvenc::getNumberValidChannels(vvencChromaFormat)
Unexecuted instantiation: EncReshape.cpp:vvenc::getNumberValidChannels(vvencChromaFormat)
Unexecuted instantiation: EncSlice.cpp:vvenc::getNumberValidChannels(vvencChromaFormat)
Unexecuted instantiation: GOPCfg.cpp:vvenc::getNumberValidChannels(vvencChromaFormat)
Unexecuted instantiation: InterSearch.cpp:vvenc::getNumberValidChannels(vvencChromaFormat)
Unexecuted instantiation: NALwrite.cpp:vvenc::getNumberValidChannels(vvencChromaFormat)
Unexecuted instantiation: SEIEncoder.cpp:vvenc::getNumberValidChannels(vvencChromaFormat)
Unexecuted instantiation: SEIFilmGrainAnalyzer.cpp:vvenc::getNumberValidChannels(vvencChromaFormat)
Unexecuted instantiation: SEIwrite.cpp:vvenc::getNumberValidChannels(vvencChromaFormat)
Unexecuted instantiation: VLCWriter.cpp:vvenc::getNumberValidChannels(vvencChromaFormat)
Unexecuted instantiation: AdaptiveLoopFilter.cpp:vvenc::getNumberValidChannels(vvencChromaFormat)
Unexecuted instantiation: AffineGradientSearch.cpp:vvenc::getNumberValidChannels(vvencChromaFormat)
CodingStructure.cpp:vvenc::getNumberValidChannels(vvencChromaFormat)
Line
Count
Source
822
1.89M
static inline uint32_t    getNumberValidChannels    (const ChromaFormat fmt)                       { return (fmt==CHROMA_400) ? 1 : MAX_NUM_CH;            }
Unexecuted instantiation: ContextModelling.cpp:vvenc::getNumberValidChannels(vvencChromaFormat)
Unexecuted instantiation: Contexts.cpp:vvenc::getNumberValidChannels(vvencChromaFormat)
Unexecuted instantiation: InterPrediction.cpp:vvenc::getNumberValidChannels(vvencChromaFormat)
Unexecuted instantiation: InterpolationFilter.cpp:vvenc::getNumberValidChannels(vvencChromaFormat)
Unexecuted instantiation: LoopFilter.cpp:vvenc::getNumberValidChannels(vvencChromaFormat)
Unexecuted instantiation: Mv.cpp:vvenc::getNumberValidChannels(vvencChromaFormat)
Unexecuted instantiation: PicYuvMD5.cpp:vvenc::getNumberValidChannels(vvencChromaFormat)
Unexecuted instantiation: Quant.cpp:vvenc::getNumberValidChannels(vvencChromaFormat)
Unexecuted instantiation: RdCost.cpp:vvenc::getNumberValidChannels(vvencChromaFormat)
Unexecuted instantiation: Reshape.cpp:vvenc::getNumberValidChannels(vvencChromaFormat)
Unexecuted instantiation: SEI.cpp:vvenc::getNumberValidChannels(vvencChromaFormat)
Unexecuted instantiation: SampleAdaptiveOffset.cpp:vvenc::getNumberValidChannels(vvencChromaFormat)
Unexecuted instantiation: TrQuant.cpp:vvenc::getNumberValidChannels(vvencChromaFormat)
Unexecuted instantiation: TrQuant_EMT.cpp:vvenc::getNumberValidChannels(vvencChromaFormat)
Unexecuted instantiation: UnitPartitioner.cpp:vvenc::getNumberValidChannels(vvencChromaFormat)
Unexecuted instantiation: BinEncoder.cpp:vvenc::getNumberValidChannels(vvencChromaFormat)
Unexecuted instantiation: CABACWriter.cpp:vvenc::getNumberValidChannels(vvencChromaFormat)
EncAdaptiveLoopFilter.cpp:vvenc::getNumberValidChannels(vvencChromaFormat)
Line
Count
Source
822
1.21k
static inline uint32_t    getNumberValidChannels    (const ChromaFormat fmt)                       { return (fmt==CHROMA_400) ? 1 : MAX_NUM_CH;            }
Unexecuted instantiation: EncCu.cpp:vvenc::getNumberValidChannels(vvencChromaFormat)
Unexecuted instantiation: EncModeCtrl.cpp:vvenc::getNumberValidChannels(vvencChromaFormat)
Unexecuted instantiation: EncSampleAdaptiveOffset.cpp:vvenc::getNumberValidChannels(vvencChromaFormat)
Unexecuted instantiation: IntraSearch.cpp:vvenc::getNumberValidChannels(vvencChromaFormat)
Unexecuted instantiation: DepQuant.cpp:vvenc::getNumberValidChannels(vvencChromaFormat)
Unexecuted instantiation: IntraPrediction.cpp:vvenc::getNumberValidChannels(vvencChromaFormat)
Unexecuted instantiation: MatrixIntraPrediction.cpp:vvenc::getNumberValidChannels(vvencChromaFormat)
Unexecuted instantiation: QuantRDOQ2.cpp:vvenc::getNumberValidChannels(vvencChromaFormat)
Unexecuted instantiation: RomTr.cpp:vvenc::getNumberValidChannels(vvencChromaFormat)
Unexecuted instantiation: DecCu.cpp:vvenc::getNumberValidChannels(vvencChromaFormat)
Unexecuted instantiation: QuantRDOQ.cpp:vvenc::getNumberValidChannels(vvencChromaFormat)
823
308k
static inline bool        isChromaEnabled           (const ChromaFormat fmt)                       { return !(fmt==CHROMA_400);                            }
Unexecuted instantiation: vvenc.cpp:vvenc::isChromaEnabled(vvencChromaFormat)
Unexecuted instantiation: vvencCfg.cpp:vvenc::isChromaEnabled(vvencChromaFormat)
Unexecuted instantiation: vvencimpl.cpp:vvenc::isChromaEnabled(vvencChromaFormat)
Unexecuted instantiation: ProfileLevelTier.cpp:vvenc::isChromaEnabled(vvencChromaFormat)
Unexecuted instantiation: Rom.cpp:vvenc::isChromaEnabled(vvencChromaFormat)
Unexecuted instantiation: Slice.cpp:vvenc::isChromaEnabled(vvencChromaFormat)
Unexecuted instantiation: EncLib.cpp:vvenc::isChromaEnabled(vvencChromaFormat)
Unexecuted instantiation: PreProcess.cpp:vvenc::isChromaEnabled(vvencChromaFormat)
Unexecuted instantiation: RateCtrl.cpp:vvenc::isChromaEnabled(vvencChromaFormat)
Unexecuted instantiation: NoMallocThreadPool.cpp:vvenc::isChromaEnabled(vvencChromaFormat)
Unexecuted instantiation: BitStream.cpp:vvenc::isChromaEnabled(vvencChromaFormat)
Unexecuted instantiation: Buffer.cpp:vvenc::isChromaEnabled(vvencChromaFormat)
Unexecuted instantiation: MCTF.cpp:vvenc::isChromaEnabled(vvencChromaFormat)
Unexecuted instantiation: Picture.cpp:vvenc::isChromaEnabled(vvencChromaFormat)
Unexecuted instantiation: Unit.cpp:vvenc::isChromaEnabled(vvencChromaFormat)
Unexecuted instantiation: UnitTools.cpp:vvenc::isChromaEnabled(vvencChromaFormat)
BitAllocation.cpp:vvenc::isChromaEnabled(vvencChromaFormat)
Line
Count
Source
823
8.85k
static inline bool        isChromaEnabled           (const ChromaFormat fmt)                       { return !(fmt==CHROMA_400);                            }
Unexecuted instantiation: EncCfg.cpp:vvenc::isChromaEnabled(vvencChromaFormat)
Unexecuted instantiation: EncGOP.cpp:vvenc::isChromaEnabled(vvencChromaFormat)
Unexecuted instantiation: EncHRD.cpp:vvenc::isChromaEnabled(vvencChromaFormat)
Unexecuted instantiation: EncPicture.cpp:vvenc::isChromaEnabled(vvencChromaFormat)
Unexecuted instantiation: EncReshape.cpp:vvenc::isChromaEnabled(vvencChromaFormat)
EncSlice.cpp:vvenc::isChromaEnabled(vvencChromaFormat)
Line
Count
Source
823
1.21k
static inline bool        isChromaEnabled           (const ChromaFormat fmt)                       { return !(fmt==CHROMA_400);                            }
Unexecuted instantiation: GOPCfg.cpp:vvenc::isChromaEnabled(vvencChromaFormat)
InterSearch.cpp:vvenc::isChromaEnabled(vvencChromaFormat)
Line
Count
Source
823
21.3k
static inline bool        isChromaEnabled           (const ChromaFormat fmt)                       { return !(fmt==CHROMA_400);                            }
Unexecuted instantiation: NALwrite.cpp:vvenc::isChromaEnabled(vvencChromaFormat)
Unexecuted instantiation: SEIEncoder.cpp:vvenc::isChromaEnabled(vvencChromaFormat)
Unexecuted instantiation: SEIFilmGrainAnalyzer.cpp:vvenc::isChromaEnabled(vvencChromaFormat)
Unexecuted instantiation: SEIwrite.cpp:vvenc::isChromaEnabled(vvencChromaFormat)
VLCWriter.cpp:vvenc::isChromaEnabled(vvencChromaFormat)
Line
Count
Source
823
1.21k
static inline bool        isChromaEnabled           (const ChromaFormat fmt)                       { return !(fmt==CHROMA_400);                            }
Unexecuted instantiation: AdaptiveLoopFilter.cpp:vvenc::isChromaEnabled(vvencChromaFormat)
Unexecuted instantiation: AffineGradientSearch.cpp:vvenc::isChromaEnabled(vvencChromaFormat)
Unexecuted instantiation: CodingStructure.cpp:vvenc::isChromaEnabled(vvencChromaFormat)
Unexecuted instantiation: ContextModelling.cpp:vvenc::isChromaEnabled(vvencChromaFormat)
Unexecuted instantiation: Contexts.cpp:vvenc::isChromaEnabled(vvencChromaFormat)
Unexecuted instantiation: InterPrediction.cpp:vvenc::isChromaEnabled(vvencChromaFormat)
Unexecuted instantiation: InterpolationFilter.cpp:vvenc::isChromaEnabled(vvencChromaFormat)
Unexecuted instantiation: LoopFilter.cpp:vvenc::isChromaEnabled(vvencChromaFormat)
Unexecuted instantiation: Mv.cpp:vvenc::isChromaEnabled(vvencChromaFormat)
Unexecuted instantiation: PicYuvMD5.cpp:vvenc::isChromaEnabled(vvencChromaFormat)
Unexecuted instantiation: Quant.cpp:vvenc::isChromaEnabled(vvencChromaFormat)
Unexecuted instantiation: RdCost.cpp:vvenc::isChromaEnabled(vvencChromaFormat)
Unexecuted instantiation: Reshape.cpp:vvenc::isChromaEnabled(vvencChromaFormat)
Unexecuted instantiation: SEI.cpp:vvenc::isChromaEnabled(vvencChromaFormat)
Unexecuted instantiation: SampleAdaptiveOffset.cpp:vvenc::isChromaEnabled(vvencChromaFormat)
Unexecuted instantiation: TrQuant.cpp:vvenc::isChromaEnabled(vvencChromaFormat)
Unexecuted instantiation: TrQuant_EMT.cpp:vvenc::isChromaEnabled(vvencChromaFormat)
Unexecuted instantiation: UnitPartitioner.cpp:vvenc::isChromaEnabled(vvencChromaFormat)
Unexecuted instantiation: BinEncoder.cpp:vvenc::isChromaEnabled(vvencChromaFormat)
CABACWriter.cpp:vvenc::isChromaEnabled(vvencChromaFormat)
Line
Count
Source
823
89.8k
static inline bool        isChromaEnabled           (const ChromaFormat fmt)                       { return !(fmt==CHROMA_400);                            }
EncAdaptiveLoopFilter.cpp:vvenc::isChromaEnabled(vvencChromaFormat)
Line
Count
Source
823
2.43k
static inline bool        isChromaEnabled           (const ChromaFormat fmt)                       { return !(fmt==CHROMA_400);                            }
EncCu.cpp:vvenc::isChromaEnabled(vvencChromaFormat)
Line
Count
Source
823
183k
static inline bool        isChromaEnabled           (const ChromaFormat fmt)                       { return !(fmt==CHROMA_400);                            }
Unexecuted instantiation: EncModeCtrl.cpp:vvenc::isChromaEnabled(vvencChromaFormat)
Unexecuted instantiation: EncSampleAdaptiveOffset.cpp:vvenc::isChromaEnabled(vvencChromaFormat)
Unexecuted instantiation: IntraSearch.cpp:vvenc::isChromaEnabled(vvencChromaFormat)
Unexecuted instantiation: DepQuant.cpp:vvenc::isChromaEnabled(vvencChromaFormat)
Unexecuted instantiation: IntraPrediction.cpp:vvenc::isChromaEnabled(vvencChromaFormat)
Unexecuted instantiation: MatrixIntraPrediction.cpp:vvenc::isChromaEnabled(vvencChromaFormat)
Unexecuted instantiation: QuantRDOQ2.cpp:vvenc::isChromaEnabled(vvencChromaFormat)
Unexecuted instantiation: RomTr.cpp:vvenc::isChromaEnabled(vvencChromaFormat)
Unexecuted instantiation: DecCu.cpp:vvenc::isChromaEnabled(vvencChromaFormat)
Unexecuted instantiation: QuantRDOQ.cpp:vvenc::isChromaEnabled(vvencChromaFormat)
824
992k
static inline ComponentID getFirstComponentOfChannel(const ChannelType id)                         { return (isLuma(id) ? COMP_Y : COMP_Cb);               }
Unexecuted instantiation: vvenc.cpp:vvenc::getFirstComponentOfChannel(vvenc::ChannelType)
Unexecuted instantiation: vvencCfg.cpp:vvenc::getFirstComponentOfChannel(vvenc::ChannelType)
Unexecuted instantiation: vvencimpl.cpp:vvenc::getFirstComponentOfChannel(vvenc::ChannelType)
Unexecuted instantiation: ProfileLevelTier.cpp:vvenc::getFirstComponentOfChannel(vvenc::ChannelType)
Unexecuted instantiation: Rom.cpp:vvenc::getFirstComponentOfChannel(vvenc::ChannelType)
Unexecuted instantiation: Slice.cpp:vvenc::getFirstComponentOfChannel(vvenc::ChannelType)
Unexecuted instantiation: EncLib.cpp:vvenc::getFirstComponentOfChannel(vvenc::ChannelType)
Unexecuted instantiation: PreProcess.cpp:vvenc::getFirstComponentOfChannel(vvenc::ChannelType)
Unexecuted instantiation: RateCtrl.cpp:vvenc::getFirstComponentOfChannel(vvenc::ChannelType)
Unexecuted instantiation: NoMallocThreadPool.cpp:vvenc::getFirstComponentOfChannel(vvenc::ChannelType)
Unexecuted instantiation: BitStream.cpp:vvenc::getFirstComponentOfChannel(vvenc::ChannelType)
Unexecuted instantiation: Buffer.cpp:vvenc::getFirstComponentOfChannel(vvenc::ChannelType)
Unexecuted instantiation: MCTF.cpp:vvenc::getFirstComponentOfChannel(vvenc::ChannelType)
Unexecuted instantiation: Picture.cpp:vvenc::getFirstComponentOfChannel(vvenc::ChannelType)
Unexecuted instantiation: Unit.cpp:vvenc::getFirstComponentOfChannel(vvenc::ChannelType)
Unexecuted instantiation: UnitTools.cpp:vvenc::getFirstComponentOfChannel(vvenc::ChannelType)
Unexecuted instantiation: BitAllocation.cpp:vvenc::getFirstComponentOfChannel(vvenc::ChannelType)
Unexecuted instantiation: EncCfg.cpp:vvenc::getFirstComponentOfChannel(vvenc::ChannelType)
Unexecuted instantiation: EncGOP.cpp:vvenc::getFirstComponentOfChannel(vvenc::ChannelType)
Unexecuted instantiation: EncHRD.cpp:vvenc::getFirstComponentOfChannel(vvenc::ChannelType)
Unexecuted instantiation: EncPicture.cpp:vvenc::getFirstComponentOfChannel(vvenc::ChannelType)
Unexecuted instantiation: EncReshape.cpp:vvenc::getFirstComponentOfChannel(vvenc::ChannelType)
Unexecuted instantiation: EncSlice.cpp:vvenc::getFirstComponentOfChannel(vvenc::ChannelType)
Unexecuted instantiation: GOPCfg.cpp:vvenc::getFirstComponentOfChannel(vvenc::ChannelType)
Unexecuted instantiation: InterSearch.cpp:vvenc::getFirstComponentOfChannel(vvenc::ChannelType)
Unexecuted instantiation: NALwrite.cpp:vvenc::getFirstComponentOfChannel(vvenc::ChannelType)
Unexecuted instantiation: SEIEncoder.cpp:vvenc::getFirstComponentOfChannel(vvenc::ChannelType)
Unexecuted instantiation: SEIFilmGrainAnalyzer.cpp:vvenc::getFirstComponentOfChannel(vvenc::ChannelType)
Unexecuted instantiation: SEIwrite.cpp:vvenc::getFirstComponentOfChannel(vvenc::ChannelType)
Unexecuted instantiation: VLCWriter.cpp:vvenc::getFirstComponentOfChannel(vvenc::ChannelType)
Unexecuted instantiation: AdaptiveLoopFilter.cpp:vvenc::getFirstComponentOfChannel(vvenc::ChannelType)
Unexecuted instantiation: AffineGradientSearch.cpp:vvenc::getFirstComponentOfChannel(vvenc::ChannelType)
Unexecuted instantiation: CodingStructure.cpp:vvenc::getFirstComponentOfChannel(vvenc::ChannelType)
Unexecuted instantiation: ContextModelling.cpp:vvenc::getFirstComponentOfChannel(vvenc::ChannelType)
Unexecuted instantiation: Contexts.cpp:vvenc::getFirstComponentOfChannel(vvenc::ChannelType)
Unexecuted instantiation: InterPrediction.cpp:vvenc::getFirstComponentOfChannel(vvenc::ChannelType)
Unexecuted instantiation: InterpolationFilter.cpp:vvenc::getFirstComponentOfChannel(vvenc::ChannelType)
Unexecuted instantiation: LoopFilter.cpp:vvenc::getFirstComponentOfChannel(vvenc::ChannelType)
Unexecuted instantiation: Mv.cpp:vvenc::getFirstComponentOfChannel(vvenc::ChannelType)
Unexecuted instantiation: PicYuvMD5.cpp:vvenc::getFirstComponentOfChannel(vvenc::ChannelType)
Unexecuted instantiation: Quant.cpp:vvenc::getFirstComponentOfChannel(vvenc::ChannelType)
Unexecuted instantiation: RdCost.cpp:vvenc::getFirstComponentOfChannel(vvenc::ChannelType)
Unexecuted instantiation: Reshape.cpp:vvenc::getFirstComponentOfChannel(vvenc::ChannelType)
Unexecuted instantiation: SEI.cpp:vvenc::getFirstComponentOfChannel(vvenc::ChannelType)
Unexecuted instantiation: SampleAdaptiveOffset.cpp:vvenc::getFirstComponentOfChannel(vvenc::ChannelType)
Unexecuted instantiation: TrQuant.cpp:vvenc::getFirstComponentOfChannel(vvenc::ChannelType)
Unexecuted instantiation: TrQuant_EMT.cpp:vvenc::getFirstComponentOfChannel(vvenc::ChannelType)
Unexecuted instantiation: UnitPartitioner.cpp:vvenc::getFirstComponentOfChannel(vvenc::ChannelType)
Unexecuted instantiation: BinEncoder.cpp:vvenc::getFirstComponentOfChannel(vvenc::ChannelType)
CABACWriter.cpp:vvenc::getFirstComponentOfChannel(vvenc::ChannelType)
Line
Count
Source
824
830k
static inline ComponentID getFirstComponentOfChannel(const ChannelType id)                         { return (isLuma(id) ? COMP_Y : COMP_Cb);               }
Unexecuted instantiation: EncAdaptiveLoopFilter.cpp:vvenc::getFirstComponentOfChannel(vvenc::ChannelType)
Unexecuted instantiation: EncCu.cpp:vvenc::getFirstComponentOfChannel(vvenc::ChannelType)
Unexecuted instantiation: EncModeCtrl.cpp:vvenc::getFirstComponentOfChannel(vvenc::ChannelType)
Unexecuted instantiation: EncSampleAdaptiveOffset.cpp:vvenc::getFirstComponentOfChannel(vvenc::ChannelType)
IntraSearch.cpp:vvenc::getFirstComponentOfChannel(vvenc::ChannelType)
Line
Count
Source
824
162k
static inline ComponentID getFirstComponentOfChannel(const ChannelType id)                         { return (isLuma(id) ? COMP_Y : COMP_Cb);               }
Unexecuted instantiation: DepQuant.cpp:vvenc::getFirstComponentOfChannel(vvenc::ChannelType)
Unexecuted instantiation: IntraPrediction.cpp:vvenc::getFirstComponentOfChannel(vvenc::ChannelType)
Unexecuted instantiation: MatrixIntraPrediction.cpp:vvenc::getFirstComponentOfChannel(vvenc::ChannelType)
Unexecuted instantiation: QuantRDOQ2.cpp:vvenc::getFirstComponentOfChannel(vvenc::ChannelType)
Unexecuted instantiation: RomTr.cpp:vvenc::getFirstComponentOfChannel(vvenc::ChannelType)
Unexecuted instantiation: DecCu.cpp:vvenc::getFirstComponentOfChannel(vvenc::ChannelType)
Unexecuted instantiation: QuantRDOQ.cpp:vvenc::getFirstComponentOfChannel(vvenc::ChannelType)
825
826
827
828
//CASE-BREAK for breakpoints
829
#if defined ( _MSC_VER ) && defined ( _DEBUG )
830
#define _CASE(_x) if(_x)
831
#define _BREAK while(0);
832
#define _AREA_AT(_a,_x,_y,_w,_h)  (_a.x==_x && _a.y==_y && _a.width==_w && _a.height==_h)
833
#define _AREA_CONTAINS(_a,_x,_y)  (_a.contains( Position{ _x, _y} ))
834
#define _UNIT_AREA_AT(_a,_x,_y,_w,_h) (_a.Y().x==_x && _a.Y().y==_y && _a.Y().width==_w && _a.Y().height==_h)
835
#else
836
#define _CASE(...)
837
#define _BREAK
838
#define _AREA_AT(...)
839
#define _AREA_CONTAINS(_a,_x,_y)
840
#define _UNIT_AREA_AT(_a,_x,_y,_w,_h)
841
#endif
842
843
// Make enum and strings macros, used for TimeProfiler and DTrace
844
#define MAKE_ENUM(VAR) VAR,
845
#define MAKE_STRINGS(VAR) #VAR,
846
#define MAKE_ENUM_AND_STRINGS(source, enumName, enumStringName) \
847
enum enumName { \
848
    source(MAKE_ENUM) \
849
    };\
850
const char* const enumStringName[] = { \
851
    source(MAKE_STRINGS) \
852
    }; \
853
854
#ifdef TRACE_ENABLE_ITT
855
856
} // namespace vvenc
857
858
#include <ittnotify.h>
859
860
namespace vvenc {
861
862
# define ITT_TASKSTART( d, t ) __itt_task_begin( ( d ), __itt_null, __itt_null, ( (__itt_string_handle*)t ) )
863
# define ITT_TASKEND( d, t )   __itt_task_end  ( ( d ) )
864
865
# define ITT_SYNCPREP( p ) __itt_sync_prepare  ( & p )
866
# define ITT_SYNCACQ( p )  __itt_sync_acquired ( & p )
867
# define ITT_SYNCREL( p )  __itt_sync_releasing( & p )
868
869
# define ITT_COUNTSET( c, v ) __itt_counter_set_value( c, &v )
870
# define ITT_COUNTINC( c )    __itt_counter_inc( c )
871
# define ITT_COUNTDEC( c )    __itt_counter_dec( c )
872
# define ITT_COUNTADD( c, v ) __itt_counter_inc_delta( c, &v )
873
# define ITT_COUNTSUB( c, v ) __itt_counter_dec_delta( c, &v )
874
#else //!TRACE_ENABLE_ITT
875
# define ITT_TASKSTART( d, t )
876
# define ITT_TASKEND( d, t )
877
878
# define ITT_SYNCPREP( p )
879
# define ITT_SYNCACQ( p )
880
# define ITT_SYNCREL( p )
881
882
# define ITT_COUNTSET( c, v )
883
# define ITT_COUNTINC( c )
884
# define ITT_COUNTDEC( c )
885
# define ITT_COUNTADD( c, v )
886
# define ITT_COUNTSUB( c, v )
887
#endif //!TRACE_ENABLE_ITT
888
889
0
#define SIGN(x) ( (x) >= 0 ? 1 : -1 )
890
891
} // namespace vvenc
892
893
//! \}
894