ffmpeg.git
8 years agolavf: inspect more frames for fps when container time base is coarse
Anssi Hannula [Mon, 28 Feb 2011 00:20:56 +0000 (02:20 +0200)]
lavf: inspect more frames for fps when container time base is coarse

As per issue2629, most 23.976fps matroska H.264 files are incorrectly
detected as 24fps, as the matroska timestamps usually have only
millisecond precision.

Fix that by doubling the amount of timestamps inspected for frame rate
for streams that have coarse time base. This also fixes 29.970 detection
in matroska.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoMerge remote branch 'qatar/master'
Michael Niedermayer [Sun, 3 Apr 2011 00:28:01 +0000 (02:28 +0200)]
Merge remote branch 'qatar/master'

* qatar/master:
  Fixed-point MDCT with 32-bit unscaled output
  lavc: deprecate rate_emu
  lavc: mark hurry_up for removal on next major bump
  parser: mark av_parser_parse() for removal on next major bump
  lavc: add missing audioconvert includes
  jvdec: don't use deprecated CODEC_TYPE_*/PKT_FLAG_KEY

Conflicts:
libavcodec/h264.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoRevert "configure: use dlltools instead of lib.exe"
Michael Niedermayer [Sun, 3 Apr 2011 00:06:31 +0000 (02:06 +0200)]
Revert "configure: use dlltools instead of lib.exe"
Reason, is this was requested by the windows experts / seems dlltool causes alot of problems

This reverts commit ec10a9ab461b26b96eff7bbbb8623f42d8ee04ad.

Conflicts:

configure

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoFixed-point MDCT with 32-bit unscaled output
Mans Rullgard [Mon, 21 Mar 2011 17:52:34 +0000 (17:52 +0000)]
Fixed-point MDCT with 32-bit unscaled output

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agoyadif:Fix assert() failure
Michael Niedermayer [Sat, 2 Apr 2011 18:26:39 +0000 (20:26 +0200)]
yadif:Fix assert() failure

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agodpx:fix typo
Michael Niedermayer [Sat, 2 Apr 2011 17:26:47 +0000 (19:26 +0200)]
dpx:fix typo

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agocosmetics: indentation
Peter Ross [Sat, 2 Apr 2011 04:59:44 +0000 (15:59 +1100)]
cosmetics: indentation

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agodpx encoder: support 10-bit packing method
Peter Ross [Sat, 2 Apr 2011 04:59:28 +0000 (15:59 +1100)]
dpx encoder: support 10-bit packing method

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agodpx decoder: read sample aspect ratio
Peter Ross [Fri, 1 Apr 2011 12:23:28 +0000 (23:23 +1100)]
dpx decoder: read sample aspect ratio

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoH264: fix slice end error detection
Michael Niedermayer [Sat, 2 Apr 2011 15:59:10 +0000 (17:59 +0200)]
H264: fix slice end error detection
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoh264: change a few comments into error messages
Michael Niedermayer [Sat, 2 Apr 2011 15:57:53 +0000 (17:57 +0200)]
h264: change a few comments into error messages
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agolavc: deprecate rate_emu
Anton Khirnov [Sat, 2 Apr 2011 10:51:28 +0000 (12:51 +0200)]
lavc: deprecate rate_emu

It's not used anywhere and apparrently hasn't been for a very long time.

8 years agolavc: mark hurry_up for removal on next major bump
Anton Khirnov [Sat, 2 Apr 2011 09:56:21 +0000 (11:56 +0200)]
lavc: mark hurry_up for removal on next major bump

It has been deprecated for about five years, skip_idct/skip_frame should
be used instead.

8 years agoparser: mark av_parser_parse() for removal on next major bump
Anton Khirnov [Sat, 2 Apr 2011 09:55:04 +0000 (11:55 +0200)]
parser: mark av_parser_parse() for removal on next major bump

Fixes build with the bump, since the prototype is already marked for
removal.

8 years agolavc: add missing audioconvert includes
Anton Khirnov [Sat, 2 Apr 2011 09:50:10 +0000 (11:50 +0200)]
lavc: add missing audioconvert includes

