Lines Matching refs:l_value
763 OPJ_UINT32 l_value; in opj_jp2_write_cdef() local
788 l_value = jp2->color.jp2_cdef->n; in opj_jp2_write_cdef()
789 opj_write_bytes(l_current_cdef_ptr, l_value, 2); /* N */ in opj_jp2_write_cdef()
793 l_value = jp2->color.jp2_cdef->info[i].cn; in opj_jp2_write_cdef()
794 opj_write_bytes(l_current_cdef_ptr, l_value, 2); /* Cni */ in opj_jp2_write_cdef()
796 l_value = jp2->color.jp2_cdef->info[i].typ; in opj_jp2_write_cdef()
797 opj_write_bytes(l_current_cdef_ptr, l_value, 2); /* Typi */ in opj_jp2_write_cdef()
799 l_value = jp2->color.jp2_cdef->info[i].asoc; in opj_jp2_write_cdef()
800 opj_write_bytes(l_current_cdef_ptr, l_value, 2); /* Asoci */ in opj_jp2_write_cdef()
1172 OPJ_UINT32 l_value; in opj_jp2_read_pclr() local
1189 opj_read_bytes(p_pclr_header_data, &l_value, 2); /* NE */ in opj_jp2_read_pclr()
1191 nr_entries = (OPJ_UINT16) l_value; in opj_jp2_read_pclr()
1198 opj_read_bytes(p_pclr_header_data, &l_value, 1); /* NPC */ in opj_jp2_read_pclr()
1200 nr_channels = (OPJ_UINT16) l_value; in opj_jp2_read_pclr()
1240 jp2_pclr->nr_channels = (OPJ_BYTE) l_value; in opj_jp2_read_pclr()
1246 opj_read_bytes(p_pclr_header_data, &l_value, 1); /* Bi */ in opj_jp2_read_pclr()
1249 channel_size[i] = (OPJ_BYTE)((l_value & 0x7f) + 1); in opj_jp2_read_pclr()
1250 channel_sign[i] = (l_value & 0x80) ? 1 : 0; in opj_jp2_read_pclr()
1265 opj_read_bytes(p_pclr_header_data, &l_value, bytes_to_read); /* Cji */ in opj_jp2_read_pclr()
1267 *entries = (OPJ_UINT32) l_value; in opj_jp2_read_pclr()
1283 OPJ_UINT32 l_value; in opj_jp2_read_cmap() local
1320 opj_read_bytes_BE(p_cmap_header_data, &l_value, 2); /* CMP^i */ in opj_jp2_read_cmap()
1322 cmap[i].cmp = (OPJ_UINT16) l_value; in opj_jp2_read_cmap()
1324 opj_read_bytes(p_cmap_header_data, &l_value, 1); /* MTYP^i */ in opj_jp2_read_cmap()
1326 cmap[i].mtyp = (OPJ_BYTE) l_value; in opj_jp2_read_cmap()
1328 opj_read_bytes(p_cmap_header_data, &l_value, 1); /* PCOL^i */ in opj_jp2_read_cmap()
1330 cmap[i].pcol = (OPJ_BYTE) l_value; in opj_jp2_read_cmap()
1409 OPJ_UINT32 l_value; in opj_jp2_read_cdef() local
1428 opj_read_bytes(p_cdef_header_data, &l_value, 2); /* N */ in opj_jp2_read_cdef()
1431 if ((OPJ_UINT16)l_value == 0) { /* szukw000: FIXME */ in opj_jp2_read_cdef()
1437 if (p_cdef_header_size < 2 + (OPJ_UINT32)(OPJ_UINT16)l_value * 6) { in opj_jp2_read_cdef()
1442 cdef_info = (opj_jp2_cdef_info_t*) opj_malloc(l_value * sizeof( in opj_jp2_read_cdef()
1454 jp2->color.jp2_cdef->n = (OPJ_UINT16) l_value; in opj_jp2_read_cdef()
1457 opj_read_bytes(p_cdef_header_data, &l_value, 2); /* Cn^i */ in opj_jp2_read_cdef()
1459 cdef_info[i].cn = (OPJ_UINT16) l_value; in opj_jp2_read_cdef()
1461 opj_read_bytes(p_cdef_header_data, &l_value, 2); /* Typ^i */ in opj_jp2_read_cdef()
1463 cdef_info[i].typ = (OPJ_UINT16) l_value; in opj_jp2_read_cdef()
1465 opj_read_bytes(p_cdef_header_data, &l_value, 2); /* Asoc^i */ in opj_jp2_read_cdef()
1467 cdef_info[i].asoc = (OPJ_UINT16) l_value; in opj_jp2_read_cdef()
1479 OPJ_UINT32 l_value; in opj_jp2_read_colr() local
1589 opj_read_bytes(p_colr_header_data, &l_value, 1); /* icc values */ in opj_jp2_read_colr()
1591 jp2->color.icc_profile_buf[it_icc_value] = (OPJ_BYTE) l_value; in opj_jp2_read_colr()
2783 OPJ_UINT32 l_value; in opj_jp2_read_boxhdr_char() local
2797 opj_read_bytes(p_data, &l_value, 4); in opj_jp2_read_boxhdr_char()
2799 box->length = (OPJ_UINT32)(l_value); in opj_jp2_read_boxhdr_char()
2801 opj_read_bytes(p_data, &l_value, 4); in opj_jp2_read_boxhdr_char()
2803 box->type = (OPJ_UINT32)(l_value); in opj_jp2_read_boxhdr_char()
2828 opj_read_bytes(p_data, &l_value, 4); in opj_jp2_read_boxhdr_char()
2830 box->length = (OPJ_UINT32)(l_value); in opj_jp2_read_boxhdr_char()