Statistics
| Branch: | Revision:

ffmpeg @ 3732c483

# Date Author Comment
3732c483 05/10/2011 10:57 PM Michael Niedermayer

error_concealment: Use previous pictures motion vectors when the current ones have been lost.

Looks better for some cases, worse for others, overall not much difference.
Its more correct though.
Signed-off-by: Michael Niedermayer <>

a811ec7c 05/10/2011 10:57 PM Multiple Authors

Merging branch 'ffmpeg-mt/master'

Just some cosmetics & comments, the only functional change
"error_resilience: use s->last_picture for accessing last MVs."
Is so buggy that it needs a full rewrite, guess -1.0 PSNR loss wasnt
enough for ronald to realize there was a problem.

b5e08992 05/10/2011 10:57 PM Robert Leatherwood

"Initialize" copy_tb like the other global variables.

aa909d30 05/10/2011 10:03 PM Stefano Sabatini

tiff: prefer enum TiffCompr over int for TiffContext.compr

Help debugging, safer.

1e97700f 05/10/2011 10:03 PM Stefano Sabatini

tiff: remove duplicated author information, fix @file doxy

687ff547 05/10/2011 10:03 PM Stefano Sabatini

tiff: perform minor cleanups in the header

Add link to official specifications, remove author duplication and
others.

b50217f6 05/10/2011 10:01 PM Stefano Sabatini

8svx: remove pointless comments

48dce860 05/10/2011 10:01 PM Stefano Sabatini

8svx: add links to documentation resources

baa10302 05/10/2011 10:01 PM Stefano Sabatini

8svx: remove duplicated author/file information

70b10db2 05/10/2011 10:01 PM Stefano Sabatini

iff: remove get_image_data() and get_image_size() wrappers

Remove one level of indirection, simplify code.

8b1171e9 05/10/2011 10:01 PM Stefano Sabatini

iff: remove get_palette_size() wrapper

Remove one level of indirection/improve readability.

83294a32 05/10/2011 10:00 PM Stefano Sabatini

iff: remove pointless get_palette_data() wrapper

Also rename variable "extradata" to "palette" ff_cmap_read_palette()
and extract_header(), more meaningful.

002e1f1e 05/10/2011 06:38 PM Maksym Veremeyenko

motion_est: fix ffmpeg compilation with DEBUG defined

Remove the problematic av_dlog() call

3d929a60 05/10/2011 06:25 PM Reimar Döffinger

mpegaudio: remove frame_count variable and its only usage, it is always 0.

dc05b6af 05/10/2011 05:30 PM Andres Gonzalez

Added oggpagesize option for Ogg encoding. Allows setting a preferred page size. When set, if an Ogg stream buffer has enough data, a page is made, instead of filling maximum-size pages.

eeaba924 05/10/2011 03:31 PM Michael Niedermayer

ffmpeg: Fix -t with files that do not have any timestamps.

This for example fixes -t with some frext h264 reference streams.
Signed-off-by: Michael Niedermayer <>

7bea13f1 05/10/2011 12:43 PM Michael Niedermayer

swscale: Fix scaling for unscaled dithered planar convertions.

This fixes some overflow in bright areas and ensures that the maximum brightness level is
mapped to the maximum without cliping and without showing dither patterens in flat max
brightness areas....

b97b4b58 05/10/2011 02:03 AM Michael Niedermayer

Merge remote branch 'qatar/master'

  • qatar/master:
    mpegaudiodec: group #includes more sanely
    mpegaudio: remove #if 0 blocks
    ffmpeg.c: reset avoptions after each input/output file.
    ffmpeg.c: store per-output stream sws flags.
    mpegaudio: remove CONFIG_MPEGAUDIO_HP option...
67d44149 05/10/2011 01:28 AM Michael Niedermayer

seeking: Favor pkt->pos for generic index building where possible.

See [FFmpeg-devel] [PATCH] Only using st->parser->pos when doing?repacking in the parser.
Signed-off-by: Michael Niedermayer <>

ca87d439 05/10/2011 01:22 AM Michael Niedermayer

configure: Revert sdl hunk of 4fa18c56. This breaks OSX

Signed-off-by: Michael Niedermayer <>

08675bb3 05/10/2011 01:15 AM Michael Niedermayer

mem: Choose alignment at compile time depending on AVX enabledness.

Signed-off-by: Michael Niedermayer <>

53789a27 05/09/2011 10:37 PM Michael Niedermayer

swscale: use Nbit code to handle !is16BPS(c->srcFormat) && is16BPS(c->dstFormat)

Signed-off-by: Michael Niedermayer <>

42c9bd31 05/09/2011 10:21 PM Michael Niedermayer

swscale: Support dither in is16BPS(c->srcFormat) && !is16BPS(c->dstFormat)

This is done by just letting the Nbit code handle it, which now can do it.
Signed-off-by: Michael Niedermayer <>

c4f7050b 05/09/2011 10:18 PM Michael Niedermayer

swscale: support unscaled planar Nbit->8bit with non native endian source.

Signed-off-by: Michael Niedermayer <>

09ff3cc7 05/09/2011 10:15 PM Michael Niedermayer

