summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* rotozoom: Drop silly UINT8 typedef.Diego Biurrun2011-05-11
|
* rotozoom: Drop some unnecessary parentheses.Diego Biurrun2011-05-11
|
* rotozoom: K&R coding style cosmeticsDiego Biurrun2011-05-11
|
* rtsp: Only do keepalive using GET_PARAMETER if the server supports itMartin Storsjö2011-05-11
| | | | | | | | | | | | | | | | This is more like what VLC does. If the server doesn't mention supporting GET_PARAMETER in response to an OPTIONS request, VLC doesn't send any keepalive requests at all. After this patch, libavformat will still send OPTIONS keepalives if GET_PARAMETER isn't explicitly said to be supported. Some RTSP cameras don't support GET_PARAMETER, and will close the connection if this is sent as keepalive request (but support OPTIONS just fine, but probably don't need any keepalive at all). Some other cameras don't support using OPTIONS as keepalive, but require GET_PARAMETER instead. Signed-off-by: Martin Storsjö <martin@martin.st>
* ffmpeg: call pre_process_video_frame() only if decoding is neededStefano Sabatini2011-05-11
| | | | | | | | | | | | In output_packet(), move the pre_process_video_frame() call inside the if (ist->decoding_needed) { } block. This way pre_process_video_frame() is not called when stream-copy has been selected. Also simplify. Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* ffmpeg: reformat resample condition code in transcode()Stefano Sabatini2011-05-11
| | | | | Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* ffmpeg: factorize resampling condition check in do_video_out()Stefano Sabatini2011-05-11
| | | | | | | Simplify and improve readability. Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* ffmpeg: prefer "dec" over "ist->st->codec" in do_video_out() snippetStefano Sabatini2011-05-11
| | | | | | | Simplify, ease readability. Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* ffmpeg: improve reporting if size/pixel format changesStefano Sabatini2011-05-11
| | | | | | | | | | | Use av_log() rather than fprintf(stderr, ...), and show information related to the previous size/pixel format configuration. Consistent with the corresponding message issued in case of audio configuration change. Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* ffmpeg: warns the user when the selected pixel format is ignoredStefano Sabatini2011-05-11
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* ffplay: add a dummy option -i so that it is easy to switch between ffmpeg -i ↵Benjamin Larsson2011-05-11
| | | | | | "file" and ffplay -i "file". Signed-off-by: Anton Khirnov <anton@khirnov.net>
* cosmetics: Fix crazy formatting in resample.Alex Converse2011-05-10
|
* Allow resampling with no channel count change for up to 8 channels.Alex Converse2011-05-10
|
* Don't allow unsupported resampling configurations.Alex Converse2011-05-10
|
* Port x86 10-bit H.264 deblock asm from x264Jason Garrett-Glaser2011-05-10
|
* Update x86 H.264 deblock asmJason Garrett-Glaser2011-05-10
| | | | Includes AVX versions from x264.
* AVOptions: make default_val a union, as proposed in AVOption2.Anton Khirnov2011-05-10
| | | | This breaks API and ABI.
* arm/h264pred: add missing argument type.Ronald S. Bultje2011-05-10
|
* h264dsp_mmx: place bracket outside #if/#endif block.Ronald S. Bultje2011-05-10
| | | | Should fix compile on systems missing yasm/nasm.
* 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
|