mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 23:21:06 +01:00
Merge commit '17cb56b356'
* commit '17cb56b356':
ffv1: Remove broken disabled cruft
Merged-by: Clément Bœsch <u@pkh.me>
This commit is contained in:
commit
2f42aef3e4
2 changed files with 0 additions and 12 deletions
|
|
@ -83,12 +83,7 @@ static inline int get_vlc_symbol(GetBitContext *gb, VlcState *const state,
|
|||
ff_dlog(NULL, "v:%d bias:%d error:%d drift:%d count:%d k:%d",
|
||||
v, state->bias, state->error_sum, state->drift, state->count, k);
|
||||
|
||||
#if 0 // JPEG LS
|
||||
if (k == 0 && 2 * state->drift <= -state->count)
|
||||
v ^= (-1);
|
||||
#else
|
||||
v ^= ((2 * state->drift + state->count) >> 31);
|
||||
#endif
|
||||
|
||||
ret = fold(v + state->bias, bits);
|
||||
|
||||
|
|
|
|||
|
|
@ -252,14 +252,7 @@ static inline void put_vlc_symbol(PutBitContext *pb, VlcState *const state,
|
|||
|
||||
av_assert2(k <= 13);
|
||||
|
||||
#if 0 // JPEG LS
|
||||
if (k == 0 && 2 * state->drift <= -state->count)
|
||||
code = v ^ (-1);
|
||||
else
|
||||
code = v;
|
||||
#else
|
||||
code = v ^ ((2 * state->drift + state->count) >> 31);
|
||||
#endif
|
||||
|
||||
ff_dlog(NULL, "v:%d/%d bias:%d error:%d drift:%d count:%d k:%d\n", v, code,
|
||||
state->bias, state->error_sum, state->drift, state->count, k);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue