|
Olaf
Overly Lightweight Acoustic Fingerprinting
|
An opaque struct with state information related to the stream processor. More...
#include <olaf_fp_db_writer.h>
Data Fields | |
| uint64_t | keys [1<< 12] |
| uint64_t | values [1<< 12] |
| int | index |
| int | threshold |
| Olaf_DB * | db |
| uint32_t | audio_file_identifier |
| uint64_t * | hashes |
| size_t | hashes_size |
| size_t | index |
An opaque struct with state information related to the stream processor.
| uint32_t Olaf_FP_DB_Writer::audio_file_identifier |
Identifier of the audio file being stored
| Olaf_DB* Olaf_FP_DB_Writer::db |
Reference to the fingerprint database
| uint64_t* Olaf_FP_DB_Writer::hashes |
Array of fingerprint hashes
| size_t Olaf_FP_DB_Writer::hashes_size |
Allocated capacity of the hashes array
| int Olaf_FP_DB_Writer::index |
Current write index into the key/value buffers
| size_t Olaf_FP_DB_Writer::index |
Current write index into the hashes array
| uint64_t Olaf_FP_DB_Writer::keys[1<< 12] |
Buffer of fingerprint hash keys
| int Olaf_FP_DB_Writer::threshold |
Flush threshold for the key/value buffers
| uint64_t Olaf_FP_DB_Writer::values[1<< 12] |
Buffer of fingerprint hash values