Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
05bf3f54
Commit
05bf3f54
authored
Jun 16, 2015
by
Luca Barbato
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libvpx: Do not set vp8 only parameters when encoding in vp9
parent
c060d046
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
libvpxenc.c
libavcodec/libvpxenc.c
+5
-2
No files found.
libavcodec/libvpxenc.c
View file @
05bf3f54
...
...
@@ -346,8 +346,11 @@ static av_cold int vpx_init(AVCodecContext *avctx,
codecctl_int
(
avctx
,
VP8E_SET_ARNR_STRENGTH
,
ctx
->
arnr_strength
);
if
(
ctx
->
arnr_type
>=
0
)
codecctl_int
(
avctx
,
VP8E_SET_ARNR_TYPE
,
ctx
->
arnr_type
);
codecctl_int
(
avctx
,
VP8E_SET_NOISE_SENSITIVITY
,
avctx
->
noise_reduction
);
codecctl_int
(
avctx
,
VP8E_SET_TOKEN_PARTITIONS
,
av_log2
(
avctx
->
slices
));
if
(
CONFIG_LIBVPX_VP8_ENCODER
&&
iface
==
&
vpx_codec_vp8_cx_algo
)
{
codecctl_int
(
avctx
,
VP8E_SET_NOISE_SENSITIVITY
,
avctx
->
noise_reduction
);
codecctl_int
(
avctx
,
VP8E_SET_TOKEN_PARTITIONS
,
av_log2
(
avctx
->
slices
));
}
#if FF_API_MPV_OPT
FF_DISABLE_DEPRECATION_WARNINGS
if
(
avctx
->
mb_threshold
)
{
...
...
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