Lines Matching defs:size
45 unsigned size;
109 ctx->band[plane][0].size = (w >> NB_LEVELS) * (h >> NB_LEVELS);
116 ctx->band[plane][i + 1].size = (w >> scale) * (h >> scale);
126 static int read_low_coeffs(AVCodecContext *avctx, int16_t *dst, int size,
135 while (i < size) {
162 if (state * 4ULL > 0xFF || i >= size)
181 if (rlen > size - i)
202 int size, int c, int a, int d,
225 while (i < size) {
269 if ((uint64_t)state > 0xFF / 4 || i >= size)
296 if (rlen > 0xFFFF || i + rlen > size)
331 unsigned size = ctx->band[plane][i + 1].size;
344 ret = read_high_coeffs(avctx, ptr + bytestream2_tell(&ctx->gb), dest, size,
379 static void filterfn(int16_t *dest, int16_t *tmp, unsigned size, int64_t scale)
385 hsize = size >> 1;
389 memcpy(low, dest, size);
390 memcpy(high, dest + hsize, size);
611 bytestream2_init(&ctx->gb, avpkt->data, avpkt->size);
615 av_log(avctx, AV_LOG_ERROR, "Invalid packet size %"PRIu32"\n", pktsize);