MCPcopy Create free account
hub / github.com/LASzip/LASzip / ~LASwriteItemCompressed_RGB14_v4

Method ~LASwriteItemCompressed_RGB14_v4

src/laswriteitemcompressed_v4.cpp:1152–1179  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1150}
1151
1152LASwriteItemCompressed_RGB14_v4::~LASwriteItemCompressed_RGB14_v4()
1153{
1154 /* destroy all initialized scanner channel contexts */
1155
1156 U32 c;
1157 for (c = 0; c < 4; c++)
1158 {
1159 if (contexts[c].m_byte_used)
1160 {
1161 enc_RGB->destroySymbolModel(contexts[c].m_byte_used);
1162 enc_RGB->destroySymbolModel(contexts[c].m_rgb_diff_0);
1163 enc_RGB->destroySymbolModel(contexts[c].m_rgb_diff_1);
1164 enc_RGB->destroySymbolModel(contexts[c].m_rgb_diff_2);
1165 enc_RGB->destroySymbolModel(contexts[c].m_rgb_diff_3);
1166 enc_RGB->destroySymbolModel(contexts[c].m_rgb_diff_4);
1167 enc_RGB->destroySymbolModel(contexts[c].m_rgb_diff_5);
1168 }
1169 }
1170
1171 /* destroy all outstreams and encoders */
1172
1173 if (outstream_RGB)
1174 {
1175 delete outstream_RGB;
1176
1177 delete enc_RGB;
1178 }
1179}
1180
1181inline BOOL LASwriteItemCompressed_RGB14_v4::createAndInitModelsAndCompressors(U32 context, const U8* item)
1182{

Callers

nothing calls this directly

Calls 1

destroySymbolModelMethod · 0.45

Tested by

no test coverage detected