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()
1173 OPJ_UINT32 l_value; in opj_jp2_read_pclr() local
1190 opj_read_bytes(p_pclr_header_data, &l_value, 2); /* NE */ in opj_jp2_read_pclr()
1192 nr_entries = (OPJ_UINT16) l_value; in opj_jp2_read_pclr()
1199 opj_read_bytes(p_pclr_header_data, &l_value, 1); /* NPC */ in opj_jp2_read_pclr()
1201 nr_channels = (OPJ_UINT16) l_value; in opj_jp2_read_pclr()
1241 jp2_pclr->nr_channels = (OPJ_BYTE) l_value; in opj_jp2_read_pclr()
1247 opj_read_bytes(p_pclr_header_data, &l_value, 1); /* Bi */ in opj_jp2_read_pclr()
1250 channel_size[i] = (OPJ_BYTE)((l_value & 0x7f) + 1); in opj_jp2_read_pclr()
1251 channel_sign[i] = (l_value & 0x80) ? 1 : 0; in opj_jp2_read_pclr()
1266 opj_read_bytes(p_pclr_header_data, &l_value, bytes_to_read); /* Cji */ in opj_jp2_read_pclr()
1268 *entries = (OPJ_UINT32) l_value; in opj_jp2_read_pclr()
1284 OPJ_UINT32 l_value; in opj_jp2_read_cmap() local
1321 opj_read_bytes_BE(p_cmap_header_data, &l_value, 2); /* CMP^i */ in opj_jp2_read_cmap()
1323 cmap[i].cmp = (OPJ_UINT16) l_value; in opj_jp2_read_cmap()
1325 opj_read_bytes(p_cmap_header_data, &l_value, 1); /* MTYP^i */ in opj_jp2_read_cmap()
1327 cmap[i].mtyp = (OPJ_BYTE) l_value; in opj_jp2_read_cmap()
1329 opj_read_bytes(p_cmap_header_data, &l_value, 1); /* PCOL^i */ in opj_jp2_read_cmap()
1331 cmap[i].pcol = (OPJ_BYTE) l_value; in opj_jp2_read_cmap()
1410 OPJ_UINT32 l_value; in opj_jp2_read_cdef() local
1429 opj_read_bytes(p_cdef_header_data, &l_value, 2); /* N */ in opj_jp2_read_cdef()
1432 if ((OPJ_UINT16)l_value == 0) { /* szukw000: FIXME */ in opj_jp2_read_cdef()
1438 if (p_cdef_header_size < 2 + (OPJ_UINT32)(OPJ_UINT16)l_value * 6) { in opj_jp2_read_cdef()
1443 cdef_info = (opj_jp2_cdef_info_t*) opj_malloc(l_value * sizeof( in opj_jp2_read_cdef()
1455 jp2->color.jp2_cdef->n = (OPJ_UINT16) l_value; in opj_jp2_read_cdef()
1458 opj_read_bytes(p_cdef_header_data, &l_value, 2); /* Cn^i */ in opj_jp2_read_cdef()
1460 cdef_info[i].cn = (OPJ_UINT16) l_value; in opj_jp2_read_cdef()
1462 opj_read_bytes(p_cdef_header_data, &l_value, 2); /* Typ^i */ in opj_jp2_read_cdef()
1464 cdef_info[i].typ = (OPJ_UINT16) l_value; in opj_jp2_read_cdef()
1466 opj_read_bytes(p_cdef_header_data, &l_value, 2); /* Asoc^i */ in opj_jp2_read_cdef()
1468 cdef_info[i].asoc = (OPJ_UINT16) l_value; in opj_jp2_read_cdef()
1480 OPJ_UINT32 l_value; in opj_jp2_read_colr() local
1590 opj_read_bytes(p_colr_header_data, &l_value, 1); /* icc values */ in opj_jp2_read_colr()
1592 jp2->color.icc_profile_buf[it_icc_value] = (OPJ_BYTE) l_value; in opj_jp2_read_colr()
2784 OPJ_UINT32 l_value; in opj_jp2_read_boxhdr_char() local
2798 opj_read_bytes(p_data, &l_value, 4); in opj_jp2_read_boxhdr_char()
2800 box->length = (OPJ_UINT32)(l_value); in opj_jp2_read_boxhdr_char()
2802 opj_read_bytes(p_data, &l_value, 4); in opj_jp2_read_boxhdr_char()
2804 box->type = (OPJ_UINT32)(l_value); in opj_jp2_read_boxhdr_char()
2829 opj_read_bytes(p_data, &l_value, 4); in opj_jp2_read_boxhdr_char()
2831 box->length = (OPJ_UINT32)(l_value); in opj_jp2_read_boxhdr_char()