Olaf
Overly Lightweight Acoustic Fingerprinting
Loading...
Searching...
No Matches
Olaf_FP_DB_Writer Struct Reference

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_DBdb
uint32_t audio_file_identifier
uint64_t * hashes
size_t hashes_size
size_t index

Detailed Description

An opaque struct with state information related to the stream processor.

Field Documentation

◆ audio_file_identifier

uint32_t Olaf_FP_DB_Writer::audio_file_identifier

Identifier of the audio file being stored

◆ db

Olaf_DB* Olaf_FP_DB_Writer::db

Reference to the fingerprint database

◆ hashes

uint64_t* Olaf_FP_DB_Writer::hashes

Array of fingerprint hashes

◆ hashes_size

size_t Olaf_FP_DB_Writer::hashes_size

Allocated capacity of the hashes array

◆ index [1/2]

int Olaf_FP_DB_Writer::index

Current write index into the key/value buffers

◆ index [2/2]

size_t Olaf_FP_DB_Writer::index

Current write index into the hashes array

◆ keys

uint64_t Olaf_FP_DB_Writer::keys[1<< 12]

Buffer of fingerprint hash keys

◆ threshold

int Olaf_FP_DB_Writer::threshold

Flush threshold for the key/value buffers

◆ values

uint64_t Olaf_FP_DB_Writer::values[1<< 12]

Buffer of fingerprint hash values


The documentation for this struct was generated from the following files: