Home
last modified time | relevance | path

Searched refs:FITS_BLOCK_SIZE (Results 1 – 1 of 1) sorted by relevance

/third_party/ffmpeg/libavformat/
Dfitsdec.c34 #define FITS_BLOCK_SIZE 2880 macro
83 char buf[FITS_BLOCK_SIZE] = { 0 }; in is_image()
87 ret = avio_read(s->pb, buf, FITS_BLOCK_SIZE); in is_image()
90 } else if (ret < FITS_BLOCK_SIZE) { in is_image()
94 av_bprint_append_data(avbuf, buf, FITS_BLOCK_SIZE); in is_image()
97 while(!ret && buf_size < FITS_BLOCK_SIZE) { in is_image()
136 if(FITS_BLOCK_SIZE - 1 > INT64_MAX - size) in is_image()
138 size = ((size + FITS_BLOCK_SIZE - 1) / FITS_BLOCK_SIZE) * FITS_BLOCK_SIZE; in is_image()
159 av_bprint_init(&avbuf, FITS_BLOCK_SIZE, AV_BPRINT_SIZE_UNLIMITED); in fits_read_packet()
166 av_bprint_init(&avbuf, FITS_BLOCK_SIZE, AV_BPRINT_SIZE_UNLIMITED); in fits_read_packet()