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
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
Show 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 {
...
@@ -600,24 +600,31 @@ typedef enum aom_scaling_mode_1d {
AOME_ONETWO
=
3
AOME_ONETWO
=
3
}
AOM_SCALING_MODE
;
}
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
/*!\brief aom region of interest map
*
*
* These defines the data structures for the 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
{
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
char
*
roi_map
;
unsigned
int
rows
;
/**< Number of rows. */
unsigned
int
rows
;
/**< Number of rows. */
unsigned
int
cols
;
/**< Number of columns. */
unsigned
int
cols
;
/**< Number of columns. */
// TODO(paulwilkins): broken for AV1 which has 8 segments
int
delta_q
[
AOM_MAX_SEGMENTS
];
/**< Quantizer deltas. */
// q and loop filter deltas for each segment
int
delta_lf
[
AOM_MAX_SEGMENTS
];
/**< Loop filter deltas. */
// (see MAX_MB_SEGMENTS)
int
delta_q
[
4
];
/**< Quantizer deltas. */
int
delta_lf
[
4
];
/**< Loop filter deltas. */
/*! Static breakout threshold for each segment. */
/*! Static breakout threshold for each segment. */
unsigned
int
static_threshold
[
4
];
unsigned
int
static_threshold
[
AOM_MAX_SEGMENTS
];
}
aom_roi_map_t
;
}
aom_roi_map_t
;
/*!\brief aom active region map
/*!\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