Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
ffmpeg-mt
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
ffmpeg-mt
Commits
bb67674a
Commit
bb67674a
authored
Jun 20, 2010
by
Alexander Strange
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
git://git.mplayerhq.hu/ffmpeg
parents
06ac5ac9
60518381
Changes
13
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
72 additions
and
431 deletions
+72
-431
Changelog
Changelog
+1
-0
configure
configure
+1
-27
doc/general.texi
doc/general.texi
+1
-1
libavcodec/Makefile
libavcodec/Makefile
+0
-1
libavcodec/aacsbr.c
libavcodec/aacsbr.c
+2
-3
libavcodec/allcodecs.c
libavcodec/allcodecs.c
+0
-1
libavcodec/dca.c
libavcodec/dca.c
+2
-2
libavcodec/libfaad.c
libavcodec/libfaad.c
+0
-333
libavcodec/mpegaudiodec.c
libavcodec/mpegaudiodec.c
+1
-0
libavcodec/ps.c
libavcodec/ps.c
+59
-59
libavcodec/ps.h
libavcodec/ps.h
+0
-1
libavformat/http.c
libavformat/http.c
+2
-3
libavformat/spdif.c
libavformat/spdif.c
+3
-0
No files found.
Changelog
View file @
bb67674a
...
@@ -12,6 +12,7 @@ version <next>:
...
@@ -12,6 +12,7 @@ version <next>:
- Demuxer for On2's IVF format
- Demuxer for On2's IVF format
- Pictor/PC Paint decoder
- Pictor/PC Paint decoder
- HE-AAC v2 decoder
- HE-AAC v2 decoder
- libfaad2 wrapper removed
...
...
configure
View file @
bb67674a
...
@@ -169,8 +169,6 @@ External library support:
...
@@ -169,8 +169,6 @@ External library support:
and libraw1394 [no]
and libraw1394 [no]
--enable-libdirac enable Dirac support via libdirac [no]
--enable-libdirac enable Dirac support via libdirac [no]
--enable-libfaac enable FAAC support via libfaac [no]
--enable-libfaac enable FAAC support via libfaac [no]
--enable-libfaad enable FAAD support via libfaad [no]
--enable-libfaadbin open libfaad.so.0 at runtime [no]
--enable-libgsm enable GSM support via libgsm [no]
--enable-libgsm enable GSM support via libgsm [no]
--enable-libmp3lame enable MP3 encoding via libmp3lame [no]
--enable-libmp3lame enable MP3 encoding via libmp3lame [no]
--enable-libnut enable NUT (de)muxing via libnut,
--enable-libnut enable NUT (de)muxing via libnut,
...
@@ -915,8 +913,6 @@ CONFIG_LIST="
...
@@ -915,8 +913,6 @@ CONFIG_LIST="
libdc1394
libdc1394
libdirac
libdirac
libfaac
libfaac
libfaad
libfaadbin
libgsm
libgsm
libmp3lame
libmp3lame
libnut
libnut
...
@@ -1343,8 +1339,6 @@ aac_adtstoasc_bsf_select="aac_parser"
...
@@ -1343,8 +1339,6 @@ aac_adtstoasc_bsf_select="aac_parser"
libdirac_decoder_deps
=
"libdirac !libschroedinger"
libdirac_decoder_deps
=
"libdirac !libschroedinger"
libdirac_encoder_deps
=
"libdirac"
libdirac_encoder_deps
=
"libdirac"
libfaac_encoder_deps
=
"libfaac"
libfaac_encoder_deps
=
"libfaac"
libfaad_decoder_deps
=
"libfaad"
libfaadbin_extralibs
=
'$ldl'
libgsm_decoder_deps
=
"libgsm"
libgsm_decoder_deps
=
"libgsm"
libgsm_encoder_deps
=
"libgsm"
libgsm_encoder_deps
=
"libgsm"
libgsm_ms_decoder_deps
=
"libgsm"
libgsm_ms_decoder_deps
=
"libgsm"
...
@@ -2170,7 +2164,7 @@ case $target_os in
...
@@ -2170,7 +2164,7 @@ case $target_os in
darwin
)
darwin
)
enable
malloc_aligned
enable
malloc_aligned
SHFLAGS
=
'-dynamiclib -Wl,-single_module -Wl,-install_name,$(SHLIBDIR)/$(SLIBNAME),-current_version,$(LIBVERSION),-compatibility_version,$(LIBMAJOR) -Wl,-read_only_relocs,suppress'
SHFLAGS
=
'-dynamiclib -Wl,-single_module -Wl,-install_name,$(SHLIBDIR)/$(SLIBNAME),-current_version,$(LIBVERSION),-compatibility_version,$(LIBMAJOR) -Wl,-read_only_relocs,suppress'
strip
=
"
strip
-x"
strip
=
"
${
strip
}
-x"
FFLDFLAGS
=
"-Wl,-dynamic,-search_paths_first"
FFLDFLAGS
=
"-Wl,-dynamic,-search_paths_first"
SLIBSUF
=
".dylib"
SLIBSUF
=
".dylib"
SLIBNAME_WITH_VERSION
=
'$(SLIBPREF)$(FULLNAME).$(LIBVERSION)$(SLIBSUF)'
SLIBNAME_WITH_VERSION
=
'$(SLIBPREF)$(FULLNAME).$(LIBVERSION)$(SLIBSUF)'
...
@@ -2300,27 +2294,10 @@ fi
...
@@ -2300,27 +2294,10 @@ fi
disabled static
&&
LIBNAME
=
""
disabled static
&&
LIBNAME
=
""
if
enabled_any libfaad libfaadbin
;
then
if
check_header faad.h
;
then
check_cc
<<
EOF
#include <faad.h>
#ifndef FAAD2_VERSION
ok faad1
#endif
int main(void) { return 0; }
EOF
test
$?
=
0
&&
enable
libfaad2
else
die
"FAAD test failed."
fi
fi
die_license_disabled
()
{
die_license_disabled
()
{
enabled
$1
||
{
enabled
$2
&&
die
"
$2
is
$1
and --enable-
$1
is not specified."
;
}
enabled
$1
||
{
enabled
$2
&&
die
"
$2
is
$1
and --enable-
$1
is not specified."
;
}
}
}
die_license_disabled gpl libfaad2
die_license_disabled gpl libx264
die_license_disabled gpl libx264
die_license_disabled gpl libxvid
die_license_disabled gpl libxvid
die_license_disabled gpl postproc
die_license_disabled gpl postproc
...
@@ -2594,7 +2571,6 @@ enabled libdirac && add_cflags $(pkg-config --cflags dirac) &&
...
@@ -2594,7 +2571,6 @@ enabled libdirac && add_cflags $(pkg-config --cflags dirac) &&
require libdirac libdirac_decoder/dirac_parser.h dirac_decoder_init
$(
pkg-config
--libs
dirac
)
&&
require libdirac libdirac_decoder/dirac_parser.h dirac_decoder_init
$(
pkg-config
--libs
dirac
)
&&
require libdirac libdirac_encoder/dirac_encoder.h dirac_encoder_init
$(
pkg-config
--libs
dirac
)
require libdirac libdirac_encoder/dirac_encoder.h dirac_encoder_init
$(
pkg-config
--libs
dirac
)
enabled libfaac
&&
require2 libfaac
"stdint.h faac.h"
faacEncGetVersion
-lfaac
enabled libfaac
&&
require2 libfaac
"stdint.h faac.h"
faacEncGetVersion
-lfaac
enabled libfaad
&&
require2 libfaad faad.h faacDecOpen
-lfaad
enabled libgsm
&&
require libgsm gsm/gsm.h gsm_create
-lgsm
enabled libgsm
&&
require libgsm gsm/gsm.h gsm_create
-lgsm
enabled libmp3lame
&&
require libmp3lame lame/lame.h lame_init
-lmp3lame
-lm
enabled libmp3lame
&&
require libmp3lame lame/lame.h lame_init
-lmp3lame
-lm
enabled libnut
&&
require libnut libnut.h nut_demuxer_init
-lnut
enabled libnut
&&
require libnut libnut.h nut_demuxer_init
-lnut
...
@@ -2870,8 +2846,6 @@ echo "AVISynth enabled ${avisynth-no}"
...
@@ -2870,8 +2846,6 @@ echo "AVISynth enabled ${avisynth-no}"
echo
"libdc1394 support
${
libdc1394
-no
}
"
echo
"libdc1394 support
${
libdc1394
-no
}
"
echo
"libdirac enabled
${
libdirac
-no
}
"
echo
"libdirac enabled
${
libdirac
-no
}
"
echo
"libfaac enabled
${
libfaac
-no
}
"
echo
"libfaac enabled
${
libfaac
-no
}
"
echo
"libfaad enabled
${
libfaad
-no
}
"
echo
"libfaad dlopened
${
libfaadbin
-no
}
"
echo
"libgsm enabled
${
libgsm
-no
}
"
echo
"libgsm enabled
${
libgsm
-no
}
"
echo
"libmp3lame enabled
${
libmp3lame
-no
}
"
echo
"libmp3lame enabled
${
libmp3lame
-no
}
"
echo
"libnut enabled
${
libnut
-no
}
"
echo
"libnut enabled
${
libnut
-no
}
"
...
...
doc/general.texi
View file @
bb67674a
...
@@ -1025,7 +1025,7 @@ These library packages are only available from Cygwin Ports
...
@@ -1025,7 +1025,7 @@ These library packages are only available from Cygwin Ports
(
@url
{
http:
//
sourceware.org
/
cygwinports
/
}
)
:
(
@url
{
http:
//
sourceware.org
/
cygwinports
/
}
)
:
@example
@example
yasm, libSDL
-
devel, libdirac
-
devel, libfaac
-
devel, lib
faad
-
devel, lib
gsm
-
devel,
yasm, libSDL
-
devel, libdirac
-
devel, libfaac
-
devel, libgsm
-
devel,
libmp
3
lame
-
devel, libschroedinger
1
.
0
-
devel, speex
-
devel, libtheora
-
devel,
libmp
3
lame
-
devel, libschroedinger
1
.
0
-
devel, speex
-
devel, libtheora
-
devel,
libxvidcore
-
devel
libxvidcore
-
devel
@end example
@end example
...
...
libavcodec/Makefile
View file @
bb67674a
...
@@ -521,7 +521,6 @@ OBJS-$(CONFIG_WEBM_MUXER) += xiph.o mpeg4audio.o \
...
@@ -521,7 +521,6 @@ OBJS-$(CONFIG_WEBM_MUXER) += xiph.o mpeg4audio.o \
OBJS-$(CONFIG_LIBDIRAC_DECODER)
+=
libdiracdec.o
OBJS-$(CONFIG_LIBDIRAC_DECODER)
+=
libdiracdec.o
OBJS-$(CONFIG_LIBDIRAC_ENCODER)
+=
libdiracenc.o libdirac_libschro.o
OBJS-$(CONFIG_LIBDIRAC_ENCODER)
+=
libdiracenc.o libdirac_libschro.o
OBJS-$(CONFIG_LIBFAAC_ENCODER)
+=
libfaac.o
OBJS-$(CONFIG_LIBFAAC_ENCODER)
+=
libfaac.o
OBJS-$(CONFIG_LIBFAAD_DECODER)
+=
libfaad.o
OBJS-$(CONFIG_LIBGSM_DECODER)
+=
libgsm.o
OBJS-$(CONFIG_LIBGSM_DECODER)
+=
libgsm.o
OBJS-$(CONFIG_LIBGSM_ENCODER)
+=
libgsm.o
OBJS-$(CONFIG_LIBGSM_ENCODER)
+=
libgsm.o
OBJS-$(CONFIG_LIBGSM_MS_DECODER)
+=
libgsm.o
OBJS-$(CONFIG_LIBGSM_MS_DECODER)
+=
libgsm.o
...
...
libavcodec/aacsbr.c
View file @
bb67674a
...
@@ -379,8 +379,7 @@ static int sbr_make_f_master(AACContext *ac, SpectralBandReplication *sbr,
...
@@ -379,8 +379,7 @@ static int sbr_make_f_master(AACContext *ac, SpectralBandReplication *sbr,
}
}
if
(
!
spectrum
->
bs_freq_scale
)
{
if
(
!
spectrum
->
bs_freq_scale
)
{
unsigned
int
dk
;
int
dk
,
k2diff
;
int
k2diff
;
dk
=
spectrum
->
bs_alter_scale
+
1
;
dk
=
spectrum
->
bs_alter_scale
+
1
;
sbr
->
n_master
=
((
sbr
->
k
[
2
]
-
sbr
->
k
[
0
]
+
(
dk
&
2
))
>>
dk
)
<<
1
;
sbr
->
n_master
=
((
sbr
->
k
[
2
]
-
sbr
->
k
[
0
]
+
(
dk
&
2
))
>>
dk
)
<<
1
;
...
@@ -393,7 +392,7 @@ static int sbr_make_f_master(AACContext *ac, SpectralBandReplication *sbr,
...
@@ -393,7 +392,7 @@ static int sbr_make_f_master(AACContext *ac, SpectralBandReplication *sbr,
k2diff
=
sbr
->
k
[
2
]
-
sbr
->
k
[
0
]
-
sbr
->
n_master
*
dk
;
k2diff
=
sbr
->
k
[
2
]
-
sbr
->
k
[
0
]
-
sbr
->
n_master
*
dk
;
if
(
k2diff
<
0
)
{
if
(
k2diff
<
0
)
{
sbr
->
f_master
[
1
]
--
;
sbr
->
f_master
[
1
]
--
;
sbr
->
f_master
[
2
]
-=
(
k2diff
<
1
);
sbr
->
f_master
[
2
]
-=
(
k2diff
<
-
1
);
}
else
if
(
k2diff
)
{
}
else
if
(
k2diff
)
{
sbr
->
f_master
[
sbr
->
n_master
]
++
;
sbr
->
f_master
[
sbr
->
n_master
]
++
;
}
}
...
...
libavcodec/allcodecs.c
View file @
bb67674a
...
@@ -340,7 +340,6 @@ void avcodec_register_all(void)
...
@@ -340,7 +340,6 @@ void avcodec_register_all(void)
/* external libraries */
/* external libraries */
REGISTER_ENCDEC
(
LIBDIRAC
,
libdirac
);
REGISTER_ENCDEC
(
LIBDIRAC
,
libdirac
);
REGISTER_ENCODER
(
LIBFAAC
,
libfaac
);
REGISTER_ENCODER
(
LIBFAAC
,
libfaac
);
REGISTER_DECODER
(
LIBFAAD
,
libfaad
);
REGISTER_ENCDEC
(
LIBGSM
,
libgsm
);
REGISTER_ENCDEC
(
LIBGSM
,
libgsm
);
REGISTER_ENCDEC
(
LIBGSM_MS
,
libgsm_ms
);
REGISTER_ENCDEC
(
LIBGSM_MS
,
libgsm_ms
);
REGISTER_ENCODER
(
LIBMP3LAME
,
libmp3lame
);
REGISTER_ENCODER
(
LIBMP3LAME
,
libmp3lame
);
...
...
libavcodec/dca.c
View file @
bb67674a
...
@@ -44,7 +44,7 @@
...
@@ -44,7 +44,7 @@
#define DCA_PRIM_CHANNELS_MAX (5)
#define DCA_PRIM_CHANNELS_MAX (5)
#define DCA_SUBBANDS (32)
#define DCA_SUBBANDS (32)
#define DCA_ABITS_MAX (32)
/* Should be 28 */
#define DCA_ABITS_MAX (32)
/* Should be 28 */
#define DCA_SUBSUBFAMES_MAX (4)
#define DCA_SUBSUBF
R
AMES_MAX (4)
#define DCA_LFE_MAX (3)
#define DCA_LFE_MAX (3)
enum
DCAMode
{
enum
DCAMode
{
...
@@ -222,7 +222,7 @@ typedef struct {
...
@@ -222,7 +222,7 @@ typedef struct {
int
high_freq_vq
[
DCA_PRIM_CHANNELS_MAX
][
DCA_SUBBANDS
];
///< VQ encoded high frequency subbands
int
high_freq_vq
[
DCA_PRIM_CHANNELS_MAX
][
DCA_SUBBANDS
];
///< VQ encoded high frequency subbands
float
lfe_data
[
2
*
DCA_SUBSUBFAMES_MAX
*
DCA_LFE_MAX
*
float
lfe_data
[
2
*
DCA_SUBSUBF
R
AMES_MAX
*
DCA_LFE_MAX
*
2
/*history */
];
///< Low frequency effect data
2
/*history */
];
///< Low frequency effect data
int
lfe_scale_factor
;
int
lfe_scale_factor
;
...
...
libavcodec/libfaad.c
deleted
100644 → 0
View file @
06ac5ac9
This diff is collapsed.
Click to expand it.
libavcodec/mpegaudiodec.c
View file @
bb67674a
...
@@ -926,6 +926,7 @@ void ff_mpa_synth_filter(MPA_INT *synth_buf_ptr, int *synth_buf_offset,
...
@@ -926,6 +926,7 @@ void ff_mpa_synth_filter(MPA_INT *synth_buf_ptr, int *synth_buf_offset,
int
offset
;
int
offset
;
#if FRAC_BITS <= 15
#if FRAC_BITS <= 15
int32_t
tmp
[
32
];
int32_t
tmp
[
32
];
int
j
;
#endif
#endif
offset
=
*
synth_buf_offset
;
offset
=
*
synth_buf_offset
;
...
...
libavcodec/ps.c
View file @
bb67674a
This diff is collapsed.
Click to expand it.
libavcodec/ps.h
View file @
bb67674a
...
@@ -37,7 +37,6 @@
...
@@ -37,7 +37,6 @@
typedef
struct
{
typedef
struct
{
int
start
;
int
start
;
int
enable_iid
;
int
enable_iid
;
int
iid_mode
;
int
iid_quant
;
int
iid_quant
;
int
nr_iid_par
;
int
nr_iid_par
;
int
nr_ipdopd_par
;
int
nr_ipdopd_par
;
...
...
libavformat/http.c
View file @
bb67674a
...
@@ -53,7 +53,6 @@ typedef struct {
...
@@ -53,7 +53,6 @@ typedef struct {
static
int
http_connect
(
URLContext
*
h
,
const
char
*
path
,
const
char
*
hoststr
,
static
int
http_connect
(
URLContext
*
h
,
const
char
*
path
,
const
char
*
hoststr
,
const
char
*
auth
,
int
*
new_location
);
const
char
*
auth
,
int
*
new_location
);
static
int
http_write
(
URLContext
*
h
,
const
uint8_t
*
buf
,
int
size
);
void
ff_http_set_headers
(
URLContext
*
h
,
const
char
*
headers
)
void
ff_http_set_headers
(
URLContext
*
h
,
const
char
*
headers
)
{
{
...
@@ -153,7 +152,6 @@ static int http_open(URLContext *h, const char *uri, int flags)
...
@@ -153,7 +152,6 @@ static int http_open(URLContext *h, const char *uri, int flags)
}
}
h
->
priv_data
=
s
;
h
->
priv_data
=
s
;
s
->
filesize
=
-
1
;
s
->
filesize
=
-
1
;
s
->
chunksize
=
-
1
;
s
->
is_chunked
=
1
;
s
->
is_chunked
=
1
;
s
->
off
=
0
;
s
->
off
=
0
;
s
->
init
=
0
;
s
->
init
=
0
;
...
@@ -323,7 +321,7 @@ static int http_connect(URLContext *h, const char *path, const char *hoststr,
...
@@ -323,7 +321,7 @@ static int http_connect(URLContext *h, const char *path, const char *hoststr,
authstr
?
authstr
:
""
);
authstr
?
authstr
:
""
);
av_freep
(
&
authstr
);
av_freep
(
&
authstr
);
if
(
http_write
(
h
,
s
->
buffer
,
strlen
(
s
->
buffer
))
<
0
)
if
(
url_write
(
s
->
hd
,
s
->
buffer
,
strlen
(
s
->
buffer
))
<
0
)
return
AVERROR
(
EIO
);
return
AVERROR
(
EIO
);
/* init input buffer */
/* init input buffer */
...
@@ -332,6 +330,7 @@ static int http_connect(URLContext *h, const char *path, const char *hoststr,
...
@@ -332,6 +330,7 @@ static int http_connect(URLContext *h, const char *path, const char *hoststr,
s
->
line_count
=
0
;
s
->
line_count
=
0
;
s
->
off
=
0
;
s
->
off
=
0
;
s
->
filesize
=
-
1
;
s
->
filesize
=
-
1
;
s
->
chunksize
=
-
1
;
if
(
post
)
{
if
(
post
)
{
/* always use chunked encoding for upload data */
/* always use chunked encoding for upload data */
s
->
chunksize
=
0
;
s
->
chunksize
=
0
;
...
...
libavformat/spdif.c
View file @
bb67674a
...
@@ -64,9 +64,12 @@ enum IEC958DataType {
...
@@ -64,9 +64,12 @@ enum IEC958DataType {
IEC958_ATRAC
=
0x0E
,
///< Atrac data
IEC958_ATRAC
=
0x0E
,
///< Atrac data
IEC958_ATRAC3
=
0x0F
,
///< Atrac 3 data
IEC958_ATRAC3
=
0x0F
,
///< Atrac 3 data
IEC958_ATRACX
=
0x10
,
///< Atrac 3 plus data
IEC958_ATRACX
=
0x10
,
///< Atrac 3 plus data
IEC958_DTSHD
=
0x11
,
///< DTS HD data
IEC958_WMAPRO
=
0x12
,
///< WMA 9 Professional data
IEC958_WMAPRO
=
0x12
,
///< WMA 9 Professional data
IEC958_MPEG2_AAC_LSF_2048
=
0x13
,
///< MPEG-2 AAC ADTS half-rate low sampling frequency
IEC958_MPEG2_AAC_LSF_2048
=
0x13
,
///< MPEG-2 AAC ADTS half-rate low sampling frequency
IEC958_MPEG2_AAC_LSF_4096
=
0x13
|
0x20
,
///< MPEG-2 AAC ADTS quarter-rate low sampling frequency
IEC958_MPEG2_AAC_LSF_4096
=
0x13
|
0x20
,
///< MPEG-2 AAC ADTS quarter-rate low sampling frequency
IEC958_EAC3
=
0x15
,
///< E-AC-3 data
IEC958_TRUEHD
=
0x16
,
///< TrueHD data
};
};
typedef
struct
IEC958Context
{
typedef
struct
IEC958Context
{
...
...
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