Lines Matching defs:pcb

107 	uint8_t pcb[16]
117 pcb[i] = cbytes[i];
122 pcb[2 * i + 8] = scb.constant_color[i] & 0xFF;
123 pcb[2 * i + 9] = (scb.constant_color[i] >> 8) & 0xFF;
136 pcb[i] = cbytes[i];
141 pcb[2 * i + 8] = scb.constant_color[i] & 0xFF;
142 pcb[2 * i + 9] = (scb.constant_color[i] >> 8) & 0xFF;
176 pcb[i] = static_cast<uint8_t>(bitrev8(weightbuf[HIGH_SPEED_PROFILE_WEIGHT_BYTES - 1 - i]));
178 pcb[0] = 0x43; // the first byte of every block stream is 0x43 for HIGH_SPEED_PROFILE
179 pcb[1] = 0x80; // the second byte of every block stream is 0x80 for HIGH_SPEED_PROFILE
180 pcb[2] = 0x01; // the third (2 idx) byte of every block stream is 0x01 for HIGH_SPEED_PROFILE
187 values_to_encode, pcb, 17); // the color is starting from 17th bit for HIGH_SPEED_PROFILE
226 pcb[i] = static_cast<uint8_t>(bitrev8(weightbuf[15 - i]));
229 write_bits(scb.block_mode, 11, 0, pcb);
230 write_bits(partition_count - 1, 2, 11, pcb);
237 write_bits(scb.partition_index, 6, 13, pcb);
238 write_bits(scb.partition_index >> 6, PARTITION_INDEX_BITS - 6, 19, pcb);
242 write_bits(scb.color_formats[0] << 2, 6, 13 + PARTITION_INDEX_BITS, pcb);
281 write_bits(encoded_type_lowpart, 6, 13 + PARTITION_INDEX_BITS, pcb);
282 write_bits(encoded_type_highpart, encoded_type_highpart_size, encoded_type_highpart_pos, pcb);
288 write_bits(scb.color_formats[0], 4, 13, pcb);
294 write_bits(scb.plane2_component, 2, below_weights_pos - 2, pcb);
313 encode_ise(scb.get_color_quant_mode(), valuecount_to_encode, values_to_encode, pcb,
322 const uint8_t pcb[16],
330 int block_mode = read_bits(11, 0, pcb);
348 scb.constant_color[i] = pcb[2 * i + 8] | (pcb[2 * i + 9] << 8);
355 int rsvbits = read_bits(2, 10, pcb);
362 int vx_low_s = read_bits(8, 12, pcb) | (read_bits(5, 12 + 8, pcb) << 8);
363 int vx_high_s = read_bits(8, 25, pcb) | (read_bits(5, 25 + 8, pcb) << 8);
364 int vx_low_t = read_bits(8, 38, pcb) | (read_bits(5, 38 + 8, pcb) << 8);
365 int vx_high_t = read_bits(8, 51, pcb) | (read_bits(5, 51 + 8, pcb) << 8);
378 int vx_low_s = read_bits(9, 10, pcb);
379 int vx_high_s = read_bits(9, 19, pcb);
380 int vx_low_t = read_bits(9, 28, pcb);
381 int vx_high_t = read_bits(9, 37, pcb);
382 int vx_low_p = read_bits(9, 46, pcb);
383 int vx_high_p = read_bits(9, 55, pcb);
415 int partition_count = read_bits(2, 11, pcb) + 1;
423 bswapped[i] = static_cast<uint8_t>(bitrev8(pcb[15 - i]));
464 color_formats[0] = read_bits(4, 13, pcb);
471 int encoded_type = read_bits(6, 13 + PARTITION_INDEX_BITS, pcb) |
472 (read_bits(encoded_type_highpart_size, below_weights_pos, pcb) << 6);
502 scb.partition_index = static_cast<uint16_t>(read_bits(6, 13, pcb) |
503 (read_bits(PARTITION_INDEX_BITS - 6, 19, pcb) << 6));
549 decode_ise(static_cast<quant_method>(color_quant_level), color_integer_count, pcb,
568 scb.plane2_component = static_cast<int8_t>(read_bits(2, below_weights_pos - 2, pcb));