Statistics
| Branch: | Revision:

ffmpeg @ e73127a4

# Date Author Comment
e73127a4 05/07/2011 08:21 AM Michael Niedermayer

drawtext: factor draw_glyphs.

Signed-off-by: Michael Niedermayer <>
Signed-off-by: Anton Khirnov <>

a5b81c31 05/07/2011 08:21 AM Michael Niedermayer

drawtext: fix and optimize yuv blend.

Signed-off-by: Michael Niedermayer <>
Signed-off-by: Anton Khirnov <>

3953a880 05/07/2011 08:18 AM Michael Niedermayer

drawtext: get rid of divisions in the inner loop.

Signed-off-by: Michael Niedermayer <>
Signed-off-by: Anton Khirnov <>

e74bf3f3 05/07/2011 08:18 AM Michael Niedermayer

drawtext: simplify chroma blend and fix chroma alpha.

Signed-off-by: Anton Khirnov <>

a5b64584 05/07/2011 08:17 AM Stefano Sabatini

lavfi: Port drawtext filter by Hemanth from the libavfilter soc repo

With the following additions:
  • support to anti-aliased glyph rendering
  • support to UTF-8 text and Unicode chars rendering
  • support for RGB packed formats
  • fix minor errors and typos in the filter description...
45a811b5 05/06/2011 05:07 AM Yusuke Nakamura

mov: fix composition timestamps on movie fragments.

This fixes, for instance, the case that there is a track that has some samples with composition time offset and has a track run without sample-composition-time-offsets-present.

869303be 05/06/2011 04:25 AM Alex Converse

wmavoice: Use proper size in memeset().

sizeof(array_functrion_argument) gives the size of the pointer type not
the size of the array to which it points.

762f95e4 05/05/2011 05:29 PM Mans Rullgard

configure: warn if pkg-config is missing

Signed-off-by: Mans Rullgard <>

af1ca249 05/04/2011 07:12 PM Diego Biurrun

doc: Check standalone compilation before submitting new components.

8799541a 05/04/2011 07:12 PM Diego Biurrun

Fix standalone compilation of pipe protocol.

file_check() is not only used by the file protocol, adjust #ifdef accordingly.

3d269059 05/04/2011 07:12 PM Diego Biurrun

Fix standalone compilation of ac3_fixed encoder.

a33657ce 05/04/2011 07:12 PM Diego Biurrun

Fix standalone compilation of binkaudio_dct / binkaudio_rdft decoders.

56c8227d 05/04/2011 07:12 PM Diego Biurrun

Fix standalone compilation of IMC decoder.

61165a1b 05/04/2011 07:12 PM Diego Biurrun

Fix standalone compilation of WTV demuxer.

091018e0 05/04/2011 07:12 PM Diego Biurrun

Fix standalone compilation of MXPEG decoder.

35e376b0 05/04/2011 07:12 PM Diego Biurrun

flashsv: K&R cosmetics

eddd580b 05/04/2011 05:06 PM Mans Rullgard

matroskaenc: fix memory leak

This fixes a memory leak occurring when no cue points are defined
since commit 91819763.

Signed-off-by: Mans Rullgard <>

7d2e03af 05/04/2011 11:40 AM Ronald S. Bultje

vc1: make overlap filter for I-frames bit-exact.

5c9f147e 05/04/2011 11:40 AM Ronald S. Bultje

vc1dec: use s->start/end_mb_y instead of passing them as function args.

18b6a69c 05/04/2011 11:40 AM Ronald S. Bultje

Revert "VC1: merge idct8x8, coeff adjustments and put_pixels."

This reverts commit f8bed30d8b176fa030f6737765338bb4a2bcabc9. The reason
for this is that the overlap filter, which runs after IDCT, should run
on unclamped values, and thus IDCT and put_pixels() cannot be merged if...

1a5e4fd8 05/04/2011 04:20 AM Alex Converse

Replace strncpy() with av_strlcpy().

aab6374b 05/04/2011 04:20 AM Alex Converse

indeo3: Eliminate use of long.

47bc52f8 05/04/2011 04:14 AM Alex Converse

get_bits: make cache unsigned to eliminate undefined signed overflow.

0bd433a9 05/04/2011 02:36 AM Uoti Urpala

asfdec: fix assert failure on invalid files

Add an extra size validity check in asf_read_frame_header(). Without
this asf->packet_size_left may become negative, which triggers an
assertion failure later.

Signed-off-by: Ronald S. Bultje <>

0699dbb8 05/04/2011 02:35 AM Ronald S. Bultje

avfilter: check malloc return values.

d969e93a 05/04/2011 02:35 AM Ronald S. Bultje

mpegvideo: reindent.

76432655 05/04/2011 02:29 AM Ronald S. Bultje

nutenc: check malloc return values.

f8af93ab 05/04/2011 02:29 AM Ronald S. Bultje

avfilter: don't av_malloc(0).

25588d3b 05/04/2011 02:29 AM Ronald S. Bultje

nutenc: don't av_malloc(0).

fb22c237 05/04/2011 02:29 AM Ronald S. Bultje

mpegvideo: don't av_malloc(0).

f8b12459 05/04/2011 02:14 AM Ronald S. Bultje

asfdec: fix parsing of packets that overrun into padding.

Signed-off-by: Ronald S. Bultje <>

8ce67bca 05/03/2011 05:21 PM Reinhard Tartler

Implement fate-rsync target

e3b540b4 05/03/2011 09:51 AM Luca Barbato

Make ffmpeg support generic data stream

The patch is the first step to support -dcodec copy

4773d904 05/02/2011 03:03 PM Ronald S. Bultje

vp8: frame-multithreading.

Tested on a Mac Pro, 2 CPUs, 2 cores each, OSX 10.6.6:

time ./ffmpeg -v 0 -vsync 0 -threads [1234] -i \
~/Downloads/sintel_trailer_1080p_vp8_vorbis.webm \
-f null -vcodec rawvideo -an -
1: 0m14.630s (89.9 fps)
2: 0m8.056s (163.2 fps)...

975a1447 05/02/2011 10:18 AM Stefano Sabatini

Replace deprecated FF_*_TYPE symbols with AV_PICTURE_TYPE_*.

Signed-off-by: Diego Biurrun <>

6209669d 05/02/2011 09:24 AM Stefano Sabatini

Replace deprecated av_get_pict_type_char() with av_get_picture_type_char().

Signed-off-by: Diego Biurrun <>

b178cd76 05/02/2011 09:04 AM Kostya Shishkov

dpx: Do not use DPX encoder for decoding.

10l to the one who hasn't checked this.

ad1862d6 05/01/2011 06:50 PM Diego Biurrun

ALPHA: Replace sized int_fast integer types with plain int/unsigned.

int/unsigned is the natural memory access type for CPUs, using sized types
for temporary variables, counters and similar just increases code size and
can possibly cause a slowdown.

e27ce0ee 05/01/2011 05:35 PM Peter Ross

DPX image encoder

40662915 05/01/2011 05:35 PM Peter Ross

DPX decoder: read sample aspect ratio

Signed-off-by: Michael Niedermayer <>

3777ea13 05/01/2011 05:35 PM Reimar Döffinger

DPX decoder: add buffer size checks.

63b1866a 05/01/2011 05:32 PM Justin Ruggles

ac3enc: clip large coefficient values and negative exponents rather than using
av_assert2().

177fed4e 05/01/2011 05:32 PM Justin Ruggles

ac3enc: do not store a bandwidth code for each channel.

Although AC-3 allows it, it's not very useful. The encoder uses the same code
for all full-bandwidth channels.

a1d0f511 05/01/2011 05:32 PM Justin Ruggles

ac3enc: remove bandwidth reduction as fallback for bit allocation failure.

It was only needed at low bitrates, which now already use a low bandwidth, so
the bandwidth reduction is no longer needed.

ba6bce51 05/01/2011 05:32 PM Justin Ruggles

ac3enc: merge compute_exp_strategy_ch() into compute_exp_strategy()

4142487d 05/01/2011 05:32 PM Justin Ruggles

ac3enc: return error if frame+exponent bits are too large instead of using
av_assert2().

This can occur in some very rare cases with low bitrates.

987fe2dc 05/01/2011 05:32 PM Justin Ruggles

ac3enc: differentiate between current block and reference block in bit_alloc()

6b2636bb 05/01/2011 05:32 PM Justin Ruggles

ac3enc: simplify exponent_init() by calculating exponent_group_tab[] based
on exponent group sizes.

e0b33d47 05/01/2011 05:32 PM Justin Ruggles

ac3enc: simplify stereo rematrixing decision options

a28b0587 05/01/2011 01:06 PM Reinhard Tartler

Update URL to fate samples

70892657 04/29/2011 08:46 PM Michael Niedermayer

AMV: disable DR1 and don't override EMU_EDGE

This works around a possibly exploitable crash.
Appearently, vlc can be exploited with a malicous file. This should get
reverted as soon as a proper fix is found.

Reported-at: Thu, 21 Apr 2011 14:38:25 +0000
Reported-by: Dominic Chell <>...

7c152a45 04/29/2011 08:46 PM Anssi Hannula

lavf: inspect more frames for fps when container time base is coarse

As per issue2629, most 23.976fps matroska H.264 files are incorrectly
detected as 24fps, as the matroska timestamps usually have only
millisecond precision.

Fix that by doubling the amount of timestamps inspected for frame rate...

