Lines Matching refs:p_header_data

257                                             OPJ_BYTE * p_header_data,
309 OPJ_BYTE * p_header_data,
438 OPJ_BYTE * p_header_data,
461 OPJ_BYTE * p_header_data,
483 OPJ_BYTE * p_header_data,
534 OPJ_BYTE * p_header_data,
557 OPJ_BYTE * p_header_data,
605 OPJ_BYTE * p_header_data,
644 OPJ_BYTE * p_header_data,
669 OPJ_BYTE * p_header_data,
681 OPJ_BYTE * p_header_data,
705 OPJ_BYTE * p_header_data,
717 OPJ_BYTE * p_header_data,
732 OPJ_BYTE * p_header_data,
753 OPJ_BYTE * p_header_data,
806 static OPJ_BOOL opj_j2k_get_sot_values(OPJ_BYTE * p_header_data,
822 OPJ_BYTE * p_header_data,
890 OPJ_BYTE * p_header_data,
995 OPJ_BYTE * p_header_data,
1021 OPJ_BYTE * p_header_data,
1045 OPJ_BYTE * p_header_data,
1096 OPJ_BYTE * p_header_data,
1289 OPJ_BYTE * p_header_data,
1955 OPJ_BYTE * p_header_data, in opj_j2k_read_siz() argument
1974 assert(p_header_data != 00); in opj_j2k_read_siz()
1993 …opj_read_bytes(p_header_data,&l_tmp ,2); /* Rsiz (c… in opj_j2k_read_siz()
1994 p_header_data+=2; in opj_j2k_read_siz()
1996 opj_read_bytes(p_header_data, (OPJ_UINT32*) &l_image->x1, 4); /* Xsiz */ in opj_j2k_read_siz()
1997 p_header_data+=4; in opj_j2k_read_siz()
1998 opj_read_bytes(p_header_data, (OPJ_UINT32*) &l_image->y1, 4); /* Ysiz */ in opj_j2k_read_siz()
1999 p_header_data+=4; in opj_j2k_read_siz()
2000 opj_read_bytes(p_header_data, (OPJ_UINT32*) &l_image->x0, 4); /* X0siz */ in opj_j2k_read_siz()
2001 p_header_data+=4; in opj_j2k_read_siz()
2002 opj_read_bytes(p_header_data, (OPJ_UINT32*) &l_image->y0, 4); /* Y0siz */ in opj_j2k_read_siz()
2003 p_header_data+=4; in opj_j2k_read_siz()
2004 opj_read_bytes(p_header_data, (OPJ_UINT32*) &l_cp->tdx, 4); /* XTsiz */ in opj_j2k_read_siz()
2005 p_header_data+=4; in opj_j2k_read_siz()
2006 opj_read_bytes(p_header_data, (OPJ_UINT32*) &l_cp->tdy, 4); /* YTsiz */ in opj_j2k_read_siz()
2007 p_header_data+=4; in opj_j2k_read_siz()
2008 opj_read_bytes(p_header_data, (OPJ_UINT32*) &l_cp->tx0, 4); /* XT0siz */ in opj_j2k_read_siz()
2009 p_header_data+=4; in opj_j2k_read_siz()
2010 opj_read_bytes(p_header_data, (OPJ_UINT32*) &l_cp->ty0, 4); /* YT0siz */ in opj_j2k_read_siz()
2011 p_header_data+=4; in opj_j2k_read_siz()
2012 opj_read_bytes(p_header_data, (OPJ_UINT32*) &l_tmp, 2); /* Csiz */ in opj_j2k_read_siz()
2013 p_header_data+=2; in opj_j2k_read_siz()
2107 opj_read_bytes(p_header_data,&tmp,1); /* Ssiz_i */ in opj_j2k_read_siz()
2108 ++p_header_data; in opj_j2k_read_siz()
2111 opj_read_bytes(p_header_data,&tmp,1); /* XRsiz_i */ in opj_j2k_read_siz()
2112 ++p_header_data; in opj_j2k_read_siz()
2114 opj_read_bytes(p_header_data,&tmp,1); /* YRsiz_i */ in opj_j2k_read_siz()
2115 ++p_header_data; in opj_j2k_read_siz()
2354 OPJ_BYTE * p_header_data, in opj_j2k_read_com() argument
2362 assert(p_header_data != 00); in opj_j2k_read_com()
2447 OPJ_BYTE * p_header_data, in opj_j2k_read_cod() argument
2460 assert(p_header_data != 00); in opj_j2k_read_cod()
2485 opj_read_bytes(p_header_data,&l_tcp->csty,1); /* Scod */ in opj_j2k_read_cod()
2486 ++p_header_data; in opj_j2k_read_cod()
2492 opj_read_bytes(p_header_data,&l_tmp,1); /* SGcod (A) */ in opj_j2k_read_cod()
2493 ++p_header_data; in opj_j2k_read_cod()
2500 opj_read_bytes(p_header_data,&l_tcp->numlayers,2); /* SGcod (B) */ in opj_j2k_read_cod()
2501 p_header_data+=2; in opj_j2k_read_cod()
2516 opj_read_bytes(p_header_data,&l_tcp->mct,1); /* SGcod (C) */ in opj_j2k_read_cod()
2517 ++p_header_data; in opj_j2k_read_cod()
2524 if (! opj_j2k_read_SPCod_SPCoc(p_j2k,0,p_header_data,&p_header_size,p_manager)) { in opj_j2k_read_cod()
2676 OPJ_BYTE * p_header_data, in opj_j2k_read_coc() argument
2688 assert(p_header_data != 00); in opj_j2k_read_coc()
2707 opj_read_bytes(p_header_data,&l_comp_no,l_comp_room); /* Ccoc */ in opj_j2k_read_coc()
2708 p_header_data += l_comp_room; in opj_j2k_read_coc()
2714 opj_read_bytes(p_header_data,&l_tcp->tccps[l_comp_no].csty,1); /* Scoc */ in opj_j2k_read_coc()
2715 ++p_header_data ; in opj_j2k_read_coc()
2717 if (! opj_j2k_read_SPCod_SPCoc(p_j2k,l_comp_no,p_header_data,&p_header_size,p_manager)) { in opj_j2k_read_coc()
2793 OPJ_BYTE * p_header_data, in opj_j2k_read_qcd() argument
2799 assert(p_header_data != 00); in opj_j2k_read_qcd()
2803 if (! opj_j2k_read_SQcd_SQcc(p_j2k,0,p_header_data,&p_header_size,p_manager)) { in opj_j2k_read_qcd()
2924 OPJ_BYTE * p_header_data, in opj_j2k_read_qcc() argument
2932 assert(p_header_data != 00); in opj_j2k_read_qcc()
2943 opj_read_bytes(p_header_data,&l_comp_no,1); in opj_j2k_read_qcc()
2944 ++p_header_data; in opj_j2k_read_qcc()
2952 opj_read_bytes(p_header_data,&l_comp_no,2); in opj_j2k_read_qcc()
2953 p_header_data+=2; in opj_j2k_read_qcc()
2990 if (! opj_j2k_read_SQcd_SQcc(p_j2k,l_comp_no,p_header_data,&p_header_size,p_manager)) { in opj_j2k_read_qcc()
3201 OPJ_BYTE * p_header_data, in opj_j2k_read_poc() argument
3216 assert(p_header_data != 00); in opj_j2k_read_poc()
3256 …opj_read_bytes(p_header_data,&(l_current_poc->resno0),1); /* RSpoc_i… in opj_j2k_read_poc()
3257 ++p_header_data; in opj_j2k_read_poc()
3258 … opj_read_bytes(p_header_data,&(l_current_poc->compno0),l_comp_room); /* CSpoc_i */ in opj_j2k_read_poc()
3259 p_header_data+=l_comp_room; in opj_j2k_read_poc()
3260 …opj_read_bytes(p_header_data,&(l_current_poc->layno1),2); /* LYEpoc_… in opj_j2k_read_poc()
3263 p_header_data+=2; in opj_j2k_read_poc()
3264 …opj_read_bytes(p_header_data,&(l_current_poc->resno1),1); /* REpoc_i… in opj_j2k_read_poc()
3265 ++p_header_data; in opj_j2k_read_poc()
3266 … opj_read_bytes(p_header_data,&(l_current_poc->compno1),l_comp_room); /* CEpoc_i */ in opj_j2k_read_poc()
3267 p_header_data+=l_comp_room; in opj_j2k_read_poc()
3268 …opj_read_bytes(p_header_data,&l_tmp,1); … in opj_j2k_read_poc()
3269 ++p_header_data; in opj_j2k_read_poc()
3289 OPJ_BYTE * p_header_data, in opj_j2k_read_crg() argument
3296 assert(p_header_data != 00); in opj_j2k_read_crg()
3329 OPJ_BYTE * p_header_data, in opj_j2k_read_tlm() argument
3336 assert(p_header_data != 00); in opj_j2k_read_tlm()
3346 opj_read_bytes(p_header_data,&l_Ztlm,1); /* Ztlm */ in opj_j2k_read_tlm()
3347 ++p_header_data; in opj_j2k_read_tlm()
3348 opj_read_bytes(p_header_data,&l_Stlm,1); /* Stlm */ in opj_j2k_read_tlm()
3349 ++p_header_data; in opj_j2k_read_tlm()
3385 OPJ_BYTE * p_header_data, in opj_j2k_read_plm() argument
3391 assert(p_header_data != 00); in opj_j2k_read_plm()
3455 OPJ_BYTE * p_header_data, in opj_j2k_read_plt() argument
3463 assert(p_header_data != 00); in opj_j2k_read_plt()
3472 opj_read_bytes(p_header_data,&l_Zplt,1); /* Zplt */ in opj_j2k_read_plt()
3473 ++p_header_data; in opj_j2k_read_plt()
3477 opj_read_bytes(p_header_data,&l_tmp,1); /* Iplt_ij */ in opj_j2k_read_plt()
3478 ++p_header_data; in opj_j2k_read_plt()
3509 OPJ_BYTE * p_header_data, in opj_j2k_read_ppm() argument
3517 assert(p_header_data != 00); in opj_j2k_read_ppm()
3530 opj_read_bytes(p_header_data,&l_Z_ppm,1); /* Z_ppm */ in opj_j2k_read_ppm()
3531 ++p_header_data; in opj_j2k_read_ppm()
3572 memcpy(l_cp->ppm_markers[l_Z_ppm].m_data, p_header_data, p_header_size); in opj_j2k_read_ppm()
3723 OPJ_BYTE * p_header_data, in opj_j2k_read_ppt() argument
3733 assert(p_header_data != 00); in opj_j2k_read_ppt()
3752 opj_read_bytes(p_header_data,&l_Z_ppt,1); /* Z_ppt */ in opj_j2k_read_ppt()
3753 ++p_header_data; in opj_j2k_read_ppt()
3794 memcpy(l_tcp->ppt_markers[l_Z_ppt].m_data, p_header_data, p_header_size); in opj_j2k_read_ppt()
3946 static OPJ_BOOL opj_j2k_get_sot_values(OPJ_BYTE * p_header_data, in opj_j2k_get_sot_values() argument
3955 assert(p_header_data != 00); in opj_j2k_get_sot_values()
3964 opj_read_bytes(p_header_data,p_tile_no,2); /* Isot */ in opj_j2k_get_sot_values()
3965 p_header_data+=2; in opj_j2k_get_sot_values()
3966 opj_read_bytes(p_header_data,p_tot_len,4); /* Psot */ in opj_j2k_get_sot_values()
3967 p_header_data+=4; in opj_j2k_get_sot_values()
3968 opj_read_bytes(p_header_data,p_current_part,1); /* TPsot */ in opj_j2k_get_sot_values()
3969 ++p_header_data; in opj_j2k_get_sot_values()
3970 opj_read_bytes(p_header_data,p_num_parts ,1); /* TNsot */ in opj_j2k_get_sot_values()
3971 ++p_header_data; in opj_j2k_get_sot_values()
3976 OPJ_BYTE * p_header_data, in opj_j2k_read_sot() argument
3991 …if (! opj_j2k_get_sot_values(p_header_data, p_header_size, &(p_j2k->m_current_tile_number), &l_tot… in opj_j2k_read_sot()
4524 OPJ_BYTE * p_header_data, in opj_j2k_read_rgn() argument
4537 assert(p_header_data != 00); in opj_j2k_read_rgn()
4559 opj_read_bytes(p_header_data,&l_comp_no,l_comp_room); /* Crgn */ in opj_j2k_read_rgn()
4560 p_header_data+=l_comp_room; in opj_j2k_read_rgn()
4561 opj_read_bytes(p_header_data,&l_roi_sty,1); /* Srgn */ in opj_j2k_read_rgn()
4562 ++p_header_data; in opj_j2k_read_rgn()
4587 …opj_read_bytes(p_header_data,(OPJ_UINT32 *) (&(l_tcp->tccps[l_comp_no].roishift)),1); /* SPrgn */ in opj_j2k_read_rgn()
4588 ++p_header_data; in opj_j2k_read_rgn()
5122 OPJ_BYTE * p_header_data, in opj_j2k_read_mct() argument
5134 assert(p_header_data != 00); in opj_j2k_read_mct()
5147 opj_read_bytes(p_header_data,&l_tmp,2); /* Zmct */ in opj_j2k_read_mct()
5148 p_header_data += 2; in opj_j2k_read_mct()
5160 opj_read_bytes(p_header_data,&l_tmp,2); /* Imct */ in opj_j2k_read_mct()
5161 p_header_data += 2; in opj_j2k_read_mct()
5206 opj_read_bytes(p_header_data,&l_tmp,2); /* Ymct */ in opj_j2k_read_mct()
5207 p_header_data+=2; in opj_j2k_read_mct()
5220 memcpy(l_mct_data->m_data,p_header_data,p_header_size); in opj_j2k_read_mct()
5331 OPJ_BYTE * p_header_data, in opj_j2k_read_mcc() argument
5347 assert(p_header_data != 00); in opj_j2k_read_mcc()
5361 opj_read_bytes(p_header_data,&l_tmp,2); /* Zmcc */ in opj_j2k_read_mcc()
5362 p_header_data += 2; in opj_j2k_read_mcc()
5373 … opj_read_bytes(p_header_data,&l_indix,1); /* Imcc -> no need for other values, take the first */ in opj_j2k_read_mcc()
5374 ++p_header_data; in opj_j2k_read_mcc()
5411 opj_read_bytes(p_header_data,&l_tmp,2); /* Ymcc */ in opj_j2k_read_mcc()
5412 p_header_data+=2; in opj_j2k_read_mcc()
5418 …opj_read_bytes(p_header_data,&l_nb_collections,2); /* Qmcc -> number … in opj_j2k_read_mcc()
5419 p_header_data+=2; in opj_j2k_read_mcc()
5434 …opj_read_bytes(p_header_data,&l_tmp,1); /* Xmcci type of component transformation -> array based d… in opj_j2k_read_mcc()
5435 ++p_header_data; in opj_j2k_read_mcc()
5442 opj_read_bytes(p_header_data,&l_nb_comps,2); in opj_j2k_read_mcc()
5444 p_header_data+=2; in opj_j2k_read_mcc()
5458 … opj_read_bytes(p_header_data,&l_tmp,l_nb_bytes_by_comp); /* Cmccij Component offset*/ in opj_j2k_read_mcc()
5459 p_header_data+=l_nb_bytes_by_comp; in opj_j2k_read_mcc()
5467 opj_read_bytes(p_header_data,&l_nb_comps,2); in opj_j2k_read_mcc()
5468 p_header_data+=2; in opj_j2k_read_mcc()
5486 … opj_read_bytes(p_header_data,&l_tmp,l_nb_bytes_by_comp); /* Wmccij Component offset*/ in opj_j2k_read_mcc()
5487 p_header_data+=l_nb_bytes_by_comp; in opj_j2k_read_mcc()
5495 opj_read_bytes(p_header_data,&l_tmp,3); /* Wmccij Component offset*/ in opj_j2k_read_mcc()
5496 p_header_data += 3; in opj_j2k_read_mcc()
5616 OPJ_BYTE * p_header_data, in opj_j2k_read_mco() argument
5628 assert(p_header_data != 00); in opj_j2k_read_mco()
5642 …opj_read_bytes(p_header_data,&l_nb_stages,1); /* Nmco : only one transfo… in opj_j2k_read_mco()
5643 ++p_header_data; in opj_j2k_read_mco()
5668 opj_read_bytes(p_header_data,&l_tmp,1); in opj_j2k_read_mco()
5669 ++p_header_data; in opj_j2k_read_mco()
5827 OPJ_BYTE * p_header_data, in opj_j2k_read_cbd() argument
5838 assert(p_header_data != 00); in opj_j2k_read_cbd()
5849 opj_read_bytes(p_header_data,&l_nb_comp,2); /* Ncbd */ in opj_j2k_read_cbd()
5850 p_header_data+=2; in opj_j2k_read_cbd()
5859 … opj_read_bytes(p_header_data,&l_comp_def,1); /* Component bit depth */ in opj_j2k_read_cbd()
5860 ++p_header_data; in opj_j2k_read_cbd()
8720 OPJ_BYTE * p_header_data, in opj_j2k_read_SPCod_SPCoc() argument
8733 assert(p_header_data != 00); in opj_j2k_read_SPCod_SPCoc()
8744 l_current_ptr = p_header_data; in opj_j2k_read_SPCod_SPCoc()
8980 OPJ_BYTE* p_header_data, in opj_j2k_read_SQcd_SQcc() argument
8996 assert(p_header_data != 00); in opj_j2k_read_SQcd_SQcc()
9008 l_current_ptr = p_header_data; in opj_j2k_read_SQcd_SQcc()