Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
17cb56b3
Commit
17cb56b3
authored
Jul 30, 2016
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ffv1: Remove broken disabled cruft
parent
b96f0ab3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
12 deletions
+0
-12
ffv1dec.c
libavcodec/ffv1dec.c
+0
-5
ffv1enc.c
libavcodec/ffv1enc.c
+0
-7
No files found.
libavcodec/ffv1dec.c
View file @
17cb56b3
...
...
@@ -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
);
...
...
libavcodec/ffv1enc.c
View file @
17cb56b3
...
...
@@ -151,14 +151,7 @@ static inline void put_vlc_symbol(PutBitContext *pb, VlcState *const state,
assert
(
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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment