Statistics
| Branch: | Revision:

ffmpeg @ ff5278d8

# Date Author Comment
ff5278d8 04/13/2011 01:22 PM Carl Eugen Hoyos

Mention VisualOn in the new codecs' long names to explain "libvo".

f521746b 04/13/2011 08:06 AM Stefano Sabatini

ffplay: implement -showmode option

The new option allows to select the starting show mode.

f8b8c694 04/13/2011 08:06 AM Stefano Sabatini

ffplay: use symbolic constant values for show_audio

Also rename VideoState->show_audio to show_mode.
Improve readability.

8776f3d2 04/13/2011 08:06 AM Stefano Sabatini

ffplay: remove audio_write_get_buf_size() forward declaration

Move up the definition of audio_write_get_buf_size(), so that it is
defined before it is used. Simplify.

a6f395d6 04/13/2011 08:06 AM Stefano Sabatini

ffplay: avoid unnecessary intermediary struct in queue_picture()

When CONFIG_AVFILTER, use a AVFrame -> AVPicture cast rather than
explicitely copy the image information from AVFrame to a new
AVPicture.

Signed-off-by: Stefano Sabatini <>

c1d4bb57 04/13/2011 08:06 AM Stefano Sabatini

ffplay: remove unused field VideoState.dtg_active_format

Signed-off-by: Stefano Sabatini <>

05d33d86 04/13/2011 07:58 AM Carl Eugen Hoyos

Fix compilation with --disable-avfilter.

d6f79edb 04/13/2011 12:57 AM Michael Niedermayer

flv demuxer: dont error out due to index problems, but inform the user about it.
Signed-off-by: Michael Niedermayer <>

9891004b 04/13/2011 12:49 AM Michael Niedermayer

Merge remote branch 'qatar/master'

  • qatar/master:
    Partially merged:flvdec: Allow parsing keyframes metadata without seeking in most cases
    Error out if vaapi is not found
    avio: undeprecate av_url_read_fseek/fpause under nicer names
    libvo-*: Don't use deprecated sample format names and enum names...
a0f17473 04/12/2011 10:56 PM Reimar Döffinger

ASS decoder also requires ass_split.o to be compiled.

578d6861 04/12/2011 08:08 PM Martin Storsjö

flvdec: Allow parsing keyframes metadata without seeking in most cases

Stop the avio input at a point where amf_parse_object can
continue parsing the end of the object seamlessly, when all
data is available.

If unsupported data is encountered within the keyframes object,...

f3e3f28e 04/12/2011 05:17 PM Luca Barbato

Error out if vaapi is not found

Make the behaviour consistent with the other external deps.

Signed-off-by: Anton Khirnov <>

ff1ec0c3 04/12/2011 05:17 PM Anton Khirnov

avio: undeprecate av_url_read_fseek/fpause under nicer names

It seems their replacements won't be ready anytime soon.

5c006875 04/12/2011 03:40 PM Carl Eugen Hoyos

Fix compilation with --disable-yasm.

8b7dc087 04/12/2011 12:26 PM Michael Niedermayer

Add forgotten const to enum AVSampleFormat
Signed-off-by: Michael Niedermayer <>

c5e03ceb 04/12/2011 09:52 AM Martin Storsjö

libvo-*: Don't use deprecated sample format names and enum names

Signed-off-by: Martin Storsjö <>

b5304f7b 04/12/2011 09:38 AM Kharkov Alexander

flvdec: Fix support for flvtool2 "keyframes based" generated index

Current keyframes data parser unconditionally rewind metadata to
the end at the end of function. As result ALL metadata located
after keyframes index not parsed, and as metadata object can have...

c41eb2ad 04/12/2011 09:38 AM Martin Storsjö

libavcodec: Use "const enum AVSampleFormat[]" in AVCodec initialization

Signed-off-by: Martin Storsjö <>

44a8b0dd 04/12/2011 07:33 AM Sven C. Dack

Cosmetics: Rename variable param as the more appropriate dpyname.

9af20971 04/12/2011 07:27 AM Sven C. Dack

Cosmetics: Fix white-space in av_log() message.

ff2614ee 04/12/2011 07:17 AM Carl Eugen Hoyos

Fix output of AV_CH_LAYOUT_5POINT0 via alsa by reordering channels.

71306c5d 04/12/2011 07:11 AM Carl Eugen Hoyos

Support CODEC_ID_PCM_F64* output via alsa (stereo only).

5778466e 04/12/2011 06:56 AM Carl Eugen Hoyos

Support CODEC_ID_PCM_S24* output via alsa (stereo only).

4e54848b 04/12/2011 06:55 AM Carl Eugen Hoyos

Use const where appropriate.

Spotted by Reimar.

72eb6dfe 04/12/2011 06:51 AM Carl Eugen Hoyos

Mention VisualOn in the new codecs' long names to explain "libvo".

2f072b55 04/12/2011 04:47 AM Alex Converse

Fix the conversion of AV_SAMPLE_FMT_FLT and _DBL to AV_SAMPLE_FMT_S32.

(1<<31) is undefined and seems to be evaluated by gcc to -2^31 when
these formulae require 2^31.

These conversions still need fate tests.

187a5379 04/12/2011 04:47 AM Alex Converse

Convert some undefined 1<<31 shifts into 1U<<31.

According to ISO 9899:1999 S 6.5.7/4:

The result of E1 << E2 is E1 left-shifted E2 bit positions; vacated bits
are filled with zeros. If E1 has an unsigned type, the value of the
result is E1× 2^E2, reduced modulo one more than the maximum value...

8eeed0db 04/12/2011 01:54 AM James Zern

vpxenc: add CQ_LEVEL mapping

via the equivalent AVCodecContext::crf modifying the range allowed by
options.c (0-51 -> 0-63)
update configure check to require libvpx 0.9.6 (Bali)

Signed-off-by: Michael Niedermayer <>

a299a261 04/12/2011 01:53 AM James Zern

vpxenc: add VP8E_SET_STATIC_THRESHOLD mapping

via the equivalent AVCodecContext::mb_threshold

Signed-off-by: Michael Niedermayer <>

4727ec3c 04/12/2011 01:48 AM Michael Niedermayer

Merge remote branch 'qatar/master'

  • qatar/master:
    Not pulled due to wrong author, according to carl: Add unconditional return statement to yuva420_rgb32_MMX() / yuva420_bgr32_MMX().
    Fix compilation of timefilter test program.
    Add support for AMR-WB encoding via libvo-amrwbenc...
13d4ec84 04/12/2011 12:02 AM Aurelien Jacobs

cosmetics: alignment

df149f6c 04/11/2011 11:37 PM Stefano Sabatini

ffplay: fix weird brace placement in video_image_display()

Signed-off-by: Stefano Sabatini <>

3338be24 04/11/2011 11:37 PM Stefano Sabatini

ffplay: rename output_picture2() to output_picture()

The "2" suffix is confusing.

Signed-off-by: Stefano Sabatini <>

1979d3b8 04/11/2011 11:37 PM Stefano Sabatini

ffplay: remove useless intermediary variable dst_pix_fmt in queue_picture()

Simplify.

Signed-off-by: Stefano Sabatini <>

eef16966 04/11/2011 11:37 PM Stefano Sabatini

ffplay: avoid forward declaration for packet_queue_put()

Define the function before it is used. Simplify.

Signed-off-by: Stefano Sabatini <>

91b27e49 04/11/2011 11:23 PM Stefano Sabatini

ffplay: compact expression in compute_mod()

Prefer "return X ? Y : Z" over "if (x) return Y; else return Z",
reduce line count.

Signed-off-by: Stefano Sabatini <>

6873cf9b 04/11/2011 09:39 PM Aurelien Jacobs

compute rects duration in ASS decoder

Signed-off-by: Aurelien Jacobs <>

3ee8ca9b 04/11/2011 09:27 PM Aurelien Jacobs

add avcodec_get_subtitle_defaults() to initialize AVSubtitle struct

Call this new function before decode() to replace the custom and
inconsistant initialization in various decoders.
This function is equivalent to avcodec_get_frame_defaults() for AVFrame....

