Home
last modified time | relevance | path

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

/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/utils/
A Dbit_writer_utils.c26 static int BitWriterResize(VP8BitWriter* const bw, size_t extra_size) { in BitWriterResize() argument
29 const uint64_t needed_size_64b = (uint64_t)bw->pos_ + extra_size; in BitWriterResize()
206 static int VP8LBitWriterResize(VP8LBitWriter* const bw, size_t extra_size) { in VP8LBitWriterResize() argument
211 const uint64_t size_required_64b = (uint64_t)current_size + extra_size; in VP8LBitWriterResize()
280 const uint64_t extra_size = (bw->end_ - bw->buf_) + MIN_EXTRA_SIZE; in VP8LPutBitsFlushBits() local
281 if (extra_size != (size_t)extra_size || in VP8LPutBitsFlushBits()
282 !VP8LBitWriterResize(bw, (size_t)extra_size)) { in VP8LPutBitsFlushBits()
316 const uint64_t extra_size = (bw->end_ - bw->buf_) + MIN_EXTRA_SIZE; in VP8LPutBitsInternal() local
317 if (extra_size != (size_t)extra_size || in VP8LPutBitsInternal()
318 !VP8LBitWriterResize(bw, (size_t)extra_size)) { in VP8LPutBitsInternal()
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/imageio/
A Dimageio_util.c50 const size_t extra_size = (max_size == 0) ? kBlockSize : max_size; in ImgIoUtilReadFromStdin() local
52 void* const new_data = realloc(input, max_size + extra_size + 1); in ImgIoUtilReadFromStdin()
55 max_size += extra_size; in ImgIoUtilReadFromStdin()
56 size += fread(input + size, 1, extra_size, stdin); in ImgIoUtilReadFromStdin()
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/dec/
A Didec_dec.c183 const uint64_t extra_size = (new_size + CHUNK_SIZE - 1) & ~(CHUNK_SIZE - 1); in AppendToMemBuffer() local
185 (uint8_t*)WebPSafeMalloc(extra_size, sizeof(*new_buf)); in AppendToMemBuffer()
190 mem->buf_size_ = (size_t)extra_size; in AppendToMemBuffer()
/AliOS-Things-master/components/SDL2/src/image/
A Dminiz.h4183 …_zip_archive *pZip, mz_uint8 *pDst, mz_uint16 filename_size, mz_uint16 extra_size, mz_uint64 uncom… in mz_zip_writer_create_local_dir_header() argument
4197 MZ_WRITE_LE16(pDst + MZ_ZIP_LDH_EXTRA_LEN_OFS, extra_size); in mz_zip_writer_create_local_dir_header()
4201 …_zip_archive *pZip, mz_uint8 *pDst, mz_uint16 filename_size, mz_uint16 extra_size, mz_uint16 comme… in mz_zip_writer_create_central_dir_header() argument
4215 MZ_WRITE_LE16(pDst + MZ_ZIP_CDH_EXTRA_LEN_OFS, extra_size); in mz_zip_writer_create_central_dir_header()
4222 …har *pFilename, mz_uint16 filename_size, const void *pExtra, mz_uint16 extra_size, const void *pCo… in mz_zip_writer_add_to_central_dir() argument
4230 …_central_dir.m_size + MZ_ZIP_CENTRAL_DIR_HEADER_SIZE + filename_size + extra_size + comment_size) … in mz_zip_writer_add_to_central_dir()
4233 …if (!mz_zip_writer_create_central_dir_header(pZip, central_dir_header, filename_size, extra_size, … in mz_zip_writer_add_to_central_dir()
4238 (!mz_zip_array_push_back(pZip, &pState->m_central_dir, pExtra, extra_size)) || in mz_zip_writer_add_to_central_dir()

Completed in 19 milliseconds