Lines Matching refs:numpassesinlayers
271 cblk->numpassesinlayers = 0; in opj_tcd_makelayer()
274 n = cblk->numpassesinlayers; in opj_tcd_makelayer()
280 … for (passno = cblk->numpassesinlayers; passno < cblk->totalpasses; passno++) { in opj_tcd_makelayer()
306 layer->numpasses = n - cblk->numpassesinlayers; in opj_tcd_makelayer()
313 if (cblk->numpassesinlayers == 0) { in opj_tcd_makelayer()
318 … layer->len = cblk->passes[n - 1].rate - cblk->passes[cblk->numpassesinlayers - in opj_tcd_makelayer()
320 … layer->data = cblk->data + cblk->passes[cblk->numpassesinlayers - 1].rate; in opj_tcd_makelayer()
322 cblk->passes[cblk->numpassesinlayers - 1].distortiondec; in opj_tcd_makelayer()
328 cblk->numpassesinlayers = n; in opj_tcd_makelayer()
403 cblk->numpassesinlayers = 0; in opj_tcd_makelayer_fixed()
406 n = cblk->numpassesinlayers; in opj_tcd_makelayer_fixed()
407 if (cblk->numpassesinlayers == 0) { in opj_tcd_makelayer_fixed()
409 n = 3 * (OPJ_UINT32)value - 2 + cblk->numpassesinlayers; in opj_tcd_makelayer_fixed()
411 n = cblk->numpassesinlayers; in opj_tcd_makelayer_fixed()
414 n = 3 * (OPJ_UINT32)value + cblk->numpassesinlayers; in opj_tcd_makelayer_fixed()
417 layer->numpasses = n - cblk->numpassesinlayers; in opj_tcd_makelayer_fixed()
423 if (cblk->numpassesinlayers == 0) { in opj_tcd_makelayer_fixed()
427 … layer->len = cblk->passes[n - 1].rate - cblk->passes[cblk->numpassesinlayers - in opj_tcd_makelayer_fixed()
429 … layer->data = cblk->data + cblk->passes[cblk->numpassesinlayers - 1].rate; in opj_tcd_makelayer_fixed()
433 cblk->numpassesinlayers = n; in opj_tcd_makelayer_fixed()