db46be01 04/11/2011 12:18 PM Diego Biurrun

Add unconditional return statement to yuva420_rgb32_MMX() / yuva420_bgr32_MMX().

When HAVE_7REGS was not defined these functions had an empty body
causing the following warnings during compilation.
In file included from libswscale/x86/yuv2rgb_mmx.c:58:
libswscale/x86/yuv2rgb_template.c: In function ‘yuva420_rgb32_MMX’:...

70ad9842 04/11/2011 12:18 PM Diego Biurrun

Fix compilation of timefilter test program.

The printf function is forbidden in library code, but not in test programs,
so #undefine the printf macro that disables the system printf function.

Signed-off-by: Diego Biurrun <>

f502ff3f 04/11/2011 11:55 AM Martin Storsjö

Add support for AMR-WB encoding via libvo-amrwbenc

The wrapper code is based on the libamr wrapper removed in SVN rev 19365.

Signed-off-by: Martin Storsjö <>

d89e738a 04/11/2011 11:55 AM Martin Storsjö

Add an AAC encoder by using the libvo-aacenc library

Signed-off-by: Martin Storsjö <>

c104a6e9 04/11/2011 09:49 AM Michael Niedermayer

oggdec: use av_freep() instead of av_free()
Signed-off-by: Michael Niedermayer <>

b52a65cc 04/11/2011 09:29 AM Stefano Sabatini

vsrc_buffer.h: add file doxy

Signed-off-by: Stefano Sabatini <>

e601ff19 04/11/2011 09:28 AM Stefano Sabatini

vsrc_buffer.h: add multiple inclusion guards

Signed-off-by: Stefano Sabatini <>

f763a7c6 04/11/2011 09:19 AM Stefano Sabatini

vsrc_buffer: tweak error message in init()

Change:
Expected 7 arguments, but only %d found in '%s'\n
to:
Expected 7 arguments, but %d found in '%s'\n

as the user may provide more than 7 arguments, in that case the error
is not misleading.

029f966c 04/11/2011 08:35 AM Martin Storsjö

g722: Return 8 bits per sample for g722 in av_get_bits_per_sample

This fixes a failing assert in ff_raw_read_header (in
fate-g722dec-1), where bits_per_coded_sample is set using this
function and is required to have a positive value.

Signed-off-by: Martin Storsjö <>

ab8cfd45 04/11/2011 02:08 AM Michael Niedermayer

Merge remote branch 'qatar/master'

  • qatar/master:
    avio: add more documentation for AVIOContext.
    Parse sprite data for WMVP and WVP2, and decode sprites for the latter
    Replace outdated info on the FAQ
    Redefine sameq
    pad: fix example explanation...
2e92a34c 04/10/2011 10:37 PM Michael Niedermayer

Revert "fbdev: simplify logic in fbdev_read_packet()"

This change is buggy.

This reverts commit d46c9f83cf495c901e6128ce1042190f620b89c4.

5381823e 04/10/2011 10:14 PM 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 <>

aa0c515a 04/10/2011 10:14 PM Mark Himsley

lavfi: add fieldorder filter

Signed-off-by: Stefano Sabatini <>

d46c9f83 04/10/2011 10:14 PM Stefano Sabatini

fbdev: simplify logic in fbdev_read_packet()

Signed-off-by: Stefano Sabatini <>

df2d5b16 04/10/2011 08:33 PM Michael Niedermayer

H264: Allow templating hl_decode_mb based on pixel_size.
Signed-off-by: Michael Niedermayer <>

179106ed 04/10/2011 08:33 PM Michael Niedermayer

H264: factor if() out of coef decoding loop of decode_cabac_residual_internal()
Signed-off-by: Michael Niedermayer <>

a50f0bea 04/10/2011 08:33 PM Michael Niedermayer

H264: Split out hl_motion and template it, this seems a bit faster
Signed-off-by: Michael Niedermayer <>

e7077f5e 04/10/2011 08:33 PM Michael Niedermayer

H264: replace pixel_size by pixel_shift
Signed-off-by: Michael Niedermayer <>

