Searched refs:struct_map (Results 1 – 2 of 2) sorted by relevance
| /OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/tools/j2s4b/src/j2s4b/ |
| H A D | j2s.cpp | 87 int struct_map_record_root(struct_map_t *struct_map, const uint8_t *data, in struct_map_record_root() argument 90 if (!struct_map || !data || !len) { in struct_map_record_root() 94 fwrite(data, 1, len, struct_map->file); in struct_map_record_root() 96 struct_map->offset += len; in struct_map_record_root() 98 struct_map->block_offset += len; in struct_map_record_root() 99 struct_map->root_ptr = data; in struct_map_record_root() 104 int struct_map_record(struct_map_t *struct_map, const uint8_t *data, in struct_map_record() argument 111 if (!struct_map || !data || !len) { in struct_map_record() 116 map_index.ptr_offset = (void *)struct_map->block_offset; in struct_map_record() 119 fwrite(&map_index, 1, sizeof(map_index_t), struct_map->map_file); in struct_map_record() [all …]
|
| H A D | j2s.h | 208 extern int struct_map_close(struct_map_t *struct_map);
|