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
c5bf1e06
Commit
c5bf1e06
authored
Sep 26, 2017
by
Yaowu Xu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a TODO on max number of segments
Change-Id: Ic1893cb9e6535e828035d11f90e8d1426d808269
parent
cc065917
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
10 deletions
+17
-10
aom/aomcx.h
aom/aomcx.h
+17
-10
No files found.
aom/aomcx.h
View file @
c5bf1e06
...
...
@@ -600,24 +600,31 @@ typedef enum aom_scaling_mode_1d {
AOME_ONETWO
=
3
}
AOM_SCALING_MODE
;
/*!\brief Max number of segments
*
* This is the limit of number of segments allowed within a frame.
*
* Currently same as "MAX_SEGMENTS" in AV1, the maximum that AV1 supports.
*
*/
#define AOM_MAX_SEGMENTS 8
/*!\brief aom region of interest map
*
* These defines the data structures for the region of interest map
*
* TODO(yaowu): create a unit test for ROI map related APIs
*
*/
typedef
struct
aom_roi_map
{
/*! An id between 0 and
3
for each
16x16
region within a frame. */
/*! An id between 0 and
7
for each
8x8
region within a frame. */
unsigned
char
*
roi_map
;
unsigned
int
rows
;
/**< Number of rows. */
unsigned
int
cols
;
/**< Number of columns. */
// TODO(paulwilkins): broken for AV1 which has 8 segments
// q and loop filter deltas for each segment
// (see MAX_MB_SEGMENTS)
int
delta_q
[
4
];
/**< Quantizer deltas. */
int
delta_lf
[
4
];
/**< Loop filter deltas. */
unsigned
int
rows
;
/**< Number of rows. */
unsigned
int
cols
;
/**< Number of columns. */
int
delta_q
[
AOM_MAX_SEGMENTS
];
/**< Quantizer deltas. */
int
delta_lf
[
AOM_MAX_SEGMENTS
];
/**< Loop filter deltas. */
/*! Static breakout threshold for each segment. */
unsigned
int
static_threshold
[
4
];
unsigned
int
static_threshold
[
AOM_MAX_SEGMENTS
];
}
aom_roi_map_t
;
/*!\brief aom active region map
...
...
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