Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xiph.Org
aom-rav1e
Commits
8b5133fc
Commit
8b5133fc
authored
Jan 15, 2014
by
Dmitry Kovalev
Committed by
Gerrit Code Review
Jan 15, 2014
Browse files
Options
Browse Files
Download
Plain Diff
Merge "Removing unused calc_partial_ssl_err() function."
parents
ae5b96d3
62a2c2b1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
38 deletions
+0
-38
vp9/encoder/vp9_picklpf.c
vp9/encoder/vp9_picklpf.c
+0
-38
No files found.
vp9/encoder/vp9_picklpf.c
View file @
8b5133fc
...
...
@@ -32,44 +32,6 @@ void vp9_yv12_copy_partial_frame_c(YV12_BUFFER_CONFIG *src_ybc,
stride
*
(
lines_to_copy
+
16
));
}
static
int
calc_partial_ssl_err
(
YV12_BUFFER_CONFIG
*
source
,
YV12_BUFFER_CONFIG
*
dest
,
int
Fraction
)
{
int
i
,
j
;
int
Total
=
0
;
int
srcoffset
,
dstoffset
;
uint8_t
*
src
=
source
->
y_buffer
;
uint8_t
*
dst
=
dest
->
y_buffer
;
int
linestocopy
=
(
source
->
y_height
>>
(
Fraction
+
4
));
if
(
linestocopy
<
1
)
linestocopy
=
1
;
linestocopy
<<=
4
;
srcoffset
=
source
->
y_stride
*
(
dest
->
y_height
>>
5
)
*
16
;
dstoffset
=
dest
->
y_stride
*
(
dest
->
y_height
>>
5
)
*
16
;
src
+=
srcoffset
;
dst
+=
dstoffset
;
// Loop through the raw Y plane and reconstruction data summing the square
// differences.
for
(
i
=
0
;
i
<
linestocopy
;
i
+=
16
)
{
for
(
j
=
0
;
j
<
source
->
y_width
;
j
+=
16
)
{
unsigned
int
sse
;
Total
+=
vp9_mse16x16
(
src
+
j
,
source
->
y_stride
,
dst
+
j
,
dest
->
y_stride
,
&
sse
);
}
src
+=
16
*
source
->
y_stride
;
dst
+=
16
*
dest
->
y_stride
;
}
return
Total
;
}
// Enforce a minimum filter level based upon baseline Q
static
int
get_min_filter_level
(
VP9_COMP
*
cpi
,
int
base_qindex
)
{
int
min_filter_level
;
...
...
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