swscale: fix unscaled yuv422p16be -> yuv422p10le
Signed-off-by: Michael Niedermayer <>

eb8aa13b 05/09/2011 10:09 PM Michael Niedermayer

swscale: make DITHER_COPY() support non native endian source
Signed-off-by: Michael Niedermayer <>

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 <>

9c49ca0f 05/09/2011 08:02 PM Michael Niedermayer

swscale: factor shift out of DITHER_COPY().

Signed-off-by: Michael Niedermayer <>

300e497b 05/09/2011 07:38 PM Michael Niedermayer

swscale: factorize DITHER_COPY()

Signed-off-by: Michael Niedermayer <>

17354407 05/09/2011 07:23 PM Michael Niedermayer

fifo: use av_freep()

With this change libavutil uses av_freep() everywhere where it makes sense.
Remaining av_free() use in it has the used pointer become inaccessible quickly
soo zeroing makes no sense.
Signed-off-by: Michael Niedermayer <>

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ö <>

38bb5a54 05/09/2011 03:51 PM Michael Niedermayer

mpeg4videoenc: Support negative timestamps.

Signed-off-by: Michael Niedermayer <>

282e8d4b 05/09/2011 03:49 PM Michael Niedermayer

avienc: Update 2 debug statements to match the current code.
Signed-off-by: Michael Niedermayer <>

51927883 05/09/2011 03:47 PM Michael Niedermayer

avutil: add divide & modulo that round like unsigned ones do that is down.
Signed-off-by: Michael Niedermayer <>

5deedf35 05/09/2011 02:05 PM Michael Niedermayer

h264probe: update to latest spec.
Signed-off-by: Michael Niedermayer <>

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 <>

6841c8c5 05/09/2011 02:50 AM Michael Niedermayer

Merge remote branch 'qatar/master'

  • qatar/master:
    log: Fix an oob array read.
    cosmetics: trim trailing whitespace in postproc
    Ban strncpy() it's too easy to misuse.
    psymodel: Remove wrapper functions.
    aacenc: Replace loop counters in aac_encode_frame() with more descriptive 'ch' and 'w'....
25308afb 05/09/2011 02:17 AM Michael Niedermayer

wtvdec: Avoid gmtime_r() it breaks compile on windows.

Better solutions welcome, this is just a quick fix to unbreak compile.
Signed-off-by: Michael Niedermayer <>

bce0d923 05/09/2011 02:13 AM Michael Niedermayer

developer.texi: update for git
Signed-off-by: Michael Niedermayer <>

0584d22e 05/09/2011 02:13 AM Luca Barbato

Typo fix.

6c5c8750 05/09/2011 02:13 AM Michael Niedermayer

Patch checklist:Suggest adding a regression test
Signed-off-by: Michael Niedermayer <>

3df9150d 05/09/2011 02:13 AM Michael Niedermayer

doc:Partial update of our issue tracker doc. More work needed, volunteers welcome.
Signed-off-by: Michael Niedermayer <>

fddf0521 05/09/2011 12:25 AM Peter Ross

wtv: calculate ole date correctly (is seconds since 1899-12-30)

8acab7ae 05/09/2011 12:25 AM Peter Ross

wtv: detect ole date overflow

3dd779eb 05/08/2011 10:22 PM Michael Niedermayer

swscale: implement Nbit->non native endian 16bit. Fixes v210.
Signed-off-by: Michael Niedermayer <>

f2bfdc38 05/08/2011 09:59 PM Michael Niedermayer

fate: add 9/10 BE pixdesc checksums
Signed-off-by: Michael Niedermayer <>

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'.

554d3ad7 05/08/2011 06:04 PM Stefano Sabatini

pnmdec: reindent after the previous commit

4a745b41 05/08/2011 06:04 PM Stefano Sabatini

pnmdec: add support for mono images with non-space-separated pixel digits

When the file to decode contains a sequence of binary values like
"1101110...", decode_frame() was reading the sequence of digits like a
unique integer value, which was resulting in integer overflows....

b0e1d0d9 05/08/2011 05:53 PM Michael Niedermayer

ffv1enc: support PIX_FMT_YUV420P10 & PIX_FMT_YUV422P10
Signed-off-by: Michael Niedermayer <>

74bf9d62 05/08/2011 05:53 PM Baptiste Coudurier

v210enc:clip values according to specifications
Signed-off-by: Michael Niedermayer <>

3e002747 05/08/2011 05:53 PM Baptiste Coudurier

v210enc: switch to PIX_FMT_422P10
Signed-off-by: Michael Niedermayer <>

807a058e 05/08/2011 05:53 PM Baptiste Coudurier

v210dec: switch to PIX_FMT_422P10
Signed-off-by: Michael Niedermayer <>

4737a593 05/08/2011 05:27 PM Stefano Sabatini

ffv1: set internal frame defaults

Another fix missed before the vsrc_buffer changes.

b9e60849 05/08/2011 12:27 PM Baptiste Coudurier

swscale: 9,10 bits pixel format output support
Signed-off-by: Michael Niedermayer <>

299cbe2c 05/08/2011 12:06 PM Baptiste Coudurier

