ffmpeg.git
8 years agoFix the conversion of AV_SAMPLE_FMT_FLT and _DBL to AV_SAMPLE_FMT_S32.
Alex Converse [Mon, 11 Apr 2011 06:42:29 +0000 (23:42 -0700)]
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.

8 years agoConvert some undefined 1<<31 shifts into 1U<<31.
Alex Converse [Sun, 10 Apr 2011 00:22:04 +0000 (17:22 -0700)]
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
representable in the result type. If E1 has a signed type and
nonnegative value, and E1× 2^E2 is representable in the result type, then
that is the resulting value; otherwise, the behavior is undefined.

8 years agoAdd unconditional return statement to yuva420_rgb32_MMX() / yuva420_bgr32_MMX().
Diego Biurrun [Sun, 10 Apr 2011 19:12:08 +0000 (21:12 +0200)]
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’:
libswscale/x86/yuv2rgb_template.c:412: warning: no return statement in function returning non-void
libswscale/x86/yuv2rgb_template.c: In function ‘yuva420_bgr32_MMX’:
libswscale/x86/yuv2rgb_template.c:457: warning: no return statement in function returning non-void

Signed-off-by: Diego Biurrun <diego@biurrun.de>
8 years agoFix compilation of timefilter test program.
Diego Biurrun [Sun, 10 Apr 2011 19:22:45 +0000 (21:22 +0200)]
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 <diego@biurrun.de>
8 years agoAdd support for AMR-WB encoding via libvo-amrwbenc
Martin Storsjö [Tue, 29 Dec 2009 14:48:09 +0000 (16:48 +0200)]
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ö <martin@martin.st>
8 years agoAdd an AAC encoder by using the libvo-aacenc library
Martin Storsjö [Sun, 19 Dec 2010 19:40:23 +0000 (21:40 +0200)]
Add an AAC encoder by using the libvo-aacenc library

Signed-off-by: Martin Storsjö <martin@martin.st>
8 years agog722: Return 8 bits per sample for g722 in av_get_bits_per_sample
Martin Storsjö [Sun, 10 Apr 2011 17:06:50 +0000 (20:06 +0300)]
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ö <martin@martin.st>
8 years agoavio: add more documentation for AVIOContext.
Anton Khirnov [Sun, 10 Apr 2011 06:14:26 +0000 (08:14 +0200)]
avio: add more documentation for AVIOContext.

8 years agoParse sprite data for WMVP and WVP2, and decode sprites for the latter
Alberto Delmás [Fri, 8 Apr 2011 18:00:48 +0000 (20:00 +0200)]
Parse sprite data for WMVP and WVP2, and decode sprites for the latter

Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agoReplace outdated info on the FAQ
Lou Logan [Sat, 9 Apr 2011 11:50:07 +0000 (13:50 +0200)]
Replace outdated info on the FAQ

FAQ could use some work. This updates a few little details.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agoRedefine sameq
Lou Logan [Sat, 9 Apr 2011 11:50:05 +0000 (13:50 +0200)]
Redefine sameq

I think the documentation of sameq is causing confusion and misuse of
this option.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agopad: fix example explanation
Stefano Sabatini [Sat, 9 Apr 2011 11:50:01 +0000 (13:50 +0200)]
pad: fix example explanation

"row" and "column" term positions in the explanation were inverted.

Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agogradfun: add notice from the MPlayer manual
Stefano Sabatini [Sat, 9 Apr 2011 11:49:57 +0000 (13:49 +0200)]
gradfun: add notice from the MPlayer manual

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

Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agoeval: add support for trunc, ceil, and floor functions
Stefano Sabatini [Sat, 9 Apr 2011 11:49:54 +0000 (13:49 +0200)]
eval: add support for trunc, ceil, and floor functions

Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agodocumentation: add setdar and setsar description to filters.texi
Stefano Sabatini [Sat, 9 Apr 2011 11:49:48 +0000 (13:49 +0200)]
documentation: add setdar and setsar description to filters.texi

Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agoavio: document some members of AVIOContext.
Anton Khirnov [Sat, 9 Apr 2011 10:20:04 +0000 (12:20 +0200)]
avio: document some members of AVIOContext.

