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
d21b82fd
Commit
d21b82fd
authored
Feb 06, 2012
by
Stefano Sabatini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavc: provide aliases to the PCM A-law/mu-law codecs
They are also known as G.711 codecs.
parent
0b717e24
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
pcm.c
libavcodec/pcm.c
+2
-2
No files found.
libavcodec/pcm.c
View file @
d21b82fd
...
...
@@ -512,14 +512,14 @@ AVCodec ff_ ## name_ ## _decoder = { \
PCM_ENCODER(id,sample_fmt_,name,long_name_); PCM_DECODER(id,sample_fmt_,name,long_name_)
/* Note: Do not forget to add new entries to the Makefile as well. */
PCM_CODEC
(
CODEC_ID_PCM_ALAW
,
AV_SAMPLE_FMT_S16
,
pcm_alaw
,
"PCM A-law"
);
PCM_CODEC
(
CODEC_ID_PCM_ALAW
,
AV_SAMPLE_FMT_S16
,
pcm_alaw
,
"PCM A-law
/ G.711 A-law
"
);
PCM_DECODER
(
CODEC_ID_PCM_DVD
,
AV_SAMPLE_FMT_S32
,
pcm_dvd
,
"PCM signed 20|24-bit big-endian"
);
PCM_CODEC
(
CODEC_ID_PCM_F32BE
,
AV_SAMPLE_FMT_FLT
,
pcm_f32be
,
"PCM 32-bit floating point big-endian"
);
PCM_CODEC
(
CODEC_ID_PCM_F32LE
,
AV_SAMPLE_FMT_FLT
,
pcm_f32le
,
"PCM 32-bit floating point little-endian"
);
PCM_CODEC
(
CODEC_ID_PCM_F64BE
,
AV_SAMPLE_FMT_DBL
,
pcm_f64be
,
"PCM 64-bit floating point big-endian"
);
PCM_CODEC
(
CODEC_ID_PCM_F64LE
,
AV_SAMPLE_FMT_DBL
,
pcm_f64le
,
"PCM 64-bit floating point little-endian"
);
PCM_DECODER
(
CODEC_ID_PCM_LXF
,
AV_SAMPLE_FMT_S32
,
pcm_lxf
,
"PCM signed 20-bit little-endian planar"
);
PCM_CODEC
(
CODEC_ID_PCM_MULAW
,
AV_SAMPLE_FMT_S16
,
pcm_mulaw
,
"PCM mu-law"
);
PCM_CODEC
(
CODEC_ID_PCM_MULAW
,
AV_SAMPLE_FMT_S16
,
pcm_mulaw
,
"PCM mu-law
/ G.711 mu-law
"
);
PCM_CODEC
(
CODEC_ID_PCM_S8
,
AV_SAMPLE_FMT_U8
,
pcm_s8
,
"PCM signed 8-bit"
);
PCM_CODEC
(
CODEC_ID_PCM_S16BE
,
AV_SAMPLE_FMT_S16
,
pcm_s16be
,
"PCM signed 16-bit big-endian"
);
PCM_CODEC
(
CODEC_ID_PCM_S16LE
,
AV_SAMPLE_FMT_S16
,
pcm_s16le
,
"PCM signed 16-bit little-endian"
);
...
...
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