0247bdee 04/29/2011 08:46 PM Reinhard Tartler

Fix races in default av_log handler

Prevent competing threads from overwriting (shared) buffers.

Original patch by: Michael Niedermayer <>

cf3ac543 04/29/2011 06:28 PM Diego Biurrun

vorbis: Replace sized int_fast integer types with plain int/unsigned.

int/unsigned is the natural memory access type for CPUs, using sized types
for temporary variables, counters and similar just increases code size and
can possibly cause a slowdown.

a734fa57 04/29/2011 06:01 PM Diego Biurrun

Remove disabled non-optimized code variants.

e610098e 04/29/2011 06:01 PM Diego Biurrun

bswap.h: Remove disabled code.

2e15305b 04/29/2011 06:00 PM Diego Biurrun

Remove some disabled printf debug cruft.

09cbf60f 04/29/2011 06:00 PM Diego Biurrun

Replace more disabled printf() calls by av_dlog().

03acaa4a 04/29/2011 04:08 PM Diego Biurrun

tests: Remove disabled code.

045dd4b9 04/29/2011 03:27 PM Diego Biurrun

Replace some commented-out debug printf() / av_log() messages with av_dlog().

d1be646e 04/29/2011 01:37 PM Diego Biurrun

vorbisdec: Replace some sizeof(type) by sizeof(*variable).

a3b7dabb 04/29/2011 01:00 PM Diego Biurrun

vf_fieldorder: Replace FFmpeg by Libav in license boilerplate.

5b81e295 04/28/2011 08:28 PM Martin Storsjö

avio: Fix the deprecated fallback URL-prefixed open flags

