summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* lavf/utils: fix ff_interleave_compare_dts corner case.Vitor Sessak2011-05-10
| | | | | | | | | | This should fix behavior introduced by commit 96573c0d7605672d69b42ae1dcf18764ce47c71a. Av_rescale_rnd() is not lossless so if two timestamps are equal after being rescaled they are not always actually identical. This patch use av_compare_ts() to get always a correct result. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* fate: add 10-bit H264 tests.Ronald S. Bultje2011-05-10
|
* h264: do not print "too many references" warning for intra-only.Ronald S. Bultje2011-05-10
| | | | Fixes issue 2679.
* Enable decoding of high bit depth h264.Oskar Arvidsson2011-05-10
| | | | | | This patch completes the high bit depth h264 decoding support. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Adds 8-, 9- and 10-bit versions of some of the functions used by the h264 ↵Oskar Arvidsson2011-05-10
| | | | | | | | | | | | | | | | | decoder. This patch lets e.g. dsputil_init chose dsp functions with respect to the bit depth to decode. The naming scheme of bit depth dependent functions is <base name>_<bit depth>[_<prefix>] (i.e. the old clear_blocks_c is now named clear_blocks_8_c). Note: Some of the functions for high bit depth is not dependent on the bit depth, but only on the pixel size. This leaves some room for optimizing binary size. Preparatory patch for high bit depth h264 decoding support. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Add support for higher QP values in h264.Oskar Arvidsson2011-05-10
| | | | | | | | 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. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Add the notion of pixel size in h264 related functions.Oskar Arvidsson2011-05-10
| | | | | | | | | | In high bit depth the pixels will not be stored in uint8_t like in the normal case, but in uint16_t. The pixel size is thus 1 in normal bit depth and 2 in high bit depth. Preparatory patch for high bit depth h264 decoding support. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Make the h264 loop filter bit depth aware.Oskar Arvidsson2011-05-10
| | | | | | Preparatory patch for high bit depth h264 decoding support. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Template dsputil_template.c with respect to pixel size, etc.Oskar Arvidsson2011-05-10
| | | | | | Preparatory patch for high bit depth h264 decoding support. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Template h264idct_template.c with respect to pixel size, etc.Oskar Arvidsson2011-05-10
| | | | | | Preparatory patch for high bit depth h264 decoding support. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Preparatory patch for high bit depth h264 decoding support.Oskar Arvidsson2011-05-10
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Move some functions in dsputil.c into a new file dsputil_template.c.Oskar Arvidsson2011-05-10
| | | | | | | The functions moved are used when decoding h264. Preparatory patch for high bit depth h264 decoding support. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Move the functions in h264idct into a new file h264idct_template.c.Oskar Arvidsson2011-05-10
| | | | | | Preparatory patch for high bit depth h264 decoding support. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Move the functions in h264pred.c into a new file h264pred_template.c.Oskar Arvidsson2011-05-10
| | | | | | Preparatory patch for high bit depth h264 decoding support. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Preparatory patch for high bit depth h264 decoding support.Oskar Arvidsson2011-05-10
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Add pixel formats for 9- and 10-bit yuv420p.Oskar Arvidsson2011-05-10
| | | | | | | | Also add support for these formats in libswscale. Needed for high bit depth h264 decoding. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Choose h264 chroma dc dequant function dynamically.Oskar Arvidsson2011-05-10
| | | | | | Needed for high bit depth h264 decoding. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* h264: DSP'ize MBAFF loopfilter.Ronald S. Bultje2011-05-10
|
* ffmpeg: Simplify decode loop condition to not use next_ptsAlexander Strange2011-05-10
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* lavc: move some flac-specific options to its private context.Anton Khirnov2011-05-10
|
* ffmpeg: remove unused fields AVOutputStream.original_width/heightStefano Sabatini2011-05-10
| | | | | Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* ffmpeg: remove unused variable padding_src in do_video_out()Stefano Sabatini2011-05-10
| | | | | Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* ffmpeg: fix negative verbosity.Michael Niedermayer2011-05-10
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* cmdutils: add OPT_INT check in parse_number_or_die()Stefano Sabatini2011-05-10
| | | | | | | Check that the value passed for an OPT_INT option is an int, fail otherwise. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* ffmpeg: rename configure_filters() to configure_video_filters()Stefano Sabatini2011-05-10
| | | | | | | | | Mostly useful for the audio-filters branch, to make more apparent the distinction between configure_audio_filters() and configure_video_filters(). Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* cmdutils: remove list_fmts(), simplifyStefano Sabatini2011-05-10
| | | | | | | | | | | | | The function was only used in opt_sample_fmt() for listing the sample formats. Move list_fmts() functionality directly into opt_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 cmdutils.h:163: note: expected ‘void (*)(char *, int, int)’ but argument is of type ‘char * (*)(char *, int, enum AVSampleFormat)’ Signed-off-by: Anton Khirnov <anton@khirnov.net>
* Add missing CONFIG_AVFILTER check.Takashi Mochizuki2011-05-10
| | | | | | Fix configure --disable-avfilter issue. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* mpegaudiodec: group #includes more sanelyMans Rullgard2011-05-09
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* mpegaudio: remove #if 0 blocksMans Rullgard2011-05-09
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* ffmpeg.c: reset avoptions after each input/output file.Anton Khirnov2011-05-09
| | | | This is consistent with how all the other options work.
* ffmpeg.c: store per-output stream sws flags.Anton Khirnov2011-05-09
|
* mpegaudio: remove CONFIG_MPEGAUDIO_HP optionMans Rullgard2011-05-09
| | | | | | | The low quality mode is off by default and never tested. The high quality mode is also plenty fast enough. Signed-off-by: Mans Rullgard <mans@mansr.com>
* mpegtsenc: Clear st->priv_data when freeing itMartin Storsjö2011-05-09
| | | | | | If not cleared, the caller might try to free it. Signed-off-by: Martin Storsjö <martin@martin.st>
* udp: Fix receiving RTP data over multicastMartin Storsjö2011-05-09
| | | | | | | | | | | | | | | | Earlier, AVIO_RDWR was handled as READ, and all the checks for the AVIO_WRONLY flag explicitly meant the write-only case. When changed from old AVIO/URL contants to AVIO_FLAG in 59d96941f0285a5, these comparisons were updated incorrectly, by mapping checks for AVIO_WRONLY to checks for AVIO_FLAG_WRITE. When receiving RTP over UDP, the urlcontext is opened with READ_WRITE flags. This patch updates the flag comparisons to check for the same conditions as the code did prior to 59d96941f0285a5. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpproto: Remove an unused variableMartin Storsjö2011-05-09
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* regtest: fix wma testsMans Rullgard2011-05-09
| | | | | | | This adds $DEC_OPTS to the wma decode commands, making tests pass on systems where the bitexact flag is needed. Signed-off-by: Mans Rullgard <mans@mansr.com>
* mpegaudio: remove CONFIG_AUDIO_NONSHORTMans Rullgard2011-05-09
| | | | | | | | This fake option cannot be enabled by normal means, and the floating-point decoder should provide the higher quality this option presumably was intended for. Signed-off-by: Mans Rullgard <mans@mansr.com>
* regtest: separate flags for encoding and decodingMans Rullgard2011-05-09
| | | | | | | | This separates encoding and decoding flags, and passes them together with the related file argument instead of all at the start of the command line. Signed-off-by: Mans Rullgard <mans@mansr.com>
* log: Fix an oob array read.Alex Converse2011-05-08
|
* cosmetics: trim trailing whitespace in postprocAlex Converse2011-05-08
|
* Ban strncpy() it's too easy to misuse.Alex Converse2011-05-08
|
* psymodel: Remove wrapper functions.Nathan Caldwell2011-05-08
| | | | Instead use the function pointers directly.
* aacenc: Replace loop counters in aac_encode_frame() with more descriptive ↵Nathan Caldwell2011-05-08
| | | | 'ch' and 'w'.
* regtest: remove redundant flags in jpg testMans Rullgard2011-05-08
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* regtest: use run_ffmpeg in do_image_formatsMans Rullgard2011-05-08
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* regtest: simplify encoding functionsMans Rullgard2011-05-08
| | | | | | | | The video encoding options were needlessly split in two parameters which are merged. The do_audio_encoding function did not use its second argument, so this can be removed. Signed-off-by: Mans Rullgard <mans@mansr.com>
* ffmpeg.c: check for interlaced flag in the correct place.Anton Khirnov2011-05-08
| | | | In the corresponding codec context, not global options storage.
* drawtext: add documentation for the shadow parametersStefano Sabatini2011-05-07
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* drawtext: add shadow support.Michael Niedermayer2011-05-07
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* drawtext: factor draw_glyphs.Michael Niedermayer2011-05-07
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Anton Khirnov <anton@khirnov.net>