Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
dav1d
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
28
Issues
28
List
Boards
Labels
Milestones
Merge Requests
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
VideoLAN
dav1d
Commits
95cf7cf8
Commit
95cf7cf8
authored
Dec 05, 2018
by
Ronald S. Bultje
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use adapted CDF for invisible keyframes if refresh_context=1
Fixes #213.
parent
d6770f93
Pipeline
#3282
passed with stages
in 10 minutes and 4 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/obu.c
src/obu.c
+2
-2
No files found.
src/obu.c
View file @
95cf7cf8
...
...
@@ -1388,14 +1388,14 @@ int dav1d_parse_obus(Dav1dContext *const c, Dav1dData *const in, int global) {
if
(
c
->
refs
[
c
->
frame_hdr
->
existing_frame_idx
].
p
.
p
.
frame_hdr
->
frame_type
==
DAV1D_FRAME_TYPE_KEY
)
{
const
int
r
=
c
->
frame_hdr
->
existing_frame_idx
;
for
(
int
i
=
0
;
i
<
8
;
i
++
)
{
if
(
i
==
c
->
frame_hdr
->
existing_frame_idx
)
continue
;
if
(
i
==
r
)
continue
;
if
(
c
->
refs
[
i
].
p
.
p
.
data
[
0
])
dav1d_thread_picture_unref
(
&
c
->
refs
[
i
].
p
);
dav1d_thread_picture_ref
(
&
c
->
refs
[
i
].
p
,
&
c
->
refs
[
r
].
p
);
if
(
c
->
cdf
[
i
].
cdf
)
dav1d_cdf_thread_unref
(
&
c
->
cdf
[
i
]);
dav1d_
init_states
(
&
c
->
cdf
[
i
],
c
->
refs
[
r
].
p
.
p
.
frame_hdr
->
quant
.
yac
);
dav1d_
cdf_thread_ref
(
&
c
->
cdf
[
i
],
&
c
->
cdf
[
r
]
);
dav1d_ref_dec
(
&
c
->
refs
[
i
].
segmap
);
c
->
refs
[
i
].
segmap
=
c
->
refs
[
r
].
segmap
;
...
...
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