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
7e87bef0
Commit
7e87bef0
authored
Oct 24, 2016
by
Yaowu Xu
Committed by
Gerrit Code Review
Oct 24, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge "Increase min size of compressed data" into nextgenv2
parents
23fb2fea
416b0d94
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
av1/av1_cx_iface.c
av1/av1_cx_iface.c
+2
-1
No files found.
av1/av1_cx_iface.c
View file @
7e87bef0
...
...
@@ -932,6 +932,7 @@ static aom_codec_frame_flags_t get_frame_pkt_flags(const AV1_COMP *cpi,
return
flags
;
}
const
size_t
kMinCompressedSize
=
8192
;
static
aom_codec_err_t
encoder_encode
(
aom_codec_alg_priv_t
*
ctx
,
const
aom_image_t
*
img
,
aom_codec_pts_t
pts
,
...
...
@@ -959,7 +960,7 @@ static aom_codec_err_t encoder_encode(aom_codec_alg_priv_t *ctx,
data_sz
=
ctx
->
cfg
.
g_w
*
ctx
->
cfg
.
g_h
*
get_image_bps
(
img
)
/
8
*
(
cpi
->
multi_arf_allowed
?
8
:
2
);
#endif // CONFIG_EXT_REFS
if
(
data_sz
<
4096
)
data_sz
=
4096
;
if
(
data_sz
<
kMinCompressedSize
)
data_sz
=
kMinCompressedSize
;
if
(
ctx
->
cx_data
==
NULL
||
ctx
->
cx_data_sz
<
data_sz
)
{
ctx
->
cx_data_sz
=
data_sz
;
free
(
ctx
->
cx_data
);
...
...
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