• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavcodec/

Lines Matching refs:cblk

395     c->log2_cblk_width  = (bytestream2_get_byteu(&s->g) & 15) + 2; // cblk width
396 c->log2_cblk_height = (bytestream2_get_byteu(&s->g) & 15) + 2; // cblk height
400 av_log(s->avctx, AV_LOG_ERROR, "cblk size invalid\n");
405 avpriv_request_sample(s->avctx, "cblk size > 64");
410 if (c->cblk_style != 0) { // cblk style
411 av_log(s->avctx, AV_LOG_WARNING, "extra cblk styles %X\n", c->cblk_style);
755 Jpeg2000Cblk *cblk = prec->cblk + cblkno;
758 if (cblk->npasses)
767 if (!cblk->npasses) {
775 cblk->nonzerobits = v;
781 cblk->lblock += llen;
782 if ((ret = get_bits(s, av_log2(newpasses) + cblk->lblock)) < 0)
784 if (ret > sizeof(cblk->data)) {
787 sizeof(cblk->data));
790 cblk->lengthinc = ret;
791 cblk->npasses += newpasses;
809 Jpeg2000Cblk *cblk = prec->cblk + cblkno;
810 if ( bytestream2_get_bytes_left(&s->g) < cblk->lengthinc
811 || sizeof(cblk->data) < cblk->length + cblk->lengthinc + 2
815 cblk->length, cblk->lengthinc);
819 bytestream2_get_bufferu(&s->g, cblk->data + cblk->length, cblk->lengthinc);
820 cblk->length += cblk->lengthinc;
821 cblk->lengthinc = 0;
1052 Jpeg2000T1Context *t1, Jpeg2000Cblk *cblk,
1055 int passno = cblk->npasses, pass_t = 2, bpno = cblk->nonzerobits - 1, y;
1067 if (!cblk->length)
1073 cblk->data[cblk->length] = 0xff;
1074 cblk->data[cblk->length+1] = 0xff;
1075 ff_mqc_initdec(&t1->mqc, cblk->data);
1087 ff_mqc_initdec(&t1->mqc, cblk->data);
1095 ff_mqc_initdec(&t1->mqc, cblk->data);
1115 static void dequantization_float(int x, int y, Jpeg2000Cblk *cblk,
1120 int w = cblk->coord[0][1] - cblk->coord[0][0];
1121 for (j = 0; j < (cblk->coord[1][1] - cblk->coord[1][0]); ++j) {
1130 static void dequantization_int(int x, int y, Jpeg2000Cblk *cblk,
1135 int w = cblk->coord[0][1] - cblk->coord[0][0];
1136 for (j = 0; j < (cblk->coord[1][1] - cblk->coord[1][0]); ++j) {
1256 Jpeg2000Cblk *cblk = prec->cblk + cblkno;
1257 decode_cblk(s, codsty, &t1, cblk,
1258 cblk->coord[0][1] - cblk->coord[0][0],
1259 cblk->coord[1][1] - cblk->coord[1][0],
1262 x = cblk->coord[0][0];
1263 y = cblk->coord[1][0];
1266 dequantization_float(x, y, cblk, comp, &t1, band);
1268 dequantization_int(x, y, cblk, comp, &t1, band);
1269 } /* end cblk */