Stefano Sabatini
e977ca2645
lavfi: add avfilter_link_free() function
...
Allow to free the buffers cached in each AVFilterLink pool.
Fix leak.
14 years ago
Stefano Sabatini
b932eb1be6
swscale: reintroduce sws_format_name() symbol
...
Reintroduce the internal symbol which was removed in:
commit e1197b9e17
Author: Stefano Sabatini <stefano.sabatini-lala@poste.it>
Date: Sun May 29 17:57:40 2011 +0200
swscale: remove sws_format_name()
Use av_get_pix_fmt_name() instead.
The symbol is used by some external libs (hi libx264!), this gives
time to them to use the recently added av_get_pix_fmt_name() rather
than an internal symbol.
14 years ago
Michael Niedermayer
6713989c23
swscale: dither for planar yuv outputs
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
877f76ad33
swscale: Fix use of uninitialized values
...
(bug probably introduced from a marge of libav)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
5ad38d93e8
cpudetect: add av_force_cpu_flags()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Stefano Sabatini
9e66b64c36
vsrc_buffer: propagate error code in av_vsrc_buffer_add_frame()
...
Propagate av_vsrc_buffer_add_video_buffer_ref() error code rather than
return 0.
14 years ago
Stefano Sabatini
665e608c8d
lavfi: reindent after the previous commit
14 years ago
Stefano Sabatini
6f1dd6f45a
lavfi: add braces around the block of an if() expression in avfilter_default_get_video_buffer
...
Clarify code layout.
14 years ago
Stefano Sabatini
0ff5cbedd2
lavfi: clarify the context of a comment in avfilter_default_get_video_buffer()
...
The comment is meant to be about the align parameter.
14 years ago
Stefano Sabatini
77b32b73ed
lavfi: apply misc style fixes
...
Adopt K&R style for overall consistency/readability.
14 years ago
James Zern
d013c6da80
doc: cosmetics: libx264 typos
14 years ago
Piotr Kaczuba
c96f3750c2
postprocess: Remove test for impossible condition (was: Re: postprocess.c: replace check for p==NULL with *p==0)
14 years ago
Clément Bœsch
b443447536
Fix various uninitialized variable warnings
14 years ago
Reimar Döffinger
58fd70b04d
Port remove of get_sws_cpuflags from MPlayer's libmpcodecs.
14 years ago
Reimar Döffinger
3c194f390f
Replace "vector const" by "const vector" otherwise gcc 4.6.0 fails.
...
Given that this compiles fine with the Apple compiler that is probably
a gcc bug, but "const vector" is nicer anyway.
14 years ago
Reimar Döffinger
3379531c40
Port recent changes to MPlayer libmpcodecs.
...
Also include an older fix for vf_smartblur which was essentially
broken due to reading the threshold value wrongly.
14 years ago
Reimar Döffinger
2a30df09fd
Replace non-existent HAVE_SSE2 with HAVE_SSE.
...
Since this is only a compilation check (the actual function used is
selected at runtime) and HAVE_SSE indicates that we can also compile
SSE2 code, this is correct.
14 years ago
Michael Niedermayer
cd8cb54990
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
ARM: ac3dsp: optimised update_bap_counts()
mpegaudiodec: Fix av_dlog() invocation.
h264/10bit: add HAVE_ALIGNED_STACK checks.
Update 8-bit H.264 IDCT function names to reflect bit-depth.
Add IDCT functions for 10-bit H.264.
mpegaudioenc: Fix broken av_dlog statement.
Employ correct printf format specifiers, mostly in debug output.
ARM: fix MUL64 inline asm for pre-armv6
Conflicts:
libavcodec/mpegaudioenc.c
libavformat/ape.c
libavformat/mxfdec.c
libavformat/r3d.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Reimar Döffinger
06a9da7365
Simplify code and avoid compiler warning about incompatible types.
14 years ago
Reimar Döffinger
bf19c87101
Fix type of out[] variable, it should not be const.
...
Fixes compiler warning about incompatible types in sws_scale call.
14 years ago
Mans Rullgard
8e112df409
ARM: ac3dsp: optimised update_bap_counts()
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Diego Biurrun
bde2c1c7fe
mpegaudiodec: Fix av_dlog() invocation.
...
Some parameters passed to the av_dlog can be either float or int, depending on
the mode the file is being compiled as. Cast those parameters to float and use
appropriate conversion specifiers.
14 years ago
Stefano Sabatini
eb5a3ab7b0
swscale: fix compilation of bfin due to missing pixdesc.h header
...
This is required after sws_format_name() was replaced by
av_get_pix_fmt(), which is declared in libavutil/pixdesc.h.
14 years ago
Stefano Sabatini
adf9415598
lavf: tag dump_format() as @deprecated
...
This makes the generated Doxygen doc link to the replacement
av_dump_format() function.
14 years ago
Stefano Sabatini
1f95fb5813
yuv4mpeg: complain and exit if a non-rawvideo stream is selected
...
The yuv4mpeg muxer will crash otherwise.
14 years ago
Stefano Sabatini
ac41f3b036
ffmpeg: handle copy of packets for AVFMT_RAWPICTURE output formats
...
Store AVPicture in AVPacket as required by AVFMT_RAWPICTURE formats.
Fix trac issue #251 .
14 years ago
Stefano Sabatini
ca858ab77d
doc/examples: give meaningful names to the example files
...
Rename:
api-example.c -> encoding-example.c
output-example.c -> muxing-example.c
14 years ago
Daniel Kang
f3aa65af3a
h264/10bit: add HAVE_ALIGNED_STACK checks.
...
Fixes regression in 836f47d34b
in ICC-10.x,
since ICC<=11.0 doesn't align stack upon function calls.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Michael Niedermayer
201549d1a9
swscale: More accurate rounding in YSCALE_YUV_2_PACKEDX_FULL_C()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
f6a8ce98a7
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
vf_drawtext: Replace FFmpeg by Libav in license boilerplate.
mpegaudiodec: remove unusued code and variables
improved 'edts' atom writing support
mpegaudio: clean up compute_antialias() definition
vp8: fix segmentation race during frame-threading.
Merged-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Daniel Kang
348493db60
Update 8-bit H.264 IDCT function names to reflect bit-depth.
...
Signed-off-by: Ronald S. Bultje <rbultje@google.com>
14 years ago
Daniel Kang
836f47d34b
Add IDCT functions for 10-bit H.264.
...
Ports the majority of IDCT functions for 10-bit H.264.
Parts are inspired from 8-bit IDCT code in Libav; other parts ported from x264 with relicensing permission from author.
Signed-off-by: Ronald S. Bultje <rbultje@google.com>
14 years ago
Diego Biurrun
7e985c9e35
mpegaudioenc: Fix broken av_dlog statement.
14 years ago
Diego Biurrun
b0a4e5f9e7
Employ correct printf format specifiers, mostly in debug output.
14 years ago
Mans Rullgard
c51695dbf6
ARM: fix MUL64 inline asm for pre-armv6
...
Prior to ARMv6, the destination registers of the SMULL instruction
must be distinct from the first source register. Marking the
output early-clobber ensures it is allocated unique registers.
This restriction is dropped in ARMv6 and later, so allowing overlap
between input and output registers there might give better code.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
James Zern
0abbd3adb6
doc: add libvpx encoder section
...
Documents the mapping from FFmpeg options to libvpx.
14 years ago
Diego Biurrun
5ac4952a58
vf_drawtext: Replace FFmpeg by Libav in license boilerplate.
14 years ago
Mans Rullgard
fdf18e33bb
mpegaudiodec: remove unusued code and variables
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Piotr Kaczuba
84fb4e9df7
postprocess.c: filter name needs to be double 0 terminated
14 years ago
Gil Pedersen
c16919487e
improved 'edts' atom writing support
...
The 'edts' write function can now generate an initial empty edit resulting in a track-specific presentation delay.
This is automatically calculated and inserted for any track where the initial DTS != 0.
Added support for long (version==1) timecodes.
14 years ago
Mans Rullgard
6f1ec38ce2
mpegaudio: clean up compute_antialias() definition
...
This merges the float and fixed-point versions of the compute_antialias
function, fixes invalid array indexing, and eliminates a dead copy of
csa_table.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Ronald S. Bultje
9ebcf7699b
vp8: fix segmentation race during frame-threading.
...
Fixes occasional failure of make fate-vp8-test-vector-010 with
frame-multithreading enabled.
14 years ago
Reimar Döffinger
a52f598d63
Port libmpcodec fixes from MPlayer.
14 years ago
Alexander Strange
a54dceb26a
Merge remote-tracking branch 'ffmpeg-mt/master'
...
* ffmpeg-mt/master:
Update todo
The maximum buffer size needs to be 33, not 32
merged-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
40c29d42cf
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
swscale: Remove unused variable.
ARM: simplify inline asm with 64-bit operands
Merged-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Diego Biurrun
f635a233e3
swscale: Remove unused variable.
14 years ago
Mans Rullgard
6bb70dfd74
ARM: simplify inline asm with 64-bit operands
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Reimar Döffinger
3d0424f2ff
Add "const" to avoid "initialization discards qualifiers" warning.
14 years ago
Reimar Döffinger
70564983c5
Add const to fix "cast discards qualifiers" warnings.
14 years ago
Reimar Döffinger
b7b62c3a53
Include pixdesc.h for av_get_pix_fmt_name.
...
Fixes compilation on PPC with Altivec enabled.
14 years ago