ffmpeg.git
8 years agofate: reenable frext-pph10i4_panasonic_a after the bitstream has been fixed
Michael Niedermayer [Tue, 24 May 2011 02:57:51 +0000 (04:57 +0200)]
fate: reenable frext-pph10i4_panasonic_a after the bitstream has been fixed

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Tue, 24 May 2011 02:08:36 +0000 (04:08 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  configure: Add -U__STRICT_ANSI__ to CPPFLAGS on Cygwin and DOS.
  aacdec: fix typo in scalefactor clipping check
  fate: fix fate-h264-conformance-frext-pph10i4-panasonic-a crcs.
  fate: update 9/10bit refs.
  h264: Properly set coded_{width, height} when parsing H.264.
  x86 asm: Add SECTION_TEXT to dct32_sse.asm.
  Fix 9/10 bit in swscale.

Merged-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoavcodec_find_decoder: prefer non experimental decoders.
Michael Niedermayer [Mon, 23 May 2011 23:31:15 +0000 (01:31 +0200)]
avcodec_find_decoder: prefer non experimental decoders.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoj2kdec: mark as CODEC_CAP_EXPERIMENTAL
Michael Niedermayer [Mon, 23 May 2011 22:01:29 +0000 (00:01 +0200)]
j2kdec: mark as CODEC_CAP_EXPERIMENTAL

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoj2k[c/h] j2kdec.c: Implement 2 code block styles
Rukhsana Ruby [Mon, 23 May 2011 21:56:20 +0000 (23:56 +0200)]
j2k[c/h] j2kdec.c: Implement 2 code block styles

8 years agoj2k: Add void as the parameter of function ff_j2k_init_tier1_luts
Rukhsana Ruby [Mon, 23 May 2011 21:55:28 +0000 (23:55 +0200)]
j2k: Add void as the parameter of function ff_j2k_init_tier1_luts

8 years agoAdd Kamil Nowosads j2k code.
Kamil Nowosad [Mon, 23 May 2011 21:13:34 +0000 (23:13 +0200)]
Add Kamil Nowosads j2k code.

This needs work but it should not rot in soc svn.

8 years agomatroska: cleanup handling of video stereo mode
Aurelien Jacobs [Mon, 23 May 2011 23:09:24 +0000 (01:09 +0200)]
matroska: cleanup handling of video stereo mode

8 years agooggdec: use av_dlog()
Stefano Sabatini [Mon, 23 May 2011 21:51:39 +0000 (23:51 +0200)]
oggdec: use av_dlog()

Simplify.

8 years agomem: define the MAX_MALLOC_SIZE constant and use it in place of INT_MAX
Stefano Sabatini [Wed, 18 May 2011 21:59:38 +0000 (23:59 +0200)]
mem: define the MAX_MALLOC_SIZE constant and use it in place of INT_MAX

This makes re-dimensionating the constant simpler, since now it is
defined only in one place.

8 years agoconfigure: Add -U__STRICT_ANSI__ to CPPFLAGS on Cygwin and DOS.
Diego Biurrun [Sun, 15 May 2011 12:32:15 +0000 (14:32 +0200)]
configure: Add -U__STRICT_ANSI__ to CPPFLAGS on Cygwin and DOS.

In -std=c99 mode GCC defines __STRICT_ANSI__ to hide non-ANSI interfaces.
This causes declarations for some POSIX functions to be omitted from system
headers, which causes compilation failures.

8 years agomuxers.texi changes for mkv/webm options
alahuja [Mon, 23 May 2011 15:33:35 +0000 (08:33 -0700)]
muxers.texi changes for mkv/webm options

8 years agoaacdec: fix typo in scalefactor clipping check
Justin Ruggles [Mon, 23 May 2011 19:56:52 +0000 (15:56 -0400)]
aacdec: fix typo in scalefactor clipping check

8 years agompegaudio: Correct license header
Michael Niedermayer [Mon, 23 May 2011 15:33:03 +0000 (17:33 +0200)]
mpegaudio: Correct license header

To the best of my knowledge the author has not agreed to the change
from ffmpeg->libav thus i revert it.

8 years agoadd 5.1 to stereo downmix to resample.c
jan gerber [Mon, 23 May 2011 15:22:02 +0000 (17:22 +0200)]
add 5.1 to stereo downmix to resample.c
this is based on previous 6to2channel-resample.patch from ffmpeg2theora
but updated to work with trunk and using av_clip_int16.

8 years agofate: fix fate-h264-conformance-frext-pph10i4-panasonic-a crcs.
Ronald S. Bultje [Mon, 23 May 2011 12:44:31 +0000 (08:44 -0400)]
fate: fix fate-h264-conformance-frext-pph10i4-panasonic-a crcs.

The sample on rsync was corrupt, this one is now bitexact w.r.t. JM.

8 years agofate: update 9/10bit refs.
Ronald S. Bultje [Mon, 23 May 2011 12:08:03 +0000 (08:08 -0400)]
fate: update 9/10bit refs.

8 years agoh264: Properly set coded_{width, height} when parsing H.264.
Felipe Contreras [Thu, 19 May 2011 21:39:12 +0000 (00:39 +0300)]
h264: Properly set coded_{width, height} when parsing H.264.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Diego Biurrun <diego@biurrun.de>
8 years agox86 asm: Add SECTION_TEXT to dct32_sse.asm.
Dave Yeo [Sun, 22 May 2011 17:44:17 +0000 (10:44 -0700)]
x86 asm: Add SECTION_TEXT to dct32_sse.asm.

This fixes the following error on OS/2:
error: segment name `.text align=16' not recognized

Signed-off-by: Diego Biurrun <diego@biurrun.de>
8 years agoFix 9/10 bit in swscale.
Kieran Kunhya [Mon, 23 May 2011 02:02:12 +0000 (03:02 +0100)]
Fix 9/10 bit in swscale.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
8 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Mon, 23 May 2011 02:16:08 +0000 (04:16 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  ffmpeg: Don't trigger url_interrupt_cb on the first signal
  avoptions: Check the return value from av_get_number
  dct32_sse: eliminate some spills
  Fix dct32() compilation with --disable-yasm

Conflicts:
ffmpeg.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoDo not ask for samples if a specific channel layout was requested.
Carl Eugen Hoyos [Sun, 22 May 2011 23:23:33 +0000 (01:23 +0200)]
Do not ask for samples if a specific channel layout was requested.

8 years agolibx264: specify field for default union values in options
Stefano Sabatini [Sun, 22 May 2011 19:28:28 +0000 (21:28 +0200)]
libx264: specify field for default union values in options

Fix warnings.

8 years agomovdec: dont divide by zero when stts_data[0].duration = 0.
Michael Niedermayer [Sun, 22 May 2011 19:26:13 +0000 (21:26 +0200)]
movdec: dont divide by zero when stts_data[0].duration = 0.

Fixes ticket223
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoFix ticket127
Michael Niedermayer [Sun, 22 May 2011 17:06:10 +0000 (19:06 +0200)]
Fix ticket127

This fixes detectiion of slightly too big dummy frames.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agodct32: Replacing libav by ffmpeg in the license header with the authors permission.
Michael Niedermayer [Sun, 22 May 2011 14:18:36 +0000 (16:18 +0200)]
dct32: Replacing libav by ffmpeg in the license header with the authors permission.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoffmpeg: Don't trigger url_interrupt_cb on the first signal
Martin Storsjö [Sun, 22 May 2011 11:40:33 +0000 (14:40 +0300)]
ffmpeg: Don't trigger url_interrupt_cb on the first signal

Currently, the url_interrupt_cb callback will abort all IO
after the first received signal. This makes the output files
from e.g. the mov muxer to be unreadable if the transcode is
aborted with ctrl+c.

After this patch, the first signal cleanly breaks out of
the transcoding loop, but won't forcibly abort all IO.
After the second signal is received, the url_interrupt_cb
callback will abort all IO.

Signed-off-by: Martin Storsjö <martin@martin.st>
8 years agoavoptions: Check the return value from av_get_number
Martin Storsjö [Sun, 22 May 2011 18:34:49 +0000 (21:34 +0300)]
avoptions: Check the return value from av_get_number

This avoids doing a division by zero if the option wasn't found,
or wasn't an option of an appropriate type.

Signed-off-by: Martin Storsjö <martin@martin.st>
8 years agolavf: fix style for avformat_alloc_output_context2()
Stefano Sabatini [Thu, 19 May 2011 20:12:37 +0000 (22:12 +0200)]
lavf: fix style for avformat_alloc_output_context2()

More consistent/readable.

8 years agolavf: deprecate avformat_alloc_output_context() in favor of avformat_alloc_output_con...
Stefano Sabatini [Thu, 19 May 2011 20:09:34 +0000 (22:09 +0200)]
lavf: deprecate avformat_alloc_output_context() in favor of avformat_alloc_output_context2()

The new function accepts a slightly more intuitive order of paramters,
and returns an error code, thus allowing applications to report a
meaningful error message.

8 years agolavfi: make vsrc_buffer.h header public
Stefano Sabatini [Sun, 22 May 2011 17:30:08 +0000 (19:30 +0200)]
lavfi: make vsrc_buffer.h header public

Address trac issue #33.

8 years agodct32_sse: eliminate some spills
Loren Merritt [Sat, 21 May 2011 21:36:23 +0000 (23:36 +0200)]
dct32_sse: eliminate some spills

125->104 cycles on penryn (x86_64 only)

8 years agoFix compilation with --disable-yasm.
Vitor Sessak [Sun, 22 May 2011 11:41:13 +0000 (13:41 +0200)]
Fix compilation with --disable-yasm.

8 years agoFix dct32() compilation with --disable-yasm
Vitor Sessak [Sun, 22 May 2011 10:04:33 +0000 (12:04 +0200)]
Fix dct32() compilation with --disable-yasm

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
8 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Sun, 22 May 2011 02:53:19 +0000 (04:53 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  ffmpeg: get rid of the -vglobal option.
  dct32: Add AVX implementation of 32-point DCT
  dct32: Change pass 6 permutation to allow for AVX implementation
  dct32: port SSE 32-point DCT to YASM
  multiple inclusion guard cleanup
  avio: document buffer must created with av_malloc() and friends
  avio: check AVIOContext malloc failure
  swscale: point out an alternative to sws_getContext
  svq3: Do initialization after parsing the extradata
  add changelog entries for 0.7_beta2
  mp3lame: add #include required for AV_RB32 macro.

Conflicts:
Changelog
libavcodec/svq3.c
libavcodec/x86/dct32_sse.c
libavfilter/vsrc_buffer.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
8 years agompeg2dec: Fix lowres 3
Michael Niedermayer [Sun, 22 May 2011 01:30:01 +0000 (03:30 +0200)]
mpeg2dec: Fix lowres 3

Fixes ticket212

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agolavfi: bump minor and add changelog entry after the split filter addition
Stefano Sabatini [Sat, 21 May 2011 23:34:15 +0000 (01:34 +0200)]
lavfi: bump minor and add changelog entry after the split filter addition

8 years agovf_split: add documentation to filters.texi
Stefano Sabatini [Sat, 21 May 2011 23:32:40 +0000 (01:32 +0200)]
vf_split: add documentation to filters.texi

8 years agovf_split: give more meaningful names to the output pads
Stefano Sabatini [Sat, 21 May 2011 23:32:18 +0000 (01:32 +0200)]
vf_split: give more meaningful names to the output pads

Rename "default" -> "output1", "default2" -> output2.

8 years agovf_split: define draw_slice() before end_frame()
Stefano Sabatini [Sat, 21 May 2011 23:20:53 +0000 (01:20 +0200)]
vf_split: define draw_slice() before end_frame()

Improve logical coherence, fix nit.

8 years agovf_split: add description
Stefano Sabatini [Sat, 21 May 2011 23:19:20 +0000 (01:19 +0200)]
vf_split: add description

8 years agovf_split: fix various nits
Stefano Sabatini [Sat, 21 May 2011 23:18:59 +0000 (01:18 +0200)]
vf_split: fix various nits

8 years agowmadec: avoid infinit loop.
Michael Niedermayer [Sun, 22 May 2011 00:33:03 +0000 (02:33 +0200)]
wmadec: avoid infinit loop.

Fixes ticket183

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoDirectShow capture: Fix build
Ramiro Polla [Sat, 21 May 2011 19:53:15 +0000 (21:53 +0200)]
DirectShow capture: Fix build

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoffmpeg: get rid of the -vglobal option.
Anton Khirnov [Sat, 21 May 2011 10:05:49 +0000 (12:05 +0200)]
ffmpeg: get rid of the -vglobal option.

It's badly documented and does the same thing as -flags global_header,
so it's redundant.

8 years agodct32: Add AVX implementation of 32-point DCT
Vitor Sessak [Sat, 14 May 2011 12:17:15 +0000 (14:17 +0200)]
dct32: Add AVX implementation of 32-point DCT

8 years agodct32: Change pass 6 permutation to allow for AVX implementation
Vitor Sessak [Sat, 14 May 2011 12:16:30 +0000 (14:16 +0200)]
dct32: Change pass 6 permutation to allow for AVX implementation

8 years agodct32: port SSE 32-point DCT to YASM
Vitor Sessak [Tue, 17 May 2011 16:26:01 +0000 (18:26 +0200)]
dct32: port SSE 32-point DCT to YASM

8 years agomatroska: switch stereo mode from int to string and add support in the demuxer too
Kirill Gavrilov [Sat, 21 May 2011 15:14:14 +0000 (17:14 +0200)]
matroska: switch stereo mode from int to string and add support in the demuxer too

8 years agomatroska: cosmetics
Kirill Gavrilov [Sat, 21 May 2011 15:08:53 +0000 (17:08 +0200)]
matroska: cosmetics

8 years agoCreate a stereo_mode metadata tag to specify the stereo 3d video layout using the...
Alok Ahuja [Sun, 24 Apr 2011 05:29:13 +0000 (22:29 -0700)]
Create a stereo_mode metadata tag to specify the stereo 3d video layout using the StereoMode tag in a matroska/webm video track.

8 years agolibavfilter: vf_split from soc.
Bobby Bingham [Sat, 21 May 2011 14:46:11 +0000 (16:46 +0200)]
libavfilter: vf_split from soc.

Commited by michael, for detailed authorship see soc repo

8 years agoDirectShow capture support
Ramiro Polla [Sat, 21 May 2011 12:24:50 +0000 (14:24 +0200)]
DirectShow capture support
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agomultiple inclusion guard cleanup
Diego Biurrun [Tue, 17 May 2011 14:58:04 +0000 (16:58 +0200)]
multiple inclusion guard cleanup

Add missing multiple inclusion guards; clean up #endif comments;
add missing library prefixes; keep guard names consistent.

8 years agoavio: document buffer must created with av_malloc() and friends
Can Wu [Sat, 14 May 2011 09:34:28 +0000 (17:34 +0800)]
avio: document buffer must created with av_malloc() and friends

Else a later buffer resize in ffio_set_buf_size() will ABORT.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agoavio: check AVIOContext malloc failure
Can Wu [Sat, 14 May 2011 09:27:31 +0000 (17:27 +0800)]
avio: check AVIOContext malloc failure

Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agoswscale: point out an alternative to sws_getContext
Clément Bœsch [Thu, 5 May 2011 19:25:46 +0000 (21:25 +0200)]
swscale: point out an alternative to sws_getContext

Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agosvq3: Do initialization after parsing the extradata
Ronald S. Bultje [Fri, 13 May 2011 07:24:31 +0000 (10:24 +0300)]
svq3: Do initialization after parsing the extradata

If done before, some parameters aren't known yet.

With svq3/rtp, initializing before some parameters are known
can lead to calling av_malloc(0), which on OS X currently returns
broken pointers.

8 years agoFix channel_layout documentation.
Carl Eugen Hoyos [Sat, 21 May 2011 09:08:44 +0000 (11:08 +0200)]
Fix channel_layout documentation.

libavformat/riff.c has been writing channel_layout for as long as
the field exists.

8 years agoadd changelog entries for 0.7_beta2
Reinhard Tartler [Thu, 12 May 2011 16:18:54 +0000 (18:18 +0200)]
add changelog entries for 0.7_beta2

8 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Sat, 21 May 2011 03:00:01 +0000 (05:00 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  configure: make executable again
  LATM/AAC: Free previously initialized context on reinit.
  configure: Do not unconditionally add -Wall to host CFLAGS.
  configure: Set OS/2 objformat to a.out.
  Add support for a.out object format to assembler macros.
  fate: disable threading for encoding
  fate: add comment field
  fate: allow overriding default build and install dirs
  mpegtsenc: Add an AVClass pointer to the private data
  mpegaudio: clean up #includes
  mpegaudio: move all header parsing to mpegaudiodecheader.[ch]

Merged-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoffserver: dont just crash
Mike William [Sat, 21 May 2011 02:50:59 +0000 (04:50 +0200)]
ffserver: dont just crash

With changes from ubitux.

8 years agofix ffserver's SIGSEGV
Maksym Veremeyenko [Sat, 21 May 2011 02:39:20 +0000 (04:39 +0200)]
fix ffserver's SIGSEGV

8 years agoavoptions: Support getting flag values using av_get_int
Martin Storsjö [Fri, 20 May 2011 11:59:47 +0000 (14:59 +0300)]
avoptions: Support getting flag values using av_get_int

8 years agopreset dir for win32
Gianluigi Tiesi [Sat, 21 May 2011 01:36:26 +0000 (03:36 +0200)]
preset dir for win32

8 years ago Merge remote-tracking branch 'ffmpeg-mt/master'
Michael Niedermayer [Sat, 21 May 2011 01:11:50 +0000 (03:11 +0200)]
Merge remote-tracking branch 'ffmpeg-mt/master'

    * ffmpeg-mt/master:
      Update todo.
      h264: add an assert that copied pictures are valid picture pointers
      valgrind-check: run with 1 and 3 threads
      h264: When decoding a packet with multiple PPS/SPS, don't start the next thread until all of them have been read
      Allow some pictures to be released earlier after 51ead6d2c40c5defdd211f435aec49b19f5f6a18
      h264: fix slice threading MC reading uninitialized frame edges.

    Please see ffmpeg-mt for a list of authors of these changes.

    Conflicts:
        libavcodec/h264.c
        mt-work/valgrind-check.sh

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoAdd a flag to disable side data merging.
Michael Niedermayer [Sat, 21 May 2011 00:17:10 +0000 (02:17 +0200)]
Add a flag to disable side data merging.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoMerge/split side data.
Michael Niedermayer [Wed, 20 Apr 2011 01:25:48 +0000 (03:25 +0200)]
Merge/split side data.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoEncoding alac with more than two channels is not supported.
Carl Eugen Hoyos [Fri, 20 May 2011 23:11:42 +0000 (01:11 +0200)]
Encoding alac with more than two channels is not supported.

8 years agomp3lame: add #include required for AV_RB32 macro.
Ronald S. Bultje [Fri, 20 May 2011 18:56:44 +0000 (14:56 -0400)]
mp3lame: add #include required for AV_RB32 macro.

Fixes compilation with mp3lame enabled.

8 years agoconfigure: make executable again
Mans Rullgard [Fri, 20 May 2011 17:11:31 +0000 (18:11 +0100)]
configure: make executable again

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agoLATM/AAC: Free previously initialized context on reinit.
Ronald S. Bultje [Fri, 20 May 2011 14:49:20 +0000 (10:49 -0400)]
LATM/AAC: Free previously initialized context on reinit.

Fixes memory leaks which are the result of overwriting already-initialized
MDCT contexts during context reinitialization, e.g. in valgrind
fate-aac-latm_000000001180bc60.

Signed-off-by: Diego Biurrun <diego@biurrun.de>
8 years agoconfigure: Do not unconditionally add -Wall to host CFLAGS.
Diego Biurrun [Mon, 16 May 2011 14:16:14 +0000 (16:16 +0200)]
configure: Do not unconditionally add -Wall to host CFLAGS.

Some compilers choke on -Wall, so only add the flag after checking it works.

8 years agoconfigure: Set OS/2 objformat to a.out.
Dave Yeo [Fri, 20 May 2011 15:26:52 +0000 (17:26 +0200)]
configure: Set OS/2 objformat to a.out.

Signed-off-by: Diego Biurrun <diego@biurrun.de>
8 years agoAdd support for a.out object format to assembler macros.
Dave Yeo [Fri, 20 May 2011 15:33:38 +0000 (17:33 +0200)]
Add support for a.out object format to assembler macros.

This format is still used by e.g. OS/2.

Signed-off-by: Diego Biurrun <diego@biurrun.de>
8 years agofate: disable threading for encoding
Mans Rullgard [Fri, 20 May 2011 11:57:12 +0000 (12:57 +0100)]
fate: disable threading for encoding

This explicitly disables threading for encoding as slices are otherwise
automatically activated.  This should be dropped once option resetting
between files is fully implemented.

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agofate: add comment field
Mans Rullgard [Fri, 20 May 2011 11:47:42 +0000 (12:47 +0100)]
fate: add comment field

This adds a comment field to the report header, suitable for
extra information not covered by the automatic fields.

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agofate: allow overriding default build and install dirs
Mans Rullgard [Fri, 20 May 2011 11:06:51 +0000 (12:06 +0100)]
fate: allow overriding default build and install dirs

This is useful e.g. for building in a different filesystem than
where the source is kept.

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agompegtsenc: Add an AVClass pointer to the private data
Martin Storsjö [Fri, 20 May 2011 08:33:57 +0000 (11:33 +0300)]
mpegtsenc: Add an AVClass pointer to the private data

Since a private class is set for this muxer, the callers will
assume that the private data starts with an AVClass pointer.
If no such member exists, the first few bytes of the struct
will be overwritten, and the class pointer may be broken at
any later time.

Signed-off-by: Martin Storsjö <martin@martin.st>
8 years agompegaudio: clean up #includes
Mans Rullgard [Thu, 19 May 2011 12:27:24 +0000 (13:27 +0100)]
mpegaudio: clean up #includes

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agompegaudio: move all header parsing to mpegaudiodecheader.[ch]
Mans Rullgard [Thu, 19 May 2011 12:44:11 +0000 (13:44 +0100)]
mpegaudio: move all header parsing to mpegaudiodecheader.[ch]

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agovf_libopencv: prefer opencv/cxcore.h over cxtypes.h
Stefano Sabatini [Fri, 20 May 2011 09:36:16 +0000 (11:36 +0200)]
vf_libopencv: prefer opencv/cxcore.h over cxtypes.h

Require the presence of opencv/cxcore.h in place of opencv/cxtypes.h,
which has been removed. Fix compilation with libopencv > 2.1.0.

Fix trac issue #221.

8 years agodecoders.texi: fix typos in rawvideo section
Stefano Sabatini [Fri, 20 May 2011 08:12:42 +0000 (10:12 +0200)]
decoders.texi: fix typos in rawvideo section

8 years agocmdutils: use const AVClass * when senseful
Stefano Sabatini [Thu, 19 May 2011 19:41:50 +0000 (21:41 +0200)]
cmdutils: use const AVClass * when senseful

Fix warnings:
cmdutils.c: In function ‘opt_default’:
cmdutils.c:304: warning: initialization discards qualifiers from pointer target type
cmdutils.c: In function ‘set_context_opts’:
cmdutils.c:431: warning: passing argument 2 of ‘alloc_priv_context’ discards qualifiers from pointer target type
cmdutils.c:414: note: expected ‘struct AVClass *’ but argument is of type ‘const struct AVClass *’

8 years agoencoders.texi: add documentation for the libx264 encoder
Stefano Sabatini [Thu, 19 May 2011 19:14:37 +0000 (21:14 +0200)]
encoders.texi: add documentation for the libx264 encoder

Also remove -x264opts item from the ffmpeg manual, since it belongs to
the encoders section.

8 years agodecoders.texi: add documentation for rawvideo decoder and options
Stefano Sabatini [Thu, 19 May 2011 18:51:28 +0000 (20:51 +0200)]
decoders.texi: add documentation for rawvideo decoder and options

8 years agodoc: add decoders.texi file
Stefano Sabatini [Thu, 19 May 2011 18:34:56 +0000 (20:34 +0200)]
doc: add decoders.texi file

8 years agoencoders.texi: decrease level for audio encoders section
Stefano Sabatini [Thu, 19 May 2011 17:41:19 +0000 (19:41 +0200)]
encoders.texi: decrease level for audio encoders section

Make Audio Encoders a separate chapter, and decrese the contained
sections level by one.

Improve rendering, and improve consistency with the other parts of the
manual.

8 years agoffprobe.texi: remove inclusion of muxers section
Stefano Sabatini [Thu, 19 May 2011 19:14:09 +0000 (21:14 +0200)]
ffprobe.texi: remove inclusion of muxers section

Muxers are not used by ffprobe.

8 years agoindeo3: release buffer in indeo3_decode_end()
Stefano Sabatini [Tue, 17 May 2011 11:01:21 +0000 (13:01 +0200)]
indeo3: release buffer in indeo3_decode_end()

Fix leak.

8 years agoindeo3: remove unnecessary includes
Stefano Sabatini [Tue, 17 May 2011 18:25:06 +0000 (20:25 +0200)]
indeo3: remove unnecessary includes

8 years agoindeo3: add @file doxy and a link to multimedia wiki documentation
Stefano Sabatini [Tue, 17 May 2011 18:22:48 +0000 (20:22 +0200)]
indeo3: add @file doxy and a link to multimedia wiki documentation

8 years agocmdutils: reset *picref_ptr to NULL in get_filtered_frame()
Stefano Sabatini [Thu, 19 May 2011 22:58:00 +0000 (00:58 +0200)]
cmdutils: reset *picref_ptr to NULL in get_filtered_frame()

Avoid the presence of an invalid pointer, fix a crash in case of
get_filtered_frame() failure.

8 years agoffmpeg: remove useless NULL-check on avfilter_unref_buffer
Stefano Sabatini [Thu, 19 May 2011 17:01:38 +0000 (19:01 +0200)]
ffmpeg: remove useless NULL-check on avfilter_unref_buffer

The check is no more required since recent changes in the
avfilter_unref_buffer(), the check is done in the function.
Simplify.

8 years agolibmp3lame: include "libavutil/intreadwrite.h" header
Stefano Sabatini [Fri, 20 May 2011 07:33:57 +0000 (09:33 +0200)]
libmp3lame: include "libavutil/intreadwrite.h" header

Fix compilation.

8 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Fri, 20 May 2011 03:42:04 +0000 (05:42 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  qdm2: Use floating point synthesis filter.
  h264: correct border check.
  h264: fix loopfilter with threading at slice boundaries.
  Fix ff_mpa_synth_filter_fixed() prototype
  Rename costablegen.c ---> cos_tablegen.c.
  Collapse tableprint.c into tableprint.h.
  Simplify trig table rules
  Remove potentially unstable filenames from comments in generated files.
  Ignore generated tables and generated table generator programs.
  Simplify CLEANFILES make variable by using wildcards.
  Remove silly insults from avformat_version() Doxygen documentation.
  mpegaudiodsp: fix x86 and ppc makefiles
  configure: Adjust AVX assembler check.
  mpegaudio: remove unused version of SAME_HEADER_MASK
  mpegaudio: remove useless #undef at end of file
  asfdec: add missing #include for av_bswap32()
  mpegaudio: merge two #if CONFIG_FLOAT blocks
  mpegaudio: move some struct definitions from mpegaudio.h
  Move some mpegaudio functions to new mpegaudiodsp subsystem

Conflicts:
libavcodec/h264.c
libavcodec/x86/Makefile

Merged-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoqdm2: Use floating point synthesis filter.
Vitor Sessak [Thu, 19 May 2011 19:33:27 +0000 (21:33 +0200)]
qdm2: Use floating point synthesis filter.

This avoid needlessly convertion from floating point to fixed point and back.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
8 years agoh264: correct border check.
Ronald S. Bultje [Thu, 19 May 2011 20:47:59 +0000 (16:47 -0400)]
h264: correct border check.

When backing up the top-left border, check that the top-left
(rather than left) MB indeed does belong to our slice. If it
doesn't, backing up has no positive effect but may accidentally
interfere with other threads writing in the same space.

Fixes occasional one-off effects when enabling slice-MT.

8 years agoh264: fix loopfilter with threading at slice boundaries.
Ronald S. Bultje [Wed, 18 May 2011 12:10:49 +0000 (08:10 -0400)]
h264: fix loopfilter with threading at slice boundaries.

8 years agoFix ff_mpa_synth_filter_fixed() prototype
Mans Rullgard [Thu, 19 May 2011 19:46:24 +0000 (20:46 +0100)]
Fix ff_mpa_synth_filter_fixed() prototype

The prototype should use the same typedefs as the definition, or it
will fail where int32_t is not int (DOS apparently).

Signed-off-by: Mans Rullgard <mans@mansr.com>