Go to the documentation of this file.
58 if (internal_ftype != 2 && internal_ftype != 3 && internal_ftype != 5)
62 if (blocksize < 1 || blocksize > 65535)
static unsigned int get_ur_golomb_shorten(GetBitContext *gb, int k)
read unsigned golomb rice code (shorten).
int buf_size
Size of buf except extra allocated bytes.
static int init_get_bits8(GetBitContext *s, const uint8_t *buffer, int byte_size)
Initialize GetBitContext.
unsigned char * buf
Buffer must have AVPROBE_PADDING_SIZE of extra allocated bytes filled with zero.
This structure contains the data a format has to probe a file.
const AVInputFormat ff_shorten_demuxer
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
uint64_t_TMPL AV_WL64 unsigned int_TMPL AV_WL32 unsigned int_TMPL AV_WL24 unsigned int_TMPL AV_WL16 uint64_t_TMPL AV_WB64 unsigned int_TMPL AV_RB32
static int shn_probe(const AVProbeData *p)
#define AV_INPUT_BUFFER_PADDING_SIZE