Lines Matching defs:width
261 if (avctx->width & 15) {
270 int width = i ? avctx->width >> s->chroma_h_shift : avctx->width;
273 ptrdiff_t stride = (FFALIGN(width / 8, 8) + 64) * 8;
275 w8 = FFALIGN(width / 8, 8) + 64;
302 s->plane[i].band[j][k].width = (width / 8) << j;
370 s->alpha = av_calloc(avctx->width * avctx->height, sizeof(*s->alpha));
377 static void quantize_band(int16_t *input, int width, int a_width,
383 for (int j = 0; j < width; j++)
401 static void process_alpha(const int16_t *src, int width, int height, ptrdiff_t stride, int16_t *dst)
404 for (int j = 0; j < width; j++) {
418 dst += width;
436 int width = s->plane[plane].band[2][0].width;
447 process_alpha(input, avctx->width, avctx->height,
450 in_stride = avctx->width;
455 width * 2, height * 2);
465 width, height * 2);
473 width, height * 2);
476 width = s->plane[plane].band[1][0].width;
485 for (int j = 0; j < width * 2; j++)
493 width * 2, height * 2);
501 width, height * 2);
509 width, height * 2);
512 width = s->plane[plane].band[0][0].width;
522 for (int j = 0; j < width * 2; j++)
531 width * 2, height * 2);
539 width, height * 2);
547 width, height * 2);
550 ret = ff_alloc_packet(avctx, pkt, 64LL + s->planes * (2LL * avctx->width * avctx->height + 1000LL));
590 bytestream2_put_be16(pby, avctx->width);
608 int width = s->plane[p].band[0][0].width;
633 bytestream2_put_be16(pby, width);
651 for (int j = 0; j < width; j++)
667 int width = s->plane[p].band[l][0].width;
668 int stride = FFALIGN(width, 8);
687 bytestream2_put_be16(pby, width);
718 bytestream2_put_be16(pby, width);
738 quantize_band(data, width, a_width, height,
745 int16_t index = j >= width ? 0 : FFSIGN(data[j]) * lut[FFABS(data[j])];