Data Structures | Macros | Functions
wv.h File Reference
#include <stdint.h>

Go to the source code of this file.

Data Structures

struct  WvHeader


#define WV_HEADER_SIZE   32
#define WV_FLAG_INITIAL_BLOCK   (1 << 11)
#define WV_FLAG_FINAL_BLOCK   (1 << 12)
#define WV_BLOCK_LIMIT   1048576


int ff_wv_parse_header (WvHeader *wv, const uint8_t *data)
 Parse a WavPack block header. More...

Macro Definition Documentation


#define WV_HEADER_SIZE   32

Definition at line 26 of file wv.h.


#define WV_FLAG_INITIAL_BLOCK   (1 << 11)

Definition at line 28 of file wv.h.


#define WV_FLAG_FINAL_BLOCK   (1 << 12)

Definition at line 29 of file wv.h.


#define WV_BLOCK_LIMIT   1048576

Definition at line 32 of file wv.h.

Function Documentation

◆ ff_wv_parse_header()

int ff_wv_parse_header ( WvHeader wv,
const uint8_t data 

Parse a WavPack block header.

wvthis struct will be filled with parse header information
dataheader data, must be WV_HEADER_SIZE bytes long
0 on success, a negative AVERROR code on failure

Definition at line 29 of file wv.c.

Referenced by mkv_strip_wavpack(), wv_read_block_header(), and wv_write_packet().