Statistics
| Branch: | Revision:

ffmpeg @ 0ae2a036

# Date Author Comment
0ae2a036 04/14/2011 01:33 AM Carl Eugen Hoyos

Support unsigned variants of already supported signed formats in alsa.

075a5560 04/14/2011 01:33 AM Carl Eugen Hoyos

Support a-law and mu-law output in alsa.

c55780dc 04/14/2011 01:21 AM Michael Niedermayer

Merge remote branch 'qatar/master'

  • qatar/master: (32 commits)
    libopencore-amr, libvo-amrwbenc: Allow enabling DTX via private AVOptions
    libopencore-amr, libvo-amrwbenc: Only check the bitrate when changed
    libopencore-amr, libvo-amrwbenc: Find the closest matching bitrate...
651b276e 04/13/2011 09:31 PM Martin Storsjö

libopencore-amr, libvo-amrwbenc: Allow enabling DTX via private AVOptions

DTX, discontinuous transmission, allows emitting frames with
comfort noise when no voice is detected in the input audio.

Signed-off-by: Martin Storsjö <>

3dd82afc 04/13/2011 09:31 PM Martin Storsjö

libopencore-amr, libvo-amrwbenc: Only check the bitrate when changed

Also rename the incorrectly named enc_bitrate to enc_mode, use the
enc_bitrate variable for storing the last chosen bitrate.

This avoids continuous warning log messages if not using an...

70739381 04/13/2011 09:31 PM Martin Storsjö

libopencore-amr, libvo-amrwbenc: Find the closest matching bitrate

Dynamically print the supported bitrates from the local table,
instead of using a hardcoded log message.

Signed-off-by: Martin Storsjö <>

957635ba 04/13/2011 07:38 PM Martin Storsjö

libvo-*: Fix up the long codec names

Include VisualOn to clarify the codec name, but remove the
actual library name from the user-friendly description.
Also mention Android, to clarify which VisualOn implementation
this refers to, since they do sell other variants of the same...

567ad0e3 04/13/2011 07:14 PM Martin Storsjö

libavcodec: Mark AVCodec->priv_class const

This avoids warnings of this kind, everywhere priv_class
is initialized:

warning: initialization discards qualifiers from pointer target type

Signed-off-by: Martin Storsjö <>

0e1a5434 04/13/2011 03:24 PM Luca Barbato

swscale: Factorize FAST_BGR2YV12 definition.

It is used only for x86 so it will eventually be moved with that code
into the x86 arch subdirectory.

ff5278d8 04/13/2011 01:22 PM Carl Eugen Hoyos

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

2d326793 04/13/2011 12:43 PM Martin Storsjö

libvo-aacenc: Only produce extradata if the global header flag is set

Signed-off-by: Martin Storsjö <>

451d566f 04/13/2011 11:50 AM Anton Khirnov

lavf: postpone removal of public metadata conversion API

It's been deprecated only a few months ago, long after 0.6.

c7767327 04/13/2011 11:50 AM Anton Khirnov

lavc: postpone removal of request_channels

No decoder uses the supposed replacement, request_channel_layout, yet.

d6ead39e 04/13/2011 11:50 AM Anton Khirnov

lavc: postpone removal of audioconvert and sample_fmt wrappers

Those were moved to libavutil only recently.

548e62c5 04/13/2011 11:50 AM Anton Khirnov

lavf: postpone removal of deprecated avio functions

They've been deprecated very recently.

882221af 04/13/2011 10:00 AM Martin Storsjö

libopencore-amr: Cosmetics: Rewrap and align

Signed-off-by: Martin Storsjö <>

02c63a10 04/13/2011 10:00 AM Martin Storsjö

libopencore-amr, libvo-amrbwenc: Rename variables and functions

Avoid camelCase names for functions and variables.

Signed-off-by: Martin Storsjö <>

9b9c6405 04/13/2011 10:00 AM Martin Storsjö

libopencore-amr: Convert commented out debug logging into av_dlog

Also add the avctx as logging context.

Signed-off-by: Martin Storsjö <>

89e7e640 04/13/2011 09:59 AM Martin Storsjö

libopencore-amr: Remove an unused state variable

Signed-off-by: Martin Storsjö <>

5d211e03 04/13/2011 08:30 AM Martin Storsjö

libvo-amrwbenc: Don't explicitly store bitrate modes in the bitrate table

The bitrate modes are equal to the array indices.

Signed-off-by: Martin Storsjö <>

0e03f94d 04/13/2011 08:30 AM Martin Storsjö

libopencore-amr: Remove a useless local variable

Signed-off-by: Martin Storsjö <>

c48ce4eb 04/13/2011 08:30 AM Martin Storsjö

libopencore-amr, libvo-amrwbenc: Make the bitrate/mode mapping array static const

Signed-off-by: Martin Storsjö <>

900a129f 04/13/2011 08:30 AM Martin Storsjö

libopencore-amr, libvo-amrwbenc: Return proper error codes in most places

Signed-off-by: Martin Storsjö <>

a8ec07c9 04/13/2011 08:30 AM Martin Storsjö

libopencore-amr: Don't print carriage returns in log messages

Signed-off-by: Martin Storsjö <>

58733141 04/13/2011 08:30 AM Martin Storsjö

libopencore-amr: Remove an old workaround for libamr header weirdness

Signed-off-by: Martin Storsjö <>

57ddffe8 04/13/2011 08:30 AM Martin Storsjö

libopencore-amr: Make the opaque encoder pointer a void*

Signed-off-by: Martin Storsjö <>

dbff4da9 04/13/2011 08:30 AM Martin Storsjö

libopencore-amr: Remove unused code fragments

This parts are heritage from the encoder part from the old
libamr code removed in SVN rev 19365.

Signed-off-by: Martin Storsjö <>

a92a7ddc 04/13/2011 08:30 AM Martin Storsjö

applehttp: Only check the discard flags if v->ctx actually is initialized

This code could be executed if the demuxer reads more than one
segment before returning from av_open_input_stream.

Signed-off-by: Martin Storsjö <>

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

4c362a52 04/13/2011 08:01 AM Luca Barbato

doc: update developer guide

Refer to the current submission policy and refer to FATE in the
Regression Test section.

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

Fix compilation with --disable-avfilter.

86a89ae3 04/13/2011 05:41 AM Anton Khirnov

lavf: bump minor and add an APIChanges entry for the last avio changes

4bde56d1 04/13/2011 05:38 AM Anton Khirnov

avio: deprecate url_exist in favor of avio_check.

31317656 04/13/2011 05:38 AM Stefano Sabatini

file: implement url_check() callback in the file and pipe protocols

Signed-off-by: Anton Khirnov <>

175389c8 04/13/2011 05:38 AM Stefano Sabatini

avio: add avio_check()

The new function is more flexible than url_exist(), as it allows to
specify which access flags to check, and does not require an explicit
open of the checked resource.

Signed-off-by: Anton Khirnov <>

cbea3ac8 04/13/2011 05:36 AM Anton Khirnov

avio: left-shift AVIO_ flags on next bump

Now AVIO_RDONLY is defined as 0, so it's not usable as a flag.

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...
d2940155 04/12/2011 11:46 PM Alberto Delmas

Check for successful h263 init in msmpeg4 init

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

96573c0d 04/12/2011 11:06 PM Vitor Sessak

lavf/utils.c: Order packets with identical PTS by stream index.

This allows for more reproducible results when using multi-threading.

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

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