Lines Matching refs:p_header_data
276 OPJ_BYTE * p_header_data,
342 OPJ_BYTE * p_header_data,
473 OPJ_BYTE * p_header_data,
496 OPJ_BYTE * p_header_data,
518 OPJ_BYTE * p_header_data,
577 OPJ_BYTE * p_header_data,
600 OPJ_BYTE * p_header_data,
657 OPJ_BYTE * p_header_data,
696 OPJ_BYTE * p_header_data,
721 OPJ_BYTE * p_header_data,
733 OPJ_BYTE * p_header_data,
757 OPJ_BYTE * p_header_data,
769 OPJ_BYTE * p_header_data,
784 OPJ_BYTE * p_header_data,
805 OPJ_BYTE * p_header_data,
860 static OPJ_BOOL opj_j2k_get_sot_values(OPJ_BYTE * p_header_data,
876 OPJ_BYTE * p_header_data,
946 OPJ_BYTE * p_header_data,
1054 OPJ_BYTE * p_header_data,
1080 OPJ_BYTE * p_header_data,
1104 OPJ_BYTE * p_header_data,
1168 OPJ_BYTE * p_header_data,
1359 OPJ_BYTE * p_header_data,
2048 OPJ_BYTE * p_header_data, in opj_j2k_read_siz() argument
2068 assert(p_header_data != 00); in opj_j2k_read_siz()
2087 opj_read_bytes(p_header_data, &l_tmp, in opj_j2k_read_siz()
2089 p_header_data += 2; in opj_j2k_read_siz()
2091 opj_read_bytes(p_header_data, (OPJ_UINT32*) &l_image->x1, 4); /* Xsiz */ in opj_j2k_read_siz()
2092 p_header_data += 4; in opj_j2k_read_siz()
2093 opj_read_bytes(p_header_data, (OPJ_UINT32*) &l_image->y1, 4); /* Ysiz */ in opj_j2k_read_siz()
2094 p_header_data += 4; in opj_j2k_read_siz()
2095 opj_read_bytes(p_header_data, (OPJ_UINT32*) &l_image->x0, 4); /* X0siz */ in opj_j2k_read_siz()
2096 p_header_data += 4; in opj_j2k_read_siz()
2097 opj_read_bytes(p_header_data, (OPJ_UINT32*) &l_image->y0, 4); /* Y0siz */ in opj_j2k_read_siz()
2098 p_header_data += 4; in opj_j2k_read_siz()
2099 opj_read_bytes(p_header_data, (OPJ_UINT32*) &l_cp->tdx, in opj_j2k_read_siz()
2101 p_header_data += 4; in opj_j2k_read_siz()
2102 opj_read_bytes(p_header_data, (OPJ_UINT32*) &l_cp->tdy, in opj_j2k_read_siz()
2104 p_header_data += 4; in opj_j2k_read_siz()
2105 opj_read_bytes(p_header_data, (OPJ_UINT32*) &l_cp->tx0, in opj_j2k_read_siz()
2107 p_header_data += 4; in opj_j2k_read_siz()
2108 opj_read_bytes(p_header_data, (OPJ_UINT32*) &l_cp->ty0, in opj_j2k_read_siz()
2110 p_header_data += 4; in opj_j2k_read_siz()
2111 opj_read_bytes(p_header_data, (OPJ_UINT32*) &l_tmp, in opj_j2k_read_siz()
2113 p_header_data += 2; in opj_j2k_read_siz()
2228 opj_read_bytes(p_header_data, &tmp, 1); /* Ssiz_i */ in opj_j2k_read_siz()
2229 ++p_header_data; in opj_j2k_read_siz()
2246 opj_read_bytes(p_header_data, &tmp, 1); /* XRsiz_i */ in opj_j2k_read_siz()
2247 ++p_header_data; in opj_j2k_read_siz()
2249 opj_read_bytes(p_header_data, &tmp, 1); /* YRsiz_i */ in opj_j2k_read_siz()
2250 ++p_header_data; in opj_j2k_read_siz()
2530 OPJ_BYTE * p_header_data, in opj_j2k_read_com() argument
2538 assert(p_header_data != 00); in opj_j2k_read_com()
2541 OPJ_UNUSED(p_header_data); in opj_j2k_read_com()
2632 OPJ_BYTE * p_header_data, in opj_j2k_read_cod() argument
2645 assert(p_header_data != 00); in opj_j2k_read_cod()
2676 opj_read_bytes(p_header_data, &l_tcp->csty, 1); /* Scod */ in opj_j2k_read_cod()
2677 ++p_header_data; in opj_j2k_read_cod()
2684 opj_read_bytes(p_header_data, &l_tmp, 1); /* SGcod (A) */ in opj_j2k_read_cod()
2685 ++p_header_data; in opj_j2k_read_cod()
2693 opj_read_bytes(p_header_data, &l_tcp->numlayers, 2); /* SGcod (B) */ in opj_j2k_read_cod()
2694 p_header_data += 2; in opj_j2k_read_cod()
2710 opj_read_bytes(p_header_data, &l_tcp->mct, 1); /* SGcod (C) */ in opj_j2k_read_cod()
2711 ++p_header_data; in opj_j2k_read_cod()
2718 if (! opj_j2k_read_SPCod_SPCoc(p_j2k, 0, p_header_data, &p_header_size, in opj_j2k_read_cod()
2903 OPJ_BYTE * p_header_data, in opj_j2k_read_coc() argument
2915 assert(p_header_data != 00); in opj_j2k_read_coc()
2935 opj_read_bytes(p_header_data, &l_comp_no, in opj_j2k_read_coc()
2937 p_header_data += l_comp_room; in opj_j2k_read_coc()
2944 opj_read_bytes(p_header_data, &l_tcp->tccps[l_comp_no].csty, in opj_j2k_read_coc()
2946 ++p_header_data ; in opj_j2k_read_coc()
2948 if (! opj_j2k_read_SPCod_SPCoc(p_j2k, l_comp_no, p_header_data, &p_header_size, in opj_j2k_read_coc()
3030 OPJ_BYTE * p_header_data, in opj_j2k_read_qcd() argument
3036 assert(p_header_data != 00); in opj_j2k_read_qcd()
3040 if (! opj_j2k_read_SQcd_SQcc(p_j2k, 0, p_header_data, &p_header_size, in opj_j2k_read_qcd()
3172 OPJ_BYTE * p_header_data, in opj_j2k_read_qcc() argument
3180 assert(p_header_data != 00); in opj_j2k_read_qcc()
3191 opj_read_bytes(p_header_data, &l_comp_no, 1); in opj_j2k_read_qcc()
3192 ++p_header_data; in opj_j2k_read_qcc()
3199 opj_read_bytes(p_header_data, &l_comp_no, 2); in opj_j2k_read_qcc()
3200 p_header_data += 2; in opj_j2k_read_qcc()
3237 if (! opj_j2k_read_SQcd_SQcc(p_j2k, l_comp_no, p_header_data, &p_header_size, in opj_j2k_read_qcc()
3465 OPJ_BYTE * p_header_data, in opj_j2k_read_poc() argument
3480 assert(p_header_data != 00); in opj_j2k_read_poc()
3517 opj_read_bytes(p_header_data, &(l_current_poc->resno0), in opj_j2k_read_poc()
3519 ++p_header_data; in opj_j2k_read_poc()
3520 opj_read_bytes(p_header_data, &(l_current_poc->compno0), in opj_j2k_read_poc()
3522 p_header_data += l_comp_room; in opj_j2k_read_poc()
3523 opj_read_bytes(p_header_data, &(l_current_poc->layno1), in opj_j2k_read_poc()
3527 p_header_data += 2; in opj_j2k_read_poc()
3528 opj_read_bytes(p_header_data, &(l_current_poc->resno1), in opj_j2k_read_poc()
3530 ++p_header_data; in opj_j2k_read_poc()
3531 opj_read_bytes(p_header_data, &(l_current_poc->compno1), in opj_j2k_read_poc()
3533 p_header_data += l_comp_room; in opj_j2k_read_poc()
3534 opj_read_bytes(p_header_data, &l_tmp, in opj_j2k_read_poc()
3536 ++p_header_data; in opj_j2k_read_poc()
3556 OPJ_BYTE * p_header_data, in opj_j2k_read_crg() argument
3563 assert(p_header_data != 00); in opj_j2k_read_crg()
3567 OPJ_UNUSED(p_header_data); in opj_j2k_read_crg()
3598 OPJ_BYTE * p_header_data, in opj_j2k_read_tlm() argument
3606 assert(p_header_data != 00); in opj_j2k_read_tlm()
3618 opj_read_bytes(p_header_data, &l_Ztlm, in opj_j2k_read_tlm()
3620 ++p_header_data; in opj_j2k_read_tlm()
3621 opj_read_bytes(p_header_data, &l_Stlm, in opj_j2k_read_tlm()
3623 ++p_header_data; in opj_j2k_read_tlm()
3659 OPJ_BYTE * p_header_data, in opj_j2k_read_plm() argument
3665 assert(p_header_data != 00); in opj_j2k_read_plm()
3670 OPJ_UNUSED(p_header_data); in opj_j2k_read_plm()
3732 OPJ_BYTE * p_header_data, in opj_j2k_read_plt() argument
3740 assert(p_header_data != 00); in opj_j2k_read_plt()
3751 opj_read_bytes(p_header_data, &l_Zplt, 1); /* Zplt */ in opj_j2k_read_plt()
3752 ++p_header_data; in opj_j2k_read_plt()
3756 opj_read_bytes(p_header_data, &l_tmp, 1); /* Iplt_ij */ in opj_j2k_read_plt()
3757 ++p_header_data; in opj_j2k_read_plt()
3787 OPJ_BYTE * p_header_data, in opj_j2k_read_ppm() argument
3795 assert(p_header_data != 00); in opj_j2k_read_ppm()
3808 opj_read_bytes(p_header_data, &l_Z_ppm, 1); /* Z_ppm */ in opj_j2k_read_ppm()
3809 ++p_header_data; in opj_j2k_read_ppm()
3852 memcpy(l_cp->ppm_markers[l_Z_ppm].m_data, p_header_data, p_header_size); in opj_j2k_read_ppm()
4004 OPJ_BYTE * p_header_data, in opj_j2k_read_ppt() argument
4014 assert(p_header_data != 00); in opj_j2k_read_ppt()
4034 opj_read_bytes(p_header_data, &l_Z_ppt, 1); /* Z_ppt */ in opj_j2k_read_ppt()
4035 ++p_header_data; in opj_j2k_read_ppt()
4078 memcpy(l_tcp->ppt_markers[l_Z_ppt].m_data, p_header_data, p_header_size); in opj_j2k_read_ppt()
4262 static OPJ_BOOL opj_j2k_get_sot_values(OPJ_BYTE * p_header_data, in opj_j2k_get_sot_values() argument
4271 assert(p_header_data != 00); in opj_j2k_get_sot_values()
4280 opj_read_bytes(p_header_data, p_tile_no, 2); /* Isot */ in opj_j2k_get_sot_values()
4281 p_header_data += 2; in opj_j2k_get_sot_values()
4282 opj_read_bytes(p_header_data, p_tot_len, 4); /* Psot */ in opj_j2k_get_sot_values()
4283 p_header_data += 4; in opj_j2k_get_sot_values()
4284 opj_read_bytes(p_header_data, p_current_part, 1); /* TPsot */ in opj_j2k_get_sot_values()
4285 ++p_header_data; in opj_j2k_get_sot_values()
4286 opj_read_bytes(p_header_data, p_num_parts, 1); /* TNsot */ in opj_j2k_get_sot_values()
4287 ++p_header_data; in opj_j2k_get_sot_values()
4292 OPJ_BYTE * p_header_data, in opj_j2k_read_sot() argument
4307 if (! opj_j2k_get_sot_values(p_header_data, p_header_size, in opj_j2k_read_sot()
4947 OPJ_BYTE * p_header_data, in opj_j2k_read_rgn() argument
4960 assert(p_header_data != 00); in opj_j2k_read_rgn()
4983 opj_read_bytes(p_header_data, &l_comp_no, l_comp_room); /* Crgn */ in opj_j2k_read_rgn()
4984 p_header_data += l_comp_room; in opj_j2k_read_rgn()
4985 opj_read_bytes(p_header_data, &l_roi_sty, in opj_j2k_read_rgn()
4987 ++p_header_data; in opj_j2k_read_rgn()
5012 opj_read_bytes(p_header_data, in opj_j2k_read_rgn()
5014 ++p_header_data; in opj_j2k_read_rgn()
5583 OPJ_BYTE * p_header_data, in opj_j2k_read_mct() argument
5596 assert(p_header_data != 00); in opj_j2k_read_mct()
5609 opj_read_bytes(p_header_data, &l_tmp, 2); /* Zmct */ in opj_j2k_read_mct()
5610 p_header_data += 2; in opj_j2k_read_mct()
5623 opj_read_bytes(p_header_data, &l_tmp, 2); /* Imct */ in opj_j2k_read_mct()
5624 p_header_data += 2; in opj_j2k_read_mct()
5694 opj_read_bytes(p_header_data, &l_tmp, 2); /* Ymct */ in opj_j2k_read_mct()
5695 p_header_data += 2; in opj_j2k_read_mct()
5709 memcpy(l_mct_data->m_data, p_header_data, p_header_size); in opj_j2k_read_mct()
5835 OPJ_BYTE * p_header_data, in opj_j2k_read_mcc() argument
5851 assert(p_header_data != 00); in opj_j2k_read_mcc()
5865 opj_read_bytes(p_header_data, &l_tmp, 2); /* Zmcc */ in opj_j2k_read_mcc()
5866 p_header_data += 2; in opj_j2k_read_mcc()
5878 opj_read_bytes(p_header_data, &l_indix, in opj_j2k_read_mcc()
5880 ++p_header_data; in opj_j2k_read_mcc()
5919 opj_read_bytes(p_header_data, &l_tmp, 2); /* Ymcc */ in opj_j2k_read_mcc()
5920 p_header_data += 2; in opj_j2k_read_mcc()
5927 opj_read_bytes(p_header_data, &l_nb_collections, in opj_j2k_read_mcc()
5929 p_header_data += 2; in opj_j2k_read_mcc()
5945 opj_read_bytes(p_header_data, &l_tmp, in opj_j2k_read_mcc()
5947 ++p_header_data; in opj_j2k_read_mcc()
5955 opj_read_bytes(p_header_data, &l_nb_comps, 2); in opj_j2k_read_mcc()
5957 p_header_data += 2; in opj_j2k_read_mcc()
5971 opj_read_bytes(p_header_data, &l_tmp, in opj_j2k_read_mcc()
5973 p_header_data += l_nb_bytes_by_comp; in opj_j2k_read_mcc()
5982 opj_read_bytes(p_header_data, &l_nb_comps, 2); in opj_j2k_read_mcc()
5983 p_header_data += 2; in opj_j2k_read_mcc()
6002 opj_read_bytes(p_header_data, &l_tmp, in opj_j2k_read_mcc()
6004 p_header_data += l_nb_bytes_by_comp; in opj_j2k_read_mcc()
6013 opj_read_bytes(p_header_data, &l_tmp, 3); /* Wmccij Component offset*/ in opj_j2k_read_mcc()
6014 p_header_data += 3; in opj_j2k_read_mcc()
6139 OPJ_BYTE * p_header_data, in opj_j2k_read_mco() argument
6151 assert(p_header_data != 00); in opj_j2k_read_mco()
6165 opj_read_bytes(p_header_data, &l_nb_stages, in opj_j2k_read_mco()
6167 ++p_header_data; in opj_j2k_read_mco()
6193 opj_read_bytes(p_header_data, &l_tmp, 1); in opj_j2k_read_mco()
6194 ++p_header_data; in opj_j2k_read_mco()
6361 OPJ_BYTE * p_header_data, in opj_j2k_read_cbd() argument
6372 assert(p_header_data != 00); in opj_j2k_read_cbd()
6383 opj_read_bytes(p_header_data, &l_nb_comp, in opj_j2k_read_cbd()
6385 p_header_data += 2; in opj_j2k_read_cbd()
6394 opj_read_bytes(p_header_data, &l_comp_def, in opj_j2k_read_cbd()
6396 ++p_header_data; in opj_j2k_read_cbd()
9725 OPJ_BYTE * p_header_data, in opj_j2k_read_SPCod_SPCoc() argument
9738 assert(p_header_data != 00); in opj_j2k_read_SPCod_SPCoc()
9753 l_current_ptr = p_header_data; in opj_j2k_read_SPCod_SPCoc()
10058 OPJ_BYTE* p_header_data, in opj_j2k_read_SQcd_SQcc() argument
10074 assert(p_header_data != 00); in opj_j2k_read_SQcd_SQcc()
10089 l_current_ptr = p_header_data; in opj_j2k_read_SQcd_SQcc()