Coverage Report

Created: 2026-12-01 06:52

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.43k
#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.43k
#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.43k
#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; ///< number of transform types (mtsIdx): DCT2, transform skip and four MTS combinations
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_PREFIX_LANES =              8; ///< candidates in one vector of GEO's row prefix sums, see PelBufferOps::geoPrefixSums
477
static constexpr int GEO_NUM_CU_SIZE = ( GEO_MAX_CU_LOG2 - GEO_MIN_CU_LOG2 ) + 1;
478
static constexpr int GEO_NUM_PARTITION_MODE =                          64;
479
static constexpr int GEO_NUM_ANGLES =                                  32;
480
static constexpr int GEO_NUM_DISTANCES =                                4;
481
static constexpr int GEO_NUM_PRESTORED_MASK =                           6;
482
static constexpr int GEO_WEIGHT_MASK_SIZE = 3 * (GEO_MAX_CU_SIZE >> 3) * 2 + GEO_MAX_CU_SIZE;
483
static constexpr int GEO_MV_MASK_SIZE =         GEO_WEIGHT_MASK_SIZE >> 2;
484
static constexpr int GEO_MAX_TRY_WEIGHTED_SAD = 60;
485
static constexpr int GEO_MAX_TRY_WEIGHTED_SATD = 8;
486
487
#if INTER_FULL_SEARCH
488
static constexpr int SBT_NUM_SL =                                      10; ///< maximum number of historical PU decision saved for a CU
489
#else
490
static constexpr int SBT_NUM_SL =                                       4; ///< maximum number of historical PU decision saved for a CU
491
#endif
492
static constexpr int SBT_NUM_RDO =                                      2; ///< maximum number of SBT mode tried for a PU
493
static constexpr unsigned SBT_FAST64_WIDTH_THRESHOLD =               1920;
494
495
static constexpr int NUM_INTER_CU_INFO_SAVE =                           8; ///< maximum number of inter cu information saved for fast algorithm
496
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
497
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
498
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
499
500
static constexpr int IBC_NUM_CANDIDATES = 64; ///< Maximum number of candidates to store/test
501
static constexpr int CHROMA_REFINEMENT_CANDIDATES = 8; /// 8 candidates BV to choose from
502
503
static constexpr int MV_EXPONENT_BITCOUNT    = 4;
504
static constexpr int MV_MANTISSA_BITCOUNT    = 6;
505
static constexpr int MV_MANTISSA_UPPER_LIMIT = ((1 << (MV_MANTISSA_BITCOUNT - 1)) - 1);
506
static constexpr int MV_MANTISSA_LIMIT       = (1 << (MV_MANTISSA_BITCOUNT - 1));
507
static constexpr int MV_EXPONENT_MASK        = ((1 << MV_EXPONENT_BITCOUNT) - 1);
508
509
static constexpr int MV_BITS =                                   18;
510
static constexpr int MV_MAX =              (1 << (MV_BITS - 1)) - 1;
511
static constexpr int MV_MIN =                 -(1 << (MV_BITS - 1));
512
513
static constexpr int MVD_MAX =                            (1 << 17) - 1;
514
static constexpr int MVD_MIN =                               -(1 << 17);
515
516
static constexpr int PIC_ANALYZE_CW_BINS =                           32;
517
static constexpr int PIC_CODE_CW_BINS =                              16;
518
static constexpr int FP_PREC =                                       11;
519
static constexpr int CSCALE_FP_PREC =                                11;
520
521
// Border of the subsampled frames that MCTF searches on.
522
static constexpr int MCTF_PADDING         = 128;
523
// Replicated border around the input frames while MCTF is enabled. It covers the filter taps of most
524
// reference blocks; MCTF copies blocks that reach further out with clamped coordinates.
525
static constexpr int MCTF_FRAME_MARGIN    = 16;
526
527
static constexpr int SCALE_RATIO_BITS =                              14;
528
static constexpr int DELTA_QP_ACT[4] =                  { -5, 1, 3, 1 };
529
530
static constexpr uint32_t CCALF_CANDS_COEFF_NR = 8;
531
static constexpr int CCALF_SMALL_TAB[CCALF_CANDS_COEFF_NR] = { 0, 1, 2, 4, 8, 16, 32, 64 };
532
533
static constexpr uint8_t MIP_SHIFT_MATRIX  =  6;
534
static constexpr uint8_t MIP_OFFSET_MATRIX = 32;
535
static constexpr uint8_t SORTED_BUFS = 9;
536
static constexpr uint8_t MAX_TMP_BUFS = 2 + 2 * GEO_MAX_NUM_UNI_CANDS;
537
538
static constexpr int QPA_MAX_NOISE_LEVELS = 8;
539
540
static constexpr int LUMA_LEVEL_TO_DQP_LUT_MAXSIZE = 1024; ///< max LUT size for QP offset based on lumavv
541
542
543
// ====================================================================================================================
544
// Macro functions
545
// ====================================================================================================================
546
547
struct ClpRng
548
{
549
  static constexpr
550
975M
  int min()       { return 0; }
551
975M
  int max() const { return ( 1 << bd )-1; }
552
  int bd;
553
};
554
555
struct ClpRngs : public ClpRng
556
{
557
  // bitdepth has to be the same for all channels
558
7.07M
  const ClpRng& operator[] ( const ComponentID /*compID*/ ) const { return *this; }
559
0
  const ClpRng& operator[] ( const int         /*compID*/ ) const { return *this; }
560
  //const ClpRng& operator[] ( const ComponentID compId ) const { return comp[compId]; }
561
  //ClpRng comp[MAX_NUM_COMP]; ///< the bit depth as indicated in the SPS
562
};
563
564
struct Position;
565
struct Size;
566
struct VPS;
567
struct DCI;
568
struct SPS;
569
struct PPS;
570
class Slice;
571
class PreCalcValues;
572
573
415M
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
573
5.34k
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
573
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
573
54.4k
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
573
5.72k
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
573
18.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: 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
573
14.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
573
10.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: 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)
Unexecuted instantiation: CuTree.cpp:int vvenc::Clip3<int>(int, int, int)
Unexecuted instantiation: CuTree.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
573
1.43k
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)
EncSlice.cpp:int vvenc::Clip3<int>(int, int, int)
Line
Count
Source
573
12.8k
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: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
573
2.22M
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
573
1.37k
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
573
14.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
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
573
47.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: 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
573
22.9M
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: 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
573
22.0M
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
573
290M
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: BvSearchOps.cpp:int vvenc::Clip3<int>(int, int, 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
573
16.3k
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:int vvenc::Clip3<int>(int, int, int)
Line
Count
Source
573
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
DepQuant.cpp:long vvenc::Clip3<long>(long, long, long)
Line
Count
Source
573
8.92M
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:unsigned int vvenc::Clip3<unsigned int>(unsigned int, unsigned int, unsigned 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)
574
20.2k
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
574
5.72k
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
574
14.5k
template <typename T> constexpr static inline T ClipBD ( const T x, const int bitDepth )            { return Clip3( T( 0 ), T( ( 1 << bitDepth ) - 1 ), x ); }
575
976M
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
575
845M
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
575
3.18M
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
575
142k
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
575
25.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
575
101M
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
576
577
template <typename T> inline void Check3( T minVal, T maxVal, T a)
578
{
579
  CHECK( ( a > maxVal ) || ( a < minVal ), "ERROR: Range check " << minVal << " >= " << a << " <= " << maxVal << " failed" );
580
}  ///< general min/max clip
581
582
// global logger message callback function - DEPRECATED - will be removed in next major version
583
extern std::function<void( void*, int, const char*, va_list )> g_msgFnc;
584
extern void * g_msgFncCtx;
585
// end global logger 
586
587
588
inline std::string prnt( const char* fmt, ...)
589
10.0k
{
590
10.0k
  va_list argptr;
591
592
10.0k
  va_start(argptr,fmt);
593
594
10.0k
  std::vector<char> cCharVector(256);
595
10.0k
  size_t tRequiredSize = vsnprintf(&cCharVector[0], cCharVector.size(), fmt, argptr);
596
597
10.0k
  if( tRequiredSize > cCharVector.size())
598
0
  {
599
    // try again
600
0
    cCharVector.resize( tRequiredSize );
601
0
    vsnprintf(&cCharVector[0], cCharVector.size(), fmt, argptr);
602
0
  }
603
604
10.0k
  va_end(argptr);
605
606
10.0k
  return std::string( &cCharVector[0] );
607
10.0k
}
608
609
// template<typename T> bool isPowerOf2( const T val ) { return ( val & ( val - 1 ) ) == 0; }
610
611
1.79M
#define MEMORY_ALIGN_DEF_SIZE       32  // for use with avx2 (256 bit)
612
#define CACHE_MEM_ALIGN_SIZE      1024
613
614
#define ALIGNED_MALLOC              1   ///< use 32-bit aligned malloc/free
615
616
#if ALIGNED_MALLOC
617
618
#if ( _WIN32 && ( _MSC_VER > 1300 ) ) || defined (__MINGW64_VERSION_MAJOR)
619
#define xMalloc( type, len )        _aligned_malloc( sizeof(type)*(len), MEMORY_ALIGN_DEF_SIZE )
620
#define xMalloc2( type, len, alg )  _aligned_malloc( sizeof(type)*(len), alg )
621
#define xFree( ptr )                _aligned_free  ( ptr )
622
#elif defined (__MINGW32__)
623
#define xMalloc( type, len )        __mingw_aligned_malloc( sizeof(type)*(len), MEMORY_ALIGN_DEF_SIZE )
624
#define xMalloc2( type, len, alg )  __mingw_aligned_malloc( sizeof(type)*(len), alg )
625
#define xFree( ptr )                __mingw_aligned_free( ptr )
626
#else
627
namespace detail {
628
template<typename T>
629
1.79M
static inline T* aligned_malloc(size_t len, size_t alignement) {
630
1.79M
  T* p = NULL;
631
1.79M
  if( posix_memalign( (void**)&p, alignement, sizeof(T)*(len) ) )
632
0
  {
633
0
    THROW("posix_memalign failed");
634
0
  }
635
1.79M
  return p;
636
1.79M
}
Buffer.cpp:short* vvenc::detail::aligned_malloc<short>(unsigned long, unsigned long)
Line
Count
Source
629
1.03M
static inline T* aligned_malloc(size_t len, size_t alignement) {
630
1.03M
  T* p = NULL;
631
1.03M
  if( posix_memalign( (void**)&p, alignement, sizeof(T)*(len) ) )
632
0
  {
633
0
    THROW("posix_memalign failed");
634
0
  }
635
1.03M
  return p;
636
1.03M
}
CodingStructure.cpp:vvenc::LoopFilterParam* vvenc::detail::aligned_malloc<vvenc::LoopFilterParam>(unsigned long, unsigned long)
Line
Count
Source
629
2.86k
static inline T* aligned_malloc(size_t len, size_t alignement) {
630
2.86k
  T* p = NULL;
631
2.86k
  if( posix_memalign( (void**)&p, alignement, sizeof(T)*(len) ) )
632
0
  {
633
0
    THROW("posix_memalign failed");
634
0
  }
635
2.86k
  return p;
636
2.86k
}
CodingStructure.cpp:short* vvenc::detail::aligned_malloc<short>(unsigned long, unsigned long)
Line
Count
Source
629
502k
static inline T* aligned_malloc(size_t len, size_t alignement) {
630
502k
  T* p = NULL;
631
502k
  if( posix_memalign( (void**)&p, alignement, sizeof(T)*(len) ) )
632
0
  {
633
0
    THROW("posix_memalign failed");
634
0
  }
635
502k
  return p;
636
502k
}
InterPrediction.cpp:short* vvenc::detail::aligned_malloc<short>(unsigned long, unsigned long)
Line
Count
Source
629
183k
static inline T* aligned_malloc(size_t len, size_t alignement) {
630
183k
  T* p = NULL;
631
183k
  if( posix_memalign( (void**)&p, alignement, sizeof(T)*(len) ) )
632
0
  {
633
0
    THROW("posix_memalign failed");
634
0
  }
635
183k
  return p;
636
183k
}
TrQuant.cpp:int* vvenc::detail::aligned_malloc<int>(unsigned long, unsigned long)
Line
Count
Source
629
51.5k
static inline T* aligned_malloc(size_t len, size_t alignement) {
630
51.5k
  T* p = NULL;
631
51.5k
  if( posix_memalign( (void**)&p, alignement, sizeof(T)*(len) ) )
632
0
  {
633
0
    THROW("posix_memalign failed");
634
0
  }
635
51.5k
  return p;
636
51.5k
}
EncAdaptiveLoopFilter.cpp:short* vvenc::detail::aligned_malloc<short>(unsigned long, unsigned long)
Line
Count
Source
629
5.72k
static inline T* aligned_malloc(size_t len, size_t alignement) {
630
5.72k
  T* p = NULL;
631
5.72k
  if( posix_memalign( (void**)&p, alignement, sizeof(T)*(len) ) )
632
0
  {
633
0
    THROW("posix_memalign failed");
634
0
  }
635
5.72k
  return p;
636
5.72k
}
MatrixIntraPrediction.cpp:short* vvenc::detail::aligned_malloc<short>(unsigned long, unsigned long)
Line
Count
Source
629
11.4k
static inline T* aligned_malloc(size_t len, size_t alignement) {
630
11.4k
  T* p = NULL;
631
11.4k
  if( posix_memalign( (void**)&p, alignement, sizeof(T)*(len) ) )
632
0
  {
633
0
    THROW("posix_memalign failed");
634
0
  }
635
11.4k
  return p;
636
11.4k
}
637
}
638
1.79M
#define xMalloc( type, len )        detail::aligned_malloc<type>( len, MEMORY_ALIGN_DEF_SIZE )
639
#define xMalloc2( type, len, alg )  detail::aligned_malloc<type>( len, alg )
640
2.31M
#define xFree( ptr )                free( ptr )
641
#endif
642
643
#else
644
#define xMalloc( type, len )        malloc   ( sizeof(type)*(len) )
645
#define xMalloc2( type, len, alg )  malloc   ( sizeof(type)*(len) )
646
#define xFree( ptr )                free     ( ptr )
647
#endif //#if ALIGNED_MALLOC
648
649
#if defined _MSC_VER
650
#define ALIGN_DATA(nBytes,v) __declspec(align(nBytes)) v
651
#else
652
//#elif defined linux
653
297k
#define ALIGN_DATA(nBytes,v) v __attribute__ ((aligned (nBytes)))
654
//#else
655
//#error unknown platform
656
#endif
657
658
#if defined(__GNUC__) && !defined(__clang__)
659
#    define GCC_VERSION_AT_LEAST(x,y) (__GNUC__ > x || __GNUC__ == x && __GNUC_MINOR__ >= y)
660
#else
661
#    define GCC_VERSION_AT_LEAST(x,y) 0
662
#endif
663
664
#ifdef __clang__
665
#    define CLANG_VERSION_AT_LEAST(x,y) (__clang_major__ > x || __clang_major__ == x && __clang_minor__ >= y)
666
#else
667
#    define CLANG_VERSION_AT_LEAST(x,y) 0
668
#endif
669
670
#ifdef __GNUC__
671
#    define ALWAYS_INLINE __attribute__((always_inline)) inline
672
#elif defined _MSC_VER
673
#    define ALWAYS_INLINE __forceinline
674
#else
675
#    define ALWAYS_INLINE
676
#endif
677
678
#ifdef __GNUC__
679
#    define NO_INLINE __attribute__((noinline))
680
#elif defined _MSC_VER
681
#    define NO_INLINE __declspec(noinline)
682
#else
683
#    define NO_INLINE
684
#endif
685
686
#if defined( _WIN32 ) && defined( TARGET_SIMD_X86 )
687
static inline unsigned int bit_scan_reverse( int a )
688
{
689
  unsigned long idx = 0;
690
  _BitScanReverse( &idx, a );
691
  return idx;
692
}
693
// disabled because it requires x86intrin.h which conflicts with simd-everywhere
694
// #elif defined( __GNUC__ ) && defined( TARGET_SIMD_X86 ) && !defined( REAL_TARGET_WASM )
695
// static inline unsigned int bit_scan_reverse( int a )
696
// {
697
//   return _bit_scan_reverse( a );
698
// }
699
#elif defined( __GNUC__ ) || defined( __clang__ )
700
static inline unsigned int bit_scan_reverse( int a )
701
0
{
702
0
  return __builtin_clz( a ) ^ ( 8 * sizeof( a ) - 1 );
703
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: CuTree.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: 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: RomTr.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: BvSearchOps.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: DecCu.cpp:vvenc::bit_scan_reverse(int)
Unexecuted instantiation: QuantRDOQ.cpp:vvenc::bit_scan_reverse(int)
704
#endif
705
706
#if ENABLE_SIMD_LOG2
707
static inline int getLog2( int val )
708
0
{
709
0
  return bit_scan_reverse( val );
710
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: CuTree.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: 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: RomTr.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: BvSearchOps.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: DecCu.cpp:vvenc::getLog2(int)
Unexecuted instantiation: QuantRDOQ.cpp:vvenc::getLog2(int)
711
#else
712
extern const int8_t g_aucLog2[MAX_CU_SIZE + 1];
713
static inline int getLog2( int val )
714
{
715
  CHECKD( g_aucLog2[2] != 1, "g_aucLog2[] has not been initialized yet." );
716
  if( val > 0 && val < (int) sizeof( g_aucLog2 ) )
717
  {
718
    return g_aucLog2[val];
719
  }
720
  return std::log2( val );
721
}
722
#endif
723
724
#if ENABLE_SIMD_OPT
725
726
//necessary to be able to compare with SIMD_EVERYWHERE_EXTENSION_LEVEL in RdCostArm during compile time.
727
#define X86_SIMD_UNDEFINED -1
728
#define X86_SIMD_SCALAR 0
729
#define X86_SIMD_SSE41 1
730
#define X86_SIMD_SSE42 2
731
#define X86_SIMD_AVX 3
732
#define X86_SIMD_AVX2 4
733
#define X86_SIMD_AVX512 5
734
735
namespace x86_simd
736
{
737
#ifdef TARGET_SIMD_X86
738
  typedef enum
739
  {
740
    UNDEFINED = X86_SIMD_UNDEFINED,
741
    SCALAR = X86_SIMD_SCALAR,
742
    SSE41 = X86_SIMD_SSE41,
743
    SSE42 = X86_SIMD_SSE42,
744
    AVX = X86_SIMD_AVX,
745
    AVX2 = X86_SIMD_AVX2,
746
    AVX512 = X86_SIMD_AVX512
747
  } X86_VEXT;
748
#endif
749
}
750
751
namespace arm_simd
752
{
753
#ifdef TARGET_SIMD_ARM
754
typedef enum
755
{
756
  UNDEFINED = -1,
757
  SCALAR    = 0,
758
  NEON,
759
  SVE,
760
  SVE2,
761
} ARM_VEXT;
762
#endif   // TARGET_SIMD_ARM
763
}   // namespace arm_simd
764
765
#endif //ENABLE_SIMD_OPT
766
767
0
template <typename ValueType> inline ValueType leftShiftU  (const ValueType value, const unsigned shift) { return value << shift; }
768
50.2M
template <typename ValueType> inline ValueType rightShiftU (const ValueType value, const unsigned shift) { return value >> shift; }
769
770
#if ENABLE_SIMD_LOG2 && defined( TARGET_SIMD_X86 )
771
static inline int floorLog2( int val )
772
{
773
  CHECKD(val == 0, "invalid input value");
774
  return bit_scan_reverse( val );
775
}
776
#else
777
static inline int floorLog2(uint32_t x)
778
137M
{
779
137M
  CHECKD( x == 0, "invalid input value");
780
137M
#ifdef __GNUC__
781
137M
  return 31 - __builtin_clz(x);
782
#else
783
  int result = 0;
784
  if (x & 0xffff0000)
785
  {
786
    x >>= 16;
787
    result += 16;
788
  }
789
  if (x & 0xff00)
790
  {
791
    x >>= 8;
792
    result += 8;
793
  }
794
  if (x & 0xf0)
795
  {
796
    x >>= 4;
797
    result += 4;
798
  }
799
  if (x & 0xc)
800
  {
801
    x >>= 2;
802
    result += 2;
803
  }
804
  if (x & 0x2)
805
  {
806
    x >>= 1;
807
    result += 1;
808
  }
809
  return result;
810
#endif
811
137M
}
Unexecuted instantiation: vvenc.cpp:vvenc::floorLog2(unsigned int)
vvencCfg.cpp:vvenc::floorLog2(unsigned int)
Line
Count
Source
778
5.72k
{
779
5.72k
  CHECKD( x == 0, "invalid input value");
780
5.72k
#ifdef __GNUC__
781
5.72k
  return 31 - __builtin_clz(x);
782
#else
783
  int result = 0;
784
  if (x & 0xffff0000)
785
  {
786
    x >>= 16;
787
    result += 16;
788
  }
789
  if (x & 0xff00)
790
  {
791
    x >>= 8;
792
    result += 8;
793
  }
794
  if (x & 0xf0)
795
  {
796
    x >>= 4;
797
    result += 4;
798
  }
799
  if (x & 0xc)
800
  {
801
    x >>= 2;
802
    result += 2;
803
  }
804
  if (x & 0x2)
805
  {
806
    x >>= 1;
807
    result += 1;
808
  }
809
  return result;
810
#endif
811
5.72k
}
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
778
3.50M
{
779
3.50M
  CHECKD( x == 0, "invalid input value");
780
3.50M
#ifdef __GNUC__
781
3.50M
  return 31 - __builtin_clz(x);
782
#else
783
  int result = 0;
784
  if (x & 0xffff0000)
785
  {
786
    x >>= 16;
787
    result += 16;
788
  }
789
  if (x & 0xff00)
790
  {
791
    x >>= 8;
792
    result += 8;
793
  }
794
  if (x & 0xf0)
795
  {
796
    x >>= 4;
797
    result += 4;
798
  }
799
  if (x & 0xc)
800
  {
801
    x >>= 2;
802
    result += 2;
803
  }
804
  if (x & 0x2)
805
  {
806
    x >>= 1;
807
    result += 1;
808
  }
809
  return result;
810
#endif
811
3.50M
}
Unexecuted instantiation: BitAllocation.cpp:vvenc::floorLog2(unsigned int)
Unexecuted instantiation: CuTree.cpp:vvenc::floorLog2(unsigned int)
EncCfg.cpp:vvenc::floorLog2(unsigned int)
Line
Count
Source
778
2.86k
{
779
2.86k
  CHECKD( x == 0, "invalid input value");
780
2.86k
#ifdef __GNUC__
781
2.86k
  return 31 - __builtin_clz(x);
782
#else
783
  int result = 0;
784
  if (x & 0xffff0000)
785
  {
786
    x >>= 16;
787
    result += 16;
788
  }
789
  if (x & 0xff00)
790
  {
791
    x >>= 8;
792
    result += 8;
793
  }
794
  if (x & 0xf0)
795
  {
796
    x >>= 4;
797
    result += 4;
798
  }
799
  if (x & 0xc)
800
  {
801
    x >>= 2;
802
    result += 2;
803
  }
804
  if (x & 0x2)
805
  {
806
    x >>= 1;
807
    result += 1;
808
  }
809
  return result;
810
#endif
811
2.86k
}
EncGOP.cpp:vvenc::floorLog2(unsigned int)
Line
Count
Source
778
4.29k
{
779
4.29k
  CHECKD( x == 0, "invalid input value");
780
4.29k
#ifdef __GNUC__
781
4.29k
  return 31 - __builtin_clz(x);
782
#else
783
  int result = 0;
784
  if (x & 0xffff0000)
785
  {
786
    x >>= 16;
787
    result += 16;
788
  }
789
  if (x & 0xff00)
790
  {
791
    x >>= 8;
792
    result += 8;
793
  }
794
  if (x & 0xf0)
795
  {
796
    x >>= 4;
797
    result += 4;
798
  }
799
  if (x & 0xc)
800
  {
801
    x >>= 2;
802
    result += 2;
803
  }
804
  if (x & 0x2)
805
  {
806
    x >>= 1;
807
    result += 1;
808
  }
809
  return result;
810
#endif
811
4.29k
}
Unexecuted instantiation: EncHRD.cpp:vvenc::floorLog2(unsigned int)
Unexecuted instantiation: EncPicture.cpp:vvenc::floorLog2(unsigned int)
EncSlice.cpp:vvenc::floorLog2(unsigned int)
Line
Count
Source
778
1.43k
{
779
1.43k
  CHECKD( x == 0, "invalid input value");
780
1.43k
#ifdef __GNUC__
781
1.43k
  return 31 - __builtin_clz(x);
782
#else
783
  int result = 0;
784
  if (x & 0xffff0000)
785
  {
786
    x >>= 16;
787
    result += 16;
788
  }
789
  if (x & 0xff00)
790
  {
791
    x >>= 8;
792
    result += 8;
793
  }
794
  if (x & 0xf0)
795
  {
796
    x >>= 4;
797
    result += 4;
798
  }
799
  if (x & 0xc)
800
  {
801
    x >>= 2;
802
    result += 2;
803
  }
804
  if (x & 0x2)
805
  {
806
    x >>= 1;
807
    result += 1;
808
  }
809
  return result;
810
#endif
811
1.43k
}
Unexecuted instantiation: GOPCfg.cpp:vvenc::floorLog2(unsigned int)
InterSearch.cpp:vvenc::floorLog2(unsigned int)
Line
Count
Source
778
2.83M
{
779
2.83M
  CHECKD( x == 0, "invalid input value");
780
2.83M
#ifdef __GNUC__
781
2.83M
  return 31 - __builtin_clz(x);
782
#else
783
  int result = 0;
784
  if (x & 0xffff0000)
785
  {
786
    x >>= 16;
787
    result += 16;
788
  }
789
  if (x & 0xff00)
790
  {
791
    x >>= 8;
792
    result += 8;
793
  }
794
  if (x & 0xf0)
795
  {
796
    x >>= 4;
797
    result += 4;
798
  }
799
  if (x & 0xc)
800
  {
801
    x >>= 2;
802
    result += 2;
803
  }
804
  if (x & 0x2)
805
  {
806
    x >>= 1;
807
    result += 1;
808
  }
809
  return result;
810
#endif
811
2.83M
}
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
778
22.9k
{
779
22.9k
  CHECKD( x == 0, "invalid input value");
780
22.9k
#ifdef __GNUC__
781
22.9k
  return 31 - __builtin_clz(x);
782
#else
783
  int result = 0;
784
  if (x & 0xffff0000)
785
  {
786
    x >>= 16;
787
    result += 16;
788
  }
789
  if (x & 0xff00)
790
  {
791
    x >>= 8;
792
    result += 8;
793
  }
794
  if (x & 0xf0)
795
  {
796
    x >>= 4;
797
    result += 4;
798
  }
799
  if (x & 0xc)
800
  {
801
    x >>= 2;
802
    result += 2;
803
  }
804
  if (x & 0x2)
805
  {
806
    x >>= 1;
807
    result += 1;
808
  }
809
  return result;
810
#endif
811
22.9k
}
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
778
87.6M
{
779
87.6M
  CHECKD( x == 0, "invalid input value");
780
87.6M
#ifdef __GNUC__
781
87.6M
  return 31 - __builtin_clz(x);
782
#else
783
  int result = 0;
784
  if (x & 0xffff0000)
785
  {
786
    x >>= 16;
787
    result += 16;
788
  }
789
  if (x & 0xff00)
790
  {
791
    x >>= 8;
792
    result += 8;
793
  }
794
  if (x & 0xf0)
795
  {
796
    x >>= 4;
797
    result += 4;
798
  }
799
  if (x & 0xc)
800
  {
801
    x >>= 2;
802
    result += 2;
803
  }
804
  if (x & 0x2)
805
  {
806
    x >>= 1;
807
    result += 1;
808
  }
809
  return result;
810
#endif
811
87.6M
}
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
778
7.16M
{
779
7.16M
  CHECKD( x == 0, "invalid input value");
780
7.16M
#ifdef __GNUC__
781
7.16M
  return 31 - __builtin_clz(x);
782
#else
783
  int result = 0;
784
  if (x & 0xffff0000)
785
  {
786
    x >>= 16;
787
    result += 16;
788
  }
789
  if (x & 0xff00)
790
  {
791
    x >>= 8;
792
    result += 8;
793
  }
794
  if (x & 0xf0)
795
  {
796
    x >>= 4;
797
    result += 4;
798
  }
799
  if (x & 0xc)
800
  {
801
    x >>= 2;
802
    result += 2;
803
  }
804
  if (x & 0x2)
805
  {
806
    x >>= 1;
807
    result += 1;
808
  }
809
  return result;
810
#endif
811
7.16M
}
Unexecuted instantiation: RomTr.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
778
10.5M
{
779
10.5M
  CHECKD( x == 0, "invalid input value");
780
10.5M
#ifdef __GNUC__
781
10.5M
  return 31 - __builtin_clz(x);
782
#else
783
  int result = 0;
784
  if (x & 0xffff0000)
785
  {
786
    x >>= 16;
787
    result += 16;
788
  }
789
  if (x & 0xff00)
790
  {
791
    x >>= 8;
792
    result += 8;
793
  }
794
  if (x & 0xf0)
795
  {
796
    x >>= 4;
797
    result += 4;
798
  }
799
  if (x & 0xc)
800
  {
801
    x >>= 2;
802
    result += 2;
803
  }
804
  if (x & 0x2)
805
  {
806
    x >>= 1;
807
    result += 1;
808
  }
809
  return result;
810
#endif
811
10.5M
}
TrQuant_EMT.cpp:vvenc::floorLog2(unsigned int)
Line
Count
Source
778
2.28M
{
779
2.28M
  CHECKD( x == 0, "invalid input value");
780
2.28M
#ifdef __GNUC__
781
2.28M
  return 31 - __builtin_clz(x);
782
#else
783
  int result = 0;
784
  if (x & 0xffff0000)
785
  {
786
    x >>= 16;
787
    result += 16;
788
  }
789
  if (x & 0xff00)
790
  {
791
    x >>= 8;
792
    result += 8;
793
  }
794
  if (x & 0xf0)
795
  {
796
    x >>= 4;
797
    result += 4;
798
  }
799
  if (x & 0xc)
800
  {
801
    x >>= 2;
802
    result += 2;
803
  }
804
  if (x & 0x2)
805
  {
806
    x >>= 1;
807
    result += 1;
808
  }
809
  return result;
810
#endif
811
2.28M
}
Unexecuted instantiation: UnitPartitioner.cpp:vvenc::floorLog2(unsigned int)
Unexecuted instantiation: BinEncoder.cpp:vvenc::floorLog2(unsigned int)
Unexecuted instantiation: BvSearchOps.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
778
141k
{
779
141k
  CHECKD( x == 0, "invalid input value");
780
141k
#ifdef __GNUC__
781
141k
  return 31 - __builtin_clz(x);
782
#else
783
  int result = 0;
784
  if (x & 0xffff0000)
785
  {
786
    x >>= 16;
787
    result += 16;
788
  }
789
  if (x & 0xff00)
790
  {
791
    x >>= 8;
792
    result += 8;
793
  }
794
  if (x & 0xf0)
795
  {
796
    x >>= 4;
797
    result += 4;
798
  }
799
  if (x & 0xc)
800
  {
801
    x >>= 2;
802
    result += 2;
803
  }
804
  if (x & 0x2)
805
  {
806
    x >>= 1;
807
    result += 1;
808
  }
809
  return result;
810
#endif
811
141k
}
DepQuant.cpp:vvenc::floorLog2(unsigned int)
Line
Count
Source
778
16.7M
{
779
16.7M
  CHECKD( x == 0, "invalid input value");
780
16.7M
#ifdef __GNUC__
781
16.7M
  return 31 - __builtin_clz(x);
782
#else
783
  int result = 0;
784
  if (x & 0xffff0000)
785
  {
786
    x >>= 16;
787
    result += 16;
788
  }
789
  if (x & 0xff00)
790
  {
791
    x >>= 8;
792
    result += 8;
793
  }
794
  if (x & 0xf0)
795
  {
796
    x >>= 4;
797
    result += 4;
798
  }
799
  if (x & 0xc)
800
  {
801
    x >>= 2;
802
    result += 2;
803
  }
804
  if (x & 0x2)
805
  {
806
    x >>= 1;
807
    result += 1;
808
  }
809
  return result;
810
#endif
811
16.7M
}
IntraPrediction.cpp:vvenc::floorLog2(unsigned int)
Line
Count
Source
778
6.30M
{
779
6.30M
  CHECKD( x == 0, "invalid input value");
780
6.30M
#ifdef __GNUC__
781
6.30M
  return 31 - __builtin_clz(x);
782
#else
783
  int result = 0;
784
  if (x & 0xffff0000)
785
  {
786
    x >>= 16;
787
    result += 16;
788
  }
789
  if (x & 0xff00)
790
  {
791
    x >>= 8;
792
    result += 8;
793
  }
794
  if (x & 0xf0)
795
  {
796
    x >>= 4;
797
    result += 4;
798
  }
799
  if (x & 0xc)
800
  {
801
    x >>= 2;
802
    result += 2;
803
  }
804
  if (x & 0x2)
805
  {
806
    x >>= 1;
807
    result += 1;
808
  }
809
  return result;
810
#endif
811
6.30M
}
MatrixIntraPrediction.cpp:vvenc::floorLog2(unsigned int)
Line
Count
Source
778
89.8k
{
779
89.8k
  CHECKD( x == 0, "invalid input value");
780
89.8k
#ifdef __GNUC__
781
89.8k
  return 31 - __builtin_clz(x);
782
#else
783
  int result = 0;
784
  if (x & 0xffff0000)
785
  {
786
    x >>= 16;
787
    result += 16;
788
  }
789
  if (x & 0xff00)
790
  {
791
    x >>= 8;
792
    result += 8;
793
  }
794
  if (x & 0xf0)
795
  {
796
    x >>= 4;
797
    result += 4;
798
  }
799
  if (x & 0xc)
800
  {
801
    x >>= 2;
802
    result += 2;
803
  }
804
  if (x & 0x2)
805
  {
806
    x >>= 1;
807
    result += 1;
808
  }
809
  return result;
810
#endif
811
89.8k
}
Unexecuted instantiation: QuantRDOQ2.cpp:vvenc::floorLog2(unsigned int)
Unexecuted instantiation: DecCu.cpp:vvenc::floorLog2(unsigned int)
Unexecuted instantiation: QuantRDOQ.cpp:vvenc::floorLog2(unsigned int)
812
#endif
813
814
static inline int ceilLog2(uint32_t x)
815
230k
{
816
230k
  return (x==0) ? -1 : floorLog2(x - 1) + 1;
817
230k
}
Unexecuted instantiation: vvenc.cpp:vvenc::ceilLog2(unsigned int)
vvencCfg.cpp:vvenc::ceilLog2(unsigned int)
Line
Count
Source
815
4.29k
{
816
4.29k
  return (x==0) ? -1 : floorLog2(x - 1) + 1;
817
4.29k
}
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)
Unexecuted instantiation: CuTree.cpp:vvenc::ceilLog2(unsigned int)
EncCfg.cpp:vvenc::ceilLog2(unsigned int)
Line
Count
Source
815
1.43k
{
816
1.43k
  return (x==0) ? -1 : floorLog2(x - 1) + 1;
817
1.43k
}
EncGOP.cpp:vvenc::ceilLog2(unsigned int)
Line
Count
Source
815
1.43k
{
816
1.43k
  return (x==0) ? -1 : floorLog2(x - 1) + 1;
817
1.43k
}
Unexecuted instantiation: EncHRD.cpp:vvenc::ceilLog2(unsigned int)
Unexecuted instantiation: EncPicture.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: RomTr.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: BvSearchOps.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
815
223k
{
816
223k
  return (x==0) ? -1 : floorLog2(x - 1) + 1;
817
223k
}
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: DecCu.cpp:vvenc::ceilLog2(unsigned int)
Unexecuted instantiation: QuantRDOQ.cpp:vvenc::ceilLog2(unsigned int)
818
819
820
//======================================================================================================================
821
//Chroma format utility functions  =====================================================================================
822
//======================================================================================================================
823
824
825
26.2M
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
825
204k
static inline bool        isLuma                    (const ComponentID id)                         { return (id==COMP_Y);                                  }
UnitTools.cpp:vvenc::isLuma(vvenc::ComponentID)
Line
Count
Source
825
884k
static inline bool        isLuma                    (const ComponentID id)                         { return (id==COMP_Y);                                  }
BitAllocation.cpp:vvenc::isLuma(vvenc::ComponentID)
Line
Count
Source
825
4.29k
static inline bool        isLuma                    (const ComponentID id)                         { return (id==COMP_Y);                                  }
Unexecuted instantiation: CuTree.cpp:vvenc::isLuma(vvenc::ComponentID)
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: EncSlice.cpp:vvenc::isLuma(vvenc::ComponentID)
Unexecuted instantiation: GOPCfg.cpp:vvenc::isLuma(vvenc::ComponentID)
InterSearch.cpp:vvenc::isLuma(vvenc::ComponentID)
Line
Count
Source
825
3.93k
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
825
2.64M
static inline bool        isLuma                    (const ComponentID id)                         { return (id==COMP_Y);                                  }
Unexecuted instantiation: RdCost.cpp:vvenc::isLuma(vvenc::ComponentID)
Unexecuted instantiation: RomTr.cpp:vvenc::isLuma(vvenc::ComponentID)
Unexecuted instantiation: SEI.cpp:vvenc::isLuma(vvenc::ComponentID)
SampleAdaptiveOffset.cpp:vvenc::isLuma(vvenc::ComponentID)
Line
Count
Source
825
30.7k
static inline bool        isLuma                    (const ComponentID id)                         { return (id==COMP_Y);                                  }
TrQuant.cpp:vvenc::isLuma(vvenc::ComponentID)
Line
Count
Source
825
7.67M
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)
Unexecuted instantiation: BvSearchOps.cpp:vvenc::isLuma(vvenc::ComponentID)
CABACWriter.cpp:vvenc::isLuma(vvenc::ComponentID)
Line
Count
Source
825
5.68M
static inline bool        isLuma                    (const ComponentID id)                         { return (id==COMP_Y);                                  }
EncAdaptiveLoopFilter.cpp:vvenc::isLuma(vvenc::ComponentID)
Line
Count
Source
825
161k
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
825
7.32M
static inline bool        isLuma                    (const ComponentID id)                         { return (id==COMP_Y);                                  }
DepQuant.cpp:vvenc::isLuma(vvenc::ComponentID)
Line
Count
Source
825
954k
static inline bool        isLuma                    (const ComponentID id)                         { return (id==COMP_Y);                                  }
IntraPrediction.cpp:vvenc::isLuma(vvenc::ComponentID)
Line
Count
Source
825
697k
static inline bool        isLuma                    (const ComponentID id)                         { return (id==COMP_Y);                                  }
Unexecuted instantiation: MatrixIntraPrediction.cpp:vvenc::isLuma(vvenc::ComponentID)
Unexecuted instantiation: QuantRDOQ2.cpp:vvenc::isLuma(vvenc::ComponentID)
Unexecuted instantiation: DecCu.cpp:vvenc::isLuma(vvenc::ComponentID)
Unexecuted instantiation: QuantRDOQ.cpp:vvenc::isLuma(vvenc::ComponentID)
826
78.0M
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
826
10.5M
static inline bool        isLuma                    (const ChannelType id)                         { return (id==CH_L);                                    }
MCTF.cpp:vvenc::isLuma(vvenc::ChannelType)
Line
Count
Source
826
8.59k
static inline bool        isLuma                    (const ChannelType id)                         { return (id==CH_L);                                    }
Picture.cpp:vvenc::isLuma(vvenc::ChannelType)
Line
Count
Source
826
81.3k
static inline bool        isLuma                    (const ChannelType id)                         { return (id==CH_L);                                    }
Unit.cpp:vvenc::isLuma(vvenc::ChannelType)
Line
Count
Source
826
16.5M
static inline bool        isLuma                    (const ChannelType id)                         { return (id==CH_L);                                    }
UnitTools.cpp:vvenc::isLuma(vvenc::ChannelType)
Line
Count
Source
826
2.50M
static inline bool        isLuma                    (const ChannelType id)                         { return (id==CH_L);                                    }
BitAllocation.cpp:vvenc::isLuma(vvenc::ChannelType)
Line
Count
Source
826
28.8k
static inline bool        isLuma                    (const ChannelType id)                         { return (id==CH_L);                                    }
Unexecuted instantiation: CuTree.cpp:vvenc::isLuma(vvenc::ChannelType)
Unexecuted instantiation: EncCfg.cpp:vvenc::isLuma(vvenc::ChannelType)
EncGOP.cpp:vvenc::isLuma(vvenc::ChannelType)
Line
Count
Source
826
4.29k
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
826
8.59k
static inline bool        isLuma                    (const ChannelType id)                         { return (id==CH_L);                                    }
EncSlice.cpp:vvenc::isLuma(vvenc::ChannelType)
Line
Count
Source
826
108k
static inline bool        isLuma                    (const ChannelType id)                         { return (id==CH_L);                                    }
Unexecuted instantiation: GOPCfg.cpp:vvenc::isLuma(vvenc::ChannelType)
InterSearch.cpp:vvenc::isLuma(vvenc::ChannelType)
Line
Count
Source
826
13.2k
static inline bool        isLuma                    (const ChannelType id)                         { return (id==CH_L);                                    }
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
826
225k
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
826
10.5M
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
826
53.7k
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
826
5.52M
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: RomTr.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
826
5.39M
static inline bool        isLuma                    (const ChannelType id)                         { return (id==CH_L);                                    }
Unexecuted instantiation: BinEncoder.cpp:vvenc::isLuma(vvenc::ChannelType)
Unexecuted instantiation: BvSearchOps.cpp:vvenc::isLuma(vvenc::ChannelType)
CABACWriter.cpp:vvenc::isLuma(vvenc::ChannelType)
Line
Count
Source
826
3.48M
static inline bool        isLuma                    (const ChannelType id)                         { return (id==CH_L);                                    }
EncAdaptiveLoopFilter.cpp:vvenc::isLuma(vvenc::ChannelType)
Line
Count
Source
826
15.1M
static inline bool        isLuma                    (const ChannelType id)                         { return (id==CH_L);                                    }
EncCu.cpp:vvenc::isLuma(vvenc::ChannelType)
Line
Count
Source
826
1.12M
static inline bool        isLuma                    (const ChannelType id)                         { return (id==CH_L);                                    }
Unexecuted instantiation: EncModeCtrl.cpp:vvenc::isLuma(vvenc::ChannelType)
EncSampleAdaptiveOffset.cpp:vvenc::isLuma(vvenc::ChannelType)
Line
Count
Source
826
34.3k
static inline bool        isLuma                    (const ChannelType id)                         { return (id==CH_L);                                    }
IntraSearch.cpp:vvenc::isLuma(vvenc::ChannelType)
Line
Count
Source
826
202k
static inline bool        isLuma                    (const ChannelType id)                         { return (id==CH_L);                                    }
DepQuant.cpp:vvenc::isLuma(vvenc::ChannelType)
Line
Count
Source
826
13.0k
static inline bool        isLuma                    (const ChannelType id)                         { return (id==CH_L);                                    }
IntraPrediction.cpp:vvenc::isLuma(vvenc::ChannelType)
Line
Count
Source
826
6.51M
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: DecCu.cpp:vvenc::isLuma(vvenc::ChannelType)
Unexecuted instantiation: QuantRDOQ.cpp:vvenc::isLuma(vvenc::ChannelType)
827
21.7M
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
827
9.22M
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: CuTree.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: EncSlice.cpp:vvenc::isChroma(vvenc::ComponentID)
Unexecuted instantiation: GOPCfg.cpp:vvenc::isChroma(vvenc::ComponentID)
InterSearch.cpp:vvenc::isChroma(vvenc::ComponentID)
Line
Count
Source
827
57.0k
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
827
5.29M
static inline bool        isChroma                  (const ComponentID id)                         { return (id!=COMP_Y);                                  }
RdCost.cpp:vvenc::isChroma(vvenc::ComponentID)
Line
Count
Source
827
3.26M
static inline bool        isChroma                  (const ComponentID id)                         { return (id!=COMP_Y);                                  }
Unexecuted instantiation: RomTr.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: BvSearchOps.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
827
2.34M
static inline bool        isChroma                  (const ComponentID id)                         { return (id!=COMP_Y);                                  }
DepQuant.cpp:vvenc::isChroma(vvenc::ComponentID)
Line
Count
Source
827
1.54M
static inline bool        isChroma                  (const ComponentID id)                         { return (id!=COMP_Y);                                  }
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: DecCu.cpp:vvenc::isChroma(vvenc::ComponentID)
Unexecuted instantiation: QuantRDOQ.cpp:vvenc::isChroma(vvenc::ComponentID)
828
1.81M
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: CuTree.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: 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
828
57.3k
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
828
148k
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: RomTr.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)
Unexecuted instantiation: BvSearchOps.cpp:vvenc::isChroma(vvenc::ChannelType)
CABACWriter.cpp:vvenc::isChroma(vvenc::ChannelType)
Line
Count
Source
828
563k
static inline bool        isChroma                  (const ChannelType id)                         { return (id!=CH_L);                                    }
EncAdaptiveLoopFilter.cpp:vvenc::isChroma(vvenc::ChannelType)
Line
Count
Source
828
44.2k
static inline bool        isChroma                  (const ChannelType id)                         { return (id!=CH_L);                                    }
EncCu.cpp:vvenc::isChroma(vvenc::ChannelType)
Line
Count
Source
828
517k
static inline bool        isChroma                  (const ChannelType id)                         { return (id!=CH_L);                                    }
EncModeCtrl.cpp:vvenc::isChroma(vvenc::ChannelType)
Line
Count
Source
828
419k
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
828
68.2k
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: DecCu.cpp:vvenc::isChroma(vvenc::ChannelType)
Unexecuted instantiation: QuantRDOQ.cpp:vvenc::isChroma(vvenc::ChannelType)
829
72.0M
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
829
10.5M
static inline ChannelType toChannelType             (const ComponentID id)                         { return (id==COMP_Y)? CH_L : CH_C;                     }
MCTF.cpp:vvenc::toChannelType(vvenc::ComponentID)
Line
Count
Source
829
8.59k
static inline ChannelType toChannelType             (const ComponentID id)                         { return (id==COMP_Y)? CH_L : CH_C;                     }
Picture.cpp:vvenc::toChannelType(vvenc::ComponentID)
Line
Count
Source
829
81.3k
static inline ChannelType toChannelType             (const ComponentID id)                         { return (id==COMP_Y)? CH_L : CH_C;                     }
Unit.cpp:vvenc::toChannelType(vvenc::ComponentID)
Line
Count
Source
829
18.9M
static inline ChannelType toChannelType             (const ComponentID id)                         { return (id==COMP_Y)? CH_L : CH_C;                     }
UnitTools.cpp:vvenc::toChannelType(vvenc::ComponentID)
Line
Count
Source
829
4.84M
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: CuTree.cpp:vvenc::toChannelType(vvenc::ComponentID)
Unexecuted instantiation: EncCfg.cpp:vvenc::toChannelType(vvenc::ComponentID)
EncGOP.cpp:vvenc::toChannelType(vvenc::ComponentID)
Line
Count
Source
829
2.86k
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
829
12.8k
static inline ChannelType toChannelType             (const ComponentID id)                         { return (id==COMP_Y)? CH_L : CH_C;                     }
EncSlice.cpp:vvenc::toChannelType(vvenc::ComponentID)
Line
Count
Source
829
108k
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
829
120k
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)
Unexecuted instantiation: CodingStructure.cpp:vvenc::toChannelType(vvenc::ComponentID)
ContextModelling.cpp:vvenc::toChannelType(vvenc::ComponentID)
Line
Count
Source
829
2.49M
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
829
53.7k
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
829
2.83M
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: RomTr.cpp:vvenc::toChannelType(vvenc::ComponentID)
Unexecuted instantiation: SEI.cpp:vvenc::toChannelType(vvenc::ComponentID)
SampleAdaptiveOffset.cpp:vvenc::toChannelType(vvenc::ComponentID)
Line
Count
Source
829
28
static inline ChannelType toChannelType             (const ComponentID id)                         { return (id==COMP_Y)? CH_L : CH_C;                     }
TrQuant.cpp:vvenc::toChannelType(vvenc::ComponentID)
Line
Count
Source
829
12.2M
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)
Unexecuted instantiation: BvSearchOps.cpp:vvenc::toChannelType(vvenc::ComponentID)
CABACWriter.cpp:vvenc::toChannelType(vvenc::ComponentID)
Line
Count
Source
829
5.11M
static inline ChannelType toChannelType             (const ComponentID id)                         { return (id==COMP_Y)? CH_L : CH_C;                     }
EncAdaptiveLoopFilter.cpp:vvenc::toChannelType(vvenc::ComponentID)
Line
Count
Source
829
300k
static inline ChannelType toChannelType             (const ComponentID id)                         { return (id==COMP_Y)? CH_L : CH_C;                     }
EncCu.cpp:vvenc::toChannelType(vvenc::ComponentID)
Line
Count
Source
829
553k
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
829
48.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
829
2.34M
static inline ChannelType toChannelType             (const ComponentID id)                         { return (id==COMP_Y)? CH_L : CH_C;                     }
DepQuant.cpp:vvenc::toChannelType(vvenc::ComponentID)
Line
Count
Source
829
5.66M
static inline ChannelType toChannelType             (const ComponentID id)                         { return (id==COMP_Y)? CH_L : CH_C;                     }
IntraPrediction.cpp:vvenc::toChannelType(vvenc::ComponentID)
Line
Count
Source
829
5.43M
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: DecCu.cpp:vvenc::toChannelType(vvenc::ComponentID)
QuantRDOQ.cpp:vvenc::toChannelType(vvenc::ComponentID)
Line
Count
Source
829
338k
static inline ChannelType toChannelType             (const ComponentID id)                         { return (id==COMP_Y)? CH_L : CH_C;                     }
830
29.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
830
5.25M
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
830
4.29k
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
830
8.26M
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
830
900k
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
830
14.4k
static inline uint32_t    getChannelTypeScaleX      (const ChannelType id, const ChromaFormat fmt) { return (isLuma(id) || (fmt==CHROMA_444)) ? 0 : 1;     }
Unexecuted instantiation: CuTree.cpp:vvenc::getChannelTypeScaleX(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: EncCfg.cpp:vvenc::getChannelTypeScaleX(vvenc::ChannelType, vvencChromaFormat)
EncGOP.cpp:vvenc::getChannelTypeScaleX(vvenc::ChannelType, vvencChromaFormat)
Line
Count
Source
830
2.86k
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
830
4.29k
static inline uint32_t    getChannelTypeScaleX      (const ChannelType id, const ChromaFormat fmt) { return (isLuma(id) || (fmt==CHROMA_444)) ? 0 : 1;     }
EncSlice.cpp:vvenc::getChannelTypeScaleX(vvenc::ChannelType, vvencChromaFormat)
Line
Count
Source
830
54.2k
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)
InterSearch.cpp:vvenc::getChannelTypeScaleX(vvenc::ChannelType, vvencChromaFormat)
Line
Count
Source
830
6.64k
static inline uint32_t    getChannelTypeScaleX      (const ChannelType id, const ChromaFormat fmt) { return (isLuma(id) || (fmt==CHROMA_444)) ? 0 : 1;     }
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
830
4.93M
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
830
26.8k
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
830
2.30M
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: RomTr.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
830
2.69M
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: BvSearchOps.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
830
4.47M
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
830
180k
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)
EncSampleAdaptiveOffset.cpp:vvenc::getChannelTypeScaleX(vvenc::ChannelType, vvencChromaFormat)
Line
Count
Source
830
17.1k
static inline uint32_t    getChannelTypeScaleX      (const ChannelType id, const ChromaFormat fmt) { return (isLuma(id) || (fmt==CHROMA_444)) ? 0 : 1;     }
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
830
742k
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: DecCu.cpp:vvenc::getChannelTypeScaleX(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: QuantRDOQ.cpp:vvenc::getChannelTypeScaleX(vvenc::ChannelType, vvencChromaFormat)
831
25.9M
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
831
5.25M
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
831
4.29k
static inline uint32_t    getChannelTypeScaleY      (const ChannelType id, const ChromaFormat fmt) { return (isLuma(id) || (fmt!=CHROMA_420)) ? 0 : 1;     }
Picture.cpp:vvenc::getChannelTypeScaleY(vvenc::ChannelType, vvencChromaFormat)
Line
Count
Source
831
81.3k
static inline uint32_t    getChannelTypeScaleY      (const ChannelType id, const ChromaFormat fmt) { return (isLuma(id) || (fmt!=CHROMA_420)) ? 0 : 1;     }
Unit.cpp:vvenc::getChannelTypeScaleY(vvenc::ChannelType, vvencChromaFormat)
Line
Count
Source
831
8.26M
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
831
900k
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
831
14.4k
static inline uint32_t    getChannelTypeScaleY      (const ChannelType id, const ChromaFormat fmt) { return (isLuma(id) || (fmt!=CHROMA_420)) ? 0 : 1;     }
Unexecuted instantiation: CuTree.cpp:vvenc::getChannelTypeScaleY(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: EncCfg.cpp:vvenc::getChannelTypeScaleY(vvenc::ChannelType, vvencChromaFormat)
EncGOP.cpp:vvenc::getChannelTypeScaleY(vvenc::ChannelType, vvencChromaFormat)
Line
Count
Source
831
1.43k
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
831
4.29k
static inline uint32_t    getChannelTypeScaleY      (const ChannelType id, const ChromaFormat fmt) { return (isLuma(id) || (fmt!=CHROMA_420)) ? 0 : 1;     }
EncSlice.cpp:vvenc::getChannelTypeScaleY(vvenc::ChannelType, vvencChromaFormat)
Line
Count
Source
831
54.2k
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)
InterSearch.cpp:vvenc::getChannelTypeScaleY(vvenc::ChannelType, vvencChromaFormat)
Line
Count
Source
831
6.64k
static inline uint32_t    getChannelTypeScaleY      (const ChannelType id, const ChromaFormat fmt) { return (isLuma(id) || (fmt!=CHROMA_420)) ? 0 : 1;     }
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
831
4.93M
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
831
26.8k
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
831
2.30M
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: RomTr.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
831
2.69M
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: BvSearchOps.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
831
234k
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
831
180k
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)
EncSampleAdaptiveOffset.cpp:vvenc::getChannelTypeScaleY(vvenc::ChannelType, vvencChromaFormat)
Line
Count
Source
831
17.1k
static inline uint32_t    getChannelTypeScaleY      (const ChannelType id, const ChromaFormat fmt) { return (isLuma(id) || (fmt!=CHROMA_420)) ? 0 : 1;     }
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
831
918k
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: DecCu.cpp:vvenc::getChannelTypeScaleY(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: QuantRDOQ.cpp:vvenc::getChannelTypeScaleY(vvenc::ChannelType, vvencChromaFormat)
832
15.0M
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
832
5.25M
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
832
4.29k
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
832
8.26M
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
832
791k
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: CuTree.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
832
1.43k
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
832
4.29k
static inline uint32_t    getComponentScaleX        (const ComponentID id, const ChromaFormat fmt) { return getChannelTypeScaleX(toChannelType(id), fmt);  }
EncSlice.cpp:vvenc::getComponentScaleX(vvenc::ComponentID, vvencChromaFormat)
Line
Count
Source
832
54.2k
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)
InterSearch.cpp:vvenc::getComponentScaleX(vvenc::ComponentID, vvencChromaFormat)
Line
Count
Source
832
6.64k
static inline uint32_t    getComponentScaleX        (const ComponentID id, const ChromaFormat fmt) { return getChannelTypeScaleX(toChannelType(id), fmt);  }
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)
Unexecuted instantiation: CodingStructure.cpp:vvenc::getComponentScaleX(vvenc::ComponentID, vvencChromaFormat)
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
832
26.8k
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: RomTr.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: BvSearchOps.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
832
31.1k
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)
EncSampleAdaptiveOffset.cpp:vvenc::getComponentScaleX(vvenc::ComponentID, vvencChromaFormat)
Line
Count
Source
832
17.1k
static inline uint32_t    getComponentScaleX        (const ComponentID id, const ChromaFormat fmt) { return getChannelTypeScaleX(toChannelType(id), fmt);  }
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
832
605k
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: DecCu.cpp:vvenc::getComponentScaleX(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: QuantRDOQ.cpp:vvenc::getComponentScaleX(vvenc::ComponentID, vvencChromaFormat)
833
15.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
833
5.25M
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
833
4.29k
static inline uint32_t    getComponentScaleY        (const ComponentID id, const ChromaFormat fmt) { return getChannelTypeScaleY(toChannelType(id), fmt);  }
Picture.cpp:vvenc::getComponentScaleY(vvenc::ComponentID, vvencChromaFormat)
Line
Count
Source
833
81.3k
static inline uint32_t    getComponentScaleY        (const ComponentID id, const ChromaFormat fmt) { return getChannelTypeScaleY(toChannelType(id), fmt);  }
Unit.cpp:vvenc::getComponentScaleY(vvenc::ComponentID, vvencChromaFormat)
Line
Count
Source
833
8.26M
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
833
791k
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: CuTree.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
833
1.43k
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
833
4.29k
static inline uint32_t    getComponentScaleY        (const ComponentID id, const ChromaFormat fmt) { return getChannelTypeScaleY(toChannelType(id), fmt);  }
EncSlice.cpp:vvenc::getComponentScaleY(vvenc::ComponentID, vvencChromaFormat)
Line
Count
Source
833
54.2k
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)
InterSearch.cpp:vvenc::getComponentScaleY(vvenc::ComponentID, vvencChromaFormat)
Line
Count
Source
833
6.64k
static inline uint32_t    getComponentScaleY        (const ComponentID id, const ChromaFormat fmt) { return getChannelTypeScaleY(toChannelType(id), fmt);  }
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)
Unexecuted instantiation: CodingStructure.cpp:vvenc::getComponentScaleY(vvenc::ComponentID, vvencChromaFormat)
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
833
26.8k
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: RomTr.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: BvSearchOps.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
833
234k
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)
EncSampleAdaptiveOffset.cpp:vvenc::getComponentScaleY(vvenc::ComponentID, vvencChromaFormat)
Line
Count
Source
833
17.1k
static inline uint32_t    getComponentScaleY        (const ComponentID id, const ChromaFormat fmt) { return getChannelTypeScaleY(toChannelType(id), fmt);  }
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
833
781k
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: DecCu.cpp:vvenc::getComponentScaleY(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: QuantRDOQ.cpp:vvenc::getComponentScaleY(vvenc::ComponentID, vvencChromaFormat)
834
5.63M
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
834
922k
static inline uint32_t    getNumberValidComponents  (const ChromaFormat fmt)                       { return (fmt==CHROMA_400) ? 1 : MAX_NUM_COMP;          }
Unexecuted instantiation: MCTF.cpp:vvenc::getNumberValidComponents(vvencChromaFormat)
Picture.cpp:vvenc::getNumberValidComponents(vvencChromaFormat)
Line
Count
Source
834
8.64k
static inline uint32_t    getNumberValidComponents  (const ChromaFormat fmt)                       { return (fmt==CHROMA_400) ? 1 : MAX_NUM_COMP;          }
Unit.cpp:vvenc::getNumberValidComponents(vvencChromaFormat)
Line
Count
Source
834
2.84M
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
834
5.72k
static inline uint32_t    getNumberValidComponents  (const ChromaFormat fmt)                       { return (fmt==CHROMA_400) ? 1 : MAX_NUM_COMP;          }
Unexecuted instantiation: CuTree.cpp:vvenc::getNumberValidComponents(vvencChromaFormat)
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
834
5.72k
static inline uint32_t    getNumberValidComponents  (const ChromaFormat fmt)                       { return (fmt==CHROMA_400) ? 1 : MAX_NUM_COMP;          }
EncSlice.cpp:vvenc::getNumberValidComponents(vvencChromaFormat)
Line
Count
Source
834
5.72k
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
834
53.7k
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
834
1.43k
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
834
784k
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: RomTr.cpp:vvenc::getNumberValidComponents(vvencChromaFormat)
Unexecuted instantiation: SEI.cpp:vvenc::getNumberValidComponents(vvencChromaFormat)
SampleAdaptiveOffset.cpp:vvenc::getNumberValidComponents(vvencChromaFormat)
Line
Count
Source
834
14.8k
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)
Unexecuted instantiation: BvSearchOps.cpp:vvenc::getNumberValidComponents(vvencChromaFormat)
CABACWriter.cpp:vvenc::getNumberValidComponents(vvencChromaFormat)
Line
Count
Source
834
326k
static inline uint32_t    getNumberValidComponents  (const ChromaFormat fmt)                       { return (fmt==CHROMA_400) ? 1 : MAX_NUM_COMP;          }
EncAdaptiveLoopFilter.cpp:vvenc::getNumberValidComponents(vvencChromaFormat)
Line
Count
Source
834
49.3k
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
834
158k
static inline uint32_t    getNumberValidComponents  (const ChromaFormat fmt)                       { return (fmt==CHROMA_400) ? 1 : MAX_NUM_COMP;          }
EncSampleAdaptiveOffset.cpp:vvenc::getNumberValidComponents(vvencChromaFormat)
Line
Count
Source
834
47.6k
static inline uint32_t    getNumberValidComponents  (const ChromaFormat fmt)                       { return (fmt==CHROMA_400) ? 1 : MAX_NUM_COMP;          }
IntraSearch.cpp:vvenc::getNumberValidComponents(vvencChromaFormat)
Line
Count
Source
834
405k
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: DecCu.cpp:vvenc::getNumberValidComponents(vvencChromaFormat)
Unexecuted instantiation: QuantRDOQ.cpp:vvenc::getNumberValidComponents(vvencChromaFormat)
835
1.23M
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: CuTree.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: 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
835
1.23M
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: RomTr.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: BvSearchOps.cpp:vvenc::getNumberValidChannels(vvencChromaFormat)
Unexecuted instantiation: CABACWriter.cpp:vvenc::getNumberValidChannels(vvencChromaFormat)
EncAdaptiveLoopFilter.cpp:vvenc::getNumberValidChannels(vvencChromaFormat)
Line
Count
Source
835
1.43k
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: DecCu.cpp:vvenc::getNumberValidChannels(vvencChromaFormat)
Unexecuted instantiation: QuantRDOQ.cpp:vvenc::getNumberValidChannels(vvencChromaFormat)
836
366k
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
836
10.2k
static inline bool        isChromaEnabled           (const ChromaFormat fmt)                       { return !(fmt==CHROMA_400);                            }
Unexecuted instantiation: CuTree.cpp:vvenc::isChromaEnabled(vvencChromaFormat)
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)
EncSlice.cpp:vvenc::isChromaEnabled(vvencChromaFormat)
Line
Count
Source
836
1.43k
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
836
25.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
836
1.43k
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: RomTr.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)
Unexecuted instantiation: BvSearchOps.cpp:vvenc::isChromaEnabled(vvencChromaFormat)
CABACWriter.cpp:vvenc::isChromaEnabled(vvencChromaFormat)
Line
Count
Source
836
106k
static inline bool        isChromaEnabled           (const ChromaFormat fmt)                       { return !(fmt==CHROMA_400);                            }
EncAdaptiveLoopFilter.cpp:vvenc::isChromaEnabled(vvencChromaFormat)
Line
Count
Source
836
2.86k
static inline bool        isChromaEnabled           (const ChromaFormat fmt)                       { return !(fmt==CHROMA_400);                            }
EncCu.cpp:vvenc::isChromaEnabled(vvencChromaFormat)
Line
Count
Source
836
218k
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: DecCu.cpp:vvenc::isChromaEnabled(vvencChromaFormat)
Unexecuted instantiation: QuantRDOQ.cpp:vvenc::isChromaEnabled(vvencChromaFormat)
837
1.17M
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: CuTree.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: 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: RomTr.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)
Unexecuted instantiation: BvSearchOps.cpp:vvenc::getFirstComponentOfChannel(vvenc::ChannelType)
CABACWriter.cpp:vvenc::getFirstComponentOfChannel(vvenc::ChannelType)
Line
Count
Source
837
979k
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
837
190k
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: DecCu.cpp:vvenc::getFirstComponentOfChannel(vvenc::ChannelType)
Unexecuted instantiation: QuantRDOQ.cpp:vvenc::getFirstComponentOfChannel(vvenc::ChannelType)
838
839
840
841
//CASE-BREAK for breakpoints
842
#if defined ( _MSC_VER ) && defined ( _DEBUG )
843
#define _CASE(_x) if(_x)
844
#define _BREAK while(0);
845
#define _AREA_AT(_a,_x,_y,_w,_h)  (_a.x==_x && _a.y==_y && _a.width==_w && _a.height==_h)
846
#define _AREA_CONTAINS(_a,_x,_y)  (_a.contains( Position{ _x, _y} ))
847
#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)
848
#else
849
#define _CASE(...)
850
#define _BREAK
851
#define _AREA_AT(...)
852
#define _AREA_CONTAINS(_a,_x,_y)
853
#define _UNIT_AREA_AT(_a,_x,_y,_w,_h)
854
#endif
855
856
// Make enum and strings macros, used for TimeProfiler and DTrace
857
#define MAKE_ENUM(VAR) VAR,
858
#define MAKE_STRINGS(VAR) #VAR,
859
#define MAKE_ENUM_AND_STRINGS(source, enumName, enumStringName) \
860
enum enumName { \
861
    source(MAKE_ENUM) \
862
    };\
