Lines Matching defs:size
52 int size;
137 static int flashsv2_prime(FlashSVContext *s, const uint8_t *src, int size)
149 zstream->avail_in = size;
178 /* Block size */
180 /* Block size (one's complement) */
218 s->blocks[blk_idx].size);
239 s->blocks[blk_idx].size = block_size;
273 int buf_size = avpkt->size;
311 /* calculate number of blocks and size of border (partial) blocks */
317 /* the block size could change between frames, make sure the buffer
331 /* initialize the image size once */
380 /* get the size of the compressed zlib chunk */
381 int size = get_bits(&gb, 16);
389 if (8 * size > get_bits_left(&gb)) {
394 if (s->ver == 2 && size) {
409 if (size < 3) {
410 av_log(avctx, AV_LOG_ERROR, "size too small for diff\n");
429 size -= 2;
440 if (size < 3) {
441 av_log(avctx, AV_LOG_ERROR, "size too small for zlibprime_curr\n");
444 size -= 2;
453 size--; // account for flags byte
467 /* skip unchanged blocks, which have size 0 */
468 if (size) {
469 if (flashsv_decode_block(avctx, avpkt, &gb, size,