ac3enc: change default floor code to 7.
This is to match the value in every (E-)AC-3 file from commercial sources.It has a negligible effect on audio quality.
Signed-off-by: Mans Rullgard <email@example.com>
os_support: fix poll() implementation
Our poll implementation does not iterate over the pollfd array properlywhile setting the revents.
Signed-off-by: Luca Barbato <firstname.lastname@example.org>
Merge libavcore into libavutil
It is pretty hopeless that other considerable projects will adoptlibavutil alone in other projects. Projects that need small footprintare better off with more specialized libraries such as gnulib or ratherjust copy the necessary parts that they need. With this in mind, nobody...
APIchanges: update for 55bad0c: vbv_delay
Pass VBV delay to the calling application via ctx
VBV delay is useful for T-STD compliance in some TS muxers. It iscertainly possible to retrieve it by parsing the output of FFmpeg, butgetting it from the context makes it simpler and less error-prone....
binkaudio: remove unused copy of AVCodecContext*
binkaudio: fix channel count check
Perform validity check on AVFormatContext.channels instead ofuninitialised field.
This fixes issue 2001.
fix nsvdec.c compilation if DEBUG defined
Signed-off-by: Ronald S. Bultje <email@example.com>
aacdec: Implement LTP support.
Ported from gsoc svn.
APIchanges: update for 12c14cd
mpegtsenc: whitespace cosmetics
mpegtsenc: set audio_type according to st->disposition
mpegts: set st->disposition according to ISO 639 language descriptor
apichanges: update for 24a83bd: add AV_DISPOSITION_CLEAN_EFFECTS flag
lavf: add AV_DISPOSITION_CLEAN_EFFECTS flag
Make avfilter_config_links() propagate audio information of the source link if it is not explicitely set by the filter.
Fix spelling error.
mmst: fix reading uninitialized data for ping packets.
Fixes errors after a few minutes (first ping) when playing backmmst://wm.bbc.co.uk/wms/bbc7coyopa/bbc7_-_friday_0430.wma
Update APIchanges for 910b5b8
Add sample_aspect_ratio to AVFilterLink
Remove disabled legacy code in ffplay.
The code was setting aspect ratio from the DTG active format, and waspresent and disabled since the creation of ffplay.
See thread:Subject: [FFmpeg-devel] [PATCH] Cosmetics: adopt compact notation in disabled code....
aac: remove dead SBR input scaling
It has been unused since 9d06d7bce3babb82ed650c13ed13a57f6f626a71
asfdec: fix build for big endian targets
ac3enc: Add x86-optimized function to speed up log2_tab().
AC3DSPContext.ac3_max_msb_abs_int16() finds the maximum MSB of the absolutevalue of each element in an array of int16_t.
wtv: ignore empty data_guid chunks
asfdec: don't export empty metadata
asfdec: split reading stream properties out of asf_read_header()
This contains a rename from gsize->size
mmst: print packet type with error status code message
Signed-off-by: Francesco Cosoleto <firstname.lastname@example.org>Signed-off-by: Ronald S. Bultje <email@example.com>
configure: fix non-standard regex used with expr
The colon operator of expr always anchors the pattern at the startof the string. An explicit ^ in the pattern has unspecifiedbehaviour, so remove it.
mpeg4video: ignore broken GOP headers
Some MPEG4 cameras produce files with empty GOP headers.This patch makes the decoder ignore such broken headers and proceedwith the following I-frame. Without this change, the followingstart code is missed resulting in the entire I-frame being skipped....
configure: report full gcc version string
This makes the cc_ident value, which is used in FATE reports, includeall interesting parts of the gcc version string.
configure: add cleanws() function
This function removes leading and trailing spaces and collapsesmultiple spaces into one.
FFT: factor a shuffle out of the inner loop and merge it into fft_permute.
6% faster SSE FFT on Conroe, 2.5% on Penryn.
Signed-off-by: Janne Grunau <firstname.lastname@example.org>
lavf: print stream disposition in dump_stream_format
spdifenc: fix byte order on big-endian systems
There is a check for HAVE_BIGENDIAN when outputting the IEC 61937stream. On big-endian systems the payload data is not byteswapped,causing in effect the outputted payload data to be in a different byteorder on big-endian than on little-endian systems....
spdifenc: IEC 61937 encapsulation of DTS-HD for HDMI
bink: permute Bink version 'b' quant matrices by inverse scan order
This fixes visual glitches in Bink version 'b' files, as the quantizationtables were not being permuted.
bink: simplify how quantization matrices are passed to read_dct_coeffs()
Fix MMX rgb24 to yuv conversion with gcc 4.6
When built with gcc 4.6, the MMX rgb24 to yuv conversion giveswrong output. The compiler produces this warning:
libswscale/swscale_template.c:1885:5: warning: use of memory input without lvalue in asm operand 4 is deprecated...
movenc: Force first sample as SYNC
Make tables generation insensitive to floating-point implementation
Using doubles make the double -> int cast well defined for all the valuesused, with the exception of when s[i]==1.0, which is special-cased.
Fix script command in a FAQ entry
In the FAQ section "How do I encode single pictures into movies?", use-s for generating symbolic links with the ln command.
The script was generating hard links, which is not likely what it wassupposed to do.
Fix issue 2488....
Allow "make clean" to clean files in tools
Add lavfi-showfiltfmts and graph2dot to $(TOOLS)
Allow make clean to remove the corresponding binaries.
Fix issue 2162.
Fix qtrle regression test, actually test qtrle.
rtsp/rdt: Assign the RTSPStream index to AVStream->id
This is used for mapping AVStreams back to their correspondingRTSPStream. Since d9c0510, the RTSPStream pointer isn't stored inAVStream->priv_data any longer, breaking this mapping from AVStreamsto RTSPStreams....
Add check for Athlon64 and similar AMD processors with slow SSE2.
Add missing terminating backslash
configure: remove early check_deps $ARCH_EXT_LIST
The early disabling of irrelevant arch extensions is no longerrequired, and removing it makes dependencies involving thesework as expected.
VP8: ARM optimised decode_block_coeffs_internal
Approximately 5% faster on Cortex-A8.
ARM optimised vp56_rac_get_prob()
Approximately 3% faster on Cortex-A8.
Update overlay documentation after movie syntax update.
Overlay documentation is still using the old unsupported syntax.
bink: reindent after last commit
Bink version 'b' video decoder
Based on original patch by Kostya Shishkov
lavf: deprecate AVFormatContext.index_built
it's not touched anywhere in ffmpeg, the code setting it was removedover two years ago (e9b78eeba22b050810a507e69df1b652e56ab62b).
vorbis dec: Remove obsolete comment
Signed-off-by: Michael Niedermayer <email@example.com>Signed-off-by: Ronald S. Bultje <firstname.lastname@example.org>
vorbis dec: cosmetics: Indent consistently
vorbis dec: cosmetics: Indent CPP cond properly
vorbis dec: Delete useless scopes, and reindent after scope deletion
VP8: optimized mv prediction and decoding
Merge find_near_mvs and mv bitstream decoding: don't do prediction stepsuntil absolutely necessary.
ac3enc: Remove unneeded clipping of shift amount.
s->windowed_samples will always have a range of [-32767,32767] due to thewindow function, so the return value from log2_tab() will always be in therange [0,14].
ac3enc: remove right shifting from lshift_tab() and make lshift unsigned.
asfdec: deobfuscate reading video properties size
This code will be later split out into a function which takes a 'size'argument, so I'm keeping the name 'sizeX' here.
asfdec: split asf_read_header()
Only trivial splits are done here -- i.e. copy/paste + reindent +missing variable declarations.
wtv: mark streams intended for hearing or visual impaired persons
make av_find_best_stream() ignore streams marked with AV_DISPOSITION_*_IMPAIRED
add AV_DISPOSITION_HEARING_IMPAIRED and AV_DISPOSITION_VISUAL_IMPAIRED
Remove final semicolon from some macros
This avoids double semicolons after macro expansion.
dvbsubenc: Fix placement of the object version
document passing the fate samples location via make variable
dvbsubdec: check against buffer overreads
Do not fail DVB sub decoding because of a few padding bytes
Instead of returning an error when bytes are left over, just returnthe number of actually used bytes as other decoders do.Instead add a special case so an error will be returned when noneof the data looks valid to avoid making debugging a pain....
Add x86-optimized versions of exponent_min().
Remove incorrect return statement from avcodec_thread_free()
The function return type is void, so a return statement with anexpression is forbidden (and pointless).
ivi_dsp: remove semicolons after function definitions
mov: remove stray semicolon
asfdec: skip the stream bitrate list
Its contents aren't used for anything.
asfdec: use an ASFContext array for storing stream bitrates
This will be useful for splitting asf_read_header()
asfdec: move DAR list to ASFContext
udp: Enable address reuse by default for multicast
Keep the original corner case behaviour, where reuse is enabledfor the case where no argument is given to the reuse url option.
Signed-off-by: Martin Storsjö <email@example.com>Signed-off-by: Ronald S. Bultje <firstname.lastname@example.org>
asfdec: remove some write-only values from the context
Fix build with threading disabled
The avcodec_thread_free() compatibility wrapper calls ff_thread_free(),which is not defined when threading is disabled. Make this callconditional.
w32thread: add missing #include thread.h
This should fix building with win32 threads.
asf: split ASFContext into muxer and demuxer parts.
check sample_fmt in avcodec_open
check AVCodecContext->sample_fmt against AVCodec->sample_fmts to ensurethat the encoder supports the specified sample format. Error out if it doesn't.Previously, it would continue and output garbage. Fixes issue 2587.
mpegts: remove unused macro MAX_SCAN_PACKETS
vp3: Frame-based multithreading support
Decode times for big_buck_bunny_720p_stereo:
1 thread:real 1m14.227suser 1m13.104ssys 0m1.108s
2 threads: (33% faster)real 0m49.329suser 1m33.735ssys 0m1.834s
3 threads: (44% faster)real 0m41.593s...
Add missing git rev hash.
As a side effect of the last commit, avcodec_open() now calls it automatically,so there is no longer any need for clients to call it.Instead they should set AVCodecContext.thread_count.
avcodec_thread_free() is deprecated, and will be removed from avcodec.h at the...
Frame-based multithreading framework using pthreads
See doc/multithreading.txt for details on use in codecs.
Add missing git revision hask.
asf: make ff_guidcmp inline and move it to asf.h
Update qmin/qmax values for libx264 presets
Also allow qmin/qmax to go up to 69 (the current max value for libx264). Thiswill have to increase when we add 9/10-bit support.
Fix broken vbv_buffer_init handling in libx264.c
Due to being pants-on-head retarded, libavcodec defaults this to zero, whichresults in broken output. This didn't affect ffmpeg.c, which sets it itself,but caused problems for other calling apps using VBV.
VP8: idct_mb optimizations
Currently uses AV_RL32 instead of AV_RL32A, as the latter doesn't exist yet.
Fix ff_emu_edge_core_sse() on Win64.
Fix emu_edge_v_extend_15 to be <128 bytes on Win64, by being more stricton the size of registers and which registers are being used for operationswhere multiple are available. This fixes segfaults in emulated_edge()...
lavf: rename ff_probe_input_buffer to make it public
It is useful for applications that hand input data directly to lavf viaa ByteIOContext.
lavf: simplify pb parameter of ff_probe_input_buffer
There is no need to pass the ByteIOContext via a pointer to a pointeranymore.
lavf: update ff_probe_input_buffer documentation
It never reopens the bytestream anymore.