Statistics
| Branch: | Revision:

ffmpeg @ b6675279

# Date Author Comment
b6675279 05/10/2011 06:22 PM Anton Khirnov

AVOptions: make default_val a union, as proposed in AVOption2.

This breaks API and ABI.

b27b54de 05/10/2011 12:44 PM Ronald S. Bultje

arm/h264pred: add missing argument type.

86b29553 05/10/2011 12:39 PM Ronald S. Bultje

h264dsp_mmx: place bracket outside #if/#endif block.

Should fix compile on systems missing yasm/nasm.

ecc29730 05/10/2011 11:53 AM Vitor Sessak

lavf/utils: fix ff_interleave_compare_dts corner case.

This should fix behavior introduced by commit
96573c0d7605672d69b42ae1dcf18764ce47c71a. Av_rescale_rnd() is not
lossless so if two timestamps are equal after being rescaled they are
not always actually identical. This patch use av_compare_ts() to get...

23d10ce0 05/10/2011 11:24 AM Ronald S. Bultje

fate: add 10-bit H264 tests.

e86fbe17 05/10/2011 11:24 AM Ronald S. Bultje

h264: do not print "too many references" warning for intra-only.

Fixes issue 2679.

d545cf80 05/10/2011 11:24 AM Oskar Arvidsson

Enable decoding of high bit depth h264.

This patch completes the high bit depth h264 decoding support.

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

19a0729b 05/10/2011 11:24 AM Oskar Arvidsson

Adds 8-, 9- and 10-bit versions of some of the functions used by the h264 decoder.

This patch lets e.g. dsputil_init chose dsp functions with respect to
the bit depth to decode. The naming scheme of bit depth dependent
functions is <base name>_<bit depth>[_

] (i.e. the old...

fcc0224e 05/10/2011 11:24 AM Oskar Arvidsson

Add support for higher QP values in h264.

In high bit depth, the QP values may now be up to (51 + 6*(bit_depth-8)).

Preparatory patch for high bit depth h264 decoding support.

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

6e3ef511 05/10/2011 11:24 AM Oskar Arvidsson

Add the notion of pixel size in h264 related functions.

In high bit depth the pixels will not be stored in uint8_t like in the
normal case, but in uint16_t. The pixel size is thus 1 in normal bit
depth and 2 in high bit depth.

Preparatory patch for high bit depth h264 decoding support....

44ca80df 05/10/2011 11:24 AM Oskar Arvidsson

Make the h264 loop filter bit depth aware.

Preparatory patch for high bit depth h264 decoding support.

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

87ce8b49 05/10/2011 11:24 AM Oskar Arvidsson

Template dsputil_template.c with respect to pixel size, etc.

Preparatory patch for high bit depth h264 decoding support.

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

5d4bd9cc 05/10/2011 11:24 AM Oskar Arvidsson

Template h264idct_template.c with respect to pixel size, etc.

Preparatory patch for high bit depth h264 decoding support.

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

de3e7607 05/10/2011 11:24 AM Oskar Arvidsson

Preparatory patch for high bit depth h264 decoding support.

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

325eefa2 05/10/2011 11:24 AM Oskar Arvidsson

Move some functions in dsputil.c into a new file dsputil_template.c.

The functions moved are used when decoding h264.
Preparatory patch for high bit depth h264 decoding support.

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

15fb393b 05/10/2011 11:24 AM Oskar Arvidsson

Move the functions in h264idct into a new file h264idct_template.c.

Preparatory patch for high bit depth h264 decoding support.

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

5ada2524 05/10/2011 11:24 AM Oskar Arvidsson

Move the functions in h264pred.c into a new file h264pred_template.c.

Preparatory patch for high bit depth h264 decoding support.

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

563c72da 05/10/2011 11:24 AM Oskar Arvidsson

Preparatory patch for high bit depth h264 decoding support.

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

42239ced 05/10/2011 11:24 AM Oskar Arvidsson

Add pixel formats for 9- and 10-bit yuv420p.

Also add support for these formats in libswscale.

Needed for high bit depth h264 decoding.

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

e39e3aba 05/10/2011 11:24 AM Oskar Arvidsson

Choose h264 chroma dc dequant function dynamically.

Needed for high bit depth h264 decoding.

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

dd561441 05/10/2011 11:24 AM Ronald S. Bultje

h264: DSP'ize MBAFF loopfilter.

cb48fdf6 05/10/2011 11:23 AM Alexander Strange

ffmpeg: Simplify decode loop condition to not use next_pts

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

188dea1d 05/10/2011 05:42 AM Anton Khirnov

lavc: move some flac-specific options to its private context.

bc97695a 05/10/2011 05:17 AM Stefano Sabatini

ffmpeg: remove unused fields AVOutputStream.original_width/height

Signed-off-by: Stefano Sabatini <>
Signed-off-by: Anton Khirnov <>

f38d900f 05/10/2011 05:17 AM Stefano Sabatini

ffmpeg: remove unused variable padding_src in do_video_out()

Signed-off-by: Stefano Sabatini <>
Signed-off-by: Anton Khirnov <>

d1991f51 05/10/2011 05:17 AM Michael Niedermayer

ffmpeg: fix negative verbosity.

Signed-off-by: Anton Khirnov <>

3372ec32 05/10/2011 05:15 AM Stefano Sabatini

cmdutils: add OPT_INT check in parse_number_or_die()

Check that the value passed for an OPT_INT option is an int, fail
otherwise.

Signed-off-by: Anton Khirnov <>

0420bf09 05/10/2011 05:15 AM Stefano Sabatini

ffmpeg: rename configure_filters() to configure_video_filters()

Mostly useful for the audio-filters branch, to make more apparent the
distinction between configure_audio_filters() and
configure_video_filters().

Signed-off-by: Stefano Sabatini <>...

5d2c6f42 05/10/2011 05:14 AM Stefano Sabatini

cmdutils: remove list_fmts(), simplify

The function was only used in opt_sample_fmt() for listing the sample
formats. Move list_fmts() functionality directly into
opt_sample_fmt().

Also fix the warning:
ffmpeg.c: In function ‘opt_audio_sample_fmt’:
ffmpeg.c:2877: warning: passing argument 1 of ‘list_fmts’ from incompatible pointer type...

c3e40410 05/10/2011 05:12 AM Takashi Mochizuki

Add missing CONFIG_AVFILTER check.

Fix configure --disable-avfilter issue.

Signed-off-by: Anton Khirnov <>

a88ef93b 05/09/2011 09:27 PM Mans Rullgard

mpegaudiodec: group #includes more sanely

Signed-off-by: Mans Rullgard <>

0d849074 05/09/2011 09:22 PM Mans Rullgard

mpegaudio: remove #if 0 blocks

Signed-off-by: Mans Rullgard <>

19615089 05/09/2011 05:35 PM Anton Khirnov

ffmpeg.c: reset avoptions after each input/output file.

This is consistent with how all the other options work.

1435f2fa 05/09/2011 05:35 PM Anton Khirnov

ffmpeg.c: store per-output stream sws flags.

6bb6fb05 05/09/2011 04:30 PM Mans Rullgard

mpegaudio: remove CONFIG_MPEGAUDIO_HP option

The low quality mode is off by default and never tested. The high
quality mode is also plenty fast enough.

Signed-off-by: Mans Rullgard <>

ed87375d 05/09/2011 04:14 PM Martin Storsjö

mpegtsenc: Clear st->priv_data when freeing it

If not cleared, the caller might try to free it.

Signed-off-by: Martin Storsjö <>

a7ea5e3d 05/09/2011 04:14 PM Martin Storsjö

udp: Fix receiving RTP data over multicast

Earlier, AVIO_RDWR was handled as READ, and all the checks
for the AVIO_WRONLY flag explicitly meant the write-only case.
When changed from old AVIO/URL contants to AVIO_FLAG in
59d96941f0285a5, these comparisons were updated incorrectly, by...

f9a6cfdd 05/09/2011 04:14 PM Martin Storsjö

rtpproto: Remove an unused variable

Signed-off-by: Martin Storsjö <>

ecfc5e0b 05/09/2011 11:48 AM Mans Rullgard

regtest: fix wma tests

This adds $DEC_OPTS to the wma decode commands, making tests pass
on systems where the bitexact flag is needed.

Signed-off-by: Mans Rullgard <>

3a2e80ec 05/09/2011 09:12 AM Mans Rullgard

mpegaudio: remove CONFIG_AUDIO_NONSHORT

This fake option cannot be enabled by normal means, and the
floating-point decoder should provide the higher quality this
option presumably was intended for.

Signed-off-by: Mans Rullgard <>

eeadaa6b 05/09/2011 09:12 AM Mans Rullgard

regtest: separate flags for encoding and decoding

This separates encoding and decoding flags, and passes them together
with the related file argument instead of all at the start of the
command line.

Signed-off-by: Mans Rullgard <>

847aaec6 05/08/2011 08:34 PM Alex Converse

log: Fix an oob array read.

c38d9780 05/08/2011 08:33 PM Alex Converse

cosmetics: trim trailing whitespace in postproc

15695541 05/08/2011 07:49 PM Alex Converse

Ban strncpy() it's too easy to misuse.

b58e2985 05/08/2011 07:43 PM Nathan Caldwell

psymodel: Remove wrapper functions.

Instead use the function pointers directly.

5b29af62 05/08/2011 07:42 PM Nathan Caldwell

aacenc: Replace loop counters in aac_encode_frame() with more descriptive 'ch' and 'w'.

fc7314b3 05/08/2011 09:58 AM Mans Rullgard

regtest: remove redundant flags in jpg test

Signed-off-by: Mans Rullgard <>

765f72f8 05/08/2011 09:58 AM Mans Rullgard

regtest: use run_ffmpeg in do_image_formats

Signed-off-by: Mans Rullgard <>

2728fd90 05/08/2011 09:58 AM Mans Rullgard

regtest: simplify encoding functions

The video encoding options were needlessly split in two parameters
which are merged. The do_audio_encoding function did not use its
second argument, so this can be removed.

Signed-off-by: Mans Rullgard <>

648e55ff 05/08/2011 08:43 AM Anton Khirnov

ffmpeg.c: check for interlaced flag in the correct place.

In the corresponding codec context, not global options storage.

994de197 05/07/2011 08:21 AM Stefano Sabatini

drawtext: add documentation for the shadow parameters

Signed-off-by: Anton Khirnov <>

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

drawtext: add shadow support.

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

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.