Statistics
| Branch: | Revision:

ffmpeg @ 74bf9d62

# Date Author Comment
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 <>

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.

a851fa7f 05/07/2011 10:03 AM Stefano Sabatini

ffmpeg: move resample_changed check within the #if !CONFIG_AVFILTER

The check and the corresponding message in do_video_out() are
unnecessary in the libavfilter path, as a similar check and message
are performed within the buffer source.

70c24b21 05/07/2011 10:03 AM Stefano Sabatini

ffmpeg: remove useless intermediary variable resample_dst in do_video_out()

f5a669c2 05/07/2011 10:03 AM Stefano Sabatini

ffmpeg: simplify mid-stream reconfiguration when libavfilter is disabled

Implement lazy initialization of the image resample context, so that
the initialization code does not need to be duplicated.

Also manage the case in which resample/size change mid-stream. For...

566666ca 05/07/2011 10:03 AM Stefano Sabatini

lavfi: add libavfilter/avcodec.h and avfilter_copy_frame_props()

avfilter_copy_frame_props() avoids code duplication and increases
robustness.

The added files libavfilter/avcodec.[ch] are used for containing
utilities useful for gluing togheter libavfilter and libavcodec.

18ded93a 05/07/2011 09:45 AM Stefano Sabatini

lavc: add format field to AVFrame

The format is a per-frame property, having it in AVFrame simplify the
operation of extraction of that information, since avoids the need to
access the codec/stream context.

22333a6b 05/07/2011 09:45 AM Stefano Sabatini

lavc: add width and height fields to AVFrame

width and height are per-frame properties, setting these values in
AVFrame simplify the operation of extraction of that information,
since avoids the need to check the codec/stream context.

314374e5 05/07/2011 08:34 AM Reimar Döffinger

Use MAP_FAILED to check for mmap failure instead of manually
recreating the value.

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...
f44967b1 05/07/2011 07:58 AM Reimar Döffinger

Use av_fast_malloc instead of av_fast_realloc.

Avoids a memleak, is less code and might be faster.

6266c515 05/07/2011 07:47 AM Reimar Döffinger

Simplify condition.

20e5d64a 05/07/2011 07:40 AM Reimar Döffinger

msvideo1enc: minor cosmetic cleanup, use FFALIGN, avoid calculating value
twice and add a missing "const".

e5a85164 05/07/2011 02:14 AM Michael Niedermayer

Merge remote branch 'qatar/master'

  • qatar/master:
    mov: fix composition timestamps on movie fragments.
    wmavoice: Use proper size in memeset().
c60d2be5 05/07/2011 02:01 AM Michael Niedermayer

mp3enc:simplify
Signed-off-by: Michael Niedermayer <>

e1e8a8de 05/07/2011 02:01 AM Michael Niedermayer

mp3enc:better variable name for the frames field file postion.
Signed-off-by: Michael Niedermayer <>

4382bc2c 05/07/2011 01:59 AM Michael Niedermayer

mp3enc: drop nested structs
Signed-off-by: Michael Niedermayer <>

f2a90c3b 05/07/2011 01:58 AM Michael Niedermayer

mp3enc:use FFMIN
Signed-off-by: Michael Niedermayer <>

01be9331 05/07/2011 01:58 AM Michael Niedermayer

mp3enc:Drop unneeded floating point math.
Signed-off-by: Michael Niedermayer <>

ec9a5deb 05/07/2011 01:58 AM Michael Niedermayer

mp3enc: drop sum and count bytes instead of bitrates from decoded headers.
Signed-off-by: Michael Niedermayer <>

7d624756 05/07/2011 01:43 AM Michael Niedermayer

mp3enc: remove unneeded ifdef
Signed-off-by: Michael Niedermayer <>

173c975e 05/07/2011 01:43 AM Michael Niedermayer

mp3enc: remove unneeded static const variables.
Signed-off-by: Michael Niedermayer <>

d62bf5d4 05/07/2011 01:27 AM Peter Belkner

mp3enc: mux a XING header

The patch below provides exactly that to the MP3 muxer. A XING header
containing

  • the numer of frames,
  • the size, and
  • a TOC

is generated.

It's based on an idea by Anton Khirnov (restricted to the number of
frames) found at...

c34cb130 05/06/2011 11:02 PM Michael Niedermayer

avfilter: dont use AVFilterLink as priv for pictures as its freed too early.
Signed-off-by: Michael Niedermayer <>

21d84246 05/06/2011 10:01 PM Michael Niedermayer

avfilter: Fix ticket82 / fix initial buffer values.
Signed-off-by: Michael Niedermayer <>

39f66edb 05/06/2011 09:53 PM Michael Niedermayer

AVFilter: use picture pool to avoid malloc().
Signed-off-by: Michael Niedermayer <>

fa3eddc0 05/06/2011 09:37 PM Michael Niedermayer

avfilter_unref_buffer: favor av_freep()
Signed-off-by: Michael Niedermayer <>

c25a8d7d 05/06/2011 05:32 PM Michael Niedermayer

mpegvideo: fix 422 lowres
Signed-off-by: Michael Niedermayer <>

a565c7b7 05/06/2011 03:39 PM Michael Niedermayer

aiffdec:Rewrite get_meta()
Signed-off-by: Michael Niedermayer <>

423986fc 05/06/2011 03:12 PM JULIAN GARDNER

