Coverage Report

Created: 2026-10-28 06:18

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.49k
#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.49k
#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.49k
#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_NUM_CU_SIZE = ( GEO_MAX_CU_LOG2 - GEO_MIN_CU_LOG2 ) + 1;
477
static constexpr int GEO_NUM_PARTITION_MODE =                          64;
478
static constexpr int GEO_NUM_ANGLES =                                  32;
479
static constexpr int GEO_NUM_DISTANCES =                                4;
480
static constexpr int GEO_NUM_PRESTORED_MASK =                           6;
481
static constexpr int GEO_WEIGHT_MASK_SIZE = 3 * (GEO_MAX_CU_SIZE >> 3) * 2 + GEO_MAX_CU_SIZE;
482
static constexpr int GEO_MV_MASK_SIZE =         GEO_WEIGHT_MASK_SIZE >> 2;
483
static constexpr int GEO_MAX_TRY_WEIGHTED_SAD = 60;
484
static constexpr int GEO_MAX_TRY_WEIGHTED_SATD = 8;
485
486
#if INTER_FULL_SEARCH
487
static constexpr int SBT_NUM_SL =                                      10; ///< maximum number of historical PU decision saved for a CU
488
#else
489
static constexpr int SBT_NUM_SL =                                       4; ///< maximum number of historical PU decision saved for a CU
490
#endif
491
static constexpr int SBT_NUM_RDO =                                      2; ///< maximum number of SBT mode tried for a PU
492
static constexpr unsigned SBT_FAST64_WIDTH_THRESHOLD =               1920;
493
494
static constexpr int NUM_INTER_CU_INFO_SAVE =                           8; ///< maximum number of inter cu information saved for fast algorithm
495
static constexpr int LDT_MODE_TYPE_INHERIT =                            0; ///< No need to signal mode_constraint_flag, and the modeType of the region is inherited from its parent node
496
static constexpr int LDT_MODE_TYPE_INFER =                              1; ///< No need to signal mode_constraint_flag, and the modeType of the region is inferred as MODE_TYPE_INTRA
497
static constexpr int LDT_MODE_TYPE_SIGNAL =                             2; ///< Need to signal mode_constraint_flag, and the modeType of the region is determined by the flag
498
499
static constexpr int IBC_NUM_CANDIDATES = 64; ///< Maximum number of candidates to store/test
500
static constexpr int CHROMA_REFINEMENT_CANDIDATES = 8; /// 8 candidates BV to choose from
501
502
static constexpr int MV_EXPONENT_BITCOUNT    = 4;
503
static constexpr int MV_MANTISSA_BITCOUNT    = 6;
504
static constexpr int MV_MANTISSA_UPPER_LIMIT = ((1 << (MV_MANTISSA_BITCOUNT - 1)) - 1);
505
static constexpr int MV_MANTISSA_LIMIT       = (1 << (MV_MANTISSA_BITCOUNT - 1));
506
static constexpr int MV_EXPONENT_MASK        = ((1 << MV_EXPONENT_BITCOUNT) - 1);
507
508
static constexpr int MV_BITS =                                   18;
509
static constexpr int MV_MAX =              (1 << (MV_BITS - 1)) - 1;
510
static constexpr int MV_MIN =                 -(1 << (MV_BITS - 1));
511
512
static constexpr int MVD_MAX =                            (1 << 17) - 1;
513
static constexpr int MVD_MIN =                               -(1 << 17);
514
515
static constexpr int PIC_ANALYZE_CW_BINS =                           32;
516
static constexpr int PIC_CODE_CW_BINS =                              16;
517
static constexpr int FP_PREC =                                       11;
518
static constexpr int CSCALE_FP_PREC =                                11;
519
520
// Border of the subsampled frames that MCTF searches on.
521
static constexpr int MCTF_PADDING         = 128;
522
// Replicated border around the input frames while MCTF is enabled. It covers the filter taps of most
523
// reference blocks; MCTF copies blocks that reach further out with clamped coordinates.
524
static constexpr int MCTF_FRAME_MARGIN    = 16;
525
526
static constexpr int SCALE_RATIO_BITS =                              14;
527
static constexpr int DELTA_QP_ACT[4] =                  { -5, 1, 3, 1 };
528
529
static constexpr uint32_t CCALF_CANDS_COEFF_NR = 8;
530
static constexpr int CCALF_SMALL_TAB[CCALF_CANDS_COEFF_NR] = { 0, 1, 2, 4, 8, 16, 32, 64 };
531
532
static constexpr uint8_t MIP_SHIFT_MATRIX  =  6;
533
static constexpr uint8_t MIP_OFFSET_MATRIX = 32;
534
static constexpr uint8_t SORTED_BUFS = 9;
535
static constexpr uint8_t MAX_TMP_BUFS = 2 + 2 * GEO_MAX_NUM_UNI_CANDS;
536
537
static constexpr int QPA_MAX_NOISE_LEVELS = 8;
538
539
static constexpr int LUMA_LEVEL_TO_DQP_LUT_MAXSIZE = 1024; ///< max LUT size for QP offset based on lumavv
540
541
542
// ====================================================================================================================
543
// Macro functions
544
// ====================================================================================================================
545
546
struct ClpRng
547
{
548
  static constexpr
549
1.11G
  int min()       { return 0; }
550
1.11G
  int max() const { return ( 1 << bd )-1; }
551
  int bd;
552
};
553
554
struct ClpRngs : public ClpRng
555
{
556
  // bitdepth has to be the same for all channels
557
8.10M
  const ClpRng& operator[] ( const ComponentID /*compID*/ ) const { return *this; }
558
0
  const ClpRng& operator[] ( const int         /*compID*/ ) const { return *this; }
559
  //const ClpRng& operator[] ( const ComponentID compId ) const { return comp[compId]; }
560
  //ClpRng comp[MAX_NUM_COMP]; ///< the bit depth as indicated in the SPS
561
};
562
563
struct Position;
564
struct Size;
565
struct VPS;
566
struct DCI;
567
struct SPS;
568
struct PPS;
569
class Slice;
570
class PreCalcValues;
571
572
509M
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
572
5.56k
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
572
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
572
56.7k
template <typename T> constexpr static inline T Clip3  ( const T minVal, const T maxVal, const T a) { return std::min<T> (std::max<T> (minVal, a) , maxVal); }  ///< general min/max clip
Unexecuted instantiation: 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
572
5.97k
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
572
20.7M
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
572
15.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
572
11.0k
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
572
1.49k
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
572
13.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: 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: 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
572
2.45M
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
572
2.55M
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
572
15.2k
template <typename T> constexpr static inline T Clip3  ( const T minVal, const T maxVal, const T a) { return std::min<T> (std::max<T> (minVal, a) , maxVal); }  ///< general min/max clip
Unexecuted instantiation: Contexts.cpp:unsigned int vvenc::Clip3<unsigned int>(unsigned int, unsigned int, unsigned int)
Unexecuted instantiation: InterPrediction.cpp:int vvenc::Clip3<int>(int, int, int)
Unexecuted instantiation: InterPrediction.cpp:unsigned int vvenc::Clip3<unsigned int>(unsigned int, unsigned int, unsigned int)
Unexecuted instantiation: InterpolationFilter.cpp:int vvenc::Clip3<int>(int, int, int)
LoopFilter.cpp:int vvenc::Clip3<int>(int, int, int)
Line
Count
Source
572
52.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
572
40.4M
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
572
23.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
572
355M
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
572
17.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: EncSampleAdaptiveOffset.cpp:unsigned int vvenc::Clip3<unsigned int>(unsigned int, unsigned int, unsigned int)
Unexecuted instantiation: IntraSearch.cpp:int vvenc::Clip3<int>(int, int, int)
Unexecuted instantiation: IntraSearch.cpp:unsigned int vvenc::Clip3<unsigned int>(unsigned int, unsigned int, unsigned int)
DepQuant.cpp:unsigned int vvenc::Clip3<unsigned int>(unsigned int, unsigned int, unsigned int)
Line
Count
Source
572
1.89M
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
572
9.30M
template <typename T> constexpr static inline T Clip3  ( const T minVal, const T maxVal, const T a) { return std::min<T> (std::max<T> (minVal, a) , maxVal); }  ///< general min/max clip
Unexecuted instantiation: DepQuant.cpp:int vvenc::Clip3<int>(int, int, int)
Unexecuted instantiation: IntraPrediction.cpp:int vvenc::Clip3<int>(int, int, int)
Unexecuted instantiation: IntraPrediction.cpp:unsigned int vvenc::Clip3<unsigned int>(unsigned int, unsigned int, unsigned int)
Unexecuted instantiation: MatrixIntraPrediction.cpp:int vvenc::Clip3<int>(int, int, int)
Unexecuted instantiation: MatrixIntraPrediction.cpp:unsigned int vvenc::Clip3<unsigned int>(unsigned int, unsigned int, unsigned int)
Unexecuted instantiation: QuantRDOQ2.cpp:int vvenc::Clip3<int>(int, int, int)
Unexecuted instantiation: QuantRDOQ2.cpp:unsigned int vvenc::Clip3<unsigned int>(unsigned int, unsigned int, unsigned int)
Unexecuted instantiation: DecCu.cpp:int vvenc::Clip3<int>(int, int, int)
Unexecuted instantiation: DecCu.cpp:unsigned int vvenc::Clip3<unsigned int>(unsigned int, unsigned int, unsigned int)
Unexecuted instantiation: QuantRDOQ.cpp:int vvenc::Clip3<int>(int, int, int)
Unexecuted instantiation: QuantRDOQ.cpp:unsigned int vvenc::Clip3<unsigned int>(unsigned int, unsigned int, unsigned int)
573
21.5k
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
573
5.97k
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
573
15.5k
template <typename T> constexpr static inline T ClipBD ( const T x, const int bitDepth )            { return Clip3( T( 0 ), T( ( 1 << bitDepth ) - 1 ), x ); }
574
1.11G
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
574
947M
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
574
3.47M
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
574
173k
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
574
52.5M
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
574
111M
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
575
576
template <typename T> inline void Check3( T minVal, T maxVal, T a)
577
{
578
  CHECK( ( a > maxVal ) || ( a < minVal ), "ERROR: Range check " << minVal << " >= " << a << " <= " << maxVal << " failed" );
579
}  ///< general min/max clip
580
581
// global logger message callback function - DEPRECATED - will be removed in next major version
582
extern std::function<void( void*, int, const char*, va_list )> g_msgFnc;
583
extern void * g_msgFncCtx;
584
// end global logger 
585
586
587
inline std::string prnt( const char* fmt, ...)
588
10.4k
{
589
10.4k
  va_list argptr;
590
591
10.4k
  va_start(argptr,fmt);
592
593
10.4k
  std::vector<char> cCharVector(256);
594
10.4k
  size_t tRequiredSize = vsnprintf(&cCharVector[0], cCharVector.size(), fmt, argptr);
595
596
10.4k
  if( tRequiredSize > cCharVector.size())
597
0
  {
598
    // try again
599
0
    cCharVector.resize( tRequiredSize );
600
0
    vsnprintf(&cCharVector[0], cCharVector.size(), fmt, argptr);
601
0
  }
602
603
10.4k
  va_end(argptr);
604
605
10.4k
  return std::string( &cCharVector[0] );
606
10.4k
}
607
608
// template<typename T> bool isPowerOf2( const T val ) { return ( val & ( val - 1 ) ) == 0; }
609
610
1.85M
#define MEMORY_ALIGN_DEF_SIZE       32  // for use with avx2 (256 bit)
611
#define CACHE_MEM_ALIGN_SIZE      1024
612
613
#define ALIGNED_MALLOC              1   ///< use 32-bit aligned malloc/free
614
615
#if ALIGNED_MALLOC
616
617
#if ( _WIN32 && ( _MSC_VER > 1300 ) ) || defined (__MINGW64_VERSION_MAJOR)
618
#define xMalloc( type, len )        _aligned_malloc( sizeof(type)*(len), MEMORY_ALIGN_DEF_SIZE )
619
#define xMalloc2( type, len, alg )  _aligned_malloc( sizeof(type)*(len), alg )
620
#define xFree( ptr )                _aligned_free  ( ptr )
621
#elif defined (__MINGW32__)
622
#define xMalloc( type, len )        __mingw_aligned_malloc( sizeof(type)*(len), MEMORY_ALIGN_DEF_SIZE )
623
#define xMalloc2( type, len, alg )  __mingw_aligned_malloc( sizeof(type)*(len), alg )
624
#define xFree( ptr )                __mingw_aligned_free( ptr )
625
#else
626
namespace detail {
627
template<typename T>
628
1.84M
static inline T* aligned_malloc(size_t len, size_t alignement) {
629
1.84M
  T* p = NULL;
630
1.84M
  if( posix_memalign( (void**)&p, alignement, sizeof(T)*(len) ) )
631
0
  {
632
0
    THROW("posix_memalign failed");
633
0
  }
634
1.84M
  return p;
635
1.84M
}
Buffer.cpp:short* vvenc::detail::aligned_malloc<short>(unsigned long, unsigned long)
Line
Count
Source
628
1.06M
static inline T* aligned_malloc(size_t len, size_t alignement) {
629
1.06M
  T* p = NULL;
630
1.06M
  if( posix_memalign( (void**)&p, alignement, sizeof(T)*(len) ) )
631
0
  {
632
0
    THROW("posix_memalign failed");
633
0
  }
634
1.06M
  return p;
635
1.06M
}
CodingStructure.cpp:vvenc::LoopFilterParam* vvenc::detail::aligned_malloc<vvenc::LoopFilterParam>(unsigned long, unsigned long)
Line
Count
Source
628
2.98k
static inline T* aligned_malloc(size_t len, size_t alignement) {
629
2.98k
  T* p = NULL;
630
2.98k
  if( posix_memalign( (void**)&p, alignement, sizeof(T)*(len) ) )
631
0
  {
632
0
    THROW("posix_memalign failed");
633
0
  }
634
2.98k
  return p;
635
2.98k
}
CodingStructure.cpp:short* vvenc::detail::aligned_malloc<short>(unsigned long, unsigned long)
Line
Count
Source
628
524k
static inline T* aligned_malloc(size_t len, size_t alignement) {
629
524k
  T* p = NULL;
630
524k
  if( posix_memalign( (void**)&p, alignement, sizeof(T)*(len) ) )
631
0
  {
632
0
    THROW("posix_memalign failed");
633
0
  }
634
524k
  return p;
635
524k
}
InterPrediction.cpp:short* vvenc::detail::aligned_malloc<short>(unsigned long, unsigned long)
Line
Count
Source
628
191k
static inline T* aligned_malloc(size_t len, size_t alignement) {
629
191k
  T* p = NULL;
630
191k
  if( posix_memalign( (void**)&p, alignement, sizeof(T)*(len) ) )
631
0
  {
632
0
    THROW("posix_memalign failed");
633
0
  }
634
191k
  return p;
635
191k
}
TrQuant.cpp:int* vvenc::detail::aligned_malloc<int>(unsigned long, unsigned long)
Line
Count
Source
628
53.7k
static inline T* aligned_malloc(size_t len, size_t alignement) {
629
53.7k
  T* p = NULL;
630
53.7k
  if( posix_memalign( (void**)&p, alignement, sizeof(T)*(len) ) )
631
0
  {
632
0
    THROW("posix_memalign failed");
633
0
  }
634
53.7k
  return p;
635
53.7k
}
EncAdaptiveLoopFilter.cpp:short* vvenc::detail::aligned_malloc<short>(unsigned long, unsigned long)
Line
Count
Source
628
5.97k
static inline T* aligned_malloc(size_t len, size_t alignement) {
629
5.97k
  T* p = NULL;
630
5.97k
  if( posix_memalign( (void**)&p, alignement, sizeof(T)*(len) ) )
631
0
  {
632
0
    THROW("posix_memalign failed");
633
0
  }
634
5.97k
  return p;
635
5.97k
}
MatrixIntraPrediction.cpp:short* vvenc::detail::aligned_malloc<short>(unsigned long, unsigned long)
Line
Count
Source
628
11.9k
static inline T* aligned_malloc(size_t len, size_t alignement) {
629
11.9k
  T* p = NULL;
630
11.9k
  if( posix_memalign( (void**)&p, alignement, sizeof(T)*(len) ) )
631
0
  {
632
0
    THROW("posix_memalign failed");
633
0
  }
634
11.9k
  return p;
635
11.9k
}
636
}
637
1.84M
#define xMalloc( type, len )        detail::aligned_malloc<type>( len, MEMORY_ALIGN_DEF_SIZE )
638
#define xMalloc2( type, len, alg )  detail::aligned_malloc<type>( len, alg )
639
2.39M
#define xFree( ptr )                free( ptr )
640
#endif
641
642
#else
643
#define xMalloc( type, len )        malloc   ( sizeof(type)*(len) )
644
#define xMalloc2( type, len, alg )  malloc   ( sizeof(type)*(len) )
645
#define xFree( ptr )                free     ( ptr )
646
#endif //#if ALIGNED_MALLOC
647
648
#if defined _MSC_VER
649
#define ALIGN_DATA(nBytes,v) __declspec(align(nBytes)) v
650
#else
651
//#elif defined linux
652
330k
#define ALIGN_DATA(nBytes,v) v __attribute__ ((aligned (nBytes)))
653
//#else
654
//#error unknown platform
655
#endif
656
657
#if defined(__GNUC__) && !defined(__clang__)
658
#    define GCC_VERSION_AT_LEAST(x,y) (__GNUC__ > x || __GNUC__ == x && __GNUC_MINOR__ >= y)
659
#else
660
#    define GCC_VERSION_AT_LEAST(x,y) 0
661
#endif
662
663
#ifdef __clang__
664
#    define CLANG_VERSION_AT_LEAST(x,y) (__clang_major__ > x || __clang_major__ == x && __clang_minor__ >= y)
665
#else
666
#    define CLANG_VERSION_AT_LEAST(x,y) 0
667
#endif
668
669
#ifdef __GNUC__
670
#    define ALWAYS_INLINE __attribute__((always_inline)) inline
671
#elif defined _MSC_VER
672
#    define ALWAYS_INLINE __forceinline
673
#else
674
#    define ALWAYS_INLINE
675
#endif
676
677
#if defined( _WIN32 ) && defined( TARGET_SIMD_X86 )
678
static inline unsigned int bit_scan_reverse( int a )
679
{
680
  unsigned long idx = 0;
681
  _BitScanReverse( &idx, a );
682
  return idx;
683
}
684
// disabled because it requires x86intrin.h which conflicts with simd-everywhere
685
// #elif defined( __GNUC__ ) && defined( TARGET_SIMD_X86 ) && !defined( REAL_TARGET_WASM )
686
// static inline unsigned int bit_scan_reverse( int a )
687
// {
688
//   return _bit_scan_reverse( a );
689
// }
690
#elif defined( __GNUC__ ) || defined( __clang__ )
691
static inline unsigned int bit_scan_reverse( int a )
692
0
{
693
0
  return __builtin_clz( a ) ^ ( 8 * sizeof( a ) - 1 );
694
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)
695
#endif
696
697
#if ENABLE_SIMD_LOG2
698
static inline int getLog2( int val )
699
0
{
700
0
  return bit_scan_reverse( val );
701
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)
702
#else
703
extern const int8_t g_aucLog2[MAX_CU_SIZE + 1];
704
static inline int getLog2( int val )
705
{
706
  CHECKD( g_aucLog2[2] != 1, "g_aucLog2[] has not been initialized yet." );
707
  if( val > 0 && val < (int) sizeof( g_aucLog2 ) )
708
  {
709
    return g_aucLog2[val];
710
  }
711
  return std::log2( val );
712
}
713
#endif
714
715
#if ENABLE_SIMD_OPT
716
717
//necessary to be able to compare with SIMD_EVERYWHERE_EXTENSION_LEVEL in RdCostArm during compile time.
718
#define X86_SIMD_UNDEFINED -1
719
#define X86_SIMD_SCALAR 0
720
#define X86_SIMD_SSE41 1
721
#define X86_SIMD_SSE42 2
722
#define X86_SIMD_AVX 3
723
#define X86_SIMD_AVX2 4
724
#define X86_SIMD_AVX512 5
725
726
namespace x86_simd
727
{
728
#ifdef TARGET_SIMD_X86
729
  typedef enum
730
  {
731
    UNDEFINED = X86_SIMD_UNDEFINED,
732
    SCALAR = X86_SIMD_SCALAR,
733
    SSE41 = X86_SIMD_SSE41,
734
    SSE42 = X86_SIMD_SSE42,
735
    AVX = X86_SIMD_AVX,
736
    AVX2 = X86_SIMD_AVX2,
737
    AVX512 = X86_SIMD_AVX512
738
  } X86_VEXT;
739
#endif
740
}
741
742
namespace arm_simd
743
{
744
#ifdef TARGET_SIMD_ARM
745
typedef enum
746
{
747
  UNDEFINED = -1,
748
  SCALAR    = 0,
749
  NEON,
750
  SVE,
751
  SVE2,
752
} ARM_VEXT;
753
#endif   // TARGET_SIMD_ARM
754
}   // namespace arm_simd
755
756
#endif //ENABLE_SIMD_OPT
757
758
0
template <typename ValueType> inline ValueType leftShiftU  (const ValueType value, const unsigned shift) { return value << shift; }
759
54.5M
template <typename ValueType> inline ValueType rightShiftU (const ValueType value, const unsigned shift) { return value >> shift; }
760
761
#if ENABLE_SIMD_LOG2 && defined( TARGET_SIMD_X86 )
762
static inline int floorLog2( int val )
763
{
764
  CHECKD(val == 0, "invalid input value");
765
  return bit_scan_reverse( val );
766
}
767
#else
768
static inline int floorLog2(uint32_t x)
769
174M
{
770
174M
  CHECKD( x == 0, "invalid input value");
771
174M
#ifdef __GNUC__
772
174M
  return 31 - __builtin_clz(x);
773
#else
774
  int result = 0;
775
  if (x & 0xffff0000)
776
  {
777
    x >>= 16;
778
    result += 16;
779
  }
780
  if (x & 0xff00)
781
  {
782
    x >>= 8;
783
    result += 8;
784
  }
785
  if (x & 0xf0)
786
  {
787
    x >>= 4;
788
    result += 4;
789
  }
790
  if (x & 0xc)
791
  {
792
    x >>= 2;
793
    result += 2;
794
  }
795
  if (x & 0x2)
796
  {
797
    x >>= 1;
798
    result += 1;
799
  }
800
  return result;
801
#endif
802
174M
}
Unexecuted instantiation: vvenc.cpp:vvenc::floorLog2(unsigned int)
vvencCfg.cpp:vvenc::floorLog2(unsigned int)
Line
Count
Source
769
5.97k
{
770
5.97k
  CHECKD( x == 0, "invalid input value");
771
5.97k
#ifdef __GNUC__
772
5.97k
  return 31 - __builtin_clz(x);
773
#else
774
  int result = 0;
775
  if (x & 0xffff0000)
776
  {
777
    x >>= 16;
778
    result += 16;
779
  }
780
  if (x & 0xff00)
781
  {
782
    x >>= 8;
783
    result += 8;
784
  }
785
  if (x & 0xf0)
786
  {
787
    x >>= 4;
788
    result += 4;
789
  }
790
  if (x & 0xc)
791
  {
792
    x >>= 2;
793
    result += 2;
794
  }
795
  if (x & 0x2)
796
  {
797
    x >>= 1;
798
    result += 1;
799
  }
800
  return result;
801
#endif
802
5.97k
}
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
769
5.91M
{
770
5.91M
  CHECKD( x == 0, "invalid input value");
771
5.91M
#ifdef __GNUC__
772
5.91M
  return 31 - __builtin_clz(x);
773
#else
774
  int result = 0;
775
  if (x & 0xffff0000)
776
  {
777
    x >>= 16;
778
    result += 16;
779
  }
780
  if (x & 0xff00)
781
  {
782
    x >>= 8;
783
    result += 8;
784
  }
785
  if (x & 0xf0)
786
  {
787
    x >>= 4;
788
    result += 4;
789
  }
790
  if (x & 0xc)
791
  {
792
    x >>= 2;
793
    result += 2;
794
  }
795
  if (x & 0x2)
796
  {
797
    x >>= 1;
798
    result += 1;
799
  }
800
  return result;
801
#endif
802
5.91M
}
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
769
2.98k
{
770
2.98k
  CHECKD( x == 0, "invalid input value");
771
2.98k
#ifdef __GNUC__
772
2.98k
  return 31 - __builtin_clz(x);
773
#else
774
  int result = 0;
775
  if (x & 0xffff0000)
776
  {
777
    x >>= 16;
778
    result += 16;
779
  }
780
  if (x & 0xff00)
781
  {
782
    x >>= 8;
783
    result += 8;
784
  }
785
  if (x & 0xf0)
786
  {
787
    x >>= 4;
788
    result += 4;
789
  }
790
  if (x & 0xc)
791
  {
792
    x >>= 2;
793
    result += 2;
794
  }
795
  if (x & 0x2)
796
  {
797
    x >>= 1;
798
    result += 1;
799
  }
800
  return result;
801
#endif
802
2.98k
}
EncGOP.cpp:vvenc::floorLog2(unsigned int)
Line
Count
Source
769
4.47k
{
770
4.47k
  CHECKD( x == 0, "invalid input value");
771
4.47k
#ifdef __GNUC__
772
4.47k
  return 31 - __builtin_clz(x);
773
#else
774
  int result = 0;
775
  if (x & 0xffff0000)
776
  {
777
    x >>= 16;
778
    result += 16;
779
  }
780
  if (x & 0xff00)
781
  {
782
    x >>= 8;
783
    result += 8;
784
  }
785
  if (x & 0xf0)
786
  {
787
    x >>= 4;
788
    result += 4;
789
  }
790
  if (x & 0xc)
791
  {
792
    x >>= 2;
793
    result += 2;
794
  }
795
  if (x & 0x2)
796
  {
797
    x >>= 1;
798
    result += 1;
799
  }
800
  return result;
801
#endif
802
4.47k
}
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
769
1.49k
{
770
1.49k
  CHECKD( x == 0, "invalid input value");
771
1.49k
#ifdef __GNUC__
772
1.49k
  return 31 - __builtin_clz(x);
773
#else
774
  int result = 0;
775
  if (x & 0xffff0000)
776
  {
777
    x >>= 16;
778
    result += 16;
779
  }
780
  if (x & 0xff00)
781
  {
782
    x >>= 8;
783
    result += 8;
784
  }
785
  if (x & 0xf0)
786
  {
787
    x >>= 4;
788
    result += 4;
789
  }
790
  if (x & 0xc)
791
  {
792
    x >>= 2;
793
    result += 2;
794
  }
795
  if (x & 0x2)
796
  {
797
    x >>= 1;
798
    result += 1;
799
  }
800
  return result;
801
#endif
802
1.49k
}
Unexecuted instantiation: GOPCfg.cpp:vvenc::floorLog2(unsigned int)
InterSearch.cpp:vvenc::floorLog2(unsigned int)
Line
Count
Source
769
3.14M
{
770
3.14M
  CHECKD( x == 0, "invalid input value");
771
3.14M
#ifdef __GNUC__
772
3.14M
  return 31 - __builtin_clz(x);
773
#else
774
  int result = 0;
775
  if (x & 0xffff0000)
776
  {
777
    x >>= 16;
778
    result += 16;
779
  }
780
  if (x & 0xff00)
781
  {
782
    x >>= 8;
783
    result += 8;
784
  }
785
  if (x & 0xf0)
786
  {
787
    x >>= 4;
788
    result += 4;
789
  }
790
  if (x & 0xc)
791
  {
792
    x >>= 2;
793
    result += 2;
794
  }
795
  if (x & 0x2)
796
  {
797
    x >>= 1;
798
    result += 1;
799
  }
800
  return result;
801
#endif
802
3.14M
}
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
769
23.8k
{
770
23.8k
  CHECKD( x == 0, "invalid input value");
771
23.8k
#ifdef __GNUC__
772
23.8k
  return 31 - __builtin_clz(x);
773
#else
774
  int result = 0;
775
  if (x & 0xffff0000)
776
  {
777
    x >>= 16;
778
    result += 16;
779
  }
780
  if (x & 0xff00)
781
  {
782
    x >>= 8;
783
    result += 8;
784
  }
785
  if (x & 0xf0)
786
  {
787
    x >>= 4;
788
    result += 4;
789
  }
790
  if (x & 0xc)
791
  {
792
    x >>= 2;
793
    result += 2;
794
  }
795
  if (x & 0x2)
796
  {
797
    x >>= 1;
798
    result += 1;
799
  }
800
  return result;
801
#endif
802
23.8k
}
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
769
98.1M
{
770
98.1M
  CHECKD( x == 0, "invalid input value");
771
98.1M
#ifdef __GNUC__
772
98.1M
  return 31 - __builtin_clz(x);
773
#else
774
  int result = 0;
775
  if (x & 0xffff0000)
776
  {
777
    x >>= 16;
778
    result += 16;
779
  }
780
  if (x & 0xff00)
781
  {
782
    x >>= 8;
783
    result += 8;
784
  }
785
  if (x & 0xf0)
786
  {
787
    x >>= 4;
788
    result += 4;
789
  }
790
  if (x & 0xc)
791
  {
792
    x >>= 2;
793
    result += 2;
794
  }
795
  if (x & 0x2)
796
  {
797
    x >>= 1;
798
    result += 1;
799
  }
800
  return result;
801
#endif
802
98.1M
}
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
769
7.74M
{
770
7.74M
  CHECKD( x == 0, "invalid input value");
771
7.74M
#ifdef __GNUC__
772
7.74M
  return 31 - __builtin_clz(x);
773
#else
774
  int result = 0;
775
  if (x & 0xffff0000)
776
  {
777
    x >>= 16;
778
    result += 16;
779
  }
780
  if (x & 0xff00)
781
  {
782
    x >>= 8;
783
    result += 8;
784
  }
785
  if (x & 0xf0)
786
  {
787
    x >>= 4;
788
    result += 4;
789
  }
790
  if (x & 0xc)
791
  {
792
    x >>= 2;
793
    result += 2;
794
  }
795
  if (x & 0x2)
796
  {
797
    x >>= 1;
798
    result += 1;
799
  }
800
  return result;
801
#endif
802
7.74M
}
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
769
15.6M
{
770
15.6M
  CHECKD( x == 0, "invalid input value");
771
15.6M
#ifdef __GNUC__
772
15.6M
  return 31 - __builtin_clz(x);
773
#else
774
  int result = 0;
775
  if (x & 0xffff0000)
776
  {
777
    x >>= 16;
778
    result += 16;
779
  }
780
  if (x & 0xff00)
781
  {
782
    x >>= 8;
783
    result += 8;
784
  }
785
  if (x & 0xf0)
786
  {
787
    x >>= 4;
788
    result += 4;
789
  }
790
  if (x & 0xc)
791
  {
792
    x >>= 2;
793
    result += 2;
794
  }
795
  if (x & 0x2)
796
  {
797
    x >>= 1;
798
    result += 1;
799
  }
800
  return result;
801
#endif
802
15.6M
}
TrQuant_EMT.cpp:vvenc::floorLog2(unsigned int)
Line
Count
Source
769
4.75M
{
770
4.75M
  CHECKD( x == 0, "invalid input value");
771
4.75M
#ifdef __GNUC__
772
4.75M
  return 31 - __builtin_clz(x);
773
#else
774
  int result = 0;
775
  if (x & 0xffff0000)
776
  {
777
    x >>= 16;
778
    result += 16;
779
  }
780
  if (x & 0xff00)
781
  {
782
    x >>= 8;
783
    result += 8;
784
  }
785
  if (x & 0xf0)
786
  {
787
    x >>= 4;
788
    result += 4;
789
  }
790
  if (x & 0xc)
791
  {
792
    x >>= 2;
793
    result += 2;
794
  }
795
  if (x & 0x2)
796
  {
797
    x >>= 1;
798
    result += 1;
799
  }
800
  return result;
801
#endif
802
4.75M
}
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
769
151k
{
770
151k
  CHECKD( x == 0, "invalid input value");
771
151k
#ifdef __GNUC__
772
151k
  return 31 - __builtin_clz(x);
773
#else
774
  int result = 0;
775
  if (x & 0xffff0000)
776
  {
777
    x >>= 16;
778
    result += 16;
779
  }
780
  if (x & 0xff00)
781
  {
782
    x >>= 8;
783
    result += 8;
784
  }
785
  if (x & 0xf0)
786
  {
787
    x >>= 4;
788
    result += 4;
789
  }
790
  if (x & 0xc)
791
  {
792
    x >>= 2;
793
    result += 2;
794
  }
795
  if (x & 0x2)
796
  {
797
    x >>= 1;
798
    result += 1;
799
  }
800
  return result;
801
#endif
802
151k
}
DepQuant.cpp:vvenc::floorLog2(unsigned int)
Line
Count
Source
769
26.0M
{
770
26.0M
  CHECKD( x == 0, "invalid input value");
771
26.0M
#ifdef __GNUC__
772
26.0M
  return 31 - __builtin_clz(x);
773
#else
774
  int result = 0;
775
  if (x & 0xffff0000)
776
  {
777
    x >>= 16;
778
    result += 16;
779
  }
780
  if (x & 0xff00)
781
  {
782
    x >>= 8;
783
    result += 8;
784
  }
785
  if (x & 0xf0)
786
  {
787
    x >>= 4;
788
    result += 4;
789
  }
790
  if (x & 0xc)
791
  {
792
    x >>= 2;
793
    result += 2;
794
  }
795
  if (x & 0x2)
796
  {
797
    x >>= 1;
798
    result += 1;
799
  }
800
  return result;
801
#endif
802
26.0M
}
IntraPrediction.cpp:vvenc::floorLog2(unsigned int)
Line
Count
Source
769
12.4M
{
770
12.4M
  CHECKD( x == 0, "invalid input value");
771
12.4M
#ifdef __GNUC__
772
12.4M
  return 31 - __builtin_clz(x);
773
#else
774
  int result = 0;
775
  if (x & 0xffff0000)
776
  {
777
    x >>= 16;
778
    result += 16;
779
  }
780
  if (x & 0xff00)
781
  {
782
    x >>= 8;
783
    result += 8;
784
  }
785
  if (x & 0xf0)
786
  {
787
    x >>= 4;
788
    result += 4;
789
  }
790
  if (x & 0xc)
791
  {
792
    x >>= 2;
793
    result += 2;
794
  }
795
  if (x & 0x2)
796
  {
797
    x >>= 1;
798
    result += 1;
799
  }
800
  return result;
801
#endif
802
12.4M
}
MatrixIntraPrediction.cpp:vvenc::floorLog2(unsigned int)
Line
Count
Source
769
109k
{
770
109k
  CHECKD( x == 0, "invalid input value");
771
109k
#ifdef __GNUC__
772
109k
  return 31 - __builtin_clz(x);
773
#else
774
  int result = 0;
775
  if (x & 0xffff0000)
776
  {
777
    x >>= 16;
778
    result += 16;
779
  }
780
  if (x & 0xff00)
781
  {
782
    x >>= 8;
783
    result += 8;
784
  }
785
  if (x & 0xf0)
786
  {
787
    x >>= 4;
788
    result += 4;
789
  }
790
  if (x & 0xc)
791
  {
792
    x >>= 2;
793
    result += 2;
794
  }
795
  if (x & 0x2)
796
  {
797
    x >>= 1;
798
    result += 1;
799
  }
800
  return result;
801
#endif
802
109k
}
Unexecuted instantiation: QuantRDOQ2.cpp:vvenc::floorLog2(unsigned int)
Unexecuted instantiation: DecCu.cpp:vvenc::floorLog2(unsigned int)
Unexecuted instantiation: QuantRDOQ.cpp:vvenc::floorLog2(unsigned int)
803
#endif
804
805
static inline int ceilLog2(uint32_t x)
806
2.40M
{
807
2.40M
  return (x==0) ? -1 : floorLog2(x - 1) + 1;
808
2.40M
}
Unexecuted instantiation: vvenc.cpp:vvenc::ceilLog2(unsigned int)
vvencCfg.cpp:vvenc::ceilLog2(unsigned int)
Line
Count
Source
806
4.47k
{
807
4.47k
  return (x==0) ? -1 : floorLog2(x - 1) + 1;
808
4.47k
}
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
806
1.49k
{
807
1.49k
  return (x==0) ? -1 : floorLog2(x - 1) + 1;
808
1.49k
}
EncGOP.cpp:vvenc::ceilLog2(unsigned int)
Line
Count
Source
806
1.49k
{
807
1.49k
  return (x==0) ? -1 : floorLog2(x - 1) + 1;
808
1.49k
}
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
806
2.39M
{
807
2.39M
  return (x==0) ? -1 : floorLog2(x - 1) + 1;
808
2.39M
}
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)
809
810
811
//======================================================================================================================
812
//Chroma format utility functions  =====================================================================================
813
//======================================================================================================================
814
815
816
31.1M
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
816
217k
static inline bool        isLuma                    (const ComponentID id)                         { return (id==COMP_Y);                                  }
UnitTools.cpp:vvenc::isLuma(vvenc::ComponentID)
Line
Count
Source
816
956k
static inline bool        isLuma                    (const ComponentID id)                         { return (id==COMP_Y);                                  }
BitAllocation.cpp:vvenc::isLuma(vvenc::ComponentID)
Line
Count
Source
816
4.47k
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
816
3.70k
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
816
8.28M
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
816
32.2k
static inline bool        isLuma                    (const ComponentID id)                         { return (id==COMP_Y);                                  }
TrQuant.cpp:vvenc::isLuma(vvenc::ComponentID)
Line
Count
Source
816
6.68M
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
816
6.02M
static inline bool        isLuma                    (const ComponentID id)                         { return (id==COMP_Y);                                  }
EncAdaptiveLoopFilter.cpp:vvenc::isLuma(vvenc::ComponentID)
Line
Count
Source
816
181k
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
816
7.77M
static inline bool        isLuma                    (const ComponentID id)                         { return (id==COMP_Y);                                  }
DepQuant.cpp:vvenc::isLuma(vvenc::ComponentID)
Line
Count
Source
816
999k
static inline bool        isLuma                    (const ComponentID id)                         { return (id==COMP_Y);                                  }
Unexecuted instantiation: IntraPrediction.cpp:vvenc::isLuma(vvenc::ComponentID)
Unexecuted instantiation: MatrixIntraPrediction.cpp:vvenc::isLuma(vvenc::ComponentID)
Unexecuted instantiation: QuantRDOQ2.cpp:vvenc::isLuma(vvenc::ComponentID)
Unexecuted instantiation: DecCu.cpp:vvenc::isLuma(vvenc::ComponentID)
Unexecuted instantiation: QuantRDOQ.cpp:vvenc::isLuma(vvenc::ComponentID)
817
104M
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
817
10.8M
static inline bool        isLuma                    (const ChannelType id)                         { return (id==CH_L);                                    }
MCTF.cpp:vvenc::isLuma(vvenc::ChannelType)
Line
Count
Source
817
8.95k
static inline bool        isLuma                    (const ChannelType id)                         { return (id==CH_L);                                    }
Unexecuted instantiation: Picture.cpp:vvenc::isLuma(vvenc::ChannelType)
Unit.cpp:vvenc::isLuma(vvenc::ChannelType)
Line
Count
Source
817
17.4M
static inline bool        isLuma                    (const ChannelType id)                         { return (id==CH_L);                                    }
UnitTools.cpp:vvenc::isLuma(vvenc::ChannelType)
Line
Count
Source
817
2.66M
static inline bool        isLuma                    (const ChannelType id)                         { return (id==CH_L);                                    }
BitAllocation.cpp:vvenc::isLuma(vvenc::ChannelType)
Line
Count
Source
817
31.3k
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
817
4.47k
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
817
8.95k
static inline bool        isLuma                    (const ChannelType id)                         { return (id==CH_L);                                    }
EncSlice.cpp:vvenc::isLuma(vvenc::ChannelType)
Line
Count
Source
817
114k
static inline bool        isLuma                    (const ChannelType id)                         { return (id==CH_L);                                    }
Unexecuted instantiation: GOPCfg.cpp:vvenc::isLuma(vvenc::ChannelType)
Unexecuted instantiation: InterSearch.cpp:vvenc::isLuma(vvenc::ChannelType)
Unexecuted instantiation: NALwrite.cpp:vvenc::isLuma(vvenc::ChannelType)
Unexecuted instantiation: SEIEncoder.cpp:vvenc::isLuma(vvenc::ChannelType)
Unexecuted instantiation: SEIFilmGrainAnalyzer.cpp:vvenc::isLuma(vvenc::ChannelType)
Unexecuted instantiation: SEIwrite.cpp:vvenc::isLuma(vvenc::ChannelType)
Unexecuted instantiation: VLCWriter.cpp:vvenc::isLuma(vvenc::ChannelType)
AdaptiveLoopFilter.cpp:vvenc::isLuma(vvenc::ChannelType)
Line
Count
Source
817
245k
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
817
12.8M
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
817
58.2k
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
817
6.01M
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
817
6.61M
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
817
11.6M
static inline bool        isLuma                    (const ChannelType id)                         { return (id==CH_L);                                    }
EncAdaptiveLoopFilter.cpp:vvenc::isLuma(vvenc::ChannelType)
Line
Count
Source
817
24.9M
static inline bool        isLuma                    (const ChannelType id)                         { return (id==CH_L);                                    }
EncCu.cpp:vvenc::isLuma(vvenc::ChannelType)
Line
Count
Source
817
1.09M
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
817
35.8k
static inline bool        isLuma                    (const ChannelType id)                         { return (id==CH_L);                                    }
IntraSearch.cpp:vvenc::isLuma(vvenc::ChannelType)
Line
Count
Source
817
202k
static inline bool        isLuma                    (const ChannelType id)                         { return (id==CH_L);                                    }
DepQuant.cpp:vvenc::isLuma(vvenc::ChannelType)
Line
Count
Source
817
13.3k
static inline bool        isLuma                    (const ChannelType id)                         { return (id==CH_L);                                    }
IntraPrediction.cpp:vvenc::isLuma(vvenc::ChannelType)
Line
Count
Source
817
8.98M
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)
818
32.4M
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
818
9.87M
static inline bool        isChroma                  (const ComponentID id)                         { return (id!=COMP_Y);                                  }
Unexecuted instantiation: UnitTools.cpp:vvenc::isChroma(vvenc::ComponentID)
Unexecuted instantiation: BitAllocation.cpp:vvenc::isChroma(vvenc::ComponentID)
Unexecuted instantiation: 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
818
61.7k
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
818
16.5M
static inline bool        isChroma                  (const ComponentID id)                         { return (id!=COMP_Y);                                  }
RdCost.cpp:vvenc::isChroma(vvenc::ComponentID)
Line
Count
Source
818
3.47M
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
818
2.48M
static inline bool        isChroma                  (const ComponentID id)                         { return (id!=COMP_Y);                                  }
Unexecuted instantiation: DepQuant.cpp:vvenc::isChroma(vvenc::ComponentID)
Unexecuted instantiation: IntraPrediction.cpp:vvenc::isChroma(vvenc::ComponentID)
Unexecuted instantiation: MatrixIntraPrediction.cpp:vvenc::isChroma(vvenc::ComponentID)
Unexecuted instantiation: QuantRDOQ2.cpp:vvenc::isChroma(vvenc::ComponentID)
Unexecuted instantiation: DecCu.cpp:vvenc::isChroma(vvenc::ComponentID)
Unexecuted instantiation: QuantRDOQ.cpp:vvenc::isChroma(vvenc::ComponentID)
819
1.98M
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
819
62.7k
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
819
160k
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
819
618k
static inline bool        isChroma                  (const ChannelType id)                         { return (id!=CH_L);                                    }
EncAdaptiveLoopFilter.cpp:vvenc::isChroma(vvenc::ChannelType)
Line
Count
Source
819
47.0k
static inline bool        isChroma                  (const ChannelType id)                         { return (id!=CH_L);                                    }
EncCu.cpp:vvenc::isChroma(vvenc::ChannelType)
Line
Count
Source
819
552k
static inline bool        isChroma                  (const ChannelType id)                         { return (id!=CH_L);                                    }
EncModeCtrl.cpp:vvenc::isChroma(vvenc::ChannelType)
Line
Count
Source
819
449k
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
819
98.5k
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)
820
85.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
820
10.8M
static inline ChannelType toChannelType             (const ComponentID id)                         { return (id==COMP_Y)? CH_L : CH_C;                     }
MCTF.cpp:vvenc::toChannelType(vvenc::ComponentID)
Line
Count
Source
820
8.95k
static inline ChannelType toChannelType             (const ComponentID id)                         { return (id==COMP_Y)? CH_L : CH_C;                     }
Unexecuted instantiation: Picture.cpp:vvenc::toChannelType(vvenc::ComponentID)
Unit.cpp:vvenc::toChannelType(vvenc::ComponentID)
Line
Count
Source
820
20.0M
static inline ChannelType toChannelType             (const ComponentID id)                         { return (id==COMP_Y)? CH_L : CH_C;                     }
UnitTools.cpp:vvenc::toChannelType(vvenc::ComponentID)
Line
Count
Source
820
5.14M
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
820
2.98k
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
820
13.4k
static inline ChannelType toChannelType             (const ComponentID id)                         { return (id==COMP_Y)? CH_L : CH_C;                     }
EncSlice.cpp:vvenc::toChannelType(vvenc::ComponentID)
Line
Count
Source
820
114k
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
820
116k
static inline ChannelType toChannelType             (const ComponentID id)                         { return (id==COMP_Y)? CH_L : CH_C;                     }
Unexecuted instantiation: NALwrite.cpp:vvenc::toChannelType(vvenc::ComponentID)
Unexecuted instantiation: SEIEncoder.cpp:vvenc::toChannelType(vvenc::ComponentID)
Unexecuted instantiation: SEIFilmGrainAnalyzer.cpp:vvenc::toChannelType(vvenc::ComponentID)
Unexecuted instantiation: SEIwrite.cpp:vvenc::toChannelType(vvenc::ComponentID)
Unexecuted instantiation: VLCWriter.cpp:vvenc::toChannelType(vvenc::ComponentID)
Unexecuted instantiation: AdaptiveLoopFilter.cpp:vvenc::toChannelType(vvenc::ComponentID)
Unexecuted instantiation: AffineGradientSearch.cpp:vvenc::toChannelType(vvenc::ComponentID)
CodingStructure.cpp:vvenc::toChannelType(vvenc::ComponentID)
Line
Count
Source
820
94.1k
static inline ChannelType toChannelType             (const ComponentID id)                         { return (id==COMP_Y)? CH_L : CH_C;                     }
ContextModelling.cpp:vvenc::toChannelType(vvenc::ComponentID)
Line
Count
Source
820
1.32M
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
820
58.2k
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
820
8.48M
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
820
34
static inline ChannelType toChannelType             (const ComponentID id)                         { return (id==COMP_Y)? CH_L : CH_C;                     }
TrQuant.cpp:vvenc::toChannelType(vvenc::ComponentID)
Line
Count
Source
820
14.3M
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
820
5.44M
static inline ChannelType toChannelType             (const ComponentID id)                         { return (id==COMP_Y)? CH_L : CH_C;                     }
EncAdaptiveLoopFilter.cpp:vvenc::toChannelType(vvenc::ComponentID)
Line
Count
Source
820
550k
static inline ChannelType toChannelType             (const ComponentID id)                         { return (id==COMP_Y)? CH_L : CH_C;                     }
EncCu.cpp:vvenc::toChannelType(vvenc::ComponentID)
Line
Count
Source
820
597k
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
820
50.7k
static inline ChannelType toChannelType             (const ComponentID id)                         { return (id==COMP_Y)? CH_L : CH_C;                     }
IntraSearch.cpp:vvenc::toChannelType(vvenc::ComponentID)
Line
Count
Source
820
2.48M
static inline ChannelType toChannelType             (const ComponentID id)                         { return (id==COMP_Y)? CH_L : CH_C;                     }
DepQuant.cpp:vvenc::toChannelType(vvenc::ComponentID)
Line
Count
Source
820
5.76M
static inline ChannelType toChannelType             (const ComponentID id)                         { return (id==COMP_Y)? CH_L : CH_C;                     }
IntraPrediction.cpp:vvenc::toChannelType(vvenc::ComponentID)
Line
Count
Source
820
9.05M
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
820
355k
static inline ChannelType toChannelType             (const ComponentID id)                         { return (id==COMP_Y)? CH_L : CH_C;                     }
821
38.6M
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
821
5.44M
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
821
4.47k
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
821
8.74M
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
821
959k
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
821
15.6k
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
821
2.98k
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
821
4.47k
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
821
57.0k
static inline uint32_t    getChannelTypeScaleX      (const ChannelType id, const ChromaFormat fmt) { return (isLuma(id) || (fmt==CHROMA_444)) ? 0 : 1;     }
Unexecuted instantiation: GOPCfg.cpp:vvenc::getChannelTypeScaleX(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: InterSearch.cpp:vvenc::getChannelTypeScaleX(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: NALwrite.cpp:vvenc::getChannelTypeScaleX(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: SEIEncoder.cpp:vvenc::getChannelTypeScaleX(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: SEIFilmGrainAnalyzer.cpp:vvenc::getChannelTypeScaleX(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: SEIwrite.cpp:vvenc::getChannelTypeScaleX(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: VLCWriter.cpp:vvenc::getChannelTypeScaleX(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: AdaptiveLoopFilter.cpp:vvenc::getChannelTypeScaleX(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: AffineGradientSearch.cpp:vvenc::getChannelTypeScaleX(vvenc::ChannelType, vvencChromaFormat)
CodingStructure.cpp:vvenc::getChannelTypeScaleX(vvenc::ChannelType, vvencChromaFormat)
Line
Count
Source
821
6.08M
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
821
29.1k
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
821
2.50M
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
821
3.30M
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
821
9.69M
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
821
192k
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
821
17.9k
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
821
1.58M
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)
822
29.4M
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
822
5.44M
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
822
4.47k
static inline uint32_t    getChannelTypeScaleY      (const ChannelType id, const ChromaFormat fmt) { return (isLuma(id) || (fmt!=CHROMA_420)) ? 0 : 1;     }
Unexecuted instantiation: Picture.cpp:vvenc::getChannelTypeScaleY(vvenc::ChannelType, vvencChromaFormat)
Unit.cpp:vvenc::getChannelTypeScaleY(vvenc::ChannelType, vvencChromaFormat)
Line
Count
Source
822
8.74M
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
822
959k
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
822
15.6k
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
822
1.49k
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
822
4.47k
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
822
57.0k
static inline uint32_t    getChannelTypeScaleY      (const ChannelType id, const ChromaFormat fmt) { return (isLuma(id) || (fmt!=CHROMA_420)) ? 0 : 1;     }
Unexecuted instantiation: GOPCfg.cpp:vvenc::getChannelTypeScaleY(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: InterSearch.cpp:vvenc::getChannelTypeScaleY(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: NALwrite.cpp:vvenc::getChannelTypeScaleY(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: SEIEncoder.cpp:vvenc::getChannelTypeScaleY(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: SEIFilmGrainAnalyzer.cpp:vvenc::getChannelTypeScaleY(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: SEIwrite.cpp:vvenc::getChannelTypeScaleY(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: VLCWriter.cpp:vvenc::getChannelTypeScaleY(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: AdaptiveLoopFilter.cpp:vvenc::getChannelTypeScaleY(vvenc::ChannelType, vvencChromaFormat)
Unexecuted instantiation: AffineGradientSearch.cpp:vvenc::getChannelTypeScaleY(vvenc::ChannelType, vvencChromaFormat)
CodingStructure.cpp:vvenc::getChannelTypeScaleY(vvenc::ChannelType, vvencChromaFormat)
Line
Count
Source
822
6.08M
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
822
29.1k
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
822
2.51M
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
822
3.30M
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
822
480k
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
822
192k
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
822
17.9k
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
822
1.58M
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)
823
16.6M
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
823
5.44M
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
823
4.47k
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
823
8.74M
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
823
841k
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
823
1.49k
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
823
4.47k
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
823
57.0k
static inline uint32_t    getComponentScaleX        (const ComponentID id, const ChromaFormat fmt) { return getChannelTypeScaleX(toChannelType(id), fmt);  }
Unexecuted instantiation: GOPCfg.cpp:vvenc::getComponentScaleX(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: InterSearch.cpp:vvenc::getComponentScaleX(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: NALwrite.cpp:vvenc::getComponentScaleX(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: SEIEncoder.cpp:vvenc::getComponentScaleX(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: SEIFilmGrainAnalyzer.cpp:vvenc::getComponentScaleX(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: SEIwrite.cpp:vvenc::getComponentScaleX(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: VLCWriter.cpp:vvenc::getComponentScaleX(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: AdaptiveLoopFilter.cpp:vvenc::getComponentScaleX(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: AffineGradientSearch.cpp:vvenc::getComponentScaleX(vvenc::ComponentID, vvencChromaFormat)
CodingStructure.cpp:vvenc::getComponentScaleX(vvenc::ComponentID, vvencChromaFormat)
Line
Count
Source
823
47.0k
static inline uint32_t    getComponentScaleX        (const ComponentID id, const ChromaFormat fmt) { return getChannelTypeScaleX(toChannelType(id), fmt);  }
Unexecuted instantiation: ContextModelling.cpp:vvenc::getComponentScaleX(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: Contexts.cpp:vvenc::getComponentScaleX(vvenc::ComponentID, vvencChromaFormat)
InterPrediction.cpp:vvenc::getComponentScaleX(vvenc::ComponentID, vvencChromaFormat)
Line
Count
Source
823
29.1k
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
823
32.8k
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
823
17.9k
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
823
1.38M
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)
824
17.0M
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
824
5.44M
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
824
4.47k
static inline uint32_t    getComponentScaleY        (const ComponentID id, const ChromaFormat fmt) { return getChannelTypeScaleY(toChannelType(id), fmt);  }
Unexecuted instantiation: Picture.cpp:vvenc::getComponentScaleY(vvenc::ComponentID, vvencChromaFormat)
Unit.cpp:vvenc::getComponentScaleY(vvenc::ComponentID, vvencChromaFormat)
Line
Count
Source
824
8.74M
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
824
841k
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
824
1.49k
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
824
4.47k
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
824
57.0k
static inline uint32_t    getComponentScaleY        (const ComponentID id, const ChromaFormat fmt) { return getChannelTypeScaleY(toChannelType(id), fmt);  }
Unexecuted instantiation: GOPCfg.cpp:vvenc::getComponentScaleY(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: InterSearch.cpp:vvenc::getComponentScaleY(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: NALwrite.cpp:vvenc::getComponentScaleY(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: SEIEncoder.cpp:vvenc::getComponentScaleY(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: SEIFilmGrainAnalyzer.cpp:vvenc::getComponentScaleY(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: SEIwrite.cpp:vvenc::getComponentScaleY(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: VLCWriter.cpp:vvenc::getComponentScaleY(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: AdaptiveLoopFilter.cpp:vvenc::getComponentScaleY(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: AffineGradientSearch.cpp:vvenc::getComponentScaleY(vvenc::ComponentID, vvencChromaFormat)
CodingStructure.cpp:vvenc::getComponentScaleY(vvenc::ComponentID, vvencChromaFormat)
Line
Count
Source
824
47.0k
static inline uint32_t    getComponentScaleY        (const ComponentID id, const ChromaFormat fmt) { return getChannelTypeScaleY(toChannelType(id), fmt);  }
Unexecuted instantiation: ContextModelling.cpp:vvenc::getComponentScaleY(vvenc::ComponentID, vvencChromaFormat)
Unexecuted instantiation: Contexts.cpp:vvenc::getComponentScaleY(vvenc::ComponentID, vvencChromaFormat)
InterPrediction.cpp:vvenc::getComponentScaleY(vvenc::ComponentID, vvencChromaFormat)
Line
Count
Source
824
29.1k
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
824
480k
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
824
17.9k
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
824
1.38M
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)
825
6.57M
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
825
949k
static inline uint32_t    getNumberValidComponents  (const ChromaFormat fmt)                       { return (fmt==CHROMA_400) ? 1 : MAX_NUM_COMP;          }
Unexecuted instantiation: MCTF.cpp:vvenc::getNumberValidComponents(vvencChromaFormat)
Unexecuted instantiation: Picture.cpp:vvenc::getNumberValidComponents(vvencChromaFormat)
Unit.cpp:vvenc::getNumberValidComponents(vvencChromaFormat)
Line
Count
Source
825
3.63M
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
825
5.97k
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
825
5.97k
static inline uint32_t    getNumberValidComponents  (const ChromaFormat fmt)                       { return (fmt==CHROMA_400) ? 1 : MAX_NUM_COMP;          }
EncSlice.cpp:vvenc::getNumberValidComponents(vvencChromaFormat)
Line
Count
Source
825
5.97k
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
825
58.2k
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
825
1.49k
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
825
835k
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
825
15.7k
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
825
363k
static inline uint32_t    getNumberValidComponents  (const ChromaFormat fmt)                       { return (fmt==CHROMA_400) ? 1 : MAX_NUM_COMP;          }
EncAdaptiveLoopFilter.cpp:vvenc::getNumberValidComponents(vvencChromaFormat)
Line
Count
Source
825
52.6k
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
825
169k
static inline uint32_t    getNumberValidComponents  (const ChromaFormat fmt)                       { return (fmt==CHROMA_400) ? 1 : MAX_NUM_COMP;          }
EncSampleAdaptiveOffset.cpp:vvenc::getNumberValidComponents(vvencChromaFormat)
Line
Count
Source
825
50.2k
static inline uint32_t    getNumberValidComponents  (const ChromaFormat fmt)                       { return (fmt==CHROMA_400) ? 1 : MAX_NUM_COMP;          }
IntraSearch.cpp:vvenc::getNumberValidComponents(vvencChromaFormat)
Line
Count
Source
825
430k
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)
826
1.31M
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
826
1.31M
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
826
1.49k
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)
827
391k
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
827
11.0k
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
827
1.49k
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
827
27.6k
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
827
1.49k
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
827
114k
static inline bool        isChromaEnabled           (const ChromaFormat fmt)                       { return !(fmt==CHROMA_400);                            }
EncAdaptiveLoopFilter.cpp:vvenc::isChromaEnabled(vvencChromaFormat)
Line
Count
Source
827
2.98k
static inline bool        isChromaEnabled           (const ChromaFormat fmt)                       { return !(fmt==CHROMA_400);                            }
EncCu.cpp:vvenc::isChromaEnabled(vvencChromaFormat)
Line
Count
Source
827
233k
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)
828
1.26M
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
828
1.06M
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
828
202k
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)
829
830
831
832
//CASE-BREAK for breakpoints
833
#if defined ( _MSC_VER ) && defined ( _DEBUG )
834
#define _CASE(_x) if(_x)
835
#define _BREAK while(0);
836
#define _AREA_AT(_a,_x,_y,_w,_h)  (_a.x==_x && _a.y==_y && _a.width==_w && _a.height==_h)
837
#define _AREA_CONTAINS(_a,_x,_y)  (_a.contains( Position{ _x, _y} ))
838
#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)
839
#else
840
#define _CASE(...)
841
#define _BREAK
842
#define _AREA_AT(...)
843
#define _AREA_CONTAINS(_a,_x,_y)
844
#define _UNIT_AREA_AT(_a,_x,_y,_w,_h)
845
#endif
846
847
// Make enum and strings macros, used for TimeProfiler and DTrace
848
#define MAKE_ENUM(VAR) VAR,
849
#define MAKE_STRINGS(VAR) #VAR,
850
#define MAKE_ENUM_AND_STRINGS(source, enumName, enumStringName) \
851
enum enumName { \
852
    source(MAKE_ENUM) \
853
    };\
854
const char* const enumStringName[] = { \
855
    source(MAKE_STRINGS) \
856
    }; \
857
858
#ifdef TRACE_ENABLE_ITT
859
860
} // namespace vvenc
861
862
#include <ittnotify.h>
863
864
namespace vvenc {
865
866
# define ITT_TASKSTART( d, t ) __itt_task_begin( ( d ), __itt_null, __itt_null, ( (__itt_string_handle*)t ) )
867
# define ITT_TASKEND( d, t )   __itt_task_end  ( ( d ) )
868
869
# define ITT_SYNCPREP( p ) __itt_sync_prepare  ( & p )
870
# define ITT_SYNCACQ( p )  __itt_sync_acquired ( & p )
871
# define ITT_SYNCREL( p )  __itt_sync_releasing( & p )
872
873
# define ITT_COUNTSET( c, v ) __itt_counter_set_value( c, &v )
874
# define ITT_COUNTINC( c )    __itt_counter_inc( c )
875
# define ITT_COUNTDEC( c )    __itt_counter_dec( c )
876
# define ITT_COUNTADD( c, v ) __itt_counter_inc_delta( c, &v )
877
# define ITT_COUNTSUB( c, v ) __itt_counter_dec_delta( c, &v )
878
#else //!TRACE_ENABLE_ITT
879
# define ITT_TASKSTART( d, t )
880
# define ITT_TASKEND( d, t )
881
882
# define ITT_SYNCPREP( p )
883
# define ITT_SYNCACQ( p )
884
# define ITT_SYNCREL( p )
885
886
# define ITT_COUNTSET( c, v )
887
# define ITT_COUNTINC( c )
888
# define ITT_COUNTDEC( c )
889
# define ITT_COUNTADD( c, v )
890
# define ITT_COUNTSUB( c, v )
891
#endif //!TRACE_ENABLE_ITT
892
893
0
#define SIGN(x) ( (x) >= 0 ? 1 : -1 )
894
895
} // namespace vvenc
896
897
//! \}
898