Lines Matching refs:OPJ_UINT32
53 static OPJ_UINT32 opj_t2_getcommacode(opj_bio_t *bio);
59 static void opj_t2_putnumpasses(opj_bio_t *bio, OPJ_UINT32 n);
60 static OPJ_UINT32 opj_t2_getnumpasses(opj_bio_t *bio);
76 static OPJ_BOOL opj_t2_encode_packet(OPJ_UINT32 tileno,
81 OPJ_UINT32 * p_data_written,
82 OPJ_UINT32 len,
106 OPJ_UINT32 * data_read,
107 OPJ_UINT32 max_length,
116 OPJ_UINT32 * p_data_read,
117 OPJ_UINT32 p_max_length,
127 OPJ_UINT32 * p_data_read,
128 OPJ_UINT32 p_max_length,
136 OPJ_UINT32 * p_data_read,
137 OPJ_UINT32 p_max_length,
144 OPJ_UINT32 * p_data_read,
145 OPJ_UINT32 p_max_length,
156 OPJ_UINT32 index,
157 OPJ_UINT32 cblksty,
158 OPJ_UINT32 first);
175 static OPJ_UINT32 opj_t2_getcommacode(opj_bio_t *bio) in opj_t2_getcommacode()
177 OPJ_UINT32 n = 0; in opj_t2_getcommacode()
184 static void opj_t2_putnumpasses(opj_bio_t *bio, OPJ_UINT32 n) in opj_t2_putnumpasses()
199 static OPJ_UINT32 opj_t2_getnumpasses(opj_bio_t *bio) in opj_t2_getnumpasses()
201 OPJ_UINT32 n; in opj_t2_getnumpasses()
220 OPJ_UINT32 p_tile_no, in opj_t2_encode_packets()
222 OPJ_UINT32 p_maxlayers, in opj_t2_encode_packets()
224 OPJ_UINT32 * p_data_written, in opj_t2_encode_packets()
225 OPJ_UINT32 p_max_len, in opj_t2_encode_packets()
227 OPJ_UINT32 p_tp_num, in opj_t2_encode_packets()
229 OPJ_UINT32 p_pino, in opj_t2_encode_packets()
234 OPJ_UINT32 l_nb_bytes = 0; in opj_t2_encode_packets()
235 OPJ_UINT32 compno; in opj_t2_encode_packets()
236 OPJ_UINT32 poc; in opj_t2_encode_packets()
242 OPJ_UINT32 pocno = (l_cp->rsiz == OPJ_PROFILE_CINEMA_4K) ? 2 : 1; in opj_t2_encode_packets()
243 OPJ_UINT32 l_max_comp = l_cp->m_specific_param.m_enc.m_max_comp_size > 0 ? in opj_t2_encode_packets()
245 OPJ_UINT32 l_nb_pocs = l_tcp->numpocs + 1; in opj_t2_encode_packets()
258 OPJ_UINT32 l_comp_len = 0; in opj_t2_encode_packets()
262 OPJ_UINT32 l_tp_num = compno; in opj_t2_encode_packets()
375 OPJ_UINT32 p_tile_no, in opj_t2_decode_packets()
378 OPJ_UINT32 * p_data_read, in opj_t2_decode_packets()
379 OPJ_UINT32 p_max_len, in opj_t2_decode_packets()
385 OPJ_UINT32 pino; in opj_t2_decode_packets()
389 OPJ_UINT32 l_nb_bytes_read; in opj_t2_decode_packets()
390 OPJ_UINT32 l_nb_pocs = l_tcp->numpocs + 1; in opj_t2_decode_packets()
393 OPJ_UINT32 curtp = 0; in opj_t2_decode_packets()
394 OPJ_UINT32 tp_start_packno; in opj_t2_decode_packets()
458 OPJ_UINT32 bandno; in opj_t2_decode_packets()
471 (OPJ_UINT32)prec->x0, in opj_t2_decode_packets()
472 (OPJ_UINT32)prec->y0, in opj_t2_decode_packets()
473 (OPJ_UINT32)prec->x1, in opj_t2_decode_packets()
474 (OPJ_UINT32)prec->y1)) { in opj_t2_decode_packets()
567 *p_data_read = (OPJ_UINT32)(l_current_data - p_src); in opj_t2_decode_packets()
606 OPJ_UINT32 * p_data_read, in opj_t2_decode_packet()
607 OPJ_UINT32 p_max_length, in opj_t2_decode_packet()
612 OPJ_UINT32 l_nb_bytes_read = 0; in opj_t2_decode_packet()
613 OPJ_UINT32 l_nb_total_bytes_read = 0; in opj_t2_decode_packet()
643 static OPJ_BOOL opj_t2_encode_packet(OPJ_UINT32 tileno, in opj_t2_encode_packet()
648 OPJ_UINT32 * p_data_written, in opj_t2_encode_packet()
649 OPJ_UINT32 length, in opj_t2_encode_packet()
654 OPJ_UINT32 bandno, cblkno; in opj_t2_encode_packet()
656 OPJ_UINT32 l_nb_bytes; in opj_t2_encode_packet()
657 OPJ_UINT32 compno = pi->compno; /* component value */ in opj_t2_encode_packet()
658 OPJ_UINT32 resno = pi->resno; /* resolution level value */ in opj_t2_encode_packet()
659 OPJ_UINT32 precno = pi->precno; /* precinct value */ in opj_t2_encode_packet()
660 OPJ_UINT32 layno = pi->layno; /* quality layer value */ in opj_t2_encode_packet()
661 OPJ_UINT32 l_nb_blocks; in opj_t2_encode_packet()
790 OPJ_UINT32 increment = 0; in opj_t2_encode_packet()
791 OPJ_UINT32 nump = 0; in opj_t2_encode_packet()
792 OPJ_UINT32 len = 0, passno; in opj_t2_encode_packet()
793 OPJ_UINT32 l_nb_passes; in opj_t2_encode_packet()
825 increment = (OPJ_UINT32)opj_int_max((OPJ_INT32)increment, in opj_t2_encode_packet()
846 opj_bio_write(bio, (OPJ_UINT32)len, in opj_t2_encode_packet()
847 … cblk->numlenbits + (OPJ_UINT32)opj_int_floorlog2((OPJ_INT32)nump)); in opj_t2_encode_packet()
863 l_nb_bytes = (OPJ_UINT32)opj_bio_numbytes(bio); in opj_t2_encode_packet()
948 * p_data_written += (OPJ_UINT32)(c - dest); in opj_t2_encode_packet()
958 OPJ_UINT32 * p_data_read, in opj_t2_skip_packet()
959 OPJ_UINT32 p_max_length, in opj_t2_skip_packet()
964 OPJ_UINT32 l_nb_bytes_read = 0; in opj_t2_skip_packet()
965 OPJ_UINT32 l_nb_total_bytes_read = 0; in opj_t2_skip_packet()
1001 OPJ_UINT32 * p_data_read, in opj_t2_read_packet_header()
1002 OPJ_UINT32 p_max_length, in opj_t2_read_packet_header()
1008 OPJ_UINT32 bandno, cblkno; in opj_t2_read_packet_header()
1009 OPJ_UINT32 l_nb_code_blocks; in opj_t2_read_packet_header()
1010 OPJ_UINT32 l_remaining_length; in opj_t2_read_packet_header()
1011 OPJ_UINT32 l_header_length; in opj_t2_read_packet_header()
1012 OPJ_UINT32 * l_modified_length_ptr = 00; in opj_t2_read_packet_header()
1024 OPJ_UINT32 l_present; in opj_t2_read_packet_header()
1095 l_remaining_length = (OPJ_UINT32)(p_src_data + p_max_length - l_header_data); in opj_t2_read_packet_header()
1111 if ((*l_modified_length_ptr - (OPJ_UINT32)(l_header_data - in opj_t2_read_packet_header()
1122 l_header_length = (OPJ_UINT32)(l_header_data - *l_header_data_start); in opj_t2_read_packet_header()
1135 *p_data_read = (OPJ_UINT32)(l_current_data - p_src_data); in opj_t2_read_packet_header()
1150 OPJ_UINT32 l_included, l_increment, l_segno; in opj_t2_read_packet_header()
1172 OPJ_UINT32 i = 0; in opj_t2_read_packet_header()
1178 l_cblk->numbps = (OPJ_UINT32)l_band->numbps + 1 - i; in opj_t2_read_packet_header()
1208 OPJ_UINT32 bit_number; in opj_t2_read_packet_header()
1209 l_cblk->segs[l_segno].numnewpasses = (OPJ_UINT32)opj_int_min((OPJ_INT32)( in opj_t2_read_packet_header()
1250 if ((*l_modified_length_ptr - (OPJ_UINT32)(l_header_data - in opj_t2_read_packet_header()
1261 l_header_length = (OPJ_UINT32)(l_header_data - *l_header_data_start); in opj_t2_read_packet_header()
1276 *p_data_read = (OPJ_UINT32)(l_current_data - p_src_data); in opj_t2_read_packet_header()
1285 OPJ_UINT32 * p_data_read, in opj_t2_read_packet_data()
1286 OPJ_UINT32 p_max_length, in opj_t2_read_packet_data()
1290 OPJ_UINT32 bandno, cblkno; in opj_t2_read_packet_data()
1291 OPJ_UINT32 l_nb_code_blocks; in opj_t2_read_packet_data()
1368 OPJ_UINT32 l_numchunksalloc = l_cblk->numchunksalloc * 2 + 1; in opj_t2_read_packet_data()
1405 *(p_data_read) = (OPJ_UINT32)(l_current_data - p_src_data); in opj_t2_read_packet_data()
1414 OPJ_UINT32 * p_data_read, in opj_t2_skip_packet_data()
1415 OPJ_UINT32 p_max_length, in opj_t2_skip_packet_data()
1419 OPJ_UINT32 bandno, cblkno; in opj_t2_skip_packet_data()
1420 OPJ_UINT32 l_nb_code_blocks; in opj_t2_skip_packet_data()
1518 OPJ_UINT32 index, in opj_t2_init_seg()
1519 OPJ_UINT32 cblksty, in opj_t2_init_seg()
1520 OPJ_UINT32 first) in opj_t2_init_seg()
1523 OPJ_UINT32 l_nb_segs = index + 1; in opj_t2_init_seg()
1527 OPJ_UINT32 l_m_current_max_segs = cblk->m_current_max_segs + in opj_t2_init_seg()