Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xiph.Org
aom-rav1e
Commits
9f09c710
Commit
9f09c710
authored
Nov 24, 2017
by
Sebastien Alaiwan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove dead member: interintra_prob
Change-Id: Icbd008d5e973aa5038e857af460e55964fe36b13
parent
bc958f66
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
13 deletions
+0
-13
av1/common/entropymode.c
av1/common/entropymode.c
+0
-9
av1/common/entropymode.h
av1/common/entropymode.h
+0
-1
tools/aom_entropy_optimizer.c
tools/aom_entropy_optimizer.c
+0
-3
No files found.
av1/common/entropymode.c
View file @
9f09c710
...
...
@@ -759,9 +759,6 @@ static const aom_cdf_prob
#endif
};
static
const
aom_prob
default_interintra_prob
[
BLOCK_SIZE_GROUPS
]
=
{
128
,
226
,
244
,
254
,
};
static
const
aom_cdf_prob
default_interintra_cdf
[
BLOCK_SIZE_GROUPS
][
CDF_SIZE
(
2
)]
=
{
{
AOM_CDF2
(
128
*
128
)
},
{
AOM_CDF2
(
226
*
128
)
},
...
...
@@ -2983,7 +2980,6 @@ static void init_mode_probs(FRAME_CONTEXT *fc) {
av1_copy
(
fc
->
obmc_cdf
,
default_obmc_cdf
);
av1_copy
(
fc
->
inter_compound_mode_cdf
,
default_inter_compound_mode_cdf
);
av1_copy
(
fc
->
compound_type_cdf
,
default_compound_type_cdf
);
av1_copy
(
fc
->
interintra_prob
,
default_interintra_prob
);
av1_copy
(
fc
->
wedge_interintra_prob
,
default_wedge_interintra_prob
);
av1_copy
(
fc
->
interintra_cdf
,
default_interintra_cdf
);
av1_copy
(
fc
->
wedge_interintra_cdf
,
default_wedge_interintra_cdf
);
...
...
@@ -3078,11 +3074,6 @@ void av1_adapt_inter_frame_probs(AV1_COMMON *cm) {
counts
->
motion_mode
[
i
],
fc
->
motion_mode_prob
[
i
]);
if
(
cm
->
allow_interintra_compound
)
{
for
(
i
=
0
;
i
<
BLOCK_SIZE_GROUPS
;
++
i
)
{
if
(
is_interintra_allowed_bsize_group
(
i
))
fc
->
interintra_prob
[
i
]
=
av1_mode_mv_merge_probs
(
pre_fc
->
interintra_prob
[
i
],
counts
->
interintra
[
i
]);
}
for
(
i
=
0
;
i
<
BLOCK_SIZES_ALL
;
++
i
)
{
if
(
is_interintra_allowed_bsize
(
i
)
&&
is_interintra_wedge_used
(
i
))
fc
->
wedge_interintra_prob
[
i
]
=
av1_mode_mv_merge_probs
(
...
...
av1/common/entropymode.h
View file @
9f09c710
...
...
@@ -192,7 +192,6 @@ typedef struct frame_contexts {
aom_cdf_prob
inter_compound_mode_cdf
[
INTER_MODE_CONTEXTS
]
[
CDF_SIZE
(
INTER_COMPOUND_MODES
)];
aom_cdf_prob
compound_type_cdf
[
BLOCK_SIZES_ALL
][
CDF_SIZE
(
COMPOUND_TYPES
)];
aom_prob
interintra_prob
[
BLOCK_SIZE_GROUPS
];
aom_prob
wedge_interintra_prob
[
BLOCK_SIZES_ALL
];
aom_cdf_prob
interintra_cdf
[
BLOCK_SIZE_GROUPS
][
CDF_SIZE
(
2
)];
aom_cdf_prob
wedge_interintra_cdf
[
BLOCK_SIZES_ALL
][
CDF_SIZE
(
2
)];
...
...
tools/aom_entropy_optimizer.c
View file @
9f09c710
...
...
@@ -433,9 +433,6 @@ int main(int argc, const char **argv) {
/* Interintra */
cts_each_dim
[
0
]
=
BLOCK_SIZE_GROUPS
;
cts_each_dim
[
1
]
=
2
;
optimize_entropy_table
(
&
fc
.
interintra
[
0
][
0
],
probsfile
,
2
,
cts_each_dim
,
NULL
,
1
,
"static const aom_prob default_interintra_prob[BLOCK_SIZE_GROUPS]"
);
optimize_cdf_table
(
&
fc
.
interintra
[
0
][
0
],
probsfile
,
2
,
cts_each_dim
,
"static const aom_cdf_prob "
"default_interintra_cdf[BLOCK_SIZE_GROUPS][CDF_SIZE(2)]"
);
...
...
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