9b271ce6 04/10/2011 08:33 PM Michael Niedermayer

h264: Print bpp Signed-off-by: Michael Niedermayer <>

5e85298c 04/10/2011 08:33 PM Oskar Arvidsson

Enable decoding of high bit depth h264.

This patch completes the high bit depth h264 decoding support.

Signed-off-by: Michael Niedermayer <>

8dbe5856 04/10/2011 08:33 PM 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...

d268bed2 04/10/2011 08:33 PM 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: Michael Niedermayer <>

436c4523 04/10/2011 08:33 PM Michael Niedermayer

H264: fix prefetch
Signed-off-by: Michael Niedermayer <>

dc172ecc 04/10/2011 08:33 PM 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....

86b0d9cd 04/10/2011 08:33 PM Oskar Arvidsson

Make the h264 loop filter bit depth aware.

Preparatory patch for high bit depth h264 decoding support.

Signed-off-by: Michael Niedermayer <>

63cc0e77 04/10/2011 08:33 PM Oskar Arvidsson

Template dsputil_internal.h with respect to pixel size, etc.

Preparatory patch for high bit depth h264 decoding support.

Signed-off-by: Michael Niedermayer <>

9abd87bb 04/10/2011 08:33 PM Oskar Arvidsson

Template h264idct_internal.h with respect to pixel size, etc.

Preparatory patch for high bit depth h264 decoding support.

Signed-off-by: Michael Niedermayer <>

2b092f7a 04/10/2011 08:33 PM Oskar Arvidsson

Template h264pred_internal.h with respect to bit depth, etc.

Preparatory patch for high bit depth h264 decoding support.

Signed-off-by: Michael Niedermayer <>

21a7c936 04/10/2011 08:33 PM Oskar Arvidsson

Template h264dsp_internal.h with respect to pixel size, etc.

Preparatory patch for high bit depth h264 decoding support.

Signed-off-by: Michael Niedermayer <>

8dffcca5 04/10/2011 08:33 PM Oskar Arvidsson

Move some functions in dsputil.c into a new file dsputil_internal.h.

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

Signed-off-by: Michael Niedermayer <>

7bc8032b 04/10/2011 08:33 PM Oskar Arvidsson

Move the functions in h264idct into a new file h264idct_internal.h.

Preparatory patch for high bit depth h264 decoding support.

Signed-off-by: Michael Niedermayer <>

c2f38da9 04/10/2011 08:33 PM Oskar Arvidsson

Move the functions in h264pred.c into a new file h264pred_internal.h.

Preparatory patch for high bit depth h264 decoding support.

Signed-off-by: Michael Niedermayer <>

2431689b 04/10/2011 08:33 PM Oskar Arvidsson

Move the functions in h264dsp.c into a new file h264dsp_internal.h

Preparatory patch for high bit depth h264 decoding support.

Signed-off-by: Michael Niedermayer <>

d4497f6d 04/10/2011 08:33 PM 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: Michael Niedermayer <>

af0b2d67 04/10/2011 08:33 PM Oskar Arvidsson

Choose h264 chroma dc dequant function dynamically.

Needed for high bit depth h264 decoding.

Signed-off-by: Michael Niedermayer <>

488efb33 04/10/2011 08:28 PM Michael Niedermayer

H264: Fix slice threads
Signed-off-by: Michael Niedermayer <>

d1c5fdf8 04/10/2011 12:31 PM Anton Khirnov

avio: add more documentation for AVIOContext.

701d0eb1 04/10/2011 09:40 AM Reimar Döffinger

Fix input buffer size check in adpcm_ea decoder.

Unfortunately the output buffer size check assumes that the
input buffer is never over-consumed, thus this actually
also allowed to write outside the output buffer if "lucky".

768c5251 04/10/2011 08:07 AM Alberto Delmás

Parse sprite data for WMVP and WVP2, and decode sprites for the latter

Signed-off-by: Anton Khirnov <>

70ff5573 04/10/2011 08:07 AM Lou Logan

Replace outdated info on the FAQ

FAQ could use some work. This updates a few little details.

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

f8de11cf 04/10/2011 07:27 AM Lou Logan

