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
Guillaume Martres
aom-rav1e
Commits
b03c2f44
Commit
b03c2f44
authored
Jun 29, 2017
by
Luc Trudeau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[CFL] Assert that luma buffer is not bigger than chroma surface
Change-Id: Idcc16f6d399c457a5950319483d95f4b38ff6a71
parent
e7f9e16a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
av1/common/cfl.c
av1/common/cfl.c
+7
-0
No files found.
av1/common/cfl.c
View file @
b03c2f44
...
...
@@ -300,6 +300,13 @@ void cfl_compute_parameters(MACROBLOCKD *const xd, TX_SIZE tx_size) {
cfl
->
uv_height
=
max_intra_block_height
(
xd
,
plane_bsize
,
AOM_PLANE_U
,
tx_size
);
#if CONFIG_DEBUG
if
(
mbmi
->
sb_type
>=
BLOCK_8X8
)
{
assert
(
cfl
->
y_width
<=
cfl
->
uv_width
<<
cfl
->
subsampling_x
);
assert
(
cfl
->
y_height
<=
cfl
->
uv_height
<<
cfl
->
subsampling_y
);
}
#endif
// Compute block-level DC_PRED for both chromatic planes.
// DC_PRED replaces beta in the linear model.
cfl_dc_pred
(
xd
,
plane_bsize
);
...
...
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