FFmpeg
|
Snappy decompression. More...
Go to the source code of this file.
Functions | |
int64_t | ff_snappy_peek_uncompressed_length (GetByteContext *gb) |
Get the uncompressed length of an input buffer compressed using the Snappy algorithm. More... | |
int | ff_snappy_uncompress (GetByteContext *gb, uint8_t *buf, int64_t *size) |
Decompress an input buffer using Snappy algorithm. More... | |
Snappy decompression.
Snappy is a compression/decompression algorithm that does not aim for maximum compression, but rather for very high speeds and reasonable compression.
http://en.wikipedia.org/wiki/Snappy_%28software%29
Definition in file snappy.h.
int64_t ff_snappy_peek_uncompressed_length | ( | GetByteContext * | gb | ) |
Get the uncompressed length of an input buffer compressed using the Snappy algorithm.
The GetByteContext is not advanced.
gb | input GetByteContext. |
Definition at line 131 of file snappy.c.
Referenced by hap_parse_frame_header().
int ff_snappy_uncompress | ( | GetByteContext * | gb, |
uint8_t * | buf, | ||
int64_t * | size | ||
) |
Decompress an input buffer using Snappy algorithm.
gb | input GetByteContext. |
buf | input buffer pointer. |
size | input/output on input, the size of buffer, on output, the size of the uncompressed data. |
Definition at line 141 of file snappy.c.
Referenced by decompress_chunks_thread().