18struct BlendDataReader;
52 const char *filepath_rel,
53 const char *basepath);
77 const char *ref_file_name,
79 const char *local_name,
85 const char *orig_file_path,
108 const char *ref_file_name,
109 const char *filepath_rel,
126 return this->individual_files + this->bakes;
141 const char *filepath_rel,
142 const PackedFile *
pf);
static DBVT_INLINE btScalar size(const btDbvtVolume &a)
#define pf(_x, _i)
Prefetch 64.
void BKE_packedfile_blend_write(BlendWriter *writer, const PackedFile *pf)
int BKE_packedfile_unpack_all_libraries(Main *bmain, ReportList *reports)
ePF_FileCompare BKE_packedfile_compare_to_file(const char *ref_file_name, const char *filepath_rel, const PackedFile *pf)
int BKE_packedfile_read(PackedFile *pf, void *data, int size)
PackedFile * BKE_packedfile_duplicate(const PackedFile *pf_src)
bool BKE_packedfile_id_check(const ID *id)
void BKE_packedfile_free(PackedFile *pf)
int BKE_packedfile_seek(PackedFile *pf, int offset, int whence)
void BKE_packedfile_rewind(PackedFile *pf)
PackedFile * BKE_packedfile_new(ReportList *reports, const char *filepath_rel, const char *basepath)
void BKE_packedfile_id_unpack(Main *bmain, ID *id, ReportList *reports, enum ePF_FileStatus how)
int BKE_packedfile_unpack_vfont(Main *bmain, ReportList *reports, VFont *vfont, enum ePF_FileStatus how)
PackedFileCount BKE_packedfile_count_all(Main *bmain)
void BKE_packedfile_pack_all_libraries(Main *bmain, ReportList *reports)
void BKE_packedfile_unpack_all(Main *bmain, ReportList *reports, enum ePF_FileStatus how)
int BKE_packedfile_unpack_image(Main *bmain, ReportList *reports, Image *ima, enum ePF_FileStatus how)
BMesh const char void * data
char * BKE_packedfile_unpack_to_file(ReportList *reports, const char *ref_file_name, const char *abs_name, const char *local_name, PackedFile *pf, enum ePF_FileStatus how)
int BKE_packedfile_unpack_volume(Main *bmain, ReportList *reports, Volume *volume, enum ePF_FileStatus how)
void BKE_packedfile_pack_all(Main *bmain, ReportList *reports, bool verbose)
char * BKE_packedfile_unpack(Main *bmain, ReportList *reports, ID *id, const char *orig_file_path, PackedFile *pf, enum ePF_FileStatus how)
constexpr int64_t PACKED_FILE_MAX_SIZE
void BKE_packedfile_blend_read(BlendDataReader *reader, PackedFile **pf_p, StringRefNull filepath)
PackedFile * BKE_packedfile_new_from_memory(const void *mem, int memlen, const ImplicitSharingInfo *sharing_info=nullptr)
int BKE_packedfile_unpack_sound(Main *bmain, ReportList *reports, bSound *sound, enum ePF_FileStatus how)
int BKE_packedfile_write_to_file(ReportList *reports, const char *ref_file_name, const char *filepath_rel, PackedFile *pf)