Home
last modified time | relevance | path

Searched refs:codsty (Results 1 – 4 of 4) sorted by relevance

/third_party/ffmpeg/libavcodec/
Djpeg2000.c199 Jpeg2000CodingStyle *codsty, in init_band_stepsize() argument
234 if (codsty->transform != FF_DWT53) { in init_band_stepsize()
246 if (codsty->transform == FF_DWT97) { in init_band_stepsize()
247 … band->f_stepsize *= pow(F_LFTG_K, 2*(codsty->nreslevels2decode - reslevelno) + lband - 2); in init_band_stepsize()
268 Jpeg2000CodingStyle *codsty, in init_prec() argument
372 cblk->layers = av_mallocz_array(codsty->nlayers, sizeof(*cblk->layers)); in init_prec()
384 Jpeg2000CodingStyle *codsty, in init_band() argument
391 int declvl = codsty->nreslevels - reslevelno; // N_L -r see ISO/IEC 15444-1:2002 B.5 in init_band()
396 init_band_stepsize(avctx, band, codsty, qntsty, bandno, gbandno, reslevelno, cbps); in init_band()
412 band->log2_cblk_width = FFMIN(codsty->log2_cblk_width, in init_band()
[all …]
Djpeg2000dec.c83 Jpeg2000CodingStyle codsty[4]; member
125 Jpeg2000CodingStyle codsty[4]; member
853 memcpy(tile->codsty, s->codsty, s->ncomponents * sizeof(Jpeg2000CodingStyle)); in get_sot()
1016 Jpeg2000CodingStyle *codsty = tile->codsty + compno; in init_tile() local
1037 if (!codsty->init) in init_tile()
1039 if (ret = ff_jpeg2000_init_component(comp, codsty, qntsty, in init_tile()
1086 int *tp_index, Jpeg2000CodingStyle *codsty) in select_stream() argument
1094 if (codsty->csty & JPEG2000_CSTY_SOP) { in select_stream()
1103 Jpeg2000CodingStyle *codsty, in jpeg2000_decode_packet() argument
1119 select_stream(s, tile, tp_index, codsty); in jpeg2000_decode_packet()
[all …]
Dj2kenc.c128 Jpeg2000CodingStyle codsty; member
329 Jpeg2000CodingStyle *codsty = &s->codsty; in put_cod() local
351 bytestream_put_byte(&s->buf, codsty->nreslevels - 1); // num of decomp. levels in put_cod()
352 bytestream_put_byte(&s->buf, codsty->log2_cblk_width-2); // cblk width in put_cod()
353 bytestream_put_byte(&s->buf, codsty->log2_cblk_height-2); // cblk height in put_cod()
355 bytestream_put_byte(&s->buf, codsty->transform == FF_DWT53); // transformation in put_cod()
362 Jpeg2000CodingStyle *codsty = &s->codsty; in put_qcd() local
366 size = 4 + 3 * (codsty->nreslevels-1); in put_qcd()
368 size = 5 + 6 * (codsty->nreslevels-1); in put_qcd()
377 for (i = 0; i < codsty->nreslevels * 3 - 2; i++) in put_qcd()
[all …]
Djpeg2000.h278 Jpeg2000CodingStyle *codsty,
283 void ff_jpeg2000_reinit(Jpeg2000Component *comp, Jpeg2000CodingStyle *codsty);
285 void ff_jpeg2000_cleanup(Jpeg2000Component *comp, Jpeg2000CodingStyle *codsty);