Statistics
| Branch: | Revision:

ffmpeg @ 5778466e

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

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.

cf39b461 04/09/2011 12:23 PM Alexander Strange

pthread: validate_thread_parameters() ignored slice-threading being intentionally off

The thread_type API allows you to request only FF_THREAD_FRAME (instead of
FRAME | SLICE), but it was being ignored.
We don't implement both of them at the same time, so there isn't an effect...

f82163cf 04/09/2011 12:23 PM Reimar Döffinger

Use consistent condition for whether to run slice-threading execute function.

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

17ca374c 04/09/2011 11:35 AM Anton Khirnov

avformat.h: fix a misplaced #endif

da21440d 04/09/2011 10:02 AM Gwenole Beauchesne

vaapi: cope with VA-API 0.32, i.e. fix VC-1 decoding on Sandy Bridge.

(cherry picked from commit a18e7b4fb77d3799cf21110b5e6dda4691a295b3)

Signed-off-by: Reinhard Tartler <>

09ce8462 04/09/2011 10:00 AM Gwenole Beauchesne

vaapi: filter out DELAYED_PIC_REF flag to determine field.

This fixes ticket #23.

(cherry picked from commit 621f4c98df4ee9fd604a614f31e09eef9dd7d3ca)

Signed-off-by: Reinhard Tartler <>

ae7a4a15 04/09/2011 03:17 AM Philip Langdale

CrystalHD: Improve detection of h.264 content.

As previously discussed, the CrystalHD hardware returns exceptionally
useless information about interlaced h.264 content - to the extent
that it's not possible to distinguish most MBAFF and PAFF content until...

bfde0f1b 04/09/2011 03:17 AM Philip Langdale

CrystalHD: Carry picture type from input to output picture.

Now that we know the type of the input picture, we have to bring
that information to the output picture to help identify its type.
We do this by adding a field to the opaque_list node.

Signed-off-by: Philip Langdale <>

f6421e0b 04/09/2011 03:17 AM Philip Langdale

CrystalHD: Bring in h.264 parser to establish picture type.

As the hardware is unreliable, we will have to use the h.264 parser
to identify whether an input picture is a field or a frame. This
change loads the parser and extracts the picture type.

Signed-off-by: Philip Langdale <>

e99fd6ee 04/09/2011 03:17 AM Philip Langdale

CrystalHD: Change opaque_list_pop to return the node.

In preparation for adding additional fields to the node, return
the node instead of the pts value. This requires the caller to
free the node.

Signed-off-by: Philip Langdale <>

ca0eed7e 04/09/2011 03:17 AM Philip Langdale

CrystalHD: Fix whitespace after previous change.

'git diff -w' confirmed to return nothing.

Signed-off-by: Philip Langdale <>

9ce1d5f0 04/09/2011 03:17 AM Philip Langdale

CrystalHD: Handle different h.264 MBAFF packing.

I found another MBAFF sample where the input:output pattern is
the same as mpeg2 and vc1 (fieldpair input, individual field output).
While I'm not sure how you can output individual fields from MBAFF,
if I apply the mpeg2/vc1 handling to this file, it plays correctly....

c0577ceb 04/09/2011 01:23 AM Michael Niedermayer

flv: Only parse keyframe index when the underlaying protocol allows seeking as we need to seek to read the index
Signed-off-by: Michael Niedermayer <>

ba667e60 04/09/2011 01:23 AM Kharkov Alexander

Fix support for flvtool2 "keyframes based" generated index in FLV format decoder

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 ANY placement inside metadata it can...

f7f9e24d 04/09/2011 01:23 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 <>

d4d09329 04/09/2011 01:17 AM Michael Niedermayer

Merge remote branch 'qatar/master'

  • qatar/master:
    lavf: bump minor and add an APIChanges entry for avformat cleanup
    lavf: get rid of ffm-specific stuff in avformat.h
    Not pulled: avio: deprecate av_protocol_next().
    avio: add a function for iterating though protocol names....
a61bc91d 04/08/2011 11:00 PM Michael Niedermayer

Fix ticket21, temporary audio array was too small.
Signed-off-by: Michael Niedermayer <>

0c68c804 04/08/2011 07:00 PM Anton Khirnov

lavf: bump minor and add an APIChanges entry for avformat cleanup

3ee53dab 04/08/2011 06:58 PM Anton Khirnov

lavf: get rid of ffm-specific stuff in avformat.h

cdc6a87f 04/08/2011 03:48 PM Anton Khirnov

avio: deprecate av_protocol_next().

f8270bbf 04/08/2011 03:48 PM Anton Khirnov

avio: add a function for iterating though protocol names.

c234d40b 04/08/2011 02:45 PM Anton Khirnov

lavf: rename a parameter of av_sdp_create from buff->buf

This is more consistent with the rest of the API.

c3675dfe 04/08/2011 02:45 PM Anton Khirnov

lavf: rename avf_sdp_create to av_sdp_create.

The new name is more consistent with the rest of the API.

a9bf9d8e 04/08/2011 02:44 PM Anton Khirnov

lavf: make av_guess_image2_codec internal

It doesn't look very useful as a public function.

5593f031 04/08/2011 01:59 PM Anton Khirnov

avio: make URLProtocol internal.