Lines Matching refs:packno
333 opj_packet_info_t *info_PK = &info_TL->packet[cstr_info->packno]; in opj_t2_encode_packets()
334 if (!cstr_info->packno) { in opj_t2_encode_packets()
338 … info_PK->start_pos) ? info_PK->start_pos : info_TL->packet[cstr_info->packno - in opj_t2_encode_packets()
347 cstr_info->packno++; in opj_t2_encode_packets()
350 ++p_tile->packno; in opj_t2_encode_packets()
526 opj_packet_info_t *info_PK = &info_TL->packet[p_cstr_info->packno]; in opj_t2_decode_packets()
528 if (!p_cstr_info->packno) { in opj_t2_decode_packets()
530 } else if (info_TL->packet[p_cstr_info->packno - 1].end_pos >= in opj_t2_decode_packets()
533 info_TL->tp[curtp].tp_numpacks = p_cstr_info->packno - in opj_t2_decode_packets()
535 tp_start_packno = p_cstr_info->packno; in opj_t2_decode_packets()
540 … info_PK->start_pos) ? info_PK->start_pos : info_TL->packet[p_cstr_info->packno - in opj_t2_decode_packets()
546 ++p_cstr_info->packno; in opj_t2_decode_packets()
559 p_cstr_info->tile[p_tile_no].tp[curtp].tp_numpacks = p_cstr_info->packno - in opj_t2_decode_packets()
692 c[4] = (tile->packno % 65536) / 256; in opj_t2_encode_packet()
693 c[5] = (tile->packno % 65536) % 256; in opj_t2_encode_packet()
695 c[4] = (tile->packno >> 8) & 0xff; /* packno is uint32_t */ in opj_t2_encode_packet()
696 c[5] = tile->packno & 0xff; in opj_t2_encode_packet()
899 opj_packet_info_t *info_PK = &cstr_info->tile[tileno].packet[cstr_info->packno]; in opj_t2_encode_packet()
943 opj_packet_info_t *info_PK = &cstr_info->tile[tileno].packet[cstr_info->packno]; in opj_t2_encode_packet()