• Home
  • Raw
  • Download

Lines Matching refs:l_current_data

2555     OPJ_BYTE * l_current_data = 00;  in opj_j2k_write_cod()  local
2582 l_current_data = p_j2k->m_specific_param.m_encoder.m_header_tile_data; in opj_j2k_write_cod()
2584 opj_write_bytes(l_current_data, J2K_MS_COD, 2); /* COD */ in opj_j2k_write_cod()
2585 l_current_data += 2; in opj_j2k_write_cod()
2587 opj_write_bytes(l_current_data, l_code_size - 2, 2); /* L_COD */ in opj_j2k_write_cod()
2588 l_current_data += 2; in opj_j2k_write_cod()
2590 opj_write_bytes(l_current_data, l_tcp->csty, 1); /* Scod */ in opj_j2k_write_cod()
2591 ++l_current_data; in opj_j2k_write_cod()
2593 opj_write_bytes(l_current_data, (OPJ_UINT32)l_tcp->prg, 1); /* SGcod (A) */ in opj_j2k_write_cod()
2594 ++l_current_data; in opj_j2k_write_cod()
2596 opj_write_bytes(l_current_data, l_tcp->numlayers, 2); /* SGcod (B) */ in opj_j2k_write_cod()
2597 l_current_data += 2; in opj_j2k_write_cod()
2599 opj_write_bytes(l_current_data, l_tcp->mct, 1); /* SGcod (C) */ in opj_j2k_write_cod()
2600 ++l_current_data; in opj_j2k_write_cod()
2605 l_current_data, &l_remaining_size, p_manager)) { in opj_j2k_write_cod()
2834 OPJ_BYTE * l_current_data = 00; in opj_j2k_write_coc_in_memory() local
2851 l_current_data = p_data; in opj_j2k_write_coc_in_memory()
2853 opj_write_bytes(l_current_data, J2K_MS_COC, in opj_j2k_write_coc_in_memory()
2855 l_current_data += 2; in opj_j2k_write_coc_in_memory()
2857 opj_write_bytes(l_current_data, l_coc_size - 2, in opj_j2k_write_coc_in_memory()
2859 l_current_data += 2; in opj_j2k_write_coc_in_memory()
2861 opj_write_bytes(l_current_data, p_comp_no, l_comp_room); /* Ccoc */ in opj_j2k_write_coc_in_memory()
2862 l_current_data += l_comp_room; in opj_j2k_write_coc_in_memory()
2864 opj_write_bytes(l_current_data, l_tcp->tccps[p_comp_no].csty, in opj_j2k_write_coc_in_memory()
2866 ++l_current_data; in opj_j2k_write_coc_in_memory()
2870 l_current_data, &l_remaining_size, p_manager); in opj_j2k_write_coc_in_memory()
2967 OPJ_BYTE * l_current_data = 00; in opj_j2k_write_qcd() local
2992 l_current_data = p_j2k->m_specific_param.m_encoder.m_header_tile_data; in opj_j2k_write_qcd()
2994 opj_write_bytes(l_current_data, J2K_MS_QCD, 2); /* QCD */ in opj_j2k_write_qcd()
2995 l_current_data += 2; in opj_j2k_write_qcd()
2997 opj_write_bytes(l_current_data, l_qcd_size - 2, 2); /* L_QCD */ in opj_j2k_write_qcd()
2998 l_current_data += 2; in opj_j2k_write_qcd()
3003 l_current_data, &l_remaining_size, p_manager)) { in opj_j2k_write_qcd()
3117 OPJ_BYTE * l_current_data = 00; in opj_j2k_write_qcc_in_memory() local
3127 l_current_data = p_data; in opj_j2k_write_qcc_in_memory()
3129 opj_write_bytes(l_current_data, J2K_MS_QCC, 2); /* QCC */ in opj_j2k_write_qcc_in_memory()
3130 l_current_data += 2; in opj_j2k_write_qcc_in_memory()
3135 opj_write_bytes(l_current_data, l_qcc_size - 2, 2); /* L_QCC */ in opj_j2k_write_qcc_in_memory()
3136 l_current_data += 2; in opj_j2k_write_qcc_in_memory()
3138 opj_write_bytes(l_current_data, p_comp_no, 1); /* Cqcc */ in opj_j2k_write_qcc_in_memory()
3139 ++l_current_data; in opj_j2k_write_qcc_in_memory()
3144 opj_write_bytes(l_current_data, l_qcc_size - 2, 2); /* L_QCC */ in opj_j2k_write_qcc_in_memory()
3145 l_current_data += 2; in opj_j2k_write_qcc_in_memory()
3147 opj_write_bytes(l_current_data, p_comp_no, 2); /* Cqcc */ in opj_j2k_write_qcc_in_memory()
3148 l_current_data += 2; in opj_j2k_write_qcc_in_memory()
3154 l_current_data, &l_remaining_size, p_manager); in opj_j2k_write_qcc_in_memory()
3313 OPJ_BYTE * l_current_data = 00; in opj_j2k_write_poc_in_memory() local
3343 l_current_data = p_data; in opj_j2k_write_poc_in_memory()
3345 opj_write_bytes(l_current_data, J2K_MS_POC, in opj_j2k_write_poc_in_memory()
3347 l_current_data += 2; in opj_j2k_write_poc_in_memory()
3349 opj_write_bytes(l_current_data, l_poc_size - 2, in opj_j2k_write_poc_in_memory()
3351 l_current_data += 2; in opj_j2k_write_poc_in_memory()
3355 opj_write_bytes(l_current_data, l_current_poc->resno0, in opj_j2k_write_poc_in_memory()
3357 ++l_current_data; in opj_j2k_write_poc_in_memory()
3359 opj_write_bytes(l_current_data, l_current_poc->compno0, in opj_j2k_write_poc_in_memory()
3361 l_current_data += l_poc_room; in opj_j2k_write_poc_in_memory()
3363 opj_write_bytes(l_current_data, l_current_poc->layno1, in opj_j2k_write_poc_in_memory()
3365 l_current_data += 2; in opj_j2k_write_poc_in_memory()
3367 opj_write_bytes(l_current_data, l_current_poc->resno1, in opj_j2k_write_poc_in_memory()
3369 ++l_current_data; in opj_j2k_write_poc_in_memory()
3371 opj_write_bytes(l_current_data, l_current_poc->compno1, in opj_j2k_write_poc_in_memory()
3373 l_current_data += l_poc_room; in opj_j2k_write_poc_in_memory()
3375 opj_write_bytes(l_current_data, (OPJ_UINT32)l_current_poc->prg, in opj_j2k_write_poc_in_memory()
3377 ++l_current_data; in opj_j2k_write_poc_in_memory()
4146 OPJ_BYTE * l_current_data = 00; in opj_j2k_write_tlm() local
4170 l_current_data = p_j2k->m_specific_param.m_encoder.m_header_tile_data; in opj_j2k_write_tlm()
4176 opj_write_bytes(l_current_data, J2K_MS_TLM, in opj_j2k_write_tlm()
4178 l_current_data += 2; in opj_j2k_write_tlm()
4180 opj_write_bytes(l_current_data, l_tlm_size - 2, in opj_j2k_write_tlm()
4182 l_current_data += 2; in opj_j2k_write_tlm()
4184 opj_write_bytes(l_current_data, 0, in opj_j2k_write_tlm()
4186 ++l_current_data; in opj_j2k_write_tlm()
4188 opj_write_bytes(l_current_data, 0x50, in opj_j2k_write_tlm()
4190 ++l_current_data; in opj_j2k_write_tlm()
4706 OPJ_BYTE ** l_current_data = 00; in opj_j2k_read_sod() local
4734 l_current_data = &(l_tcp->m_data); in opj_j2k_read_sod()
4757 if (! *l_current_data) { in opj_j2k_read_sod()
4761 *l_current_data = (OPJ_BYTE*) opj_malloc( in opj_j2k_read_sod()
4773 l_new_current_data = (OPJ_BYTE *) opj_realloc(*l_current_data, in opj_j2k_read_sod()
4777 opj_free(*l_current_data); in opj_j2k_read_sod()
4783 *l_current_data = l_new_current_data; in opj_j2k_read_sod()
4786 if (*l_current_data == 00) { in opj_j2k_read_sod()
4824 *l_current_data + *l_tile_len, in opj_j2k_read_sod()
4850 OPJ_BYTE * l_current_data = 00; in opj_j2k_write_rgn() local
4874 l_current_data = p_j2k->m_specific_param.m_encoder.m_header_tile_data; in opj_j2k_write_rgn()
4876 opj_write_bytes(l_current_data, J2K_MS_RGN, in opj_j2k_write_rgn()
4878 l_current_data += 2; in opj_j2k_write_rgn()
4880 opj_write_bytes(l_current_data, l_rgn_size - 2, in opj_j2k_write_rgn()
4882 l_current_data += 2; in opj_j2k_write_rgn()
4884 opj_write_bytes(l_current_data, p_comp_no, in opj_j2k_write_rgn()
4886 l_current_data += l_comp_room; in opj_j2k_write_rgn()
4888 opj_write_bytes(l_current_data, 0, in opj_j2k_write_rgn()
4890 ++l_current_data; in opj_j2k_write_rgn()
4892 opj_write_bytes(l_current_data, (OPJ_UINT32)l_tccp->roishift, in opj_j2k_write_rgn()
4894 ++l_current_data; in opj_j2k_write_rgn()
5514 OPJ_BYTE * l_current_data = 00; in opj_j2k_write_mct_record() local
5538 l_current_data = p_j2k->m_specific_param.m_encoder.m_header_tile_data; in opj_j2k_write_mct_record()
5540 opj_write_bytes(l_current_data, J2K_MS_MCT, in opj_j2k_write_mct_record()
5542 l_current_data += 2; in opj_j2k_write_mct_record()
5544 opj_write_bytes(l_current_data, l_mct_size - 2, in opj_j2k_write_mct_record()
5546 l_current_data += 2; in opj_j2k_write_mct_record()
5548 opj_write_bytes(l_current_data, 0, in opj_j2k_write_mct_record()
5550 l_current_data += 2; in opj_j2k_write_mct_record()
5556 opj_write_bytes(l_current_data, l_tmp, 2); in opj_j2k_write_mct_record()
5557 l_current_data += 2; in opj_j2k_write_mct_record()
5559 opj_write_bytes(l_current_data, 0, in opj_j2k_write_mct_record()
5561 l_current_data += 2; in opj_j2k_write_mct_record()
5563 memcpy(l_current_data, p_mct_record->m_data, p_mct_record->m_data_size); in opj_j2k_write_mct_record()
5726 OPJ_BYTE * l_current_data = 00; in opj_j2k_write_mcc_record() local
5759 l_current_data = p_j2k->m_specific_param.m_encoder.m_header_tile_data; in opj_j2k_write_mcc_record()
5761 opj_write_bytes(l_current_data, J2K_MS_MCC, in opj_j2k_write_mcc_record()
5763 l_current_data += 2; in opj_j2k_write_mcc_record()
5765 opj_write_bytes(l_current_data, l_mcc_size - 2, in opj_j2k_write_mcc_record()
5767 l_current_data += 2; in opj_j2k_write_mcc_record()
5770 opj_write_bytes(l_current_data, 0, in opj_j2k_write_mcc_record()
5772 l_current_data += 2; in opj_j2k_write_mcc_record()
5774 opj_write_bytes(l_current_data, p_mcc_record->m_index, in opj_j2k_write_mcc_record()
5776 ++l_current_data; in opj_j2k_write_mcc_record()
5779 opj_write_bytes(l_current_data, 0, in opj_j2k_write_mcc_record()
5781 l_current_data += 2; in opj_j2k_write_mcc_record()
5783 opj_write_bytes(l_current_data, 1, in opj_j2k_write_mcc_record()
5785 l_current_data += 2; in opj_j2k_write_mcc_record()
5787 opj_write_bytes(l_current_data, 0x1, in opj_j2k_write_mcc_record()
5789 ++l_current_data; in opj_j2k_write_mcc_record()
5791 opj_write_bytes(l_current_data, p_mcc_record->m_nb_comps | l_mask, in opj_j2k_write_mcc_record()
5793 l_current_data += 2; in opj_j2k_write_mcc_record()
5796 opj_write_bytes(l_current_data, i, in opj_j2k_write_mcc_record()
5798 l_current_data += l_nb_bytes_for_comp; in opj_j2k_write_mcc_record()
5801 opj_write_bytes(l_current_data, p_mcc_record->m_nb_comps | l_mask, in opj_j2k_write_mcc_record()
5803 l_current_data += 2; in opj_j2k_write_mcc_record()
5806 opj_write_bytes(l_current_data, i, in opj_j2k_write_mcc_record()
5808 l_current_data += l_nb_bytes_for_comp; in opj_j2k_write_mcc_record()
5821 opj_write_bytes(l_current_data, l_tmcc, in opj_j2k_write_mcc_record()
5823 l_current_data += 3; in opj_j2k_write_mcc_record()
6072 OPJ_BYTE * l_current_data = 00; in opj_j2k_write_mco() local
6100 l_current_data = p_j2k->m_specific_param.m_encoder.m_header_tile_data; in opj_j2k_write_mco()
6103 opj_write_bytes(l_current_data, J2K_MS_MCO, 2); /* MCO */ in opj_j2k_write_mco()
6104 l_current_data += 2; in opj_j2k_write_mco()
6106 opj_write_bytes(l_current_data, l_mco_size - 2, 2); /* Lmco */ in opj_j2k_write_mco()
6107 l_current_data += 2; in opj_j2k_write_mco()
6109 opj_write_bytes(l_current_data, l_tcp->m_nb_mcc_records, in opj_j2k_write_mco()
6111 ++l_current_data; in opj_j2k_write_mco()
6115 opj_write_bytes(l_current_data, l_mcc_record->m_index, in opj_j2k_write_mco()
6117 ++l_current_data; in opj_j2k_write_mco()
6297 OPJ_BYTE * l_current_data = 00; in opj_j2k_write_cbd() local
6323 l_current_data = p_j2k->m_specific_param.m_encoder.m_header_tile_data; in opj_j2k_write_cbd()
6325 opj_write_bytes(l_current_data, J2K_MS_CBD, 2); /* CBD */ in opj_j2k_write_cbd()
6326 l_current_data += 2; in opj_j2k_write_cbd()
6328 opj_write_bytes(l_current_data, l_cbd_size - 2, 2); /* L_CBD */ in opj_j2k_write_cbd()
6329 l_current_data += 2; in opj_j2k_write_cbd()
6331 opj_write_bytes(l_current_data, l_image->numcomps, 2); /* Ncbd */ in opj_j2k_write_cbd()
6332 l_current_data += 2; in opj_j2k_write_cbd()
6337 opj_write_bytes(l_current_data, (l_comp->sgnd << 7) | (l_comp->prec - 1), in opj_j2k_write_cbd()
6339 ++l_current_data; in opj_j2k_write_cbd()
7633 OPJ_FLOAT32 * l_data, * l_current_data; in opj_j2k_setup_mct_encoding() local
7741 l_current_data = l_data; in opj_j2k_setup_mct_encoding()
7744 *(l_current_data++) = (OPJ_FLOAT32)(l_tccp->m_dc_level_shift); in opj_j2k_setup_mct_encoding()
11196 OPJ_BYTE * l_current_data = 00; in opj_j2k_encode() local
11222 if (l_current_data) { in opj_j2k_encode()
11223 opj_free(l_current_data); in opj_j2k_encode()
11239 if (l_current_data) { in opj_j2k_encode()
11240 opj_free(l_current_data); in opj_j2k_encode()
11249 OPJ_BYTE *l_new_current_data = (OPJ_BYTE *) opj_realloc(l_current_data, in opj_j2k_encode()
11252 if (l_current_data) { in opj_j2k_encode()
11253 opj_free(l_current_data); in opj_j2k_encode()
11258 l_current_data = l_new_current_data; in opj_j2k_encode()
11261 if (l_current_data == NULL) { in opj_j2k_encode()
11271 opj_j2k_get_tile_data(p_j2k->m_tcd, l_current_data); in opj_j2k_encode()
11274 if (! opj_tcd_copy_tile_data(p_j2k->m_tcd, l_current_data, in opj_j2k_encode()
11278 opj_free(l_current_data); in opj_j2k_encode()
11284 if (l_current_data) { in opj_j2k_encode()
11285 opj_free(l_current_data); in opj_j2k_encode()
11291 if (l_current_data) { in opj_j2k_encode()
11292 opj_free(l_current_data); in opj_j2k_encode()
11520 OPJ_BYTE * l_current_data = 00; in opj_j2k_post_write_tile() local
11529 l_current_data = p_j2k->m_specific_param.m_encoder.m_encoded_tile_data; in opj_j2k_post_write_tile()
11532 if (! opj_j2k_write_first_tile_part(p_j2k, l_current_data, &l_nb_bytes_written, in opj_j2k_post_write_tile()
11536 l_current_data += l_nb_bytes_written; in opj_j2k_post_write_tile()
11540 if (! opj_j2k_write_all_tile_parts(p_j2k, l_current_data, &l_nb_bytes_written, in opj_j2k_post_write_tile()