Home | History | Annotate | Download | only in libopenjpeg20

Lines Matching full:numcomps

1155  * @param       numcomps                the number of components
1164 OPJ_UINT32 numcomps,
1870 l_size_len = 40 + 3 * l_image->numcomps;
1923 opj_write_bytes(l_current_ptr, l_image->numcomps, 2); /* Csiz */
1926 for (i = 0; i < l_image->numcomps; ++i) {
2015 l_image->numcomps = (OPJ_UINT16) l_tmp;
2021 if (l_image->numcomps != l_nb_comp) {
2022 opj_event_msg(p_manager, EVT_ERROR, "Error with SIZ marker: number of component is not compatible with the remaining number of parameters ( %d vs %d)\n", l_image->numcomps, l_nb_comp);
2067 if (l_image->numcomps != ((len - 38) / 3)) {
2070 l_image->numcomps, ((len - 38) / 3));
2077 if (l_image->numcomps < ((len - 38) / 3)) {
2078 len = 38 + 3 * l_image->numcomps;
2082 l_image->numcomps = ((len - 38) / 3);
2084 l_image->numcomps);
2090 l_cp->exp_comps = l_image->numcomps;
2095 l_image->comps = (opj_image_comp_t*) opj_calloc(l_image->numcomps, sizeof(opj_image_comp_t));
2097 l_image->numcomps = 0;
2105 for (i = 0; i < l_image->numcomps; ++i){
2245 (opj_tccp_t*) opj_calloc(l_image->numcomps, sizeof(opj_tccp_t));
2271 for (i=0;i<l_image->numcomps;++i) {
2279 l_current_tile_param->tccps = (opj_tccp_t*) opj_calloc(l_image->numcomps, sizeof(opj_tccp_t));
2520 for (i = 0; i < l_image->numcomps; ++i) {
2543 p_j2k->cstr_info->numdecompos = (OPJ_INT32*) opj_malloc(l_image->numcomps * sizeof(OPJ_UINT32));
2544 for (i = 0; i < l_image->numcomps; ++i) {
2567 l_comp_room = (p_j2k->m_private_image->numcomps <= 256) ? 1 : 2;
2622 l_comp_room = (l_image->numcomps <= 256) ? 1 : 2;
2657 l_nb_comp = p_j2k->m_private_image->numcomps;
2698 l_comp_room = l_image->numcomps <= 256 ? 1 : 2;
2709 if (l_comp_no >= l_image->numcomps) {
2834 l_qcc_size += p_j2k->m_private_image->numcomps <= 256 ? 0:1;
2883 if (p_j2k->m_private_image->numcomps <= 256) {
2936 l_num_comp = p_j2k->m_private_image->numcomps;
2983 if (l_comp_no >= p_j2k->m_private_image->numcomps) {
2986 l_comp_no, p_j2k->m_private_image->numcomps);
3021 l_nb_comp = p_j2k->m_private_image->numcomps;
3078 l_nb_comp = l_image->numcomps;
3174 l_nb_comps = p_j2k->m_private_image->numcomps - 1;
3221 l_nb_comp = l_image->numcomps;
3300 l_nb_comp = p_j2k->m_private_image->numcomps;
4542 l_nb_comp = l_image->numcomps;
4633 l_size_pixel = l_image->numcomps * l_image->comps->prec;
4731 for (i=0;i<l_image->numcomps;++i) {
4892 for (compno = 0; compno < p_j2k->m_private_image->numcomps; ++compno)
4915 for (compno = 0; compno < p_j2k->m_private_image->numcomps; ++compno)
4941 for (compno = 0; compno < p_j2k->m_private_image->numcomps; ++compno) {
4944 if (! opj_j2k_write_rgn(p_j2k,0,compno,p_j2k->m_private_image->numcomps,p_stream,p_manager)) {
5657 for (i=0;i<l_image->numcomps;++i) {
5705 if (l_mcc_record->m_nb_comps != p_image->numcomps) {
5713 l_data_size = MCT_ELEMENT_SIZE[l_deco_array->m_element_type] * p_image->numcomps * p_image->numcomps;
5718 l_nb_elem = p_image->numcomps * p_image->numcomps;
5732 l_data_size = MCT_ELEMENT_SIZE[l_offset_array->m_element_type] * p_image->numcomps;
5737 l_nb_elem = p_image->numcomps;
5750 for (i=0;i<p_image->numcomps;++i) {
5777 l_cbd_size = 6 + p_j2k->m_private_image->numcomps;
5800 opj_write_bytes(l_current_data,l_image->numcomps, 2); /* Ncbd */
5805 for (i=0;i<l_image->numcomps;++i) {
5842 l_num_comp = p_j2k->m_private_image->numcomps;
5844 if (p_header_size != (p_j2k->m_private_image->numcomps + 2)) {
6077 parameters->tcp_rates[0] = (OPJ_FLOAT32) (image->numcomps * image->comps[0].w * image->comps[0].h * image->comps[0].prec)/
6087 if (image->numcomps != 3){
6093 image->numcomps);
6098 for (i = 0; i < image->numcomps; i++) {
6222 temp_size =(OPJ_FLOAT32)(image->numcomps * image->comps[0].w * image->comps[0].h * image->comps[0].prec)/
6231 temp_rate = (OPJ_FLOAT32) (image->numcomps * image->comps[0].w * image->comps[0].h * image->comps[0].prec)/
6430 opj_j2k_check_poc_val(parameters->POC,parameters->numpocs, (OPJ_UINT32)parameters->numresolution, image->numcomps, (OPJ_UINT32)parameters->tcp_numlayers, p_manager);
6484 tcp->tccps = (opj_tccp_t*) opj_calloc(image->numcomps, sizeof(opj_tccp_t));
6491 OPJ_UINT32 lMctSize = image->numcomps * image->numcomps * (OPJ_UINT32)sizeof(OPJ_FLOAT32);
6518 if(opj_matrix_inversion_f(lTmpBuf,(tcp->m_mct_decoding_matrix),image->numcomps) == OPJ_FALSE) {
6526 opj_malloc(image->numcomps * sizeof(OPJ_FLOAT64));
6533 opj_calculate_norms(tcp->mct_norms,image->numcomps,tcp->m_mct_decoding_matrix);
6536 for (i = 0; i < image->numcomps; i++) {
6548 if(tcp->mct==1 && image->numcomps >= 3) { /* RGB->YCC MCT is enabled */
6557 for (i = 0; i < image->numcomps; i++) {
6567 for (i = 0; i < image->numcomps; i++) {
6846 for (j=0;j<p_j2k->m_private_image->numcomps;++j) {
6904 l_nb_elem = p_image->numcomps * p_image->numcomps;
6950 l_nb_elem = p_image->numcomps;
7003 l_mcc_data->m_nb_comps = p_image->numcomps;
7326 l_tccp_size = l_image->numcomps * (OPJ_UINT32)sizeof(opj_tccp_t);
7328 l_mct_size = l_image->numcomps * l_image->numcomps * (OPJ_UINT32)sizeof(OPJ_FLOAT32);
8035 *p_nb_comps = p_j2k->m_tcd->tcd_image->tiles->numcomps;
8151 for (i=0; i<l_image_src->numcomps; i++) {
8510 for (it_comp=0; it_comp < p_image->numcomps; ++it_comp)
8642 assert(p_comp_no < p_j2k->m_private_image->numcomps);
8676 assert(p_comp_no <(p_j2k->m_private_image->numcomps));
8741 assert(compno < p_j2k->m_private_image->numcomps);
8862 for (i=1; i<p_j2k->m_private_image->numcomps; ++i) {
8893 assert(p_comp_no < p_j2k->m_private_image->numcomps);
8932 assert(p_comp_no <p_j2k->m_private_image->numcomps);
9005 assert(p_comp_no < p_j2k->m_private_image->numcomps);
9116 for (i=1;i<p_j2k->m_private_image->numcomps;++i) {
9124 static void opj_j2k_dump_tile_info( opj_tcp_t * l_default_tile,OPJ_INT32 numcomps,FILE* out_stream)
9136 for (compno = 0; compno < numcomps; compno++) {
9200 opj_j2k_dump_tile_info( l_tcp,(OPJ_INT32)p_j2k->m_private_image->numcomps, out_stream);
9299 opj_j2k_dump_tile_info(p_j2k->m_specific_param.m_decoder.m_default_tcp,(OPJ_INT32)p_j2k->m_private_image->numcomps, out_stream);
9318 fprintf(out_stream, "%s numcomps=%d\n", tab, img_header->numcomps);
9322 for (compno = 0; compno < img_header->numcomps; compno++) {
9354 OPJ_UINT32 numcomps = p_j2k->m_private_image->numcomps;
9360 cstr_info->nbcomps = p_j2k->m_private_image->numcomps;
9385 for (compno = 0; compno < numcomps; compno++) {
9807 for (compno = 0; compno < p_image->numcomps; compno++) {
9862 for (compno=0; compno < p_image->numcomps; ++compno)
9903 for (compno = 0; compno < p_image->numcomps; compno++) {
9929 for (it_comp = 0 ; it_comp < p_j2k->m_private_image->numcomps; it_comp++) {
9974 for (j=0;j<p_j2k->m_tcd->image->numcomps;++j) {
10069 for (it_comp = 0 ; it_comp < p_image->numcomps; it_comp++) {
10161 for (i=0;i<p_tcd->image->numcomps;++i) {
10456 for (compno = 1; compno < p_j2k->m_private_image->numcomps; compno++) {
10723 /*l_cstr_info->numcomps = p_j2k->m_image->numcomps;
10727 l_cstr_info->numdecompos = (OPJ_INT32*) opj_malloc(p_j2k->m_image->numcomps * sizeof(OPJ_INT32));
10729 for (compno=0; compno < p_j2k->m_image->numcomps; compno++) {
10792 for (j=0;j<p_j2k->m_tcd->image->numcomps;++j) {