Skip to content

Commit 12d1d33

Browse files
author
Louis Fréneau
committed
Kvazaar info SEI are now disabled by default
- Update ctest MD5 accordingly - Decoded point clouds are unchanged
1 parent ba0b585 commit 12d1d33

File tree

4 files changed

+17
-12
lines changed

4 files changed

+17
-12
lines changed

src/lib/mapEncoding/encoderKvazaar.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,9 @@ void setKvazaarConfig(kvz_api* api, kvz_config* config, const size_t& width, con
131131
api->config_parse(config, "hash", "none");
132132
api->config_parse(config, "width", std::to_string(width).c_str());
133133
api->config_parse(config, "height", std::to_string(height).c_str());
134+
if(!p_->encoderInfoSEI) {
135+
api->config_parse(config, "info", "none");
136+
}
134137

135138
// Map-specific settings
136139
switch (encoderType) {

src/lib/utils/parameters.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,7 @@ void initializeParameterMap(Parameters& param) {
213213
// ___ 2D encoding parameters ___ //
214214
{"sizeGOP2DEncoding", {UINT, "8,16", &param.sizeGOP2DEncoding}},
215215
{"intraFramePeriod", {UINT, "", &param.intraFramePeriod}},
216+
{"encoderInfoSEI", {BOOL, "", &param.encoderInfoSEI}},
216217

217218
// Occupancy map
218219
{"occupancyEncoderName", {STRING, "Kvazaar", &param.occupancyEncoderName}},

src/lib/utils/parameters.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ struct Parameters {
127127
size_t sizeGOP2DEncoding;
128128
size_t intraFramePeriod = 64; // TODO(lf): Not useful yet as a new 2D encoder is created for each GOF. (64 is default Kvazaar value. In
129129
// uvgVPCCenc, the value is indirectly set by 8 or 16, depending on the size of the 2D encoding GOP)
130+
bool encoderInfoSEI = false;
130131

131132
// Occupancy map
132133
std::string occupancyEncoderName = "Kvazaar";

tests/ref_md5.csv

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
test_name,md5_bitstream,md5_pc;
2-
ReadyForWinter_vox9_fast_RA_16-22-2,12b661fb4c70ce8c0596f86ab351876e,;
3-
ReadyForWinter_vox9_slow_RA_32-42-4,af339ab36cfe0b1d522b6311ffb858d0,;
4-
ReadyForWinter_vox9_fast_AI_32-42-4,c12bba572520a0996d3d8ccb0b1013ee,;
5-
ReadyForWinter_vox9_slow_AI_16-22-2,1834ce42a8c89ba02cc389c2d1c9c270,;
6-
FlowerWave_vox10_fast_RA_32-42-4,602e6ed69f1e8e296dd12a7103ba905f,;
7-
Gymnast_vox10_slow_RA_16-22-2,9083abeddb3b9861f56d97f91f0e7fd1,;
8-
Gymnast_vox10_fast_AI_32-42-4,876a993e575aa3a547f71f69f079dc97,;
9-
FlowerWave_vox10_fast_AI_16-22-2,054e2328d947b0878d01e5f3799ac457,;
10-
CasualSquat_vox11_fast_RA_16-22-2,338e3f2307e81c062b876b483377d60d,;
11-
BlueBackpack_vox11_slow_RA_16-22-2,3951c3aa8c5185f7ff1b3ca4df1f4dde,;
12-
BlueBackpack_vox11_slow_AI_32-42-4,410e25eeb67aad39dfc78f30cf9bcd12,;
13-
CasualSquat_vox11_slow_AI_32-42-4,0886f318973d29886e5080f14ede6c90,;
2+
ReadyForWinter_vox9_fast_RA_16-22-2,f34074fb0cc197450fd78de11d05d701,;
3+
ReadyForWinter_vox9_slow_RA_32-42-4,4aa9aa4e59030d68e54ecfdb6b440977,;
4+
ReadyForWinter_vox9_fast_AI_32-42-4,8f28e12f36f39b6c5950efffcff70469,;
5+
ReadyForWinter_vox9_slow_AI_16-22-2,0592524020c33ff95d9ce759b0e821f7,;
6+
FlowerWave_vox10_fast_RA_32-42-4,6f80297fc078e6a25b08676a7e90d21a,;
7+
Gymnast_vox10_slow_RA_16-22-2,19ce8c85e822c1fa646f251cb53a80b1,;
8+
Gymnast_vox10_fast_AI_32-42-4,d907fa0db60a01e73a8ff4dd7a288f93,;
9+
FlowerWave_vox10_fast_AI_16-22-2,cceaa6f5db7ca1894e83c8a1ab0a4366,;
10+
CasualSquat_vox11_fast_RA_16-22-2,8c8ad4a10c04520a6da6555ae4975ea3,;
11+
BlueBackpack_vox11_slow_RA_16-22-2,4e7e3d03bfdd5b282a640996ec9b4c0c,;
12+
BlueBackpack_vox11_slow_AI_32-42-4,eac975856f25fd8a90794d7afa41f139,;
13+
CasualSquat_vox11_slow_AI_32-42-4,af3735bab729a50e402ac87602ed2fe2,;

0 commit comments

Comments
 (0)