Peter Ross [Sat, 9 Apr 2011 11:49:45 +0000 (13:49 +0200)]
pixfmt: add PIX_FMT_BGR48LE and PIX_FMT_BGR48BE
PIX_FMT_BGR48LE is used by PhantomCINE demuxer.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Clément Bœsch [Mon, 4 Apr 2011 22:29:01 +0000 (00:29 +0200)]
oggdec: fix demuxing chained audio streams
Chained ogg served by icecast and mpd should demux
properly now.
Fixes issue2337
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Compn [Sat, 9 Apr 2011 11:49:56 +0000 (13:49 +0200)]
fix typo
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Alex Converse [Fri, 8 Apr 2011 21:35:17 +0000 (14:35 -0700)]
daud: Don't write packets that are too large to have their size expressed in the bytestream.
Alexander Strange [Sun, 3 Apr 2011 19:54:14 +0000 (15:54 -0400)]
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
on current codecs, except that you can request no kinds of threading now
(a bit useless).
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Reimar Döffinger [Sat, 2 Apr 2011 00:24:46 +0000 (20:24 -0400)]
Use consistent condition for whether to run slice-threading execute function.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Anton Khirnov [Sat, 9 Apr 2011 05:30:33 +0000 (07:30 +0200)]
avformat.h: fix a misplaced #endif
Gwenole Beauchesne [Tue, 29 Mar 2011 08:52:15 +0000 (10:52 +0200)]
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 <siretart@tauware.de>
Gwenole Beauchesne [Tue, 29 Mar 2011 09:07:29 +0000 (11:07 +0200)]
vaapi: filter out DELAYED_PIC_REF flag to determine field.
This fixes ticket #23.
(cherry picked from commit
621f4c98df4ee9fd604a614f31e09eef9dd7d3ca)
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
Anton Khirnov [Fri, 8 Apr 2011 09:46:52 +0000 (11:46 +0200)]
lavf: bump minor and add an APIChanges entry for avformat cleanup
Anton Khirnov [Fri, 8 Apr 2011 09:21:13 +0000 (11:21 +0200)]
lavf: get rid of ffm-specific stuff in avformat.h
Anton Khirnov [Mon, 4 Apr 2011 18:28:58 +0000 (20:28 +0200)]
avio: deprecate av_protocol_next().
Anton Khirnov [Mon, 4 Apr 2011 06:18:54 +0000 (08:18 +0200)]
avio: add a function for iterating though protocol names.
Anton Khirnov [Fri, 8 Apr 2011 10:22:39 +0000 (12:22 +0200)]
lavf: rename a parameter of av_sdp_create from buff->buf
This is more consistent with the rest of the API.
Anton Khirnov [Fri, 8 Apr 2011 09:36:12 +0000 (11:36 +0200)]
lavf: rename avf_sdp_create to av_sdp_create.
The new name is more consistent with the rest of the API.
Anton Khirnov [Tue, 5 Apr 2011 11:13:53 +0000 (13:13 +0200)]
lavf: make av_guess_image2_codec internal
It doesn't look very useful as a public function.
Anton Khirnov [Thu, 7 Apr 2011 19:01:17 +0000 (21:01 +0200)]
avio: make URLProtocol internal.
Anton Khirnov [Thu, 7 Apr 2011 18:25:52 +0000 (20:25 +0200)]
avio: make URLContext internal.
Anton Khirnov [Tue, 5 Apr 2011 10:59:27 +0000 (12:59 +0200)]
lavf: mark av_pkt_dump(_log) for remove on $next+1 bump.
Anton Khirnov [Fri, 8 Apr 2011 05:41:47 +0000 (07:41 +0200)]
lavf: use designated initializers for all protocols
This is more readable and makes it easier to reorder URLProtocol
members.
Anton Khirnov [Fri, 8 Apr 2011 04:57:54 +0000 (06:57 +0200)]
applehttp: don't use deprecated url_ functions.
Anton Khirnov [Thu, 7 Apr 2011 18:15:43 +0000 (20:15 +0200)]
avio: move two ff_udp_* functions from avio_internal to url.h
Anton Khirnov [Thu, 7 Apr 2011 18:13:36 +0000 (20:13 +0200)]
asfdec: remove a forgotten declaration of nonexistent function
Anton Khirnov [Thu, 7 Apr 2011 17:17:55 +0000 (19:17 +0200)]
avio: deprecate the typedef for URLInterruptCB
There's no particular reason to pollute the namespace with a typedef for
it.
Luca Barbato [Thu, 7 Apr 2011 13:09:03 +0000 (15:09 +0200)]
proto: include os_support.h in network.h
Fix compilation on systems without poll()
Anton Khirnov [Mon, 4 Apr 2011 20:29:21 +0000 (22:29 +0200)]
matroskaenc: don't write an empty Cues element.
Anton Khirnov [Wed, 6 Apr 2011 05:38:11 +0000 (07:38 +0200)]
lavc: add a FF_API_REQUEST_CHANNELS deprecation macro
And hide request_channels AVOption under it.
Anton Khirnov [Mon, 4 Apr 2011 18:40:38 +0000 (20:40 +0200)]
avio: move extern url_interrupt_cb declaration from avio.h to url.h
Anton Khirnov [Mon, 4 Apr 2011 18:35:04 +0000 (20:35 +0200)]
avio: make av_register_protocol2 internal.
Anton Khirnov [Mon, 4 Apr 2011 18:15:44 +0000 (20:15 +0200)]
avio: avio_ prefix for url_set_interrupt_cb.
Anton Khirnov [Mon, 4 Apr 2011 18:11:19 +0000 (20:11 +0200)]
avio: AVIO_ prefixes for URL_ open flags.
Luca Barbato [Fri, 4 Mar 2011 00:41:22 +0000 (01:41 +0100)]
proto: introduce listen option in tcp
This way is possible to have simple micro-server act like
ffmpeg -i file.nut -vcodec copy -acodec copy -f nut tcp://foo:1234?listen
Luca Barbato [Mon, 4 Apr 2011 15:43:45 +0000 (17:43 +0200)]
doc: clarify configure features
This way people will not get surprises regarding the current configure
behaviour and contributors will have a guideline on what is expected.
Luca Barbato [Mon, 4 Apr 2011 16:17:12 +0000 (18:17 +0200)]
proto: factor ff_network_wait_fd and use it on udp
Support the URL_FLAG_NONBLOCK semantic and uniform the protocol.
The quick retry loop is already part of retry_transfer_wrapper.
The polling routine is common to the network protocols:
udp, tcp and, once merged, sctp.
Brad [Wed, 6 Apr 2011 21:41:12 +0000 (17:41 -0400)]
Fix parser: mark av_parser_parse() for removal on next major bump
Fix the breakage introduced with
9073ca6c6ebb9e3e9b60d968b7aa16cc8b6d558d
Anton Khirnov [Wed, 6 Apr 2011 12:46:31 +0000 (14:46 +0200)]
swscale: postpone sws_getContext removal until next major bump.
The replacement isn't ready yet.
Janne Grunau [Tue, 5 Apr 2011 18:25:48 +0000 (20:25 +0200)]
fate: add AAC LATM test
Anton Khirnov [Wed, 6 Apr 2011 06:20:09 +0000 (08:20 +0200)]
mmst: get rid of deprecated AVERRORs
Anton Khirnov [Wed, 6 Apr 2011 06:18:16 +0000 (08:18 +0200)]
lxfdec: use AVERROR(ENOMEM) instead of deprecated AVERROR_NOMEM.
Anton Khirnov [Wed, 6 Apr 2011 06:16:06 +0000 (08:16 +0200)]
Reemove remaining uses of deprecated AVERROR_NOTSUPP.
Anton Khirnov [Tue, 5 Apr 2011 10:19:35 +0000 (12:19 +0200)]
lavf: if id3v2 tag is present and all else fails, guess by file extension
Nathan Caldwell [Tue, 5 Apr 2011 07:05:22 +0000 (01:05 -0600)]
psymodel: extend API to include PE and bit allocation.
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
Anton Khirnov [Tue, 5 Apr 2011 17:04:28 +0000 (19:04 +0200)]
avio: always compile dyn_buf functions
Fixes build with --disable-muxers --disable-network.
Thanks to Hendrik Leppkes for noticing.
Alexander Strange [Tue, 29 Mar 2011 21:18:21 +0000 (17:18 -0400)]
Remove unnecessary parameter from ff_thread_init() and fix behavior
thread_count passed to ff_thread_init() is only used to set AVCodecContext.
thread_count, and can be removed. Instead move it to the legacy implementation
of avcodec_thread_init().
This also fixes the problem that calling avcodec_thread_init() with pthreads
enabled did not set it since
ff1efc524cb3c60f2f746e3b4550bb1a86c65316.
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
Janne Grunau [Tue, 5 Apr 2011 10:21:50 +0000 (12:21 +0200)]
Revert "aac_latm_dec: use aac context and aac m4ac"
This reverts commit
36864ac3540445c513484017aa9927e942fac24a since it
breaks LATM decoding in ffplay.
Konstantin Pavlov [Mon, 4 Apr 2011 20:49:34 +0000 (00:49 +0400)]
configure: tell user if libva is enabled like the rest of external libs.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Alex Converse [Mon, 4 Apr 2011 23:07:23 +0000 (16:07 -0700)]
Add silence support for AV_SAMPLE_FMT_U8.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Anton Khirnov [Mon, 4 Apr 2011 17:55:07 +0000 (19:55 +0200)]
avio: make URL_PROTOCOL_FLAG_NESTED_SCHEME internal
Anton Khirnov [Mon, 4 Apr 2011 17:48:31 +0000 (19:48 +0200)]
avio: deprecate av_url_read_seek
It's not used anywhere internally.
Salvage its documentation for ffio_read_seek.
Anton Khirnov [Mon, 4 Apr 2011 17:46:19 +0000 (19:46 +0200)]
avio: deprecate av_url_read_pause
It's not used anywhere internally.
Salvage its documentation for ffio_read_pause.
Mans Rullgard [Sat, 12 Mar 2011 22:17:14 +0000 (22:17 +0000)]
ac3enc: NEON optimised extract_exponents
Signed-off-by: Mans Rullgard <mans@mansr.com>
Mans Rullgard [Sat, 12 Mar 2011 22:16:49 +0000 (22:16 +0000)]
ac3enc: move extract_exponents inner loop to ac3dsp
Signed-off-by: Mans Rullgard <mans@mansr.com>
Anton Khirnov [Thu, 31 Mar 2011 16:00:55 +0000 (18:00 +0200)]
avio: deprecate url_get_filename().
URLContext.filename should be used directly.
Anton Khirnov [Thu, 31 Mar 2011 15:58:04 +0000 (17:58 +0200)]
avio: deprecate url_max_packet_size().
URLContext.max_packet_size should be used directly.
Anton Khirnov [Thu, 31 Mar 2011 15:51:24 +0000 (17:51 +0200)]
avio: make url_get_file_handle() internal.
Anton Khirnov [Thu, 31 Mar 2011 15:46:00 +0000 (17:46 +0200)]
avio: make url_filesize() internal.
Anton Khirnov [Thu, 31 Mar 2011 15:36:06 +0000 (17:36 +0200)]
avio: make url_close() internal.
Anton Khirnov [Thu, 31 Mar 2011 15:30:31 +0000 (17:30 +0200)]
avio: make url_seek() internal.
Anton Khirnov [Thu, 31 Mar 2011 15:26:09 +0000 (17:26 +0200)]
avio: cosmetics, move AVSEEK_SIZE/FORCE declarations together
Anton Khirnov [Thu, 31 Mar 2011 14:48:01 +0000 (16:48 +0200)]
avio: make url_write() internal.
Anton Khirnov [Thu, 31 Mar 2011 14:40:31 +0000 (16:40 +0200)]
avio: make url_read_complete() internal.
Anton Khirnov [Thu, 31 Mar 2011 14:31:43 +0000 (16:31 +0200)]
avio: make url_read() internal.
Anton Khirnov [Thu, 31 Mar 2011 14:25:10 +0000 (16:25 +0200)]
avio: make url_open() internal.
Anton Khirnov [Thu, 31 Mar 2011 14:10:50 +0000 (16:10 +0200)]
avio: make url_connect internal.
Anton Khirnov [Thu, 31 Mar 2011 14:04:59 +0000 (16:04 +0200)]
avio: make url_alloc internal.
Martin Storsjö [Sun, 20 Mar 2011 22:23:54 +0000 (00:23 +0200)]
applehttp: Merge two for loops
The previous commit didn't do this straight away, to keep the
diff slightly simpler.
Martin Storsjö [Sun, 20 Mar 2011 22:21:56 +0000 (00:21 +0200)]
applehttp: Restructure the demuxer to use a custom AVIOContext
This avoids issues where EOF at the end of the segment is given
the variant demuxer. Now the demuxers only see one single data
stream (as when using the applehttp protocol handler).
Martin Storsjö [Sun, 20 Mar 2011 22:08:59 +0000 (00:08 +0200)]
applehttp: Move finished and target_duration to the variant struct
This is a preparation for a restructuring of the demuxer, to
minimize the later diff.
Young Han Lee [Thu, 31 Mar 2011 13:41:53 +0000 (22:41 +0900)]
aacenc: reduce the number of loop index variables
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
Anton Khirnov [Thu, 31 Mar 2011 14:00:49 +0000 (16:00 +0200)]
avio: deprecate url_open_protocol
The unbuffered API will be made private and it's not used anywhere
internally.
Anton Khirnov [Thu, 31 Mar 2011 13:22:18 +0000 (15:22 +0200)]
avio: deprecate url_poll and URLPollEntry
They're unimplemented and nobody cared to do anything with that for
10 years.
Justin Ruggles [Mon, 28 Mar 2011 13:18:37 +0000 (09:18 -0400)]
ac3enc: select bandwidth based on bit rate, sample rate, and number of
full-bandwidth channels.
This reduces high-frequency artifacts and improves the quality of the lower
frequency audio at low bit rates.
Justin Ruggles [Sun, 3 Apr 2011 19:15:36 +0000 (15:15 -0400)]
flvdec: fix segfault in amf_parse_object() due to NULL key
fixes Issue 2674
Mans Rullgard [Sun, 3 Apr 2011 22:12:16 +0000 (23:12 +0100)]
fate: fix partial run when no samples path is specified
This restores the behaviour of running only the builtin
regression tests when no path to external samples is given.
aa3805a inadvertently broke this by always setting SAMPLES
to something. Using := makes the ifdef test work as expected
when the FATE_SAMPLES environment variable is empty.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Mans Rullgard [Mon, 28 Mar 2011 18:39:44 +0000 (19:39 +0100)]
ARM: NEON fixed-point forward MDCT
Signed-off-by: Mans Rullgard <mans@mansr.com>
Mans Rullgard [Sun, 27 Mar 2011 09:26:58 +0000 (10:26 +0100)]
ARM: NEON fixed-point FFT
Signed-off-by: Mans Rullgard <mans@mansr.com>
Anton Khirnov [Thu, 17 Mar 2011 12:42:45 +0000 (13:42 +0100)]
lavf: bump minor version and add an APIChanges entry for avio changes
Anton Khirnov [Sun, 3 Apr 2011 20:55:31 +0000 (22:55 +0200)]
avio: simplify url_open_dyn_buf_internal by using avio_alloc_context()
Anton Khirnov [Thu, 17 Mar 2011 07:44:44 +0000 (08:44 +0100)]
avio: make url_fdopen internal.
The unbuffered URLContext API will be made private, so there's no point
in this function being public.
Anton Khirnov [Thu, 17 Mar 2011 07:19:54 +0000 (08:19 +0100)]
avio: make url_open_dyn_packet_buf internal.
It doesn't look fit to be a part of the public API.
Adding a temporary hack to ffserver to be able to use it, should be
cleaned up when somebody is up for it.
Anton Khirnov [Thu, 17 Mar 2011 07:16:07 +0000 (08:16 +0100)]
avio: avio_ prefix for url_close_dyn_buf
Anton Khirnov [Thu, 17 Mar 2011 07:13:34 +0000 (08:13 +0100)]
avio: avio_ prefix for url_open_dyn_buf
Anton Khirnov [Sat, 5 Mar 2011 20:06:46 +0000 (21:06 +0100)]
avio: introduce an AVIOContext.seekable field
Use it instead of url_is_streamed and AVIOContext.is_streamed.
Mans Rullgard [Mon, 21 Mar 2011 18:07:59 +0000 (18:07 +0000)]
ac3enc: use generic fixed-point mdct
This makes the AC3 encoder use the shared fixed-point MDCT rather
than its own implementation. The checksum changes are due to
different rounding in the MDCT.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Brandon Mintern [Mon, 21 Feb 2011 11:02:57 +0000 (12:02 +0100)]
lavfi: add fade filter
Port fade filter from libavfilter soc repo, with minor fixes by
Stefano.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Michael Niedermayer [Fri, 18 Feb 2011 18:10:33 +0000 (19:10 +0100)]
Change yadif to not use out of picture lines.
Fixes issue2272.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Anton Khirnov [Sat, 2 Apr 2011 11:34:12 +0000 (13:34 +0200)]
lavc: deprecate AVCodecContext.antialias_algo
It's been unused since mp3float decoder was added.
Anton Khirnov [Sat, 2 Apr 2011 11:18:00 +0000 (13:18 +0200)]
lavc: mark mb_qmin/mb_qmax for removal on next major bump.
They've been unused and deprecated for about five years.
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>
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.
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.
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.
Anton Khirnov [Sat, 2 Apr 2011 09:50:10 +0000 (11:50 +0200)]
lavc: add missing audioconvert includes
Anton Khirnov [Sat, 2 Apr 2011 09:35:14 +0000 (11:35 +0200)]
jvdec: don't use deprecated CODEC_TYPE_*/PKT_FLAG_KEY
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>
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>
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>
Anton Khirnov [Thu, 31 Mar 2011 11:57:48 +0000 (13:57 +0200)]
avio: document avio_alloc_context.
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
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>