AVOptions: make default_val a union, as proposed in AVOption2.
This breaks API and ABI.
arm/h264pred: add missing argument type.
h264dsp_mmx: place bracket outside #if/#endif block.
Should fix compile on systems missing yasm/nasm.
lavf/utils: fix ff_interleave_compare_dts corner case.
This should fix behavior introduced by commit96573c0d7605672d69b42ae1dcf18764ce47c71a. Av_rescale_rnd() is notlossless so if two timestamps are equal after being rescaled they arenot always actually identical. This patch use av_compare_ts() to get...
fate: add 10-bit H264 tests.
h264: do not print "too many references" warning for intra-only.
Fixes issue 2679.
Enable decoding of high bit depth h264.
This patch completes the high bit depth h264 decoding support.
Signed-off-by: Ronald S. Bultje <email@example.com>
Adds 8-, 9- and 10-bit versions of some of the functions used by the h264 decoder.
This patch lets e.g. dsputil_init chose dsp functions with respect tothe bit depth to decode. The naming scheme of bit depth dependentfunctions is <base name>_<bit depth>[_
] (i.e. the old...
Add support for higher QP values in h264.
In high bit depth, the QP values may now be up to (51 + 6*(bit_depth-8)).
Preparatory patch for high bit depth h264 decoding support.
Add the notion of pixel size in h264 related functions.
In high bit depth the pixels will not be stored in uint8_t like in thenormal case, but in uint16_t. The pixel size is thus 1 in normal bitdepth and 2 in high bit depth.
Preparatory patch for high bit depth h264 decoding support....
Make the h264 loop filter bit depth aware.
Template dsputil_template.c with respect to pixel size, etc.
Template h264idct_template.c with respect to pixel size, etc.
Move some functions in dsputil.c into a new file dsputil_template.c.
The functions moved are used when decoding h264.Preparatory patch for high bit depth h264 decoding support.
Move the functions in h264idct into a new file h264idct_template.c.
Move the functions in h264pred.c into a new file h264pred_template.c.
Add pixel formats for 9- and 10-bit yuv420p.
Also add support for these formats in libswscale.
Needed for high bit depth h264 decoding.
Choose h264 chroma dc dequant function dynamically.
h264: DSP'ize MBAFF loopfilter.
ffmpeg: Simplify decode loop condition to not use next_pts
lavc: move some flac-specific options to its private context.
ffmpeg: remove unused fields AVOutputStream.original_width/height
Signed-off-by: Stefano Sabatini <firstname.lastname@example.org>Signed-off-by: Anton Khirnov <email@example.com>
ffmpeg: remove unused variable padding_src in do_video_out()
ffmpeg: fix negative verbosity.
Signed-off-by: Anton Khirnov <firstname.lastname@example.org>
cmdutils: add OPT_INT check in parse_number_or_die()
Check that the value passed for an OPT_INT option is an int, failotherwise.
ffmpeg: rename configure_filters() to configure_video_filters()
Mostly useful for the audio-filters branch, to make more apparent thedistinction between configure_audio_filters() andconfigure_video_filters().
Signed-off-by: Stefano Sabatini <email@example.com>...
cmdutils: remove list_fmts(), simplify
The function was only used in opt_sample_fmt() for listing the sampleformats. Move list_fmts() functionality directly intoopt_sample_fmt().
Also fix the warning:ffmpeg.c: In function ‘opt_audio_sample_fmt’:ffmpeg.c:2877: warning: passing argument 1 of ‘list_fmts’ from incompatible pointer type...
Add missing CONFIG_AVFILTER check.
Fix configure --disable-avfilter issue.
mpegaudiodec: group #includes more sanely
Signed-off-by: Mans Rullgard <firstname.lastname@example.org>
mpegaudio: remove #if 0 blocks
ffmpeg.c: reset avoptions after each input/output file.
This is consistent with how all the other options work.
ffmpeg.c: store per-output stream sws flags.
mpegaudio: remove CONFIG_MPEGAUDIO_HP option
The low quality mode is off by default and never tested. The highquality mode is also plenty fast enough.
mpegtsenc: Clear st->priv_data when freeing it
If not cleared, the caller might try to free it.
Signed-off-by: Martin Storsjö <email@example.com>
udp: Fix receiving RTP data over multicast
Earlier, AVIO_RDWR was handled as READ, and all the checksfor the AVIO_WRONLY flag explicitly meant the write-only case.When changed from old AVIO/URL contants to AVIO_FLAG in59d96941f0285a5, these comparisons were updated incorrectly, by...
rtpproto: Remove an unused variable
regtest: fix wma tests
This adds $DEC_OPTS to the wma decode commands, making tests passon systems where the bitexact flag is needed.
mpegaudio: remove CONFIG_AUDIO_NONSHORT
This fake option cannot be enabled by normal means, and thefloating-point decoder should provide the higher quality thisoption presumably was intended for.
regtest: separate flags for encoding and decoding
This separates encoding and decoding flags, and passes them togetherwith the related file argument instead of all at the start of thecommand line.
log: Fix an oob array read.
cosmetics: trim trailing whitespace in postproc
Ban strncpy() it's too easy to misuse.
psymodel: Remove wrapper functions.
Instead use the function pointers directly.
aacenc: Replace loop counters in aac_encode_frame() with more descriptive 'ch' and 'w'.
regtest: remove redundant flags in jpg test
regtest: use run_ffmpeg in do_image_formats
regtest: simplify encoding functions
The video encoding options were needlessly split in two parameterswhich are merged. The do_audio_encoding function did not use itssecond argument, so this can be removed.
ffmpeg.c: check for interlaced flag in the correct place.
In the corresponding codec context, not global options storage.
drawtext: add documentation for the shadow parameters
drawtext: add shadow support.
Signed-off-by: Michael Niedermayer <firstname.lastname@example.org>Signed-off-by: Anton Khirnov <email@example.com>
drawtext: factor draw_glyphs.
drawtext: fix and optimize yuv blend.
drawtext: get rid of divisions in the inner loop.
drawtext: simplify chroma blend and fix chroma alpha.
lavfi: Port drawtext filter by Hemanth from the libavfilter soc repo
mov: fix composition timestamps on movie fragments.
This fixes, for instance, the case that there is a track that has some samples with composition time offset and has a track run without sample-composition-time-offsets-present.
wmavoice: Use proper size in memeset().
sizeof(array_functrion_argument) gives the size of the pointer type notthe size of the array to which it points.
configure: warn if pkg-config is missing
doc: Check standalone compilation before submitting new components.
Fix standalone compilation of pipe protocol.
file_check() is not only used by the file protocol, adjust #ifdef accordingly.
Fix standalone compilation of ac3_fixed encoder.
Fix standalone compilation of binkaudio_dct / binkaudio_rdft decoders.
Fix standalone compilation of IMC decoder.
Fix standalone compilation of WTV demuxer.
Fix standalone compilation of MXPEG decoder.
flashsv: K&R cosmetics
matroskaenc: fix memory leak
This fixes a memory leak occurring when no cue points are definedsince commit 91819763.
vc1: make overlap filter for I-frames bit-exact.
vc1dec: use s->start/end_mb_y instead of passing them as function args.
Revert "VC1: merge idct8x8, coeff adjustments and put_pixels."
This reverts commit f8bed30d8b176fa030f6737765338bb4a2bcabc9. The reasonfor this is that the overlap filter, which runs after IDCT, should runon unclamped values, and thus IDCT and put_pixels() cannot be merged if...
Replace strncpy() with av_strlcpy().
indeo3: Eliminate use of long.
get_bits: make cache unsigned to eliminate undefined signed overflow.
asfdec: fix assert failure on invalid files
Add an extra size validity check in asf_read_frame_header(). Withoutthis asf->packet_size_left may become negative, which triggers anassertion failure later.
avfilter: check malloc return values.
nutenc: check malloc return values.
avfilter: don't av_malloc(0).
nutenc: don't av_malloc(0).
mpegvideo: don't av_malloc(0).
asfdec: fix parsing of packets that overrun into padding.
Implement fate-rsync target
Make ffmpeg support generic data stream
The patch is the first step to support -dcodec copy
Tested on a Mac Pro, 2 CPUs, 2 cores each, OSX 10.6.6:
time ./ffmpeg -v 0 -vsync 0 -threads  -i \ ~/Downloads/sintel_trailer_1080p_vp8_vorbis.webm \ -f null -vcodec rawvideo -an -1: 0m14.630s (89.9 fps)2: 0m8.056s (163.2 fps)...
Replace deprecated FF_*_TYPE symbols with AV_PICTURE_TYPE_*.
Signed-off-by: Diego Biurrun <firstname.lastname@example.org>
Replace deprecated av_get_pict_type_char() with av_get_picture_type_char().
dpx: Do not use DPX encoder for decoding.
10l to the one who hasn't checked this.
ALPHA: Replace sized int_fast integer types with plain int/unsigned.
int/unsigned is the natural memory access type for CPUs, using sized typesfor temporary variables, counters and similar just increases code size andcan possibly cause a slowdown.
DPX image encoder
DPX decoder: read sample aspect ratio
Signed-off-by: Michael Niedermayer <email@example.com>
DPX decoder: add buffer size checks.
ac3enc: clip large coefficient values and negative exponents rather than usingav_assert2().
ac3enc: do not store a bandwidth code for each channel.
Although AC-3 allows it, it's not very useful. The encoder uses the same codefor all full-bandwidth channels.
ac3enc: remove bandwidth reduction as fallback for bit allocation failure.
It was only needed at low bitrates, which now already use a low bandwidth, sothe bandwidth reduction is no longer needed.
ac3enc: merge compute_exp_strategy_ch() into compute_exp_strategy()
ac3enc: return error if frame+exponent bits are too large instead of usingav_assert2().
This can occur in some very rare cases with low bitrates.
ac3enc: differentiate between current block and reference block in bit_alloc()
ac3enc: simplify exponent_init() by calculating exponent_group_tab basedon exponent group sizes.