8 years agoavio: document avio_close().
Anton Khirnov [Sat, 9 Apr 2011 10:43:51 +0000 (12:43 +0200)]
avio: document avio_close().

8 years agoavio: cosmetics, vertically align comments.
Anton Khirnov [Sat, 9 Apr 2011 10:21:36 +0000 (12:21 +0200)]
avio: cosmetics, vertically align comments.

8 years agoavio: cosmetics, group the reading functions.
Anton Khirnov [Sat, 9 Apr 2011 06:55:53 +0000 (08:55 +0200)]
avio: cosmetics, group the reading functions.

8 years agoavio: cosmetics, merge all the FF_API_OLD_AVIO blocks.
Anton Khirnov [Sat, 9 Apr 2011 06:52:35 +0000 (08:52 +0200)]
avio: cosmetics, merge all the FF_API_OLD_AVIO blocks.

8 years agoavio: cosmetics, move AVIOContext to start of the file.
Anton Khirnov [Sat, 9 Apr 2011 06:44:14 +0000 (08:44 +0200)]
avio: cosmetics, move AVIOContext to start of the file.

8 years agoavio: update file header.
Anton Khirnov [Sat, 9 Apr 2011 06:30:15 +0000 (08:30 +0200)]
avio: update file header.

8 years agoos: fix OpenBSD/PowerPC compilation
Brad [Sat, 2 Apr 2011 21:16:59 +0000 (17:16 -0400)]
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 <lu_zero@gentoo.org>
8 years agopixfmt: add PIX_FMT_BGR48LE and PIX_FMT_BGR48BE
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>
8 years agooggdec: fix demuxing chained audio streams
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>
8 years agofix typo
Compn [Sat, 9 Apr 2011 11:49:56 +0000 (13:49 +0200)]
fix typo

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
8 years agodaud: Don't write packets that are too large to have their size expressed in the...
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.

8 years agopthread: validate_thread_parameters() ignored slice-threading being intentionally off
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>
8 years agoUse consistent condition for whether to run slice-threading execute function.
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>
8 years agoavformat.h: fix a misplaced #endif
Anton Khirnov [Sat, 9 Apr 2011 05:30:33 +0000 (07:30 +0200)]
avformat.h: fix a misplaced #endif

8 years agovaapi: cope with VA-API 0.32, i.e. fix VC-1 decoding on Sandy Bridge.
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>
8 years agovaapi: filter out DELAYED_PIC_REF flag to determine field.
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>
8 years agolavf: bump minor and add an APIChanges entry for avformat cleanup
Anton Khirnov [Fri, 8 Apr 2011 09:46:52 +0000 (11:46 +0200)]
lavf: bump minor and add an APIChanges entry for avformat cleanup

8 years agolavf: get rid of ffm-specific stuff in avformat.h
Anton Khirnov [Fri, 8 Apr 2011 09:21:13 +0000 (11:21 +0200)]
lavf: get rid of ffm-specific stuff in avformat.h

8 years agoavio: deprecate av_protocol_next().
Anton Khirnov [Mon, 4 Apr 2011 18:28:58 +0000 (20:28 +0200)]
avio: deprecate av_protocol_next().

8 years agoavio: add a function for iterating though protocol names.
Anton Khirnov [Mon, 4 Apr 2011 06:18:54 +0000 (08:18 +0200)]
avio: add a function for iterating though protocol names.

8 years agolavf: rename a parameter of av_sdp_create from buff->buf
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.

8 years agolavf: rename avf_sdp_create to av_sdp_create.
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.

8 years agolavf: make av_guess_image2_codec internal
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.

8 years agoavio: make URLProtocol internal.
Anton Khirnov [Thu, 7 Apr 2011 19:01:17 +0000 (21:01 +0200)]
avio: make URLProtocol internal.

