Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
VideoLAN
dav1d
Commits
dcdb50b8
Commit
dcdb50b8
authored
Oct 21, 2018
by
Ronald S. Bultje
Browse files
Update txpart/inter_txtp tables for intra frames also.
These can be used in intrabc coding. Fixes
#74
.
parent
d41c68cf
Pipeline
#1175
passed with stage
in 2 minutes and 1 second
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/cdf.c
View file @
dcdb50b8
...
...
@@ -4151,6 +4151,11 @@ void dav1d_update_tile_cdf(const Av1FrameHeader *const hdr,
update_cdf_3d
(
2
,
7
,
7
,
m
.
pal_sz
);
update_cdf_4d
(
2
,
7
,
5
,
k
+
2
,
m
.
color_map
);
update_bit_2d
(
7
,
3
,
m
.
txpart
);
update_cdf_2d
(
N_TX_SIZES
-
1
,
16
,
m
.
txtp_inter
[
1
]);
update_cdf_2d
(
N_TX_SIZES
-
1
,
12
,
m
.
txtp_inter
[
2
]);
update_cdf_2d
(
N_TX_SIZES
-
1
,
2
,
m
.
txtp_inter
[
3
]);
if
(
!
(
hdr
->
frame_type
&
1
))
{
update_bit_0d
(
m
.
intrabc
);
...
...
@@ -4183,10 +4188,6 @@ void dav1d_update_tile_cdf(const Av1FrameHeader *const hdr,
update_bit_2d
(
3
,
3
,
m
.
comp_fwd_ref
);
update_bit_2d
(
2
,
3
,
m
.
comp_bwd_ref
);
update_bit_2d
(
3
,
3
,
m
.
comp_uni_ref
);
update_bit_2d(7, 3, m.txpart);
update_cdf_2d(N_TX_SIZES - 1, 16, m.txtp_inter[1]);
update_cdf_2d(N_TX_SIZES - 1, 12, m.txtp_inter[2]);
update_cdf_2d(N_TX_SIZES - 1, 2, m.txtp_inter[3]);
update_bit_1d
(
3
,
m
.
seg_pred
);
update_bit_1d
(
4
,
m
.
interintra
);
update_bit_1d
(
7
,
m
.
interintra_wedge
);
...
...
Write
Preview
Supports
Markdown
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