PIX_FMT_422P10 support
Signed-off-by: Michael Niedermayer <>

af3c8f82 05/08/2011 11:21 AM Michael Niedermayer

adpcmenc:Optimize adpcm_ima_qt_compress_sample()
Signed-off-by: Michael Niedermayer <>

35d3d44a 05/08/2011 11:15 AM Baptiste Coudurier

adpcmenc: fix QT IMA ADPCM encoder
Signed-off-by: Michael Niedermayer <>

b3d5a4b0 05/08/2011 11:13 AM Baptiste Coudurier

adpcmdec: Fix QT IMA ADPCM decoder
Signed-off-by: Michael Niedermayer <>

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.

6d6b0c96 05/08/2011 01:29 AM Michael Niedermayer

Merge remote branch 'qatar/master'

  • qatar/master:
    drawtext: add documentation for the shadow parameters
    drawtext: add shadow support.
    drawtext: factor draw_glyphs.
    drawtext: fix and optimize yuv blend.
    drawtext: get rid of divisions in the inner loop....
732ff29b 05/07/2011 11:33 PM Michael Niedermayer

svq1dec: simpify mean calculation.
Signed-off-by: Michael Niedermayer <>

8f5729d5 05/07/2011 11:33 PM Michael Niedermayer

svq1dec: replace /2 by >>1
Signed-off-by: Michael Niedermayer <>

0257ac8f 05/07/2011 11:33 PM Michael Niedermayer

pnm: Fix spurious error message.
Signed-off-by: Michael Niedermayer <>

70305013 05/07/2011 10:02 PM Stefano Sabatini

libopenjpeg: set internal frame defaults

Fix ffmpeg decoding, which was broken after the recent changes in
vsrc_buffer.

b06397ac 05/07/2011 06:14 PM Reimar Döffinger

Fix function pointer type to match function it is assigned.

80264dc4 05/07/2011 06:14 PM Reimar Döffinger

Store pointers in a less messy way in SWSContext.

d3445a91 05/07/2011 06:14 PM Reimar Döffinger

Remove unused variable.

48b9b7ed 05/07/2011 06:14 PM Reimar Döffinger

Replace deprecated url_fseek by avio_seek.

5ce33e6b 05/07/2011 06:14 PM Reimar Döffinger

Move ifdef to avoid unused variable warnings.

17953642 05/07/2011 06:14 PM Reimar Döffinger

Remove unused variables.

8c3651f4 05/07/2011 06:14 PM Reimar Döffinger

Fix printf format string, fixes a warning.

7deaa2b8 05/07/2011 06:03 PM Michael Niedermayer

riffenc/ffmpeg: Fix stream copy
Signed-off-by: Michael Niedermayer <>

99119bdf 05/07/2011 06:03 PM Michael Niedermayer

ffplay: fix null pointer read when codec unavilable.
Signed-off-by: Michael Niedermayer <>

6fd00e9d 05/07/2011 04:08 PM Reimar Döffinger

aacdec: add decode_channel_map overread check

All decode_channel_map calls together can easily read
more data than the amount of padding available.
Thus below patch adds an input length check before reading them.
Fixes some invalid reads with sample from...

5631729c 05/07/2011 03:38 PM Reimar Döffinger

Increase TS packet size detection buffer.

Fixes warning message with ticket #68.

90f5e991 05/07/2011 03:38 PM Reimar Döffinger

Assume some TS packet size instead of failing completely.

Fixes ticket #68.

5901cd62 05/07/2011 02:21 PM jan gerber

oggdec:Correct duration
Based on a patch by Reimar Döffinger.
Signed-off-by: Michael Niedermayer <>

c8981edd 05/07/2011 02:21 PM Michael Niedermayer

Only add 1 byte to av_malloc(0) when it actually returned NULL
Signed-off-by: Michael Niedermayer <>

91ff05f6 05/07/2011 02:21 PM Michael Niedermayer

Make av_realloc(0) behave like our av_malloc(0)
Signed-off-by: Michael Niedermayer <>

ea7f73c5 05/07/2011 10:48 AM Stefano Sabatini

vsrc_buffer: during init, print information about timebase and sample aspect ratio

64c06615 05/07/2011 10:03 AM Stefano Sabatini

vsrc_buffer: simplify av_vsrc_buffer_add_frame*() interface

Now that pix_fmt, width, and height are directly embedded in the AVFrame,
there is no need to pass these values as separate arguments.

01042d41 05/07/2011 10:03 AM Stefano Sabatini

lavc: set defaults in internal codec frames

This is required specifically for setting frame->format to -1,
otherwise it will be set to 0 = PIX_FMT_YUV420P and code reading
the format from the output decoded frame will get misled.

In particular fix regressions occurring with the pending vsrc_buffer...

2beac7c3 05/07/2011 10:03 AM Stefano Sabatini

ffmpeg: rename ost->pict_tmp to ost->resample_frame

The new name is more consistent with the employed naming scheme, and
more meaningful.

04c373c1 05/07/2011 10:03 AM Stefano Sabatini

ffmpeg: prefer dec/enc over ost/ist->st->codec in do_video_out()

Compact code, improve readability.