Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
aom-rav1e
Commits
92b90f30
Commit
92b90f30
authored
Feb 07, 2017
by
Urvang Joshi
Browse files
Add comments about some default probability tables.
Change-Id: I070ee1acde80c99576d30f2611b6c653834b3e9b
parent
45e0d461
Changes
2
Hide whitespace changes
Inline
Side-by-side
av1/common/entropymode.c
View file @
92b90f30
...
...
@@ -335,6 +335,9 @@ const aom_prob av1_kf_y_mode_prob[INTRA_MODES][INTRA_MODES][INTRA_MODES - 1] = {
}
};
// Default probabilities for signaling Intra mode for Y plane -- used only for
// inter frames. ('av1_kf_y_mode_prob' is used for intra-only frames).
// Context used: block size group.
static
const
aom_prob
default_if_y_probs
[
BLOCK_SIZE_GROUPS
][
INTRA_MODES
-
1
]
=
{
{
65
,
32
,
18
,
144
,
162
,
194
,
41
,
51
,
98
},
// block_size < 8x8
{
132
,
68
,
18
,
165
,
217
,
196
,
45
,
40
,
78
},
// block_size < 16x16
...
...
@@ -342,6 +345,9 @@ static const aom_prob default_if_y_probs[BLOCK_SIZE_GROUPS][INTRA_MODES - 1] = {
{
221
,
135
,
38
,
194
,
248
,
121
,
96
,
85
,
29
}
// block_size >= 32x32
};
// Default probabilities for signaling Intra mode for UV plane -- common for
// both intra and inter frames.
// Context used: Intra mode used by Y plane of the same block.
static
const
aom_prob
default_uv_probs
[
INTRA_MODES
][
INTRA_MODES
-
1
]
=
{
{
120
,
7
,
76
,
176
,
208
,
126
,
28
,
54
,
103
},
// y = dc
{
48
,
12
,
154
,
155
,
139
,
90
,
34
,
117
,
119
},
// y = v
...
...
av1/common/entropymode.h
View file @
92b90f30
...
...
@@ -365,9 +365,13 @@ typedef struct FRAME_COUNTS {
#endif // CONFIG_FILTER_INTRA
}
FRAME_COUNTS
;
// Default probabilities for signaling Intra mode for Y plane -- used only for
// intra-only frames. ('default_if_y_probs' is used for inter frames).
// Contexts used: Intra mode (Y plane) of 'above' and 'left' blocks.
extern
const
aom_prob
av1_kf_y_mode_prob
[
INTRA_MODES
][
INTRA_MODES
]
[
INTRA_MODES
-
1
];
#if CONFIG_EC_MULTISYMBOL
// CDF version of 'av1_kf_y_mode_prob'.
extern
aom_cdf_prob
av1_kf_y_mode_cdf
[
INTRA_MODES
][
INTRA_MODES
][
INTRA_MODES
];
#endif
#if CONFIG_PALETTE
...
...
Write
Preview
Supports
Markdown
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