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
16e26866
Commit
16e26866
authored
Nov 14, 2012
by
John Koleszar
Committed by
Gerrit Code Review
Nov 14, 2012
Browse files
Options
Browse Files
Download
Plain Diff
Merge "SEG_LVL_MODE: don't code ref_frame if it's implicit" into experimental
parents
127836d1
6d482706
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
+11
-2
vp9/decoder/decodemv.c
vp9/decoder/decodemv.c
+5
-1
vp9/encoder/bitstream.c
vp9/encoder/bitstream.c
+6
-1
No files found.
vp9/decoder/decodemv.c
View file @
16e26866
...
...
@@ -717,7 +717,11 @@ static void read_mb_modes_mv(VP9D_COMP *pbi, MODE_INFO *mi, MB_MODE_INFO *mbmi,
}
// Read the reference frame
mbmi
->
ref_frame
=
read_ref_frame
(
pbi
,
bc
,
mbmi
->
segment_id
);
if
(
vp9_segfeature_active
(
xd
,
mbmi
->
segment_id
,
SEG_LVL_MODE
)
&&
vp9_get_segdata
(
xd
,
mbmi
->
segment_id
,
SEG_LVL_MODE
)
<
NEARESTMV
)
mbmi
->
ref_frame
=
INTRA_FRAME
;
else
mbmi
->
ref_frame
=
read_ref_frame
(
pbi
,
bc
,
mbmi
->
segment_id
);
// If reference frame is an Inter frame
if
(
mbmi
->
ref_frame
)
{
...
...
vp9/encoder/bitstream.c
View file @
16e26866
...
...
@@ -863,7 +863,12 @@ static void pack_inter_mode_mvs(VP9_COMP *const cpi, vp9_writer *const bc) {
}
// Encode the reference frame.
encode_ref_frame
(
bc
,
pc
,
xd
,
segment_id
,
rf
);
if
(
!
vp9_segfeature_active
(
xd
,
segment_id
,
SEG_LVL_MODE
)
||
vp9_get_segdata
(
xd
,
segment_id
,
SEG_LVL_MODE
)
>=
NEARESTMV
)
{
encode_ref_frame
(
bc
,
pc
,
xd
,
segment_id
,
rf
);
}
else
{
assert
(
rf
==
INTRA_FRAME
);
}
if
(
rf
==
INTRA_FRAME
)
{
#ifdef ENTROPY_STATS
...
...
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