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
737f0657
Commit
737f0657
authored
Jun 17, 2016
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/snow: Remove unused function
Signed-off-by:
Michael Niedermayer
<
michael@niedermayer.cc
>
parent
6cb550e9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
24 deletions
+0
-24
snow.h
libavcodec/snow.h
+0
-24
No files found.
libavcodec/snow.h
View file @
737f0657
...
...
@@ -250,30 +250,6 @@ int ff_snow_get_buffer(SnowContext *s, AVFrame *frame);
/* common inline functions */
//XXX doublecheck all of them should stay inlined
static
inline
void
snow_set_blocks
(
SnowContext
*
s
,
int
level
,
int
x
,
int
y
,
int
l
,
int
cb
,
int
cr
,
int
mx
,
int
my
,
int
ref
,
int
type
){
const
int
w
=
s
->
b_width
<<
s
->
block_max_depth
;
const
int
rem_depth
=
s
->
block_max_depth
-
level
;
const
int
index
=
(
x
+
y
*
w
)
<<
rem_depth
;
const
int
block_w
=
1
<<
rem_depth
;
BlockNode
block
;
int
i
,
j
;
block
.
color
[
0
]
=
l
;
block
.
color
[
1
]
=
cb
;
block
.
color
[
2
]
=
cr
;
block
.
mx
=
mx
;
block
.
my
=
my
;
block
.
ref
=
ref
;
block
.
type
=
type
;
block
.
level
=
level
;
for
(
j
=
0
;
j
<
block_w
;
j
++
){
for
(
i
=
0
;
i
<
block_w
;
i
++
){
s
->
block
[
index
+
i
+
j
*
w
]
=
block
;
}
}
}
static
inline
void
pred_mv
(
SnowContext
*
s
,
int
*
mx
,
int
*
my
,
int
ref
,
const
BlockNode
*
left
,
const
BlockNode
*
top
,
const
BlockNode
*
tr
){
if
(
s
->
ref_frames
==
1
){
...
...
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