Lines Matching defs:width
116 int width, height; ///< image width and height
171 s->width, s->height, s->tile_width, s->tile_height,
309 bytestream_put_be32(&s->buf, s->width); // width
353 bytestream_put_byte(&s->buf, codsty->log2_cblk_width-2); // cblk width
460 s->numXtiles = ff_jpeg2000_ceildiv(s->width, s->tile_width);
483 comp->coord[0][1] = comp->coord_o[0][1] = FFMIN((tilex+1)*s->tile_width, s->width);
613 static void encode_sigpass(Jpeg2000T1Context *t1, int width, int height, int bandno, int *nmsedec, int bpno)
617 for (x = 0; x < width; x++)
635 static void encode_refpass(Jpeg2000T1Context *t1, int width, int height, int *nmsedec, int bpno)
639 for (x = 0; x < width; x++)
649 static void encode_clnpass(Jpeg2000T1Context *t1, int width, int height, int bandno, int *nmsedec, int bpno)
653 for (x = 0; x < width; x++){
705 int width, int height, int bandpos, int lev)
713 for (x = 0; x < width; x++){
736 case 0: encode_sigpass(t1, width, height, bandpos, &nmsedec, bpno);
738 case 1: encode_refpass(t1, width, height, &nmsedec, bpno);
740 case 2: encode_clnpass(t1, width, height, bandpos, &nmsedec, bpno);
950 tile_coord[0][1] = FFMIN(tile_coord[0][0] + s->tile_width, s->width);
1535 if ((ret = ff_alloc_packet(avctx, pkt, avctx->width*avctx->height*9 + AV_INPUT_BUFFER_MIN_SIZE)) < 0)
1576 bytestream_put_be32(&s->buf, avctx->width);
1760 s->width = avctx->width;