Lines Matching refs:num_comps

208       num_comps = 0;  in codestream()
299 int num_comps = sz.get_num_components(); in pre_alloc() local
300 allocator->pre_alloc_obj<size>(num_comps); //for *comp_size in pre_alloc()
301 allocator->pre_alloc_obj<size>(num_comps); //for *recon_comp_size in pre_alloc()
303 for (int i = 0; i < num_comps; ++i) in pre_alloc()
313 int num_pairs = (int)num_tiles.area() * num_comps; in pre_alloc()
411 num_comps = sz.get_num_components(); in finalize_alloc()
412 comp_size = allocator->post_alloc_obj<size>(this->num_comps); in finalize_alloc()
413 recon_comp_size = allocator->post_alloc_obj<size>(this->num_comps); in finalize_alloc()
416 for (int i = 0; i < num_comps; ++i) in finalize_alloc()
436 int num_pairs = (int)num_tiles.area() * num_comps; in finalize_alloc()
846 int num_comps = siz.get_num_components(); in read_headers() local
848 num_comps * sizeof(param_qcc) > sizeof(qcc_store)) in read_headers()
850 qcc = new param_qcc[num_comps]; in read_headers()
852 qcc[used_qcc_fields++].read(file, num_comps); in read_headers()
1184 if (++cur_comp >= num_comps) in exchange()
1193 if (++cur_comp >= num_comps) in exchange()
1234 if (cur_comp++ >= num_comps) in pull()
1243 if (++cur_comp >= num_comps) in pull()
1273 int num_comps = szp->get_num_components(); in pre_alloc() local
1274 allocator->pre_alloc_obj<tile_comp>(num_comps); in pre_alloc()
1275 allocator->pre_alloc_obj<rect>(num_comps); //for comp_rects in pre_alloc()
1276 allocator->pre_alloc_obj<rect>(num_comps); //for recon_comp_rects in pre_alloc()
1277 allocator->pre_alloc_obj<int>(num_comps); //for line_offsets in pre_alloc()
1278 allocator->pre_alloc_obj<int>(num_comps); //for num_bits in pre_alloc()
1279 allocator->pre_alloc_obj<bool>(num_comps); //for is_signed in pre_alloc()
1280 allocator->pre_alloc_obj<int>(num_comps); //for cur_line in pre_alloc()
1284 allocator->pre_alloc_obj<int>(num_comps); //for num_comp_bytes in pre_alloc()
1298 for (int i = 0; i < num_comps; ++i) in pre_alloc()
1350 num_comps = szp->get_num_components(); in finalize_alloc()
1352 comps = allocator->post_alloc_obj<tile_comp>(num_comps); in finalize_alloc()
1353 comp_rects = allocator->post_alloc_obj<rect>(num_comps); in finalize_alloc()
1354 recon_comp_rects = allocator->post_alloc_obj<rect>(num_comps); in finalize_alloc()
1355 line_offsets = allocator->post_alloc_obj<int>(num_comps); in finalize_alloc()
1356 num_bits = allocator->post_alloc_obj<int>(num_comps); in finalize_alloc()
1357 is_signed = allocator->post_alloc_obj<bool>(num_comps); in finalize_alloc()
1358 cur_line = allocator->post_alloc_obj<int>(num_comps); in finalize_alloc()
1362 num_comp_bytes = allocator->post_alloc_obj<int>(num_comps); in finalize_alloc()
1380 for (int i = 0; i < num_comps; ++i) in finalize_alloc()
1436 assert(comp_num < num_comps); in push()
1445 assert(comp_num < num_comps); in push()
1521 assert(comp_num < num_comps); in pull()
1527 if (!employ_color_transform || num_comps == 1) in pull()
1554 assert(num_comps >= 3); in pull()
1600 for (int c = 0; c < num_comps; ++c) in prepare_for_flush()
1605 for (int c = 0; c < num_comps; ++c) in prepare_for_flush()
1615 for (int c = 0; c < num_comps; ++c) in fill_tlm()
1627 for (int c = 0; c < num_comps; ++c) in flush()
1648 for (int c = 0; c < num_comps; ++c) in flush()
1659 for (int c = 0; c < num_comps; ++c) in flush()
1682 for (int c = 0; c < num_comps; ++c) in flush()
1708 for (int c = 0; c < num_comps; ++c) in flush()
1713 if (!sot.write(file, num_comp_bytes[c], (ui8)c, (ui8)num_comps)) in flush()
1770 for (int c = 0; c < num_comps; ++c) in parse_tile_header()
1781 for (int c = 0; c < num_comps; ++c) in parse_tile_header()
1794 for (int c = 0; c < num_comps; ++c) in parse_tile_header()
1817 for (int c = 0; c < num_comps; ++c) in parse_tile_header()
1843 for (int c = 0; c < num_comps; ++c) in parse_tile_header()