openshot-audio  0.1.7
Macros | Functions
md5.c File Reference
#include <stdlib.h>
#include <string.h>
#include "include/private/md5.h"
#include "../alloc.h"
#include "../endswap.h"

Macros

#define F1(x, y, z)   (z ^ (x & (y ^ z)))
 
#define F2(x, y, z)   F1(z, x, y)
 
#define F3(x, y, z)   (x ^ y ^ z)
 
#define F4(x, y, z)   (y ^ (x | ~z))
 
#define MD5STEP(f, w, x, y, z, in, s)   (w += f(x,y,z) + in, w = (w<<s | w>>(32-s)) + x)
 
#define byteSwap(buf, words)
 
#define byteSwapX16(buf)
 
#define BYTES_CHANNEL_SELECTOR(bytes, channels)   (bytes * 100 + channels)
 

Functions

void FLAC__MD5Init (FLAC__MD5Context *ctx)
 
void FLAC__MD5Final (FLAC__byte digest[16], FLAC__MD5Context *ctx)
 
FLAC__bool FLAC__MD5Accumulate (FLAC__MD5Context *ctx, const FLAC__int32 *const signal[], unsigned channels, unsigned samples, unsigned bytes_per_sample)
 

Macro Definition Documentation

#define BYTES_CHANNEL_SELECTOR (   bytes,
  channels 
)    (bytes * 100 + channels)
#define byteSwap (   buf,
  words 
)
#define byteSwapX16 (   buf)
#define F1 (   x,
  y,
 
)    (z ^ (x & (y ^ z)))
#define F2 (   x,
  y,
 
)    F1(z, x, y)
#define F3 (   x,
  y,
 
)    (x ^ y ^ z)
#define F4 (   x,
  y,
 
)    (y ^ (x | ~z))
#define MD5STEP (   f,
  w,
  x,
  y,
  z,
  in,
 
)    (w += f(x,y,z) + in, w = (w<<s | w>>(32-s)) + x)

Function Documentation

FLAC__bool FLAC__MD5Accumulate ( FLAC__MD5Context ctx,
const FLAC__int32 *const  signal[],
unsigned  channels,
unsigned  samples,
unsigned  bytes_per_sample 
)
void FLAC__MD5Final ( FLAC__byte  digest[16],
FLAC__MD5Context ctx 
)
void FLAC__MD5Init ( FLAC__MD5Context ctx)