Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
aom-rav1e
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Xiph.Org
aom-rav1e
Commits
f7d75ceb
Commit
f7d75ceb
authored
Jul 18, 2016
by
Jean-Marc Valin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't dering skipped superblocks
No change in metrics Change-Id: I0da09270d78c3caf78a32a3157f02c87f2232e3e
parent
2a876b42
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
av1/common/dering.c
av1/common/dering.c
+1
-1
av1/encoder/pickdering.c
av1/encoder/pickdering.c
+6
-0
No files found.
av1/common/dering.c
View file @
f7d75ceb
...
...
@@ -114,7 +114,7 @@ void av1_dering_frame(YV12_BUFFER_CONFIG *frame, AV1_COMMON *cm,
deringing for chroma. */
if
(
pli
)
level
=
(
level
*
5
+
4
)
>>
3
;
if
(
sb_all_skip
(
cm
,
sbr
*
MI_BLOCK_SIZE
,
sbc
*
MI_BLOCK_SIZE
))
level
=
0
;
continue
;
threshold
=
level
<<
coeff_shift
;
od_dering
(
&
OD_DERING_VTBL_C
,
dst
,
MI_BLOCK_SIZE
*
bsize
[
pli
],
...
...
av1/encoder/pickdering.c
View file @
f7d75ceb
...
...
@@ -96,6 +96,8 @@ int av1_dering_search(YV12_BUFFER_CONFIG *frame, const YV12_BUFFER_CONFIG *ref,
int16_t
dst
[
MI_BLOCK_SIZE
*
MI_BLOCK_SIZE
*
8
*
8
];
nhb
=
AOMMIN
(
MI_BLOCK_SIZE
,
cm
->
mi_cols
-
MI_BLOCK_SIZE
*
sbc
);
nvb
=
AOMMIN
(
MI_BLOCK_SIZE
,
cm
->
mi_rows
-
MI_BLOCK_SIZE
*
sbr
);
if
(
sb_all_skip
(
cm
,
sbr
*
MI_BLOCK_SIZE
,
sbc
*
MI_BLOCK_SIZE
))
continue
;
for
(
level
=
0
;
level
<
64
;
level
++
)
{
int
cur_mse
;
int
threshold
;
...
...
@@ -126,6 +128,8 @@ int av1_dering_search(YV12_BUFFER_CONFIG *frame, const YV12_BUFFER_CONFIG *ref,
for
(
sbc
=
0
;
sbc
<
nhsb
;
sbc
++
)
{
int
gi
;
int
best_mse
=
mse
[
nhsb
*
sbr
+
sbc
][
0
];
if
(
sb_all_skip
(
cm
,
sbr
*
MI_BLOCK_SIZE
,
sbc
*
MI_BLOCK_SIZE
))
continue
;
for
(
gi
=
1
;
gi
<
4
;
gi
++
)
{
level
=
compute_level_from_index
(
global_level
,
gi
);
if
(
mse
[
nhsb
*
sbr
+
sbc
][
level
]
<
best_mse
)
{
...
...
@@ -145,6 +149,8 @@ int av1_dering_search(YV12_BUFFER_CONFIG *frame, const YV12_BUFFER_CONFIG *ref,
int
gi
;
int
best_gi
;
int
best_mse
=
mse
[
nhsb
*
sbr
+
sbc
][
0
];
if
(
sb_all_skip
(
cm
,
sbr
*
MI_BLOCK_SIZE
,
sbc
*
MI_BLOCK_SIZE
))
continue
;
best_gi
=
0
;
for
(
gi
=
1
;
gi
<
DERING_REFINEMENT_LEVELS
;
gi
++
)
{
level
=
compute_level_from_index
(
best_level
,
gi
);
...
...
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