Lines Matching refs:l_current_data
233 OPJ_BYTE *l_current_data = p_dest; in opj_t2_encode_packets() local
277 l_current_data, &l_nb_bytes, in opj_t2_encode_packets()
286 l_current_data += l_nb_bytes; in opj_t2_encode_packets()
318 l_current_data, &l_nb_bytes, p_max_len, in opj_t2_encode_packets()
324 l_current_data += l_nb_bytes; in opj_t2_encode_packets()
383 OPJ_BYTE *l_current_data = p_src; in opj_t2_decode_packets() local
491 if (! opj_t2_decode_packet(p_t2, p_tile, l_tcp, l_current_pi, l_current_data, in opj_t2_decode_packets()
503 if (! opj_t2_skip_packet(p_t2, p_tile, l_tcp, l_current_pi, l_current_data, in opj_t2_decode_packets()
519 l_current_data += l_nb_bytes_read; in opj_t2_decode_packets()
567 *p_data_read = (OPJ_UINT32)(l_current_data - p_src); in opj_t2_decode_packets()
1013 OPJ_BYTE *l_current_data = p_src_data; in opj_t2_read_packet_header() local
1062 } else if ((*l_current_data) != 0xff || (*(l_current_data + 1) != 0x91)) { in opj_t2_read_packet_header()
1065 l_current_data += 6; in opj_t2_read_packet_header()
1093 l_header_data_start = &(l_current_data); in opj_t2_read_packet_header()
1130 p_pack_info->end_ph_pos = (OPJ_INT32)(l_current_data - p_src_data); in opj_t2_read_packet_header()
1135 *p_data_read = (OPJ_UINT32)(l_current_data - p_src_data); in opj_t2_read_packet_header()
1271 p_pack_info->end_ph_pos = (OPJ_INT32)(l_current_data - p_src_data); in opj_t2_read_packet_header()
1276 *p_data_read = (OPJ_UINT32)(l_current_data - p_src_data); in opj_t2_read_packet_header()
1292 OPJ_BYTE *l_current_data = p_src_data; in opj_t2_read_packet_data() local
1336 if ((((OPJ_SIZE_T)l_current_data + (OPJ_SIZE_T)l_seg->newlen) < in opj_t2_read_packet_data()
1337 (OPJ_SIZE_T)l_current_data) || in opj_t2_read_packet_data()
1338 (l_current_data + l_seg->newlen > p_src_data + p_max_length)) { in opj_t2_read_packet_data()
1381 l_cblk->chunks[l_cblk->numchunks].data = l_current_data; in opj_t2_read_packet_data()
1385 l_current_data += l_seg->newlen; in opj_t2_read_packet_data()
1405 *(p_data_read) = (OPJ_UINT32)(l_current_data - p_src_data); in opj_t2_read_packet_data()