MCPcopy Create free account
hub / github.com/LAStools/LAStools / LASwriteItemCompressed_RGB14_v3

Method LASwriteItemCompressed_RGB14_v3

LASzip/src/laswriteitemcompressed_v3.cpp:1126–1153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1124*/
1125
1126LASwriteItemCompressed_RGB14_v3::LASwriteItemCompressed_RGB14_v3(ArithmeticEncoder* enc)
1127{
1128 /* not used as a encoder. just gives access to outstream */
1129
1130 assert(enc);
1131 this->enc = enc;
1132
1133 /* zero outstreams and encoders */
1134
1135 outstream_RGB = 0;
1136
1137 enc_RGB = 0;
1138
1139 /* zero num_bytes and init booleans */
1140
1141 num_bytes_RGB = 0;
1142
1143 changed_RGB = FALSE;
1144
1145 /* mark the four scanner channel contexts as uninitialized */
1146
1147 U32 c;
1148 for (c = 0; c < 4; c++)
1149 {
1150 contexts[c].m_byte_used = 0;
1151 }
1152 current_context = 0;
1153}
1154
1155LASwriteItemCompressed_RGB14_v3::~LASwriteItemCompressed_RGB14_v3()
1156{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected