Home
last modified time | relevance | path

Searched refs:blob_size (Results 1 – 7 of 7) sorted by relevance

/hardware/google/gfxstream/guest/mesa/src/util/
Dmesa_cache_db.h64 const void *blob, size_t blob_size);
74 mesa_cache_db_has_space(struct mesa_cache_db *db, size_t blob_size);
113 const void *blob, size_t blob_size) in mesa_cache_db_entry_write() argument
132 mesa_cache_db_has_space(struct mesa_cache_db *db, size_t blob_size) in mesa_cache_db_has_space() argument
Dmesa_cache_db.c445 static uint32_t blob_file_size(uint32_t blob_size) in blob_file_size() argument
447 return sizeof(struct mesa_cache_db_file_entry) + blob_size; in blob_file_size()
451 mesa_db_compact(struct mesa_cache_db *db, int64_t blob_size, in mesa_db_compact() argument
495 for (i = 0; blob_size > 0 && i < num_entries; i++) { in mesa_db_compact()
496 blob_size -= blob_file_size(entries[i]->size); in mesa_db_compact()
524 blob_size = blob_file_size(entries[i]->size); in mesa_db_compact()
532 if (!mesa_db_seek_cur(db->cache.file, blob_size) || in mesa_db_compact()
542 if (!mesa_db_read_data(db->cache.file, buffer, blob_size) || in mesa_db_compact()
544 !mesa_db_write_data(compacted_cache, buffer, blob_size)) in mesa_db_compact()
554 index_entry.cache_db_file_offset = ftell(compacted_cache) - blob_size; in mesa_db_compact()
[all …]
Dmesa_cache_db_multipart.c126 const void *blob, size_t blob_size) in mesa_cache_db_multipart_entry_write() argument
135 if (mesa_cache_db_has_space(&db->parts[part], blob_size)) { in mesa_cache_db_multipart_entry_write()
151 blob, blob_size); in mesa_cache_db_multipart_entry_write()
Dmesa_cache_db_multipart.h38 const void *blob, size_t blob_size);
Dfossilize_db.c655 const void *blob, size_t blob_size) in foz_write_entry() argument
688 header.uncompressed_size = blob_size; in foz_write_entry()
690 header.payload_size = blob_size; in foz_write_entry()
691 header.crc = util_hash_crc32(blob, blob_size); in foz_write_entry()
709 if (fwrite(blob, 1, blob_size, foz_db->file[0]) != blob_size) in foz_write_entry()
/hardware/google/camera/common/hal/utils/
Dcamera_blob.h54 uint32_t blob_size; member
/hardware/google/camera/devices/EmulatedCamera/hwl/
DJpegCompressor.cpp343 blob->blob_size = encoded_size; in CompressYUV420()