863
const char* const enumStringName[] = { \
864
    source(MAKE_STRINGS) \
865
    }; \
866
867
#ifdef TRACE_ENABLE_ITT
868
869
} // namespace vvenc
870
871
#include <ittnotify.h>
872
873
namespace vvenc {
874
875
# define ITT_TASKSTART( d, t ) __itt_task_begin( ( d ), __itt_null, __itt_null, ( (__itt_string_handle*)t ) )
876
# define ITT_TASKEND( d, t )   __itt_task_end  ( ( d ) )
877
878
# define ITT_SYNCPREP( p ) __itt_sync_prepare  ( & p )
879
# define ITT_SYNCACQ( p )  __itt_sync_acquired ( & p )
880
# define ITT_SYNCREL( p )  __itt_sync_releasing( & p )
881
882
# define ITT_COUNTSET( c, v ) __itt_counter_set_value( c, &v )
883
# define ITT_COUNTINC( c )    __itt_counter_inc( c )
884
# define ITT_COUNTDEC( c )    __itt_counter_dec( c )
885
# define ITT_COUNTADD( c, v ) __itt_counter_inc_delta( c, &v )
886
# define ITT_COUNTSUB( c, v ) __itt_counter_dec_delta( c, &v )
887
#else //!TRACE_ENABLE_ITT
888
# define ITT_TASKSTART( d, t )
889
# define ITT_TASKEND( d, t )
890
891
# define ITT_SYNCPREP( p )
892
# define ITT_SYNCACQ( p )
893
# define ITT_SYNCREL( p )
894
895
# define ITT_COUNTSET( c, v )
896
# define ITT_COUNTINC( c )
897
# define ITT_COUNTDEC( c )
898
# define ITT_COUNTADD( c, v )
899
# define ITT_COUNTSUB( c, v )
900
#endif //!TRACE_ENABLE_ITT
901
902
0
#define SIGN(x) ( (x) >= 0 ? 1 : -1 )
903
904
} // namespace vvenc
905
906
//! \}
907