mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
cabac: Remove ff_h264_lps_state array.
It was only ever used in the cabac test program, but never initialized.
This commit is contained in:
parent
4df30f7114
commit
64d779f2f7
@ -51,7 +51,6 @@ static const uint8_t lps_range[64][4]= {
|
|||||||
|
|
||||||
uint8_t ff_h264_mlps_state[4*64];
|
uint8_t ff_h264_mlps_state[4*64];
|
||||||
uint8_t ff_h264_lps_range[4*2*64];
|
uint8_t ff_h264_lps_range[4*2*64];
|
||||||
uint8_t ff_h264_lps_state[2*64];
|
|
||||||
uint8_t ff_h264_mps_state[2*64];
|
uint8_t ff_h264_mps_state[2*64];
|
||||||
|
|
||||||
static const uint8_t mps_state[64]= {
|
static const uint8_t mps_state[64]= {
|
||||||
@ -196,7 +195,6 @@ static void put_cabac(CABACContext *c, uint8_t * const state, int bit){
|
|||||||
}else{
|
}else{
|
||||||
c->low += c->range - RangeLPS;
|
c->low += c->range - RangeLPS;
|
||||||
c->range = RangeLPS;
|
c->range = RangeLPS;
|
||||||
*state= ff_h264_lps_state[*state];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
renorm_cabac_encoder(c);
|
renorm_cabac_encoder(c);
|
||||||
|
@ -50,7 +50,6 @@ typedef struct CABACContext{
|
|||||||
extern uint8_t ff_h264_mlps_state[4*64];
|
extern uint8_t ff_h264_mlps_state[4*64];
|
||||||
extern uint8_t ff_h264_lps_range[4*2*64]; ///< rangeTabLPS
|
extern uint8_t ff_h264_lps_range[4*2*64]; ///< rangeTabLPS
|
||||||
extern uint8_t ff_h264_mps_state[2*64]; ///< transIdxMPS
|
extern uint8_t ff_h264_mps_state[2*64]; ///< transIdxMPS
|
||||||
extern uint8_t ff_h264_lps_state[2*64]; ///< transIdxLPS
|
|
||||||
extern const uint8_t ff_h264_norm_shift[512];
|
extern const uint8_t ff_h264_norm_shift[512];
|
||||||
|
|
||||||
#if ARCH_X86
|
#if ARCH_X86
|
||||||
|
Loading…
Reference in New Issue
Block a user