Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xiph.Org
aom-rav1e
Commits
a8975df5
Commit
a8975df5
authored
Jan 23, 2018
by
Yaowu Xu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix build when obu is not enabled
Change-Id: I2d2ce75c184011884de8a015a6666b5209de2082
parent
57ddc51a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
av1/encoder/bitstream.c
av1/encoder/bitstream.c
+3
-2
No files found.
av1/encoder/bitstream.c
View file @
a8975df5
...
...
@@ -2839,6 +2839,7 @@ static uint32_t write_tiles(AV1_COMP *const cpi, uint8_t *const dst,
int
mtu_size
=
cpi
->
oxcf
.
mtu
;
int
curr_tg_data_size
=
0
;
int
hdr_size
;
const
int
num_planes
=
av1_num_planes
(
cm
);
*
max_tile_size
=
0
;
*
max_tile_col_size
=
0
;
...
...
@@ -2879,7 +2880,7 @@ static uint32_t write_tiles(AV1_COMP *const cpi, uint8_t *const dst,
cpi
->
td
.
mb
.
e_mbd
.
tile_ctx
=
&
this_tile
->
tctx
;
mode_bc
.
allow_update_cdf
=
!
cm
->
large_scale_tile
;
#if CONFIG_LOOP_RESTORATION
av1_reset_loop_restoration
(
&
cpi
->
td
.
mb
.
e_mbd
);
av1_reset_loop_restoration
(
&
cpi
->
td
.
mb
.
e_mbd
,
num_planes
);
#endif // CONFIG_LOOP_RESTORATION
aom_start_encode
(
&
mode_bc
,
buf
->
data
+
data_offset
);
...
...
@@ -3036,7 +3037,7 @@ static uint32_t write_tiles(AV1_COMP *const cpi, uint8_t *const dst,
cpi
->
td
.
mb
.
e_mbd
.
tile_ctx
=
&
this_tile
->
tctx
;
mode_bc
.
allow_update_cdf
=
1
;
#if CONFIG_LOOP_RESTORATION
av1_reset_loop_restoration
(
&
cpi
->
td
.
mb
.
e_mbd
);
av1_reset_loop_restoration
(
&
cpi
->
td
.
mb
.
e_mbd
,
num_planes
);
#endif // CONFIG_LOOP_RESTORATION
aom_start_encode
(
&
mode_bc
,
dst
+
total_size
);
...
...
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