asfdec: remove a forgotten declaration of nonexistent function
avio: deprecate the typedef for URLInterruptCB
There's no particular reason to pollute the namespace with a typedef forit.
proto: include os_support.h in network.h
Fix compilation on systems without poll()
matroskaenc: don't write an empty Cues element.
lavc: add a FF_API_REQUEST_CHANNELS deprecation macro
And hide request_channels AVOption under it.
avio: move extern url_interrupt_cb declaration from avio.h to url.h
avio: make av_register_protocol2 internal.
avio: avio_ prefix for url_set_interrupt_cb.
avio: AVIO_ prefixes for URL_ open flags.
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
doc: clarify configure features
This way people will not get surprises regarding the current configurebehaviour and contributors will have a guideline on what is expected.
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.
Fix parser: mark av_parser_parse() for removal on next major bump
Fix the breakage introduced with 9073ca6c6ebb9e3e9b60d968b7aa16cc8b6d558d
swscale: postpone sws_getContext removal until next major bump.
The replacement isn't ready yet.
fate: add AAC LATM test
mmst: get rid of deprecated AVERRORs
lxfdec: use AVERROR instead of deprecated AVERROR_NOMEM.
Reemove remaining uses of deprecated AVERROR_NOTSUPP.
lavf: if id3v2 tag is present and all else fails, guess by file extension
psymodel: extend API to include PE and bit allocation.
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
avio: always compile dyn_buf functions
Fixes build with --disable-muxers --disable-network.
Thanks to Hendrik Leppkes for noticing.
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 implementationof avcodec_thread_init().
This also fixes the problem that calling avcodec_thread_init() with pthreads...
Revert "aac_latm_dec: use aac context and aac m4ac"
This reverts commit 36864ac3540445c513484017aa9927e942fac24a since itbreaks LATM decoding in ffplay.
configure: tell user if libva is enabled like the rest of external libs.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Add silence support for AV_SAMPLE_FMT_U8.
avio: make URL_PROTOCOL_FLAG_NESTED_SCHEME internal
avio: deprecate av_url_read_seek
It's not used anywhere internally.
Salvage its documentation for ffio_read_seek.
avio: deprecate av_url_read_pause
Salvage its documentation for ffio_read_pause.
ac3enc: NEON optimised extract_exponents
Signed-off-by: Mans Rullgard <mans@mansr.com>
ac3enc: move extract_exponents inner loop to ac3dsp
avio: deprecate url_get_filename().
URLContext.filename should be used directly.
avio: deprecate url_max_packet_size().
URLContext.max_packet_size should be used directly.
avio: make url_get_file_handle() internal.
avio: make url_filesize() internal.
avio: make url_close() internal.
avio: make url_seek() internal.
avio: cosmetics, move AVSEEK_SIZE/FORCE declarations together
avio: make url_write() internal.
avio: make url_read_complete() internal.
avio: make url_read() internal.
avio: make url_open() internal.
avio: make url_connect internal.
avio: make url_alloc internal.
applehttp: Merge two for loops
The previous commit didn't do this straight away, to keep thediff slightly simpler.
applehttp: Restructure the demuxer to use a custom AVIOContext
This avoids issues where EOF at the end of the segment is giventhe variant demuxer. Now the demuxers only see one single datastream (as when using the applehttp protocol handler).
applehttp: Move finished and target_duration to the variant struct
This is a preparation for a restructuring of the demuxer, tominimize the later diff.
aacenc: reduce the number of loop index variables
avio: deprecate url_open_protocol
The unbuffered API will be made private and it's not used anywhereinternally.
avio: deprecate url_poll and URLPollEntry
They're unimplemented and nobody cared to do anything with that for10 years.
ac3enc: select bandwidth based on bit rate, sample rate, and number offull-bandwidth channels.
This reduces high-frequency artifacts and improves the quality of the lowerfrequency audio at low bit rates.
flvdec: fix segfault in amf_parse_object() due to NULL key
fixes Issue 2674
fate: fix partial run when no samples path is specified
This restores the behaviour of running only the builtinregression tests when no path to external samples is given.aa3805a inadvertently broke this by always setting SAMPLESto something. Using := makes the ifdef test work as expected...
ARM: NEON fixed-point forward MDCT
ARM: NEON fixed-point FFT
lavf: bump minor version and add an APIChanges entry for avio changes
avio: simplify url_open_dyn_buf_internal by using avio_alloc_context()
avio: make url_fdopen internal.
The unbuffered URLContext API will be made private, so there's no pointin this function being public.
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 becleaned up when somebody is up for it.
avio: avio_ prefix for url_close_dyn_buf
avio: avio_ prefix for url_open_dyn_buf
avio: introduce an AVIOContext.seekable field
Use it instead of url_is_streamed and AVIOContext.is_streamed.
ac3enc: use generic fixed-point mdct
This makes the AC3 encoder use the shared fixed-point MDCT ratherthan its own implementation. The checksum changes are due todifferent rounding in the MDCT.
lavfi: add fade filter
Port fade filter from libavfilter soc repo, with minor fixes byStefano.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>Signed-off-by: Anton Khirnov <anton@khirnov.net>
Change yadif to not use out of picture lines.
Fixes issue2272.
lavc: deprecate AVCodecContext.antialias_algo
It's been unused since mp3float decoder was added.
lavc: mark mb_qmin/mb_qmax for removal on next major bump.
They've been unused and deprecated for about five years.
Fixed-point MDCT with 32-bit unscaled output
lavc: deprecate rate_emu
It's not used anywhere and apparrently hasn't been for a very long time.
lavc: mark hurry_up for removal on next major bump
It has been deprecated for about five years, skip_idct/skip_frame shouldbe used instead.
parser: mark av_parser_parse() for removal on next major bump
Fixes build with the bump, since the prototype is already marked forremoval.
lavc: add missing audioconvert includes
jvdec: don't use deprecated CODEC_TYPE_*/PKT_FLAG_KEY
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.
In particular, now it assumes thata) chapters are chronologically orderedb) chapters have the same timebasesc) duration of the stream is knownand asserts if any of these is not met.
Make it properly deal with harsher conditions....
sierravmd: fix Indeo3 videos
FFT: simplify fft8()
Part of the fft8() function corresponds to the BUTTERFLIES macro,so use it.
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
fixes issue2480
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>
configure: Initial support for --target-os=symbian
Signed-off-by: Martin Storsjö <martin@martin.st>
Fixed-point FFT and MDCT
Include dependencies for test programs
This makes sure the various *-test programs are correctly rebuiltwhen necessary.
ac3enc: simplify sym_quant()
These expressions are equivalent since levels is always odd, andoverflow is impossible due to the constraints set by the assert().
flvdec: read index stored in the 'keyframes' tag.
'keyframes' metatag is not part of the standard, it is justconvention to use such kind of metatag information for indexing.Structure is following, it allows to have it inconsistent:keyframes: times (array):...
mov: Add support for zero-sized stsc runs.
A zero sized stsc run doesn't make a lot of sense but the spec does notprohibit them and MPlayer VLC demuxers support them.
rtsp: Use GET_PARAMETER for keep-alive for generic RTSP servers
According to the RFC, GET_PARAMETER should be used forthis, and according to a report from Tim Ouellette,OPTIONS doesn't work for keeping the connection alive for someservers. Also, live555 uses GET_PARAMETER for this purpose....
mlp_parse.c: set AVCodecContext channel_layout
The channel layout isn't getting set for mlp and truehd audio.
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.
Add MxPEG decoder
Add support for picture_ptr field in MJpegDecodeContext
Move MJPEG's input buffer preprocessing in separate public function
Support reference picture defined by bitmask in MJPEG's SOS decoder
sndio bug fix
Since the code already supports both little- and big-endianaudio for recording, do not fail just because the endianness is notwhat we expect.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>