Home
last modified time | relevance | path

Searched refs:cblk (Results 1 - 4 of 4) sorted by relevance

/third_party/ffmpeg/libavcodec/
H A Dj2kenc.c353 bytestream_put_byte(&s->buf, codsty->log2_cblk_width-2); // cblk width in put_cod()
354 bytestream_put_byte(&s->buf, codsty->log2_cblk_height-2); // cblk height in put_cod()
355 bytestream_put_byte(&s->buf, 0); // cblk style in put_cod()
704 static void encode_cblk(Jpeg2000EncoderContext *s, Jpeg2000T1Context *t1, Jpeg2000Cblk *cblk, Jpeg2000Tile *tile, in encode_cblk() argument
723 cblk->nonzerobits = 0; in encode_cblk()
725 cblk->nonzerobits = av_log2(max) + 1 - NMSEDEC_FRACBITS; in encode_cblk()
727 bpno = cblk->nonzerobits - 1; in encode_cblk()
729 cblk->data[0] = 0; in encode_cblk()
730 ff_mqc_initenc(&t1->mqc, cblk->data + 1); in encode_cblk()
744 cblk in encode_cblk()
809 Jpeg2000Cblk *cblk = &prec->cblk[pos]; encode_packet() local
837 Jpeg2000Cblk *cblk = &prec->cblk[pos]; encode_packet() local
869 Jpeg2000Cblk *cblk = prec->cblk + yi * cblknw + xi; encode_packet() local
921 Jpeg2000Cblk *cblk = prec->cblk + yi * cblknw + xi; encode_packet() local
1200 Jpeg2000Cblk *cblk = prec->cblk + cblkno; makelayer() local
1288 Jpeg2000Cblk *cblk = prec->cblk + cblkno; makelayers() local
1349 getcut(Jpeg2000Cblk *cblk, int64_t lambda, int dwt_norm) getcut() argument
1385 Jpeg2000Cblk *cblk = prec->cblk + cblkno; truncpasses() local
[all...]
H A Djpeg2000.c332 prec->cblk = NULL; in init_prec()
336 prec->cblk = av_calloc(nb_codeblocks, sizeof(*prec->cblk)); in init_prec()
337 if (!prec->cblk) in init_prec()
340 Jpeg2000Cblk *cblk = prec->cblk + cblkno; in init_prec() local
347 cblk->coord[0][0] = FFMAX(Cx0, prec->coord[0][0]); in init_prec()
352 cblk->coord[1][0] = FFMAX(Cy0, prec->coord[1][0]); in init_prec()
355 cblk->coord[0][1] = FFMIN(Cx0 + (1 << band->log2_cblk_width), in init_prec()
359 cblk in init_prec()
588 Jpeg2000Cblk *cblk = prec->cblk + cblkno; ff_jpeg2000_reinit() local
626 Jpeg2000Cblk *cblk = &prec->cblk[cblkno]; ff_jpeg2000_cleanup() local
[all...]
H A Djpeg2000dec.c523 c->log2_cblk_width = (bytestream2_get_byteu(&s->g) & 15) + 2; // cblk width in get_cox()
524 c->log2_cblk_height = (bytestream2_get_byteu(&s->g) & 15) + 2; // cblk height in get_cox()
528 av_log(s->avctx, AV_LOG_ERROR, "cblk size invalid\n"); in get_cox()
533 if (c->cblk_style != 0) { // cblk style in get_cox()
534 av_log(s->avctx, AV_LOG_WARNING, "extra cblk styles %X\n", c->cblk_style); in get_cox()
1147 Jpeg2000Cblk *cblk = prec->cblk + cblkno; in jpeg2000_decode_packet() local
1151 if (cblk->npasses) in jpeg2000_decode_packet()
1160 if (!cblk->npasses) { in jpeg2000_decode_packet()
1168 cblk in jpeg2000_decode_packet()
1253 Jpeg2000Cblk *cblk = prec->cblk + cblkno; jpeg2000_decode_packet() local
1758 decode_cblk(Jpeg2000DecoderContext *s, Jpeg2000CodingStyle *codsty, Jpeg2000T1Context *t1, Jpeg2000Cblk *cblk, int width, int height, int bandpos, uint8_t roi_shift) decode_cblk() argument
1860 dequantization_float(int x, int y, Jpeg2000Cblk *cblk, Jpeg2000Component *comp, Jpeg2000T1Context *t1, Jpeg2000Band *band) dequantization_float() argument
1875 dequantization_int(int x, int y, Jpeg2000Cblk *cblk, Jpeg2000Component *comp, Jpeg2000T1Context *t1, Jpeg2000Band *band) dequantization_int() argument
1895 dequantization_int_97(int x, int y, Jpeg2000Cblk *cblk, Jpeg2000Component *comp, Jpeg2000T1Context *t1, Jpeg2000Band *band) dequantization_int_97() argument
1937 roi_scale_cblk(Jpeg2000Cblk *cblk, Jpeg2000Component *comp, Jpeg2000T1Context *t1) roi_scale_cblk() argument
1989 Jpeg2000Cblk *cblk = prec->cblk + cblkno; tile_codeblocks() local
[all...]
H A Djpeg2000.h197 Jpeg2000Cblk *cblk; member

Completed in 7 milliseconds