Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Releases
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Stefan Westerfeld
ffmpeg
Commits
88170070
Commit
88170070
authored
Sep 07, 2022
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec: add bonk audio decoder
parent
5c19cb3f
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
446 additions
and
2 deletions
+446
-2
Changelog
Changelog
+1
-0
Makefile
libavcodec/Makefile
+1
-0
allcodecs.c
libavcodec/allcodecs.c
+1
-0
bonk.c
libavcodec/bonk.c
+433
-0
codec_desc.c
libavcodec/codec_desc.c
+7
-0
codec_id.h
libavcodec/codec_id.h
+1
-0
version.h
libavcodec/version.h
+2
-2
No files found.
Changelog
View file @
88170070
...
...
@@ -11,6 +11,7 @@ version <next>:
- VAAPI decoding and encoding for 10/12bit 422, 10/12bit 444 HEVC and VP9
- WBMP (Wireless Application Protocol Bitmap) image format
- a3dscope filter
- bonk decoder
version 5.1:
...
...
libavcodec/Makefile
View file @
88170070
...
...
@@ -263,6 +263,7 @@ OBJS-$(CONFIG_BMP_DECODER) += bmp.o msrledec.o
OBJS-$(CONFIG_BMP_ENCODER)
+=
bmpenc.o
OBJS-$(CONFIG_BMV_AUDIO_DECODER)
+=
bmvaudio.o
OBJS-$(CONFIG_BMV_VIDEO_DECODER)
+=
bmvvideo.o
OBJS-$(CONFIG_BONK_DECODER)
+=
bonk.o
OBJS-$(CONFIG_BRENDER_PIX_DECODER)
+=
brenderpix.o
OBJS-$(CONFIG_C93_DECODER)
+=
c93.o
OBJS-$(CONFIG_CAVS_DECODER)
+=
cavs.o
cavsdec.o
cavsdsp.o
\
...
...
libavcodec/allcodecs.c
View file @
88170070
...
...
@@ -446,6 +446,7 @@ extern const FFCodec ff_atrac9_decoder;
extern
const
FFCodec
ff_binkaudio_dct_decoder
;
extern
const
FFCodec
ff_binkaudio_rdft_decoder
;
extern
const
FFCodec
ff_bmv_audio_decoder
;
extern
const
FFCodec
ff_bonk_decoder
;
extern
const
FFCodec
ff_cook_decoder
;
extern
const
FFCodec
ff_dca_encoder
;
extern
const
FFCodec
ff_dca_decoder
;
...
...
libavcodec/bonk.c
0 → 100644
View file @
88170070
This diff is collapsed.
Click to expand it.
libavcodec/codec_desc.c
View file @
88170070
...
...
@@ -3290,6 +3290,13 @@ static const AVCodecDescriptor codec_descriptors[] = {
.
long_name
=
NULL_IF_CONFIG_SMALL
(
"DFPWM (Dynamic Filter Pulse Width Modulation)"
),
.
props
=
AV_CODEC_PROP_LOSSY
,
},
{
.
id
=
AV_CODEC_ID_BONK
,
.
type
=
AVMEDIA_TYPE_AUDIO
,
.
name
=
"bonk"
,
.
long_name
=
NULL_IF_CONFIG_SMALL
(
"Bonk audio"
),
.
props
=
AV_CODEC_PROP_LOSSY
|
AV_CODEC_PROP_INTRA_ONLY
|
AV_CODEC_PROP_LOSSLESS
,
},
/* subtitle codecs */
{
...
...
libavcodec/codec_id.h
View file @
88170070
...
...
@@ -527,6 +527,7 @@ enum AVCodecID {
AV_CODEC_ID_FASTAUDIO
,
AV_CODEC_ID_MSNSIREN
,
AV_CODEC_ID_DFPWM
,
AV_CODEC_ID_BONK
,
/* subtitle codecs */
AV_CODEC_ID_FIRST_SUBTITLE
=
0x17000
,
///< A dummy ID pointing at the start of subtitle codecs.
...
...
libavcodec/version.h
View file @
88170070
...
...
@@ -29,8 +29,8 @@
#include "version_major.h"
#define LIBAVCODEC_VERSION_MINOR 4
2
#define LIBAVCODEC_VERSION_MICRO 10
4
#define LIBAVCODEC_VERSION_MINOR 4
3
#define LIBAVCODEC_VERSION_MICRO 10
0
#define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
LIBAVCODEC_VERSION_MINOR, \
...
...
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