Allow encodiing empty subtitles.

95f163b3 05/06/2011 01:19 PM Michael Niedermayer

swscale: Dither for unscaled 10->8bit per channel
Signed-off-by: Michael Niedermayer <>

7915e038 05/06/2011 11:18 AM Michael Niedermayer

swscale: dont reshuffle bytes
Signed-off-by: Michael Niedermayer <>

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.

6dc30b25 05/06/2011 02:28 AM Michael Niedermayer

Merge remote branch 'qatar/master'

  • qatar/master:
    configure: warn if pkg-config is missing

Merged-by: Michael Niedermayer <>

18752844 05/06/2011 01:54 AM Michael Niedermayer

avidec: correct frame_offset for seeking
Signed-off-by: Michael Niedermayer <>

cde55897 05/06/2011 01:27 AM Carl Eugen Hoyos

Silence a warning if pkg_config is not installed.

ccd77fe5 05/06/2011 12:21 AM Michael Niedermayer

Makefile:Put lost tab back.
Signed-off-by: Michael Niedermayer <>

5e24098b 05/06/2011 12:21 AM Michael Niedermayer

avidec: detect mpeg4 keyframes in indexless avi
Signed-off-by: Michael Niedermayer <>

0fa8d199 05/05/2011 10:30 PM Baptiste Coudurier

In svq3 decoder, check negative mb_type, fix potential crash.

Signed-off-by: Michael Niedermayer <>

6c284560 05/05/2011 10:30 PM Francesco Cosoleto

fate: mention fate documentation in the error message

Signed-off-by: Francesco Cosoleto <>
Signed-off-by: Michael Niedermayer <>

757ec2d7 05/05/2011 07:44 PM Michael Niedermayer

MPEG: support 4:4:4 lowres
Signed-off-by: Michael Niedermayer <>

59b9c75d 05/05/2011 07:42 PM Michael Niedermayer

MPEG: support 4:4:4 intra lowres
Signed-off-by: Michael Niedermayer <>

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

configure: warn if pkg-config is missing

Signed-off-by: Mans Rullgard <>

55bfb98f 05/05/2011 04:38 PM Stefano Sabatini

lavfi-regression: provide filter arguments to showfiltfmts

In do_lavfi_pixfmts(), provide the filter arguments to showfiltfmts,
since some filter may require non-null or non-empty argument string
for working properly.

e5272e72 05/05/2011 04:38 PM Stefano Sabatini

eval: add sqrt function for computing the square root

5d2ce3a7 05/05/2011 04:32 PM Stefano Sabatini

configure: add strong dependencies for movie source and mp filter

2264c110 05/05/2011 01:43 PM Baptiste Coudurier

SVQ3: do not modify const input buffer
Signed-off-by: Michael Niedermayer <>

b0e7a932 05/05/2011 01:43 PM Baptiste Coudurier

SVQ3: Check that things match up after a frame.
Signed-off-by: Michael Niedermayer <>

8811679c 05/05/2011 01:43 PM Baptiste Coudurier

SVQ3: Move svq3 specific fields to their own context.
Signed-off-by: Michael Niedermayer <>

175714c0 05/05/2011 01:35 PM Michael Niedermayer

ffplay: set CODEC_FLAG_EMU_EDGE earlier
Signed-off-by: Michael Niedermayer <>

b000b86e 05/05/2011 01:30 AM Michael Niedermayer

Merge remote branch 'qatar/master'

  • qatar/master: (23 commits)
    doc: Check standalone compilation before submitting new components.
    Fix standalone compilation of pipe protocol.
    Fix standalone compilation of ac3_fixed encoder.
    Fix standalone compilation of binkaudio_dct / binkaudio_rdft decoders....
9a5624a0 05/05/2011 12:20 AM Michael Niedermayer

rgb24toyv12: break out in the middle before out of array reads.
Signed-off-by: Michael Niedermayer <>

b93e12fd 05/04/2011 11:42 PM alexandru_mg3

ffplay: fix memleak if avfilter is disabled

10ff2967 05/04/2011 10:52 PM Michael Niedermayer

file: Fix mmap error check.
Signed-off-by: Michael Niedermayer <>

6dafa706 05/04/2011 09:33 PM Michael Niedermayer

configure: jack currently needs sem_timedwait()
Should fix ticket99 and ticket43 by disabling jack.
Signed-off-by: Michael Niedermayer <>

705c6520 05/04/2011 09:33 PM Michael Niedermayer

ffplay: removed unused variable channels.
Signed-off-by: Michael Niedermayer <>

5258f64a 05/04/2011 09:33 PM Michael Niedermayer

Disable warnings for casting pointers to integers, there is nothing wrong with that.
Signed-off-by: Michael Niedermayer <>

3e173a14 05/04/2011 09:33 PM Michael Niedermayer

swscale: fix src type
Signed-off-by: Michael Niedermayer <>

334187ad 05/04/2011 09:33 PM Michael Niedermayer

Fix "libavcodec/dfa.c:189: warning: unused variable ‘frame_end’"
Signed-off-by: Michael Niedermayer <>

e822c237 05/04/2011 09:33 PM JULIAN GARDNER

dvbsubdec: Split delete_state()

9522a752 05/04/2011 09:33 PM Michael Niedermayer

xsubenc: only 1 rectangle is supported so dont allow 0 as it would crash.
Signed-off-by: Michael Niedermayer <>