Diego Biurrun
2804ba6a3b
swf: Move swf_audio_codec_tags table to the only place it is used
12 years ago
Kostya Shishkov
84f9d78a96
fate: add G.723.1 decoder tests
12 years ago
Mans Rullgard
0db9eba48c
motion_est: drop inline from sad_hpel_motion_search()
...
This function is only ever called through a function pointer,
so marking it inline makes no sense.
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Mans Rullgard
5bf7bc625b
motion_est: remove unused macros
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Mans Rullgard
74f82f92a4
motion_est: remove useless no_motion_search() function
...
At both places this function is called, mb_[xy] == s->mb_[xy]
making the call together with following code equivalent to
simply assigning zeros.
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Hendrik Leppkes
f9150c8ac0
lagarith: frame multithreading
...
About 2x speedup going from 1 to 2 threads.
1.7s to 0.85s on foreman CIF.
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
12 years ago
Diego Biurrun
36a8c43073
doxygen: qdm2: Drop documentation for non-existing function parameters
12 years ago
Diego Biurrun
24d3796d21
build: add HOSTOBJS to SUBDIR_VARS list
...
Even though HOSTOBJS are not referenced directly in subdirectory Makefile
snippets right now, robustness requires resetting the variable contents.
12 years ago
Mans Rullgard
f69f4036f8
mpegvideo: reduce excessive inlining of mpeg_motion()
...
The main benefit of inlining this function is from constant
propagation for the 'field_based' argument. Instead of inlining
all calls, create two versions of the function for field_based
values of 0 and 1.
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Mans Rullgard
7a851153d3
mpegvideo: convert mpegvideo_common.h to a .c file
...
This file defines a single, huge function, MPV_motion(), which
although being declared inline is not actually inlined by the
compiler (for good reason). There is thus no sense in defining
this function in a header file, resulting in multiple copies of
it in the final library.
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Mans Rullgard
18bbca1fd3
build: factor out mpegvideo.o dependencies to CONFIG_MPEGVIDEO
...
This adds a hidden config variable for the mpegvideo.o dependency
and selects from the codecs which require it.
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Mans Rullgard
d7a4f8f8b9
Move MASK_ABS macro to libavcodec/mathops.h
...
This macro is only used in two places, both in libavcodec, so this
is a more sensible place for it.
Two small tweaks to the macro are made:
- removing the trailing semicolon
- dropping unnecessary 'volatile' from the x86 asm
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Mans Rullgard
070a402b60
x86: move MANGLE() and related macros to libavutil/x86/asm.h
...
These x86-specific macros do not belong in generic code.
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Mans Rullgard
c318626ce2
x86: rename libavutil/x86_cpu.h to libavutil/x86/asm.h
...
This puts x86-specific things in the x86/ subdirectory where they
belong.
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Alex Converse
122d5c526a
aacdec: Don't fall back to the old output configuration when no old configuration is present.
...
Fixes MP4 files where the first frame is broken.
12 years ago
Samuel Pitoiset
f89584ca44
rtmp: Add message tracking
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Martin Storsjö
1243c72251
rtsp: Support mpegts in raw udp packets
...
This is basically the same way as mpegts packets are parsed in
rtpdec.c.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Martin Storsjö
df8cf076c8
rtsp: Support receiving plain data over UDP without any RTP encapsulation
...
EvoStream Media Server can serve data in this format, and
VLC/live555 already supports it.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Martin Storsjö
c864e461d2
rtpdec: Remove an unused include
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Martin Storsjö
bfb82fcddf
rtpenc: Remove an av_abort() that depends on user-supplied data
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Anton Khirnov
7ca14c731e
vsrc_movie: discourage its use with avconv.
12 years ago
Anton Khirnov
ab29609701
avconv: allow no input files.
...
It is now possible to use lavfi sources.
12 years ago
Anton Khirnov
a5fd7c607f
avconv: prevent invalid reads in transcode_init()
12 years ago
Anton Khirnov
57d2422559
avconv: rename OutputStream.is_past_recording_time to finished.
...
The new name is shorter and more accurate, since this variable is no
longer used only for checking recording time constraint.
12 years ago
Anton Khirnov
0c00fd80ee
avconv: split the code for processing input packets out of transcode()
12 years ago
Anton Khirnov
f154ef1ae5
avconv: send EOF to lavfi even if flushing the decoder fails
12 years ago
Anton Khirnov
cc2133b66a
avconv: get rid of pointless temporary variable.
12 years ago
Anton Khirnov
8391602913
avconv: simplify transcode().
...
Operate with a pointer to InputFile instead of its index in input_files.
12 years ago
Anton Khirnov
c0fbf9713c
avconv: cosmetics
...
Replace for (;foo == 0;) with while (!foo)
This is prettier.
12 years ago
Anton Khirnov
0b26ef4228
avconv: replace no_packet array in transcode() with a var in InputStream
...
This simplifies splitting code for reading from input out of
transcode().
12 years ago
Anton Khirnov
bed43d58b0
avconv: remove unused variable from InputFile.
12 years ago
Anton Khirnov
d64901f99d
avconv: remove commented out cruft.
12 years ago
Anton Khirnov
a4f5011065
avconv: maintain sync on lavfi outputs.
...
Before this commit, poll_filters() reads all frames available on each
lavfi output. This does not work for lavfi sources that produce
an unlimited number of frames, e.g. color and similar.
With this commit, poll_filters() reads from output with the lowest
timestamp and returns to wait for more input if no frames are available
on it.
12 years ago
Diego Biurrun
5864eb427f
build: cosmetics: Reorder some lists in a more logical fashion
12 years ago
Dave Yeo
197439c1ef
x86: pngdsp: Fix assembly for OS/2
...
The a.out object format does not allow aligning sections.
On OS/2 LD aligns sections to 16 bytes.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
12 years ago
Janne Grunau
69ac6400b8
fate: add test for RTjpeg in nuv with frameheader
...
Renames the old test to allow using fate-nuv as group for all
nuv tests.
12 years ago
Luca Barbato
82613564cf
rtmp: send check_bw as notification
...
Set the transactionId to 0 to signal the server a return _result/_error
is not expected.
Solves the problems experienced with strict rtmp servers.
12 years ago
Kostya Shishkov
e78e6c37ef
g723_1: clip argument for 15-bit version of normalize_bits()
...
It expects maximum value to be 32767 but calculations in scale_vector()
which uses this function can give it ABS(-32768) which leads to wrong
result and thus clipping is needed.
12 years ago
Kostya Shishkov
f86b2f3661
g723_1: use all LPC vectors in formant postfilter
...
Due to some mistake LPC vector for the first subframe was used for all
subframes instead of their own LPC vectors.
12 years ago
Mohammad Alsaleh
385ec296f1
id3v2: Support v2.2 PIC
...
id3 v2.2 uses image format ("JPG","PNG") instead of mimetypes.
Currently, the attached picture is skipped because the format string
does not match a known picture mimetype.
This patch fixes this behaviour.
Signed-off-by: Mohammad Alsaleh <msal@tormail.org>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
12 years ago
Konstantin Pavlov
1a4b556786
avplay: fix build with lavfi disabled.
...
Issue introduced in 67339f6e
.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
12 years ago
Anton Khirnov
fe2147e936
avconv: split configuring filter configuration to a separate file.
12 years ago
Anton Khirnov
f5e668273a
avconv: split option parsing into a separate file.
12 years ago
Kostya Shishkov
8f2aa89a5d
mpc8: do not leave padding after last frame in buffer for the next decode call
12 years ago
Anton Khirnov
94364b7d42
mpegaudioenc: list supported channel layouts.
12 years ago
Anton Khirnov
927e92cdc7
mpegaudiodec: don't print an error on > 1 frame in a packet.
...
It's a perfectly normal situation, nothing to spam about.
12 years ago
Anton Khirnov
5702c8670e
api-example: update to new audio encoding API.
12 years ago
Mans Rullgard
154caa677c
configure: add --enable/disable-random option
...
This allows creating random configurations which is useful for
testing purposes.
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Diego Biurrun
578344f79c
doc: cygwin: Update list of FATE package requirements
12 years ago
Diego Biurrun
a2b4d1df52
build: Remove all installed headers and header directories on uninstall
12 years ago