8 years agoavio: make URLContext internal.
Anton Khirnov [Thu, 7 Apr 2011 18:25:52 +0000 (20:25 +0200)]
avio: make URLContext internal.

8 years agolavf: mark av_pkt_dump(_log) for remove on $next+1 bump.
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.

8 years agolavf: use designated initializers for all protocols
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.

8 years agoapplehttp: don't use deprecated url_ functions.
Anton Khirnov [Fri, 8 Apr 2011 04:57:54 +0000 (06:57 +0200)]
applehttp: don't use deprecated url_ functions.

8 years agoavio: move two ff_udp_* functions from avio_internal to url.h
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

8 years agoasfdec: remove a forgotten declaration of nonexistent function
Anton Khirnov [Thu, 7 Apr 2011 18:13:36 +0000 (20:13 +0200)]
asfdec: remove a forgotten declaration of nonexistent function

8 years agoavio: deprecate the typedef for URLInterruptCB
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.

8 years agoproto: include os_support.h in network.h
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()

8 years agomatroskaenc: don't write an empty Cues element.
Anton Khirnov [Mon, 4 Apr 2011 20:29:21 +0000 (22:29 +0200)]
matroskaenc: don't write an empty Cues element.

8 years agolavc: add a FF_API_REQUEST_CHANNELS deprecation macro
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.

8 years agoavio: move extern url_interrupt_cb declaration from avio.h to url.h
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

8 years agoavio: make av_register_protocol2 internal.
Anton Khirnov [Mon, 4 Apr 2011 18:35:04 +0000 (20:35 +0200)]
avio: make av_register_protocol2 internal.

8 years agoavio: avio_ prefix for url_set_interrupt_cb.
Anton Khirnov [Mon, 4 Apr 2011 18:15:44 +0000 (20:15 +0200)]
avio: avio_ prefix for url_set_interrupt_cb.

8 years agoavio: AVIO_ prefixes for URL_ open flags.
Anton Khirnov [Mon, 4 Apr 2011 18:11:19 +0000 (20:11 +0200)]
avio: AVIO_ prefixes for URL_ open flags.

8 years agoproto: introduce listen option in tcp
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

8 years agodoc: clarify configure features
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.

8 years agoproto: factor ff_network_wait_fd and use it on udp
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.

8 years agoFix parser: mark av_parser_parse() for removal on next major bump
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

8 years agoswscale: postpone sws_getContext removal until next major bump.
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.

8 years agofate: add AAC LATM test
Janne Grunau [Tue, 5 Apr 2011 18:25:48 +0000 (20:25 +0200)]
fate: add AAC LATM test

8 years agommst: get rid of deprecated AVERRORs
Anton Khirnov [Wed, 6 Apr 2011 06:20:09 +0000 (08:20 +0200)]
mmst: get rid of deprecated AVERRORs

8 years agolxfdec: use AVERROR(ENOMEM) instead of deprecated AVERROR_NOMEM.
Anton Khirnov [Wed, 6 Apr 2011 06:18:16 +0000 (08:18 +0200)]
lxfdec: use AVERROR(ENOMEM) instead of deprecated AVERROR_NOMEM.

8 years agoReemove remaining uses of deprecated AVERROR_NOTSUPP.
Anton Khirnov [Wed, 6 Apr 2011 06:16:06 +0000 (08:16 +0200)]
Reemove remaining uses of deprecated AVERROR_NOTSUPP.

8 years agolavf: if id3v2 tag is present and all else fails, guess by file extension
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

8 years agopsymodel: extend API to include PE and bit allocation.
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>
8 years agoavio: always compile dyn_buf functions
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.

8 years agoRemove unnecessary parameter from ff_thread_init() and fix behavior
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>
8 years agoRevert "aac_latm_dec: use aac context and aac m4ac"
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.

