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>
2011-06-02 21:03:54 +02:00
Michael Niedermayer
5ad38d93e8
cpudetect: add av_force_cpu_flags()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-06-02 21:03:54 +02:00
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.
2011-06-02 18:48:28 +02:00
Stefano Sabatini
665e608c8d
lavfi: reindent after the previous commit
2011-06-02 18:48:25 +02:00
Stefano Sabatini
6f1dd6f45a
lavfi: add braces around the block of an if() expression in avfilter_default_get_video_buffer
...
Clarify code layout.
2011-06-02 18:47:48 +02:00
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.
2011-06-02 18:24:50 +02:00
Stefano Sabatini
77b32b73ed
lavfi: apply misc style fixes
...
Adopt K&R style for overall consistency/readability.
2011-06-02 18:24:49 +02:00
James Zern
d013c6da80
doc: cosmetics: libx264 typos
2011-06-02 14:43:29 +02:00
Piotr Kaczuba
c96f3750c2
postprocess: Remove test for impossible condition (was: Re: postprocess.c: replace check for p==NULL with *p==0)
2011-06-02 14:43:14 +02:00
Clément Bœsch
b443447536
Fix various uninitialized variable warnings
2011-06-02 10:36:56 +02:00
Reimar Döffinger
58fd70b04d
Port remove of get_sws_cpuflags from MPlayer's libmpcodecs.
2011-06-02 08:38:09 +02:00
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.
2011-06-02 08:38:09 +02:00
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.
2011-06-02 08:38:09 +02:00
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.
2011-06-02 08:38:08 +02:00
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>
2011-06-02 05:12:10 +02:00
Reimar Döffinger
06a9da7365
Simplify code and avoid compiler warning about incompatible types.
2011-06-01 20:29:27 +02:00
Reimar Döffinger
bf19c87101
Fix type of out[] variable, it should not be const.
...
Fixes compiler warning about incompatible types in sws_scale call.
2011-06-01 20:26:54 +02:00
Mans Rullgard
8e112df409
ARM: ac3dsp: optimised update_bap_counts()
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-06-01 15:45:13 +01:00
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.
2011-06-01 15:07:20 +02:00
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.
2011-06-01 13:30:35 +02:00
Stefano Sabatini
adf9415598
lavf: tag dump_format() as @deprecated
...
This makes the generated Doxygen doc link to the replacement
av_dump_format() function.
2011-06-01 13:07:57 +02:00
Stefano Sabatini
1f95fb5813
yuv4mpeg: complain and exit if a non-rawvideo stream is selected
...
The yuv4mpeg muxer will crash otherwise.
2011-06-01 13:05:05 +02:00
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 .
2011-06-01 13:04:53 +02:00
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
2011-06-01 13:02:08 +02:00
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>
2011-05-31 21:43:20 -07:00
Michael Niedermayer
201549d1a9
swscale: More accurate rounding in YSCALE_YUV_2_PACKEDX_FULL_C()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-06-01 05:01:22 +02:00
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>
2011-06-01 00:09:05 +02:00
Daniel Kang
348493db60
Update 8-bit H.264 IDCT function names to reflect bit-depth.
...
Signed-off-by: Ronald S. Bultje <rbultje@google.com>
2011-05-31 15:02:32 -07:00
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>
2011-05-31 15:02:32 -07:00
Diego Biurrun
7e985c9e35
mpegaudioenc: Fix broken av_dlog statement.
2011-05-31 23:45:14 +02:00
Diego Biurrun
b0a4e5f9e7
Employ correct printf format specifiers, mostly in debug output.
2011-05-31 23:45:14 +02:00
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>
2011-05-31 22:21:00 +01:00
James Zern
0abbd3adb6
doc: add libvpx encoder section
...
Documents the mapping from FFmpeg options to libvpx.
2011-05-31 22:58:31 +02:00
Diego Biurrun
5ac4952a58
vf_drawtext: Replace FFmpeg by Libav in license boilerplate.
2011-05-31 21:15:49 +02:00
Mans Rullgard
fdf18e33bb
mpegaudiodec: remove unusued code and variables
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-05-31 18:52:02 +01:00
Piotr Kaczuba
84fb4e9df7
postprocess.c: filter name needs to be double 0 terminated
2011-05-31 17:50:46 +02:00
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.
2011-05-31 08:16:18 -07:00
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>
2011-05-31 15:30:21 +01:00
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.
2011-05-31 07:13:34 -07:00
Reimar Döffinger
a52f598d63
Port libmpcodec fixes from MPlayer.
2011-05-31 07:40:20 +02:00
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>
2011-05-31 03:10:35 +02:00
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>
2011-05-31 02:08:20 +02:00
Diego Biurrun
f635a233e3
swscale: Remove unused variable.
2011-05-30 23:19:06 +02:00
Mans Rullgard
6bb70dfd74
ARM: simplify inline asm with 64-bit operands
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-05-30 21:19:57 +01:00
Reimar Döffinger
3d0424f2ff
Add "const" to avoid "initialization discards qualifiers" warning.
2011-05-30 20:07:39 +02:00
Reimar Döffinger
70564983c5
Add const to fix "cast discards qualifiers" warnings.
2011-05-30 20:02:39 +02:00
Reimar Döffinger
b7b62c3a53
Include pixdesc.h for av_get_pix_fmt_name.
...
Fixes compilation on PPC with Altivec enabled.
2011-05-30 19:35:32 +02:00
Tomas Härdin
f86d260df3
wav: Don't avio_seek() if we know we'll run into EOF
...
Since we want to break the loop the 'if (data_ofs < 0)' block is moved after the loop.
This fixes ticket #250 .
2011-05-30 15:44:23 +02:00
Stefano Sabatini
c328122a8d
api-example: uppercase first letter in "copyright"
...
Improve consistency.
2011-05-30 09:41:51 +02:00
Stefano Sabatini
f501c74d99
output-example: create @file doxy from text in the copyright header
2011-05-30 09:20:06 +02:00