Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
aom-rav1e
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Xiph.Org
aom-rav1e
Commits
5dcc48ba
Commit
5dcc48ba
authored
Mar 03, 2017
by
Yushin Cho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Delete unused function, has_high_freq_coeff()
Change-Id: I4bbe63a4e54dd14a05fca26a11abb5a0d12480d5
parent
27f65d94
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
21 deletions
+0
-21
av1/encoder/tokenize.c
av1/encoder/tokenize.c
+0
-20
av1/encoder/tokenize.h
av1/encoder/tokenize.h
+0
-1
No files found.
av1/encoder/tokenize.c
View file @
5dcc48ba
...
...
@@ -701,26 +701,6 @@ int av1_is_skippable_in_plane(MACROBLOCK *x, BLOCK_SIZE bsize, int plane) {
return
result
;
}
static
void
has_high_freq_coeff
(
int
plane
,
int
block
,
int
blk_row
,
int
blk_col
,
BLOCK_SIZE
plane_bsize
,
TX_SIZE
tx_size
,
void
*
argv
)
{
struct
is_skippable_args
*
args
=
argv
;
int
eobs
=
(
tx_size
==
TX_4X4
)
?
3
:
10
;
(
void
)
plane
;
(
void
)
plane_bsize
;
(
void
)
blk_row
;
(
void
)
blk_col
;
*
(
args
->
skippable
)
|=
(
args
->
eobs
[
block
]
>
eobs
);
}
int
av1_has_high_freq_in_plane
(
MACROBLOCK
*
x
,
BLOCK_SIZE
bsize
,
int
plane
)
{
int
result
=
0
;
struct
is_skippable_args
args
=
{
x
->
plane
[
plane
].
eobs
,
&
result
};
av1_foreach_transformed_block_in_plane
(
&
x
->
e_mbd
,
bsize
,
plane
,
has_high_freq_coeff
,
&
args
);
return
result
;
}
#if CONFIG_PVQ
void
add_pvq_block
(
AV1_COMMON
*
const
cm
,
MACROBLOCK
*
const
x
,
PVQ_INFO
*
pvq
)
{
PVQ_QUEUE
*
q
=
x
->
pvq_q
;
...
...
av1/encoder/tokenize.h
View file @
5dcc48ba
...
...
@@ -55,7 +55,6 @@ extern const struct av1_token av1_coef_encodings[];
#endif // !CONFIG_EC_MULTISYMBOL
int
av1_is_skippable_in_plane
(
MACROBLOCK
*
x
,
BLOCK_SIZE
bsize
,
int
plane
);
int
av1_has_high_freq_in_plane
(
MACROBLOCK
*
x
,
BLOCK_SIZE
bsize
,
int
plane
);
struct
AV1_COMP
;
struct
ThreadData
;
...
...
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