Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavcodec/
Dmjpegenc_common.c136 ICC_CHUNK_SIZE = UINT16_MAX - ICC_HDR_SIZE, enumerator
150 if (sd->size > ICC_MAX_CHUNKS * ICC_CHUNK_SIZE) { in ff_mjpeg_add_icc_profile_size()
157 nb_chunks = (sd->size + ICC_CHUNK_SIZE - 1) / ICC_CHUNK_SIZE; in ff_mjpeg_add_icc_profile_size()
201 const int nb_chunks = (sd->size + ICC_CHUNK_SIZE - 1) / ICC_CHUNK_SIZE; in jpeg_put_comments()
205 av_assert0(remaining <= ICC_MAX_CHUNKS * ICC_CHUNK_SIZE); in jpeg_put_comments()
208 size = FFMIN(remaining, ICC_CHUNK_SIZE); in jpeg_put_comments()