| 1150 | } |
| 1151 | |
| 1152 | LASwriteItemCompressed_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 | |
| 1181 | inline BOOL LASwriteItemCompressed_RGB14_v4::createAndInitModelsAndCompressors(U32 context, const U8* item) |
| 1182 | { |
nothing calls this directly
no test coverage detected