8 years agojvdec: don't use deprecated CODEC_TYPE_*/PKT_FLAG_KEY
Anton Khirnov [Sat, 2 Apr 2011 09:35:14 +0000 (11:35 +0200)]
jvdec: don't use deprecated CODEC_TYPE_*/PKT_FLAG_KEY

8 years agoFix stream mapping regression
Michael Niedermayer [Sat, 2 Apr 2011 14:09:47 +0000 (16:09 +0200)]
Fix stream mapping regression

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agodrawtext: extend/clarify examples in the filter description
Stefano Sabatini [Sat, 2 Apr 2011 09:42:16 +0000 (11:42 +0200)]
drawtext: extend/clarify examples in the filter description

8 years agodrawtext: fix wrong reference in boxcolor option description
Stefano Sabatini [Sat, 2 Apr 2011 09:29:43 +0000 (11:29 +0200)]
drawtext: fix wrong reference in boxcolor option description

8 years agodrawtext: add documentation for the shadow parameters
Stefano Sabatini [Sat, 2 Apr 2011 09:27:09 +0000 (11:27 +0200)]
drawtext: add documentation for the shadow parameters

8 years agodrawtext: allow negative shadow offset values
Stefano Sabatini [Sat, 2 Apr 2011 09:26:41 +0000 (11:26 +0200)]
drawtext: allow negative shadow offset values

8 years agoMerge remote branch 'qatar/master'
Michael Niedermayer [Fri, 1 Apr 2011 23:51:44 +0000 (01:51 +0200)]
Merge remote branch 'qatar/master'

* qatar/master:
  ac3enc: ARM optimised ac3_compute_matissa_size
  ac3: armv6 optimised bit_alloc_calc_bap
  fate: simplify fft test rules
  avio: document avio_alloc_context.
  lavf: make compute_chapters_end less picky.
  sierravmd: fix Indeo3 videos
  FFT: simplify fft8()
  fate: add fixed-point fft/mdct tests
  Fixed-point support in fft-test
  ape: check that number of seektable entries is equal to number of frames

Merged-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoTimeout TCP open() after 5 seconds.
Michael Niedermayer [Fri, 1 Apr 2011 22:29:07 +0000 (00:29 +0200)]
Timeout TCP open() after 5 seconds.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoFix compilation with --disable-vdpau
Carl Eugen Hoyos [Fri, 1 Apr 2011 22:50:39 +0000 (00:50 +0200)]
Fix compilation with --disable-vdpau

8 years agoMake a plausibility check when setting channel layout for TrueHD.
Carl Eugen Hoyos [Fri, 1 Apr 2011 22:48:43 +0000 (00:48 +0200)]
Make a plausibility check when setting channel layout for TrueHD.

TrueHD supports more channels than FFmpeg, so a valid sample
could set the channel layout to a value that represents less
channels than the sample actually consists of.

8 years agoMatch the documentation of -s with the current implementation.
Carl Eugen Hoyos [Fri, 1 Apr 2011 22:24:26 +0000 (00:24 +0200)]
Match the documentation of -s with the current implementation.

8 years agoac3enc: ARM optimised ac3_compute_matissa_size
Mans Rullgard [Fri, 11 Mar 2011 17:25:45 +0000 (17:25 +0000)]
ac3enc: ARM optimised ac3_compute_matissa_size

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agoac3: armv6 optimised bit_alloc_calc_bap
Mans Rullgard [Fri, 11 Mar 2011 02:50:57 +0000 (02:50 +0000)]
ac3: armv6 optimised bit_alloc_calc_bap

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agofate: simplify fft test rules
Mans Rullgard [Thu, 31 Mar 2011 15:46:36 +0000 (16:46 +0100)]
fate: simplify fft test rules

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agoavio: document avio_alloc_context.
Anton Khirnov [Thu, 31 Mar 2011 11:57:48 +0000 (13:57 +0200)]
avio: document avio_alloc_context.

8 years agolavf: make compute_chapters_end less picky.
Anton Khirnov [Fri, 1 Apr 2011 01:02:02 +0000 (03:02 +0200)]
lavf: make compute_chapters_end less picky.

In particular, now it assumes that
a) chapters are chronologically ordered
b) chapters have the same timebases
c) duration of the stream is known
and asserts if any of these is not met.

