Lines Matching refs:size
312 int64_t size;
318 av_fast_padded_malloc(&x->buf, &x->buf_size, avpkt->size);
321 memcpy(x->buf, avpkt->data, avpkt->size);
322 x->buf[avpkt->size] = 0;
325 end = x->buf + avpkt->size;
349 size = 1;
351 size *= NB_ELEMENTS;
353 if (ncolors <= 0 || ncolors > size) {
358 if (size > SIZE_MAX / 4)
361 size *= 4;
370 av_fast_padded_malloc(&x->pixels, &x->pixels_size, size);
428 return avpkt->size;