While deprecated, they're totally useless as long as their values
are different from the AVIO_FLAG values that are used internally.
Currently, this leads to old libav applications still compiling
correctly (since we haven't removed the fallback wrappers), but...

05a18adf 04/28/2011 09:14 AM Reinhard Tartler

avoid duplicate -lm in .pc files

62d33dbc 04/28/2011 09:07 AM Stefano Sabatini

mpeg12: terminate mpeg2_video_profiles arrays

Make av_get_profile_name() return NULL if no profile is detected.

Fix trac issue #130, fix crash reading file tek3.m2v.
(cherry picked from commit e5d80c7b2d893422e2e60a97e08bfc48ca1684e6)

Signed-off-by: Ronald S. Bultje <>

f2c85458 04/28/2011 07:28 AM Gil Pedersen

network: Check POLLERR and POLLHUP in ff_network_wait_fd

Previously, the function would lead to an infinite wait (by
returning AVERROR) on sockets indicating an error
via either of these poll flags.

Signed-off-by: Martin Storsjö <>

f8fec050 04/28/2011 05:26 AM Anton Khirnov

mpegtsenc: make PMT PID really start on pmt_start_pid

f9fb574d 04/28/2011 05:25 AM Peter Ross

nut format: support PIX_FMT_BGR48LE and PIX_FMT_BGR48BE

Signed-off-by: Anton Khirnov <>

87e45ae1 04/28/2011 05:25 AM Peter Ross

rawvideo codec: support PIX_FMT_BGR48LE and PIX_FMT_BGR48BE

Signed-off-by: Anton Khirnov <>

c90626b2 04/28/2011 05:25 AM Peter Ross

hflip: make the filter accept PIX_FMT_BGR48LE and PIX_FMT_BGR48BE pixel formats

Signed-off-by: Anton Khirnov <>

a1f4d075 04/28/2011 05:25 AM Peter Ross

crop: make the filter accept PIX_FMT_BGR48LE and PIX_FMT_BGR48BE pixel formats

Signed-off-by: Anton Khirnov <>

1afbae10 04/28/2011 05:25 AM Peter Ross

libswcale: PIX_FMT_BGR48LE and PIX_FMT_BGR48BE scaler implementation

Signed-off-by: Anton Khirnov <>

b2395268 04/27/2011 05:54 PM Diego Biurrun

vorbisdec: Rename silly "class_" variable to plain "class".

81afa5a2 04/27/2011 05:52 PM Diego Biurrun

simple_idct_alpha: Drop some useless casts.

3fd3632f 04/27/2011 05:48 PM Diego Biurrun

Simplify av_log_missing_feature().

Do not print the results of the conditional call to av_log_ask_for_sample()
into the same line as the main output, separate the already long text.

8745e9c4 04/27/2011 04:57 PM Justin Ruggles

ac3enc: remove check for mismatching channels and channel_layout

688b09fa 04/27/2011 04:57 PM Justin Ruggles

If AVCodecContext.channels is 0 and AVCodecContext.channel_layout is
non-zero, set channels based on channel_layout.

This allows the user to set only channel_layout and not channels.

168f9e8c 04/27/2011 04:57 PM Justin Ruggles

If AVCodecContext.channel_layout and AVCodecContext.channels are both
non-zero, check to make sure they do not contradict eachother.

3dfc3e70 04/27/2011 04:57 PM Justin Ruggles

cosmetics: indentation

8b00ab01 04/27/2011 04:57 PM Justin Ruggles

Check AVCodec.supported_samplerates and AVCodec.channel_layouts in
avcodec_open().

If the encoder has a channel_layouts list and AVCodecContext.channel_layout
is 0, then only print a warning and let the encoder decide how to handle it.

767848d7 04/27/2011 04:39 PM Alex Converse

aacdec: remove sf_scale and sf_offset.

Instead, scalefactors are adjusted by the offset amount, removing the need
for sf_scale, and the MDCT scales are adjusted to compensate for the higher
scalefactors. Floating-point output will be handled by modifying the MDCT...

62717940 04/27/2011 04:39 PM Justin Ruggles

aacdec: use a scale of 2 in the LTP MDCT rather than doubling the coefficient
table values from the spec.

d70fa4c4 04/27/2011 04:39 PM Alex Converse

Define POW_SF2_ZERO in aac.h and use for ff_aac_pow2sf_tabp[] offsets instead
of hardcoding 200 everywhere.

e4744b59 04/27/2011 04:39 PM Alex Converse

Large intensity stereo and PNS indices are legal. Clip them instead of
erroring out. A magnitude of 100 corresponds to 2^25 so the will most
likely result in clipped output anyway.

None of the conformance streams fall in the range that need to be clipped.

f4e043ff 04/27/2011 02:44 PM Stefano Sabatini

qpeg: use reget_buffer() in decode_frame()

Decoder relies on previous frame data, so use reget_buffer().

This also set frame->reference to 3, as the frame will be requested
unmodified later so it shouldn't be modified by the application.

Fix playback of file Clock.avi....

4f0b8059 04/27/2011 02:42 PM Stefano Sabatini

ultimotion: use reget_buffer() in ulti_decode_frame()

Decoder relies on previous frame data, so use reget_buffer().

Signed-off-by: Ronald S. Bultje <>

4f2954e2 04/27/2011 02:41 PM Stefano Sabatini

smacker: remove unnecessary call to avctx->release_buffer in decode_frame()

The release_buffer was cleaning the provided frame, thus causing the
successive call to avctx->reget_buffer() to allocate a new frame. In
case the returned frame was not the same one previously returned but a...

5eef4afb 04/27/2011 05:07 AM Ronald S. Bultje

avparser: don't av_malloc(0).

Signed-off-by: Ronald S. Bultje <>

79ee8977 04/26/2011 09:19 PM Justin Ruggles

ac3enc: correct the flipped sign in the ac3_fixed encoder

e6ff0648 04/26/2011 06:18 PM Diego Biurrun

Eliminate pointless '#if 1' statements without matching '#else'.

9d35fa52 04/26/2011 04:25 PM Vitor Sessak

Add AVX FFT implementation.

Signed-off-by: Reinhard Tartler <>

13dfce3d 04/26/2011 04:18 PM Vitor Sessak

Increase alignment of av_malloc() as needed by AVX ASM.

Signed-off-by: Reinhard Tartler <>

33cbfa6f 04/26/2011 04:18 PM Vitor Sessak

Update x86inc.asm from x264 to allow AVX emulation using SSE and MMX.

Signed-off-by: Reinhard Tartler <>

76cd98b4 04/26/2011 07:29 AM Michael Niedermayer

mjpeg: Detect overreads in mjpeg_decode_scan() and error out.

Signed-off-by: Michael Niedermayer <>
Signed-off-by: Ronald S. Bultje <>

4bc28232 04/26/2011 07:08 AM Stefano Sabatini

documentation: extend documentation for ffmpeg -aspect option

Signed-off-by: Anton Khirnov <>

893722ce 04/26/2011 06:51 AM Anton Khirnov

APIChanges: update commit hashes for recent additions.

bebe72f4 04/26/2011 06:38 AM Stefano Sabatini

lavc: deprecate FF_*_TYPE macros in favor of AV_PICTURE_TYPE_* enums

Also deprecate av_get_pict_type_char() in favor of
av_get_picture_type_char().

The new enum and av_get_picture_type_char() are defined in libavutil.
This allows the use in libavfilter without the need to link against...

30fe9719 04/26/2011 06:33 AM Michael Niedermayer

aac: add headers needed for log2f()

Signed-off-by: Anton Khirnov <>

6deae83e 04/26/2011 06:16 AM Anton Khirnov

lavc: remove FF_API_MB_Q cruft

694c1424 04/26/2011 06:16 AM Anton Khirnov

lavc: remove FF_API_RATE_EMU cruft