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
b8560637
Commit
b8560637
authored
Mar 17, 2012
by
Kostya Shishkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
RealAudio Lossless decoder
parent
316e724f
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
10472 additions
and
1 deletion
+10472
-1
Changelog
Changelog
+1
-0
general.texi
doc/general.texi
+1
-0
Makefile
libavcodec/Makefile
+1
-0
allcodecs.c
libavcodec/allcodecs.c
+1
-0
avcodec.h
libavcodec/avcodec.h
+1
-0
ralf.c
libavcodec/ralf.c
+536
-0
ralfdata.h
libavcodec/ralfdata.h
+9920
-0
version.h
libavcodec/version.h
+1
-1
rm.c
libavformat/rm.c
+1
-0
rmdec.c
libavformat/rmdec.c
+9
-0
No files found.
Changelog
View file @
b8560637
...
...
@@ -13,6 +13,7 @@ version <next>:
- ID3v2 attached pictures reading and writing
- WMA Lossless decoder
- XBM encoder
- RealAudio Lossless decoder
version 0.8:
...
...
doc/general.texi
View file @
b8560637
...
...
@@ -752,6 +752,7 @@ following image formats are supported:
@tab Real 28800 bit/s codec
@item RealAudio 3.0 (dnet) @tab IX @tab X
@tab Real low bitrate AC-3 codec
@item RealAudio Lossless @tab @tab X
@item RealAudio SIPR / ACELP.NET @tab @tab X
@item Shorten @tab @tab X
@item Sierra VMD audio @tab @tab X
...
...
libavcodec/Makefile
View file @
b8560637
...
...
@@ -322,6 +322,7 @@ OBJS-$(CONFIG_R210_DECODER) += r210dec.o
OBJS-$(CONFIG_RA_144_DECODER)
+=
ra144dec.o
ra144.o
celp_filters.o
OBJS-$(CONFIG_RA_144_ENCODER)
+=
ra144enc.o
ra144.o
celp_filters.o
OBJS-$(CONFIG_RA_288_DECODER)
+=
ra288.o
celp_math.o
celp_filters.o
OBJS-$(CONFIG_RALF_DECODER)
+=
ralf.o
OBJS-$(CONFIG_RAWVIDEO_DECODER)
+=
rawdec.o
OBJS-$(CONFIG_RAWVIDEO_ENCODER)
+=
rawenc.o
OBJS-$(CONFIG_RL2_DECODER)
+=
rl2.o
...
...
libavcodec/allcodecs.c
View file @
b8560637
...
...
@@ -280,6 +280,7 @@ void avcodec_register_all(void)
REGISTER_DECODER
(
QDM2
,
qdm2
);
REGISTER_ENCDEC
(
RA_144
,
ra_144
);
REGISTER_DECODER
(
RA_288
,
ra_288
);
REGISTER_DECODER
(
RALF
,
ralf
);
REGISTER_DECODER
(
SHORTEN
,
shorten
);
REGISTER_DECODER
(
SIPR
,
sipr
);
REGISTER_DECODER
(
SMACKAUD
,
smackaud
);
...
...
libavcodec/avcodec.h
View file @
b8560637
...
...
@@ -383,6 +383,7 @@ enum CodecID {
CODEC_ID_8SVX_EXP
,
CODEC_ID_8SVX_FIB
,
CODEC_ID_BMV_AUDIO
,
CODEC_ID_RALF
,
/* subtitle codecs */
CODEC_ID_FIRST_SUBTITLE
=
0x17000
,
///< A dummy ID pointing at the start of subtitle codecs.
...
...
libavcodec/ralf.c
0 → 100644
View file @
b8560637
This diff is collapsed.
Click to expand it.
libavcodec/ralfdata.h
0 → 100644
View file @
b8560637
This diff is collapsed.
Click to expand it.
libavcodec/version.h
View file @
b8560637
...
...
@@ -21,7 +21,7 @@
#define AVCODEC_VERSION_H
#define LIBAVCODEC_VERSION_MAJOR 54
#define LIBAVCODEC_VERSION_MINOR
9
#define LIBAVCODEC_VERSION_MINOR
10
#define LIBAVCODEC_VERSION_MICRO 0
#define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
...
...
libavformat/rm.c
View file @
b8560637
...
...
@@ -42,5 +42,6 @@ const AVCodecTag ff_rm_codec_tags[] = {
{
CODEC_ID_SIPR
,
MKTAG
(
's'
,
'i'
,
'p'
,
'r'
)
},
{
CODEC_ID_AAC
,
MKTAG
(
'r'
,
'a'
,
'a'
,
'c'
)
},
{
CODEC_ID_AAC
,
MKTAG
(
'r'
,
'a'
,
'c'
,
'p'
)
},
{
CODEC_ID_RALF
,
MKTAG
(
'L'
,
'S'
,
'D'
,
':'
)
},
{
CODEC_ID_NONE
},
};
libavformat/rmdec.c
View file @
b8560637
...
...
@@ -310,6 +310,15 @@ ff_rm_read_mdpr_codecdata (AVFormatContext *s, AVIOContext *pb,
/* ra type header */
if
(
rm_read_audio_stream_info
(
s
,
pb
,
st
,
rst
,
0
))
return
-
1
;
}
else
if
(
v
==
MKBETAG
(
'L'
,
'S'
,
'D'
,
':'
))
{
avio_seek
(
pb
,
-
4
,
SEEK_CUR
);
if
((
ret
=
rm_read_extradata
(
pb
,
st
->
codec
,
codec_data_size
))
<
0
)
return
ret
;
st
->
codec
->
codec_type
=
AVMEDIA_TYPE_AUDIO
;
st
->
codec
->
codec_tag
=
AV_RL32
(
st
->
codec
->
extradata
);
st
->
codec
->
codec_id
=
ff_codec_get_id
(
ff_rm_codec_tags
,
st
->
codec
->
codec_tag
);
}
else
{
int
fps
;
if
(
avio_rl32
(
pb
)
!=
MKTAG
(
'V'
,
'I'
,
'D'
,
'O'
))
{
...
...
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