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
f6a152db
Commit
f6a152db
authored
Jan 10, 2012
by
Janne Grunau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
threads: add CODEC_CAP_AUTO_THREADS for libvpx and xavs
parent
9472d37d
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
libvpxdec.c
libavcodec/libvpxdec.c
+2
-1
libvpxenc.c
libavcodec/libvpxenc.c
+1
-1
libxavs.c
libavcodec/libxavs.c
+1
-1
No files found.
libavcodec/libvpxdec.c
View file @
f6a152db
...
...
@@ -119,5 +119,6 @@ AVCodec ff_libvpx_decoder = {
.
init
=
vp8_init
,
.
close
=
vp8_free
,
.
decode
=
vp8_decode
,
.
capabilities
=
CODEC_CAP_AUTO_THREADS
,
.
long_name
=
NULL_IF_CONFIG_SMALL
(
"libvpx VP8"
),
};
libavcodec/libvpxenc.c
View file @
f6a152db
...
...
@@ -572,7 +572,7 @@ AVCodec ff_libvpx_encoder = {
.
init
=
vp8_init
,
.
encode
=
vp8_encode
,
.
close
=
vp8_free
,
.
capabilities
=
CODEC_CAP_DELAY
,
.
capabilities
=
CODEC_CAP_DELAY
|
CODEC_CAP_AUTO_THREADS
,
.
pix_fmts
=
(
const
enum
PixelFormat
[]){
PIX_FMT_YUV420P
,
PIX_FMT_NONE
},
.
long_name
=
NULL_IF_CONFIG_SMALL
(
"libvpx VP8"
),
.
priv_class
=
&
class
,
...
...
libavcodec/libxavs.c
View file @
f6a152db
...
...
@@ -414,7 +414,7 @@ AVCodec ff_libxavs_encoder = {
.
init
=
XAVS_init
,
.
encode
=
XAVS_frame
,
.
close
=
XAVS_close
,
.
capabilities
=
CODEC_CAP_DELAY
,
.
capabilities
=
CODEC_CAP_DELAY
|
CODEC_CAP_AUTO_THREADS
,
.
pix_fmts
=
(
const
enum
PixelFormat
[])
{
PIX_FMT_YUV420P
,
PIX_FMT_NONE
},
.
long_name
=
NULL_IF_CONFIG_SMALL
(
"libxavs - the Chinese Audio Video Standard Encoder"
),
.
priv_class
=
&
class
,
...
...
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