Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
1096c46c
Commit
1096c46c
authored
May 23, 2015
by
James Almer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libwebp: use a separate AVClass for each encoder
Signed-off-by:
James Almer
<
jamrial@gmail.com
>
parent
44ca8a6a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
8 deletions
+14
-8
libwebpenc.c
libavcodec/libwebpenc.c
+7
-0
libwebpenc_animencoder.c
libavcodec/libwebpenc_animencoder.c
+7
-0
libwebpenc_common.h
libavcodec/libwebpenc_common.h
+0
-8
No files found.
libavcodec/libwebpenc.c
View file @
1096c46c
...
...
@@ -83,6 +83,13 @@ static int libwebp_encode_close(AVCodecContext *avctx)
return
ff_libwebp_encode_close_common
(
avctx
);
}
static
const
AVClass
class
=
{
.
class_name
=
"libwebp"
,
.
item_name
=
av_default_item_name
,
.
option
=
options
,
.
version
=
LIBAVUTIL_VERSION_INT
,
};
AVCodec
ff_libwebp_encoder
=
{
.
name
=
"libwebp"
,
.
long_name
=
NULL_IF_CONFIG_SMALL
(
"libwebp WebP image"
),
...
...
libavcodec/libwebpenc_animencoder.c
View file @
1096c46c
...
...
@@ -124,6 +124,13 @@ static int libwebp_anim_encode_close(AVCodecContext *avctx)
return
ret
;
}
static
const
AVClass
class
=
{
.
class_name
=
"libwebp_anim"
,
.
item_name
=
av_default_item_name
,
.
option
=
options
,
.
version
=
LIBAVUTIL_VERSION_INT
,
};
AVCodec
ff_libwebp_anim_encoder
=
{
.
name
=
"libwebp_anim"
,
.
long_name
=
NULL_IF_CONFIG_SMALL
(
"libwebp WebP image"
),
...
...
libavcodec/libwebpenc_common.h
View file @
1096c46c
...
...
@@ -77,14 +77,6 @@ static const AVOption options[] = {
{
NULL
},
};
static
const
AVClass
class
=
{
.
class_name
=
"libwebp"
,
.
item_name
=
av_default_item_name
,
.
option
=
options
,
.
version
=
LIBAVUTIL_VERSION_INT
,
};
static
const
AVCodecDefault
libwebp_defaults
[]
=
{
{
"compression_level"
,
"4"
},
{
"global_quality"
,
"-1"
},
...
...
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