FFmpeg
Functions | Variables
vpx_rac.c File Reference
#include <stdint.h>
#include "libavutil/error.h"
#include "bytestream.h"
#include "vpx_rac.h"

Go to the source code of this file.

Functions

int ff_vpx_init_range_decoder (VPXRangeCoder *c, const uint8_t *buf, int buf_size)
 

Variables

const uint8_t ff_vpx_norm_shift [256]
 

Function Documentation

◆ ff_vpx_init_range_decoder()

int ff_vpx_init_range_decoder ( VPXRangeCoder c,
const uint8_t *  buf,
int  buf_size 
)

Variable Documentation

◆ ff_vpx_norm_shift

const uint8_t ff_vpx_norm_shift[256]
Initial value:
= {
8,7,6,6,5,5,5,5,4,4,4,4,4,4,4,4,
3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,
2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,
2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
}

Definition at line 27 of file vpx_rac.c.

Referenced by vpx_rac_renorm().