Redefine sameq

I think the documentation of sameq is causing confusion and misuse of
this option.

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

aeefbf61 04/10/2011 07:27 AM Stefano Sabatini

pad: fix example explanation

"row" and "column" term positions in the explanation were inverted.

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

3eccfaa0 04/10/2011 07:26 AM Stefano Sabatini

gradfun: add notice from the MPlayer manual

Add notice telling that the filter is designed for playback only.

Signed-off-by: Anton Khirnov <>

5ae4251c 04/10/2011 07:24 AM Stefano Sabatini

eval: add support for trunc, ceil, and floor functions

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

2fd8756b 04/10/2011 07:22 AM Stefano Sabatini

documentation: add setdar and setsar description to filters.texi

Signed-off-by: Anton Khirnov <>

c1a9012d 04/10/2011 05:41 AM Anton Khirnov

avio: document some members of AVIOContext.

e782a0c6 04/10/2011 05:41 AM Anton Khirnov

avio: document avio_close().

893816ba 04/10/2011 05:41 AM Anton Khirnov

avio: cosmetics, vertically align comments.

72d4405b 04/10/2011 05:41 AM Anton Khirnov

avio: cosmetics, group the reading functions.

37744e32 04/10/2011 05:41 AM Anton Khirnov

avio: cosmetics, merge all the FF_API_OLD_AVIO blocks.

fafa7290 04/10/2011 05:41 AM Anton Khirnov

avio: cosmetics, move AVIOContext to start of the file.

6084ee5d 04/10/2011 05:41 AM Anton Khirnov

avio: update file header.

3028b6ed 04/10/2011 03:02 AM Brad

os: fix OpenBSD/PowerPC compilation

When attempting to re-enable the AltiVec support it was noticed
that we need to undefine _POSIX_C_SOURCE to appease the headers
for ff_get_cpu_flags_ppc() to be able to compile.

Signed-off-by: Luca Barbato <>

73389754 04/10/2011 02:44 AM Peter Ross

pixfmt: add PIX_FMT_BGR48LE and PIX_FMT_BGR48BE

PIX_FMT_BGR48LE is used by PhantomCINE demuxer.

Signed-off-by: Luca Barbato <>

47dec30e 04/10/2011 02:33 AM Clément Bœsch

oggdec: fix demuxing chained audio streams

Chained ogg served by icecast and mpd should demux
properly now.

Fixes issue2337

Signed-off-by: Luca Barbato <>

cbfa93ac 04/10/2011 02:31 AM Compn

fix typo

Signed-off-by: Luca Barbato <>

afaedbd6 04/10/2011 02:00 AM Ronald S. Bultje

Add "Did you provide a clear git commit log message?" to the patch checklist
Signed-off-by: Michael Niedermayer <>

c55efca0 04/10/2011 01:49 AM Carl Eugen Hoyos

x11: fix memleak

Signed-off-by: Michael Niedermayer <>

05c062e9 04/10/2011 01:49 AM pin xue

replace movw instruction in ac3dsp_armv6.S

AS libavcodec/arm/ac3dsp_armv6.o
ffmpeg-src/libavcodec/arm/ac3dsp_armv6.S: Assembler messages:
ffmpeg-src/libavcodec/arm/ac3dsp_armv6.S:40: Error: selected processor
does not support `movw r8,#0x1fe0'
make1: *** [libavcodec/arm/ac3dsp_armv6.o] Error 1...

a2beabc2 04/10/2011 01:32 AM Michael Niedermayer

Merge remote branch 'qatar/master'

  • qatar/master:
    daud: Don't write packets that are too large to have their size expressed in the bytestream.
    DUPLICATE pthread: validate_thread_parameters() ignored slice-threading being intentionally off
    DUPLICATE Use consistent condition for whether to run slice-threading execute function....
347b375a 04/10/2011 12:32 AM Alex Converse

daud: Don't write packets that are too large to have their size expressed in the bytestream.

d459d8e2 04/09/2011 11:35 PM Reimar Döffinger

Abort Ogg header parsing when we encounter a data packet.

Fixes ticket #15.