|
Blender V5.0
|
Go to the source code of this file.
Functions | |
| static BHead | bhead_from_bhead4 (const BHead4 &bhead4) |
| static const void * | old_ptr_from_uint64_ptr (const uint64_t ptr) |
| static BHead | bhead_from_small_bhead8 (const SmallBHead8 &small_bhead8) |
| static BHead | bhead_from_large_bhead8 (const LargeBHead8 &large_bhead8) |
| std::optional< BHead > | BLO_readfile_read_bhead (FileReader *file, const BHeadType type) |
Definition at line 9 of file blo_core_bhead.cc.
References BHead4::code, BHead::code, BHead4::len, BHead::len, BHead4::nr, BHead::nr, BHead4::old, BHead::old, BHead4::SDNAnr, and BHead::SDNAnr.
Referenced by BLO_readfile_read_bhead().
|
static |
Definition at line 41 of file blo_core_bhead.cc.
References BHead::code, LargeBHead8::code, BHead::len, LargeBHead8::len, BHead::nr, LargeBHead8::nr, BHead::old, LargeBHead8::old, old_ptr_from_uint64_ptr(), BHead::SDNAnr, and LargeBHead8::SDNAnr.
Referenced by BLO_readfile_read_bhead().
|
static |
Definition at line 30 of file blo_core_bhead.cc.
References BHead::code, SmallBHead8::code, BHead::len, SmallBHead8::len, BHead::nr, SmallBHead8::nr, BHead::old, SmallBHead8::old, old_ptr_from_uint64_ptr(), BHead::SDNAnr, and SmallBHead8::SDNAnr.
Referenced by BLO_readfile_read_bhead().
| std::optional< BHead > BLO_readfile_read_bhead | ( | FileReader * | file, |
| BHeadType | type ) |
Parse the next BHead in the file, increasing the file reader to after the BHead. This automatically converts the stored BHead (one of BHeadType) to the runtime BHead type.
Definition at line 52 of file blo_core_bhead.cc.
References BHead4, bhead_from_bhead4(), bhead_from_large_bhead8(), bhead_from_small_bhead8(), BLO_CODE_DATA, BLO_CODE_ENDB, BHead4::code, LargeBHead8::code, SmallBHead8::code, LargeBHead8, FileReader::read, and SmallBHead8.
Referenced by blendthumb_extract_from_file_impl(), and get_bhead().
|
static |
Definition at line 20 of file blo_core_bhead.cc.
References ptr, and uint32_from_uint64_ptr().
Referenced by bhead_from_large_bhead8(), and bhead_from_small_bhead8().