|
Blender V4.5
|
Go to the source code of this file.
Functions | |
| void | imb_mmap_lock_init () |
| void | imb_mmap_lock_exit () |
| void | imb_mmap_lock () |
| void | imb_mmap_unlock () |
| bool | imb_addencodedbufferImBuf (ImBuf *ibuf) |
| bool | imb_enlargeencodedbufferImBuf (ImBuf *ibuf) |
| bool imb_addencodedbufferImBuf | ( | ImBuf * | ibuf | ) |
Definition at line 283 of file allocimbuf.cc.
References ImBuf::encoded_buffer, ImBuf::encoded_buffer_size, ImBuf::encoded_size, ImBuf::flags, free_encoded_data(), IB_mem, and imb_alloc_buffer().
Referenced by IMB_dupImBuf(), blender::imbuf::imb_oiio_write(), and imb_save_openexr().
| bool imb_enlargeencodedbufferImBuf | ( | ImBuf * | ibuf | ) |
Definition at line 308 of file allocimbuf.cc.
References ImBufByteBuffer::data, ImBuf::encoded_buffer, ImBuf::encoded_buffer_size, ImBuf::encoded_size, ImBuf::flags, IB_mem, imb_alloc_buffer(), imb_free_buffer(), and printf.
Referenced by blender::imbuf::ImBufMemWriter::pwrite().
| void imb_mmap_lock | ( | ) |
Definition at line 46 of file allocimbuf.cc.
References BLI_spin_lock(), and mmap_spin.
Referenced by imb_load_filepath_thumbnail_webp(), IMB_load_image_from_file_descriptor(), IMMapStream::IMMapStream(), and IMMapStream::~IMMapStream().
| void imb_mmap_lock_exit | ( | ) |
Definition at line 41 of file allocimbuf.cc.
References BLI_spin_end(), and mmap_spin.
Referenced by IMB_exit().
| void imb_mmap_lock_init | ( | ) |
Definition at line 36 of file allocimbuf.cc.
References BLI_spin_init(), and mmap_spin.
Referenced by IMB_init().
| void imb_mmap_unlock | ( | ) |
Definition at line 51 of file allocimbuf.cc.
References BLI_spin_unlock(), and mmap_spin.
Referenced by imb_load_filepath_thumbnail_webp(), IMB_load_image_from_file_descriptor(), IMMapStream::IMMapStream(), and IMMapStream::~IMMapStream().