Make it properly deal with harsher conditions.

fixes issue2320

8 years agoFix doxy-style for comment ("///>" should be "///<" instead).
Reimar Döffinger [Fri, 1 Apr 2011 17:42:31 +0000 (19:42 +0200)]
Fix doxy-style for comment ("///>" should be "///<" instead).

8 years agosierravmd: fix Indeo3 videos
Matthew Hoops [Thu, 31 Mar 2011 14:42:22 +0000 (10:42 -0400)]
sierravmd: fix Indeo3 videos

Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agoAllow selecting VDPAU, XvMC via get_format for MPEG-2
Reimar Döffinger [Mon, 28 Mar 2011 20:33:58 +0000 (22:33 +0200)]
Allow selecting VDPAU, XvMC via get_format for MPEG-2

To avoid further special-casing, dummy AVHWAccels are added
for VDPAU.
It should be possible to move VDPAU completely to AVHWAccel later.

8 years agoFFT: simplify fft8()
Mans Rullgard [Sun, 27 Mar 2011 13:49:55 +0000 (14:49 +0100)]
FFT: simplify fft8()

Part of the fft8() function corresponds to the BUTTERFLIES macro,
so use it.

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agoAnother aspect ratio fix try. This leaves the setdar addition at the end (preferred...
Michael Niedermayer [Fri, 1 Apr 2011 15:30:45 +0000 (17:30 +0200)]
Another aspect ratio fix try. This leaves the setdar addition at the end (preferred by people).

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoMove flv format #defines to common header so they can be used by the encoder too.
Michael Niedermayer [Fri, 1 Apr 2011 11:45:39 +0000 (13:45 +0200)]
Move flv format #defines to common header so they can be used by the encoder too.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agofate: add fixed-point fft/mdct tests
Mans Rullgard [Thu, 31 Mar 2011 15:02:25 +0000 (16:02 +0100)]
fate: add fixed-point fft/mdct tests

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agoFixed-point support in fft-test
Mans Rullgard [Wed, 30 Mar 2011 20:13:21 +0000 (21:13 +0100)]
Fixed-point support in fft-test

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agoIncrease ffmpeg video encoding buffer size to permit encoding of DPX images
Peter Ross [Fri, 1 Apr 2011 12:11:52 +0000 (23:11 +1100)]
Increase ffmpeg video encoding buffer size to permit encoding of DPX images

The header generated by the DPX encoder is 1664 bytes.

8 years agoAdd .dpx to the list of supported file extensions for the image2 muxer
Peter Ross [Fri, 1 Apr 2011 12:11:24 +0000 (23:11 +1100)]
Add .dpx to the list of supported file extensions for the image2 muxer

8 years agoDPX image encoder
Peter Ross [Sat, 26 Mar 2011 04:12:35 +0000 (15:12 +1100)]
DPX image encoder

8 years agoCleanup flv keyframe index reading and add some saftey checks.
Michael Niedermayer [Fri, 1 Apr 2011 11:33:51 +0000 (13:33 +0200)]
Cleanup flv keyframe index reading and add some saftey checks.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoFix undefined behavior in ffv1 with insane widths.
Michael Niedermayer [Fri, 1 Apr 2011 10:46:36 +0000 (12:46 +0200)]
Fix undefined behavior in ffv1 with insane widths.
The new tables is large enough to prevent this together with our image size checks.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoape: check that number of seektable entries is equal to number of frames
Kostya Shishkov [Fri, 1 Apr 2011 07:26:38 +0000 (09:26 +0200)]
ape: check that number of seektable entries is equal to number of frames

fixes issue2480

Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agoMerge remote-tracking branch 'newdev/master'
Michael Niedermayer [Fri, 1 Apr 2011 00:55:29 +0000 (02:55 +0200)]
Merge remote-tracking branch 'newdev/master'

* newdev/master:
  mpegts: propagate avio EOF in read_packet()
  configure: Initial support for --target-os=symbian
  Fixed-point FFT and MDCT
  Include dependencies for test programs
  ac3enc: simplify sym_quant()
  flvdec: read index stored in the 'keyframes' tag.
  mov: Add support for zero-sized stsc runs.

Merged-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoInsert setdar at the begin of a filter chain instead the end.
Michael Niedermayer [Fri, 1 Apr 2011 00:13:51 +0000 (02:13 +0200)]
Insert setdar at the begin of a filter chain instead the end.
This fixes -vf setsar

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoRevert "Remove support for stripping executables"
Michael Niedermayer [Thu, 31 Mar 2011 22:24:12 +0000 (00:24 +0200)]
Revert "Remove support for stripping executables"

People did not like this change.

This reverts commit e0be794a71be25a350f68287ee291b4942bcb7d8.

8 years agomake image2 muxer/demuxer support sequence of individual rawvideo files
Peter Ross [Wed, 30 Mar 2011 07:06:10 +0000 (18:06 +1100)]
make image2 muxer/demuxer support sequence of individual rawvideo files

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoimg2: stop using CODEC_ID_RAWVIDEO to trigger processing of independant y/u/v image...
Peter Ross [Wed, 30 Mar 2011 07:03:40 +0000 (18:03 +1100)]
img2: stop using CODEC_ID_RAWVIDEO to trigger processing of independant y/u/v image files

This is requireed, as img2 will be modified soon to support .raw image file sequences.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agompegts: propagate avio EOF in read_packet()
Jindrich Makovicka [Thu, 31 Mar 2011 14:58:50 +0000 (16:58 +0200)]
mpegts: propagate avio EOF in read_packet()

Allows distinguishing between EOF and IO error in read_packet return code.

Signed-off-by: Jindrich Makovicka <makovick@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agoALSA: fix a stupid bad use of av_freep.
Nicolas George [Thu, 31 Mar 2011 16:49:07 +0000 (18:49 +0200)]
ALSA: fix a stupid bad use of av_freep.

It caused a segfault when channel reordering was in use and the last chunk
of data was not silent.
Spotted and diagnosed by Carl Eugen Hoyos.

8 years agoconfigure: Initial support for --target-os=symbian
Martin Storsjö [Tue, 25 Jan 2011 08:48:38 +0000 (10:48 +0200)]
configure: Initial support for --target-os=symbian

Signed-off-by: Martin Storsjö <martin@martin.st>
8 years agoFixed-point FFT and MDCT
Mans Rullgard [Sat, 26 Mar 2011 15:20:30 +0000 (15:20 +0000)]
Fixed-point FFT and MDCT

8 years agoInclude dependencies for test programs
Mans Rullgard [Wed, 30 Mar 2011 20:23:04 +0000 (21:23 +0100)]
Include dependencies for test programs

This makes sure the various *-test programs are correctly rebuilt
when necessary.

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agoac3enc: simplify sym_quant()
Mans Rullgard [Thu, 31 Mar 2011 00:28:08 +0000 (01:28 +0100)]
ac3enc: simplify sym_quant()

These expressions are equivalent since levels is always odd, and
overflow is impossible due to the constraints set by the assert().

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agoMerge remote-tracking branch 'newdev/master'
Michael Niedermayer [Thu, 31 Mar 2011 10:47:35 +0000 (12:47 +0200)]
Merge remote-tracking branch 'newdev/master'

* newdev/master:
  rtsp: Use GET_PARAMETER for keep-alive for generic RTSP servers
  mlp_parse.c: set AVCodecContext channel_layout
  APIChanges: mark the place where 0.6 was branched.
  avio: make get_checksum() internal.
  avio: move ff_crc04C11DB7_update() from avio.h -> avio_internal.h
  avio: make init_checksum() internal.
NOT MERGED  Add MxPEG decoder
NOT MERGED  Add support for picture_ptr field in MJpegDecodeContext
NOT MERGED  Move MJPEG's input buffer preprocessing in separate public function
NOT MERGED  Support reference picture defined by bitmask in MJPEG's SOS decoder
  sndio bug fix

Merged-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoflvdec: read index stored in the 'keyframes' tag.
Kharkov Alexander [Fri, 18 Mar 2011 07:26:51 +0000 (08:26 +0100)]
flvdec: read index stored in the 'keyframes' tag.

'keyframes' metatag is not part of the standard, it is just
convention to use such kind of metatag information for indexing.
Structure is following, it allows to have it inconsistent:
keyframes:
 times (array):
  time0 (num)
  time1 (num)
  time2 (num)
 filepositions (array)
  position0 (num)
  position1 (num)

Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agomov: Add support for zero-sized stsc runs.
Alex Converse [Mon, 28 Mar 2011 20:54:18 +0000 (13:54 -0700)]
mov: Add support for zero-sized stsc runs.

A zero sized stsc run doesn't make a lot of sense but the spec does not
prohibit them and MPlayer VLC demuxers support them.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agoRevert "Do no modify terminal parameters using termios.h"
Michael Niedermayer [Wed, 30 Mar 2011 18:58:13 +0000 (20:58 +0200)]
Revert "Do no modify terminal parameters using termios.h"

This reverts commit cb48e245e6e770f146220fac0a8bd4dc1a5e006c.

Reason being we like pressing "q" to quit ffmpeg.

Conflicts:

ffmpeg.c

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoIn ipod/mov/mp4 muxer, always write esds descriptor length using 4 bytes,
Baptiste Coudurier [Wed, 30 Mar 2011 21:08:16 +0000 (14:08 -0700)]
In ipod/mov/mp4 muxer, always write esds descriptor length using 4 bytes,
ipod shuffle doesn't support anything else.

8 years agortsp: Use GET_PARAMETER for keep-alive for generic RTSP servers
Martin Storsjö [Wed, 30 Mar 2011 20:35:28 +0000 (23:35 +0300)]
rtsp: Use GET_PARAMETER for keep-alive for generic RTSP servers

According to the RFC, GET_PARAMETER should be used for
this, and according to a report from Tim Ouellette,
OPTIONS doesn't work for keeping the connection alive for some
servers. Also, live555 uses GET_PARAMETER for this purpose.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
8 years agogradfun: add notice from the MPlayer manual
Stefano Sabatini [Tue, 29 Mar 2011 22:15:34 +0000 (00:15 +0200)]
gradfun: add notice from the MPlayer manual

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

8 years agodocumentation: add setdar and setsar description to filters.texi
Stefano Sabatini [Sat, 26 Mar 2011 15:14:15 +0000 (16:14 +0100)]
documentation: add setdar and setsar description to filters.texi

8 years agographparser: add a NULL check on the argument passed to strstr
Stefano Sabatini [Wed, 30 Mar 2011 19:30:31 +0000 (21:30 +0200)]
graphparser: add a NULL check on the argument passed to strstr

Fix crash in create_filter() which occurrs if a scale filter with no
args is provided.

8 years agoFix typo from e3a84542.
Michael Niedermayer [Wed, 30 Mar 2011 18:25:32 +0000 (20:25 +0200)]
Fix typo from e3a84542.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoFix dnxhd custom options, add AVClass in private context
Baptiste Coudurier [Wed, 30 Mar 2011 15:47:30 +0000 (08:47 -0700)]
Fix dnxhd custom options, add AVClass in private context

8 years agoIn mov muxer, fix yuv range in avid atoms used by dnxhd.
Baptiste Coudurier [Wed, 23 Mar 2011 17:22:05 +0000 (10:22 -0700)]
In mov muxer, fix yuv range in avid atoms used by dnxhd.

8 years agomlp_parse.c: set AVCodecContext channel_layout
John Stebbins [Sat, 26 Mar 2011 02:34:19 +0000 (19:34 -0700)]
mlp_parse.c: set AVCodecContext channel_layout

The channel layout isn't getting set for mlp and truehd audio.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agoAPIChanges: mark the place where 0.6 was branched.
Anton Khirnov [Wed, 30 Mar 2011 14:57:08 +0000 (16:57 +0200)]
APIChanges: mark the place where 0.6 was branched.

8 years agovaapi: allow build against older VA-API 0.31.
Gwenole Beauchesne [Wed, 30 Mar 2011 07:29:34 +0000 (09:29 +0200)]
vaapi: allow build against older VA-API 0.31.

8 years agovaapi: require version >= 0.32.0.
Gwenole Beauchesne [Wed, 30 Mar 2011 07:21:04 +0000 (09:21 +0200)]
vaapi: require version >= 0.32.0.

8 years agovaapi: move configure check down.
Gwenole Beauchesne [Wed, 30 Mar 2011 07:19:50 +0000 (09:19 +0200)]
vaapi: move configure check down.

8 years agoRemove a memory allocation and the associated memcpy.
Sven C. Dack [Wed, 30 Mar 2011 15:02:29 +0000 (17:02 +0200)]
Remove a memory allocation and the associated memcpy.

8 years agoh264: permit h264 decoder to be compiled when svq3 decoder is disabled
Peter Ross [Wed, 30 Mar 2011 05:39:24 +0000 (16:39 +1100)]
h264: permit h264 decoder to be compiled when svq3 decoder is disabled

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoSWSCALE: Increase maximim with from 5120 to 21504
Frank Barchard [Wed, 30 Mar 2011 06:56:17 +0000 (23:56 -0700)]
SWSCALE: Increase maximim with from 5120 to 21504

Heres a benchmark

VOFW 5120  VOFW 21504    Note
10438.8    10344.2       timex ffmpeg -y -i tulip2.mp4 tulip2.yuv
25611.9    24256.9       timex ffmpeg -y -itulip2.mp4 -s 1272x724 tulip2.yuv
24485.7    26006.6
28573.1    24291.3
24069.1    26995.9
25684.95   25387.675     average

This is on a Nehalem i7.  Despite being a 500 frame, 720p video, the numbers
fluctuate, so I took an average of 4 runs.

Another reason I'd like this change is youtube accepts videos with higher
resolutions than 5120.
16384 is vp8's maximum resolution, so that should keep us amused for a
little longer.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoA few points for the changelog
Michael Niedermayer [Sun, 27 Mar 2011 01:06:24 +0000 (03:06 +0200)]
A few points for the changelog

8 years agoFix compilation with win32 threads.after 'unbreak avcodec_thread_init'
Maksym Veremeyenko [Wed, 30 Mar 2011 10:36:15 +0000 (12:36 +0200)]
Fix compilation with win32 threads.after 'unbreak avcodec_thread_init'

8 years agoAlso use alsa_reorder_s16_out_51() for AV_CH_LAYOUT_5POINT1.
Carl Eugen Hoyos [Sat, 26 Mar 2011 23:32:47 +0000 (00:32 +0100)]
Also use alsa_reorder_s16_out_51() for AV_CH_LAYOUT_5POINT1.

8 years agoFix buffer overflow checks to avoid integer overflows.
Reimar Döffinger [Tue, 29 Mar 2011 19:14:55 +0000 (21:14 +0200)]
Fix buffer overflow checks to avoid integer overflows.

8 years agoavio: make get_checksum() internal.
Anton Khirnov [Thu, 17 Mar 2011 12:04:38 +0000 (13:04 +0100)]
avio: make get_checksum() internal.

8 years agoavio: move ff_crc04C11DB7_update() from avio.h -> avio_internal.h
Anton Khirnov [Thu, 17 Mar 2011 12:02:54 +0000 (13:02 +0100)]
avio: move ff_crc04C11DB7_update() from avio.h -> avio_internal.h

8 years agoavio: make init_checksum() internal.
Anton Khirnov [Thu, 17 Mar 2011 11:56:25 +0000 (12:56 +0100)]
avio: make init_checksum() internal.

8 years agoAdd MxPEG decoder
anatoly [Mon, 28 Mar 2011 16:02:19 +0000 (20:02 +0400)]
Add MxPEG decoder

Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agoAdd support for picture_ptr field in MJpegDecodeContext
anatoly [Sun, 27 Mar 2011 20:16:25 +0000 (22:16 +0200)]
Add support for picture_ptr field in MJpegDecodeContext

Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agoMove MJPEG's input buffer preprocessing in separate public function
anatoly [Sun, 27 Mar 2011 20:16:24 +0000 (22:16 +0200)]
Move MJPEG's input buffer preprocessing in separate public function

Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agoSupport reference picture defined by bitmask in MJPEG's SOS decoder
anatoly [Sun, 27 Mar 2011 20:16:23 +0000 (22:16 +0200)]
Support reference picture defined by bitmask in MJPEG's SOS decoder

Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agosndio bug fix
Brad [Tue, 29 Mar 2011 23:37:57 +0000 (19:37 -0400)]
sndio bug fix

Since the code already supports both little- and big-endian
audio for recording, do not fail just because the endianness is not
what we expect.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
8 years agoMerge remote-tracking branch 'newdev/master'
Michael Niedermayer [Wed, 30 Mar 2011 01:01:41 +0000 (03:01 +0200)]
Merge remote-tracking branch 'newdev/master'

* newdev/master:
  ac3enc: move compute_mantissa_size() to ac3dsp
  ac3enc: move mant*_cnt and qmant*_ptr out of AC3EncodeContext
  Remove support for stripping executables
  ac3enc: NEON optimised float_to_fixed24
  ac3: move ff_ac3_bit_alloc_calc_bap to ac3dsp
  dfa: protect pointer range checks against overflows.
Duplicate:  mimic: implement multithreading.

Merged-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoMerge remote-tracking branch 'ffmpeg-mt/master'
Michael Niedermayer [Wed, 30 Mar 2011 00:58:38 +0000 (02:58 +0200)]
Merge remote-tracking branch 'ffmpeg-mt/master'

* ffmpeg-mt/master:
  Update todo. More items appeared...
  Fix mdec
Duplicate:  id3v1: change filesize to int64_t.
Duplicate:  id3v1: Seek back to old position after reading.

Conflicts:
    libavcodec/mpegvideo.c
    libavcodec/snow.c
    libavformat/id3v1.c

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoac3enc: move compute_mantissa_size() to ac3dsp
Mans Rullgard [Fri, 11 Mar 2011 17:16:27 +0000 (17:16 +0000)]
ac3enc: move compute_mantissa_size() to ac3dsp

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agoac3enc: move mant*_cnt and qmant*_ptr out of AC3EncodeContext
Mans Rullgard [Sun, 13 Mar 2011 16:22:07 +0000 (16:22 +0000)]
ac3enc: move mant*_cnt and qmant*_ptr out of AC3EncodeContext

These fields are only used in quantize_mantissas() and reset
on each call, no need to store them in the main context.

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agomp: add filter description to filters.texi
Stefano Sabatini [Sun, 27 Mar 2011 22:14:41 +0000 (00:14 +0200)]
mp: add filter description to filters.texi

8 years agoRemove support for stripping executables
Mans Rullgard [Tue, 29 Mar 2011 19:50:26 +0000 (20:50 +0100)]
Remove support for stripping executables

Stripping is generally best left to package management tools, and
since unstripped copies are kept in the build tree, any arguments
about saving space (no matter how insignificant) are void.

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agoac3enc: NEON optimised float_to_fixed24
Mans Rullgard [Tue, 29 Mar 2011 01:30:13 +0000 (02:30 +0100)]
ac3enc: NEON optimised float_to_fixed24

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agoac3: move ff_ac3_bit_alloc_calc_bap to ac3dsp
Mans Rullgard [Fri, 11 Mar 2011 02:49:55 +0000 (02:49 +0000)]
ac3: move ff_ac3_bit_alloc_calc_bap to ac3dsp

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agosndio: allow any endianness when recording
Reimar Döffinger [Tue, 29 Mar 2011 18:20:29 +0000 (20:20 +0200)]
sndio: allow any endianness when recording

Since the code already supports both little- and big-endian
audio for recording, do not fail just because the endianness is not
what we expect.
It is possible that 8-bit recording would not have worked at all on
some systems without that change.

8 years agoSimplify: Use FFMIN.
Reimar Döffinger [Tue, 29 Mar 2011 18:18:45 +0000 (20:18 +0200)]
Simplify: Use FFMIN.

8 years agodfa: protect pointer range checks against overflows.
Ronald S. Bultje [Tue, 29 Mar 2011 14:14:44 +0000 (07:14 -0700)]
dfa: protect pointer range checks against overflows.

8 years agovaapi: filter out DELAYED_PIC_REF flag to determine field.
Gwenole Beauchesne [Mon, 28 Mar 2011 13:55:41 +0000 (15:55 +0200)]
vaapi: filter out DELAYED_PIC_REF flag to determine field.

This fixes ticket #23.