8 years agoconfigure: tell user if libva is enabled like the rest of external libs.
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>
8 years agoAdd silence support for AV_SAMPLE_FMT_U8.
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>
8 years agoavio: make URL_PROTOCOL_FLAG_NESTED_SCHEME internal
Anton Khirnov [Mon, 4 Apr 2011 17:55:07 +0000 (19:55 +0200)]
avio: make URL_PROTOCOL_FLAG_NESTED_SCHEME internal

8 years agoavio: deprecate av_url_read_seek
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.

8 years agoavio: deprecate av_url_read_pause
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.

8 years agoac3enc: NEON optimised extract_exponents
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>
8 years agoac3enc: move extract_exponents inner loop to ac3dsp
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>
8 years agoavio: deprecate url_get_filename().
Anton Khirnov [Thu, 31 Mar 2011 16:00:55 +0000 (18:00 +0200)]
avio: deprecate url_get_filename().

URLContext.filename should be used directly.

8 years agoavio: deprecate url_max_packet_size().
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.

8 years agoavio: make url_get_file_handle() internal.
Anton Khirnov [Thu, 31 Mar 2011 15:51:24 +0000 (17:51 +0200)]
avio: make url_get_file_handle() internal.

8 years agoavio: make url_filesize() internal.
Anton Khirnov [Thu, 31 Mar 2011 15:46:00 +0000 (17:46 +0200)]
avio: make url_filesize() internal.

8 years agoavio: make url_close() internal.
Anton Khirnov [Thu, 31 Mar 2011 15:36:06 +0000 (17:36 +0200)]
avio: make url_close() internal.

8 years agoavio: make url_seek() internal.
Anton Khirnov [Thu, 31 Mar 2011 15:30:31 +0000 (17:30 +0200)]
avio: make url_seek() internal.

8 years agoavio: cosmetics, move AVSEEK_SIZE/FORCE declarations together
Anton Khirnov [Thu, 31 Mar 2011 15:26:09 +0000 (17:26 +0200)]
avio: cosmetics, move AVSEEK_SIZE/FORCE declarations together

8 years agoavio: make url_write() internal.
Anton Khirnov [Thu, 31 Mar 2011 14:48:01 +0000 (16:48 +0200)]
avio: make url_write() internal.

8 years agoavio: make url_read_complete() internal.
Anton Khirnov [Thu, 31 Mar 2011 14:40:31 +0000 (16:40 +0200)]
avio: make url_read_complete() internal.

8 years agoavio: make url_read() internal.
Anton Khirnov [Thu, 31 Mar 2011 14:31:43 +0000 (16:31 +0200)]
avio: make url_read() internal.

8 years agoavio: make url_open() internal.
Anton Khirnov [Thu, 31 Mar 2011 14:25:10 +0000 (16:25 +0200)]
avio: make url_open() internal.

8 years agoavio: make url_connect internal.
Anton Khirnov [Thu, 31 Mar 2011 14:10:50 +0000 (16:10 +0200)]
avio: make url_connect internal.

8 years agoavio: make url_alloc internal.
Anton Khirnov [Thu, 31 Mar 2011 14:04:59 +0000 (16:04 +0200)]
avio: make url_alloc internal.

8 years agoapplehttp: Merge two for loops
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.

8 years agoapplehttp: Restructure the demuxer to use a custom AVIOContext
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).

8 years agoapplehttp: Move finished and target_duration to the variant struct
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.

8 years agoaacenc: reduce the number of loop index variables
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>
8 years agoavio: deprecate url_open_protocol
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.

8 years agoavio: deprecate url_poll and URLPollEntry
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.

8 years agoac3enc: select bandwidth based on bit rate, sample rate, and number of
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.

8 years agoflvdec: fix segfault in amf_parse_object() due to NULL key
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

8 years agofate: fix partial run when no samples path is specified
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>
8 years agoARM: NEON fixed-point forward MDCT
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>
8 years agoARM: NEON fixed-point FFT
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>
8 years agolavf: bump minor version and add an APIChanges entry for avio changes
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