Go to the documentation of this file.
28 uint8_t hash_result[16] = {0};
31 uint8_t in[256] = {0};
33 for (
i = 0;
i < 256;
i++)
48 return AV_RL32(hash_result) != 0x6384ba69;
52 for (
i = 0;
i < 40*1024;
i++)
56 return hash_result[0];
AVMurMur3 * av_murmur3_alloc(void)
Allocate an AVMurMur3 hash context.
void av_murmur3_final(AVMurMur3 *c, uint8_t dst[16])
Finish hashing and output digest value.
printf("static const uint8_t my_array[100] = {\n")
#define i(width, name, range_min, range_max)
void * av_mallocz(size_t size)
Allocate a memory block with alignment suitable for all memory accesses (including vectors if availab...
uint64_t_TMPL AV_WL64 unsigned int_TMPL AV_RL32
void av_murmur3_init_seeded(AVMurMur3 *c, uint64_t seed)
Initialize or reinitialize an AVMurMur3 hash context with a seed.
void av_murmur3_init(AVMurMur3 *c)
Initialize or reinitialize an AVMurMur3 hash context.
void av_murmur3_update(AVMurMur3 *c, const uint8_t *src, size_t len)
Update hash context with new data.