|
Blender V4.3
|
Go to the source code of this file.
Functions | |
| void | imb_refcounter_lock_init () |
| void | imb_refcounter_lock_exit () |
| 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 307 of file allocimbuf.cc.
References ImBuf::encoded_buffer, ImBuf::encoded_buffer_size, ImBuf::encoded_size, ImBuf::flags, freeencodedbufferImBuf(), 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 332 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 56 of file allocimbuf.cc.
References BLI_spin_lock(), and mmap_spin.
Referenced by imb_load_filepath_thumbnail_webp(), IMB_loadifffile(), IMMapStream::IMMapStream(), and IMMapStream::~IMMapStream().
| void imb_mmap_lock_exit | ( | ) |
Definition at line 51 of file allocimbuf.cc.
References BLI_spin_end(), and mmap_spin.
Referenced by IMB_exit().
| void imb_mmap_lock_init | ( | ) |
Definition at line 46 of file allocimbuf.cc.
References BLI_spin_init(), and mmap_spin.
Referenced by IMB_init().
| void imb_mmap_unlock | ( | ) |
Definition at line 61 of file allocimbuf.cc.
References BLI_spin_unlock(), and mmap_spin.
Referenced by imb_load_filepath_thumbnail_webp(), IMB_loadifffile(), IMMapStream::IMMapStream(), and IMMapStream::~IMMapStream().
| void imb_refcounter_lock_exit | ( | ) |
Definition at line 38 of file allocimbuf.cc.
References BLI_spin_end(), and refcounter_spin.
Referenced by IMB_exit().
| void imb_refcounter_lock_init | ( | ) |
Definition at line 33 of file allocimbuf.cc.
References BLI_spin_init(), and refcounter_spin.
Referenced by IMB_init().