summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* avio: avio_ prefixes for get_* functionsAnton Khirnov2011-02-22
| | | | | | | | | | | | | | | In the name of consistency: get_byte -> avio_r8 get_<type> -> avio_r<type> get_buffer -> avio_read get_partial_buffer will be made private later get_strz is left out becase I want to change it later to return something useful. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> (cherry picked from commit b7effd4e8338f6ed5bda630ad7ed0809bf458648)
* VC1: merge idct8x8, coeff adjustments and put_pixels.Ronald S. Bultje2011-02-22
| | | | | | Merging these functions allows merging some loops, which makes the results (particularly after SIMD optimizations) much faster. (cherry picked from commit f8bed30d8b176fa030f6737765338bb4a2bcabc9)
* avio: rename av_alloc_put_byte -> avio_alloc_context for consistencyAnton Khirnov2011-02-22
| | | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> (cherry picked from commit 8d9ac969cb4ac3e3e18f6425703af4d7aec6c513)
* dsputil: make {add/put/put_signed}_pixels_clamped() non-static.Ronald S. Bultje2011-02-22
| | | | (cherry picked from commit 484a337cd7cd8bb180c4a1bd3321881f1c874a92)
* VC1: inline vc1_put_block() in vc1_decode_i_blocks().Ronald S. Bultje2011-02-22
| | | | | | | Advantage is that it allows us to combine several loops into a single one, and these can eventually be merged into the IDCT itself. Also, it allows us to remove vc1_put_block(), and makes CODEC_FLAG_GRAY faster. (cherry picked from commit bbfd2e7ab4e2ae0b934657fe51afdbbbaead52b7)
* Makefile: include deps from tools directoryMans Rullgard2011-02-22
| | | | | | | | | This ensures the tools are rebuilt when necessary. Specifically, lavfi-showfiltfmts was sometimes not rebuilt causing spurious test failures. Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit 08df7f866663f83ba42398cea9f3eeff4681ea9a)
* amrnb: use correct size when copying lsf_r arrayMans Rullgard2011-02-22
| | | | | | | lsf_r is an array of int16_t, not float. Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit 1efa772e20be5869817b2370a557bb14e7ce2fff)
* x86: use raw opcode for xgetbv instructionMans Rullgard2011-02-22
| | | | | | | | | | | This allows the CPU detection to work with assemblers not supporting the xgetbv mnemonic. These include clang and some BSD versions. All AVX code will be written for yasm, where the main assembler is not involved. Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit ef6695387522fc783105ac187c84beaa284e7cff)
* Add shadow support to the drawtext filterMichael Niedermayer2011-02-22
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* factor draw_glyphs out of drawtext filterMichael Niedermayer2011-02-22
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Fix and optimize yuv blend in the drawtext filterMichael Niedermayer2011-02-22
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* get rid of divisions in the inner loop of the drawtext filterMichael Niedermayer2011-02-22
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* fix chroma alpha in the drawtext filterMichael Niedermayer2011-02-22
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Simplify chroma blend in the drawtext filterMichael Niedermayer2011-02-22
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Port drawtext filter by Hemanth from the libavfilter soc repo, withStefano Sabatini2011-02-22
| | | | | | | | | the following additions: * support to anti-aliased glyph rendering * support to UTF-8 text and Unicode chars rendering * support for RGB packed formats Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavfi: add fade filterBrandon Mintern2011-02-21
| | | | | | | Port fade filter from libavfilter soc repo, with minor fixes by Stefano. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavfi: put color source in a dedicated fileStefano Sabatini2011-02-21
| | | | | | Move the color source code from vf_pad.c to vsrc_color.c. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavfi: add drawutilsStefano Sabatini2011-02-21
| | | | | | | Add drawutils.h and drawutils.c, and use them in the pad filter. The new functions are going to be shared by other filters. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Update version and APIchanges.Ronald S. Bultje2011-02-20
| | | | | | | Update libavformat/version.h and doc/APIChanges after renaming init_put_byte() and ByteIOContext to ffio_init_context() (private) and AVIOContext, (public), and deprecating the originals. (cherry picked from commit d2bbf82e65e4a128ab1f0bf48df5d1e43c43c698)
* avio: move init_put_byte() to a new private header and rename itAnton Khirnov2011-02-20
| | | | | | | | init_put_byte should never be used outside of lavf, since sizeof(AVIOContext) isn't part of public ABI. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> (cherry picked from commit e731b8d8729e75bfb69f5540e6446d6118dac549)
* avio: rename ByteIOContext to AVIOContext.Anton Khirnov2011-02-20
| | | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> (cherry picked from commit ae628ec1fd7f54c102bf9e667a3edd404b9b9128)
* VC1: don't use vc1_put_block() in vc1_decode_i_blocks_adv().Ronald S. Bultje2011-02-20
| | | | | | | | | Advanced profile never uses "range reduction", so vc1_put_block() quite literally just calls put_pixels_clamped() from vc1_decode_i_blocks_adv(). By inlining the function, we can prevent calling IDCT8x8 if CODEC_FLAG_GRAY is set, and we don't have to scale the coeffs in the [0,256] range, but can instead use put_signed_pixels_clamped(). (cherry picked from commit 70aa916e4630bcec14439a2d703074b6d4c890a8)
* x86: check for AVX supportMans Rullgard2011-02-20
| | | | | | | This adds configure and runtime checks for AVX support on x86 CPUs. Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit 87f1355f9b4fc11414d0e6a91404203c2745f89f)
* MMS: also discover streams in extended stream properties objectMarton Balint2011-02-20
| | | | | | | | Allows playback of nonprimary audio streams in multiple bitrate sources, such as mmsh://wmscr1.dr.dk/e02ch03m Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> (cherry picked from commit 74d6871d6244865b5863a01c3dab16a2f06a1706)
* dsputil_mmx.c: remove ff_vector128.Ronald S. Bultje2011-02-20
| | | | | Remove ff_vector128, it is identical to ff_pb_80. (cherry picked from commit bf6fa732459399fac215bdfa44dd39a6fb1d1e01)
* Fix invalid reads in VC1 decoderReimar Döffinger2011-02-20
| | | | | Patch discussed and taken from https://roundup.ffmpeg.org/issue2584 (cherry picked from commit 2bbec1eda46d907605772a8b6e8263caa4bc4c82)
* Fix VP3 edge emulationDavid Conrad2011-02-20
| | | | | | | With negative stride, the start of the edge_emu buffer should be pointing to the last line, not the end of the buffer. With positive stride, pointing to the end of the buffer was completely wrong. (cherry picked from commit a89f4ca005efa5ee82089583c7b8bc00bcee816a)
* aacdec: dsputilize the scalar multiplication in intensity stereoYoung Han Lee2011-02-20
| | | | (cherry picked from commit 9707f84fa73c23352937fc7e4e0a85eaf3135cbc)
* VP3: fix decoding of videos with stride > 2048Jason Garrett-Glaser2011-02-20
| | | | | | Also remove qscale_table code; this didn't make sense anyways as VP3 doesn't use an MPEG-like quantizer scale. (cherry picked from commit 902685b8abf4e2089802528a32a50f3c68033fda)
* Fix issue2619.Michael Niedermayer2011-02-19
| | | | | | regression introduced in 1762d9ced70ccc46c5d3e5d64e56a48d0fbbd4f7 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* targa: fix potential buffer overreadsJean-Daniel Dupas2011-02-18
| | | | | Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit 351423ae1f861da1c647d30c73503fde2b1f3dad)
* Fix PPC build.Ronald S. Bultje2011-02-18
| | | | (cherry picked from commit ed040f35f298b39f1ddd45a133c82cb5d6d79dda)
* VP8: init one less near_mvJason Garrett-Glaser2011-02-18
| | | | | This one didn't actually need to be initialized. (cherry picked from commit 891b1f15a7e45a2a5f91cb4c27d11259ef8e012f)
* Force inlining of avutil common routinesJason Garrett-Glaser2011-02-18
| | | | | | | On some versions of gcc, these weren't always getting inlined due to hitting the inline cap limit in some files. This is generally bad, as most of these functions are smaller inlined than not. (cherry picked from commit eb3755a5aa65da685d81399cfae4bd35e4a178b6)
* VP8: split out declarations to new headerJason Garrett-Glaser2011-02-18
| | | | (cherry picked from commit bcf4568f183055331415ba230e82af6d59faac1c)
* VP8: faster MV clippingJason Garrett-Glaser2011-02-18
| | | | (cherry picked from commit 7634771e70575b2a5abaeb420c5b3c2f9948c693)
* dsputil: move VC1-specific stuff into VC1DSPContext.Ronald S. Bultje2011-02-18
| | | | (cherry picked from commit 12802ec0601c3bd7b9c7a2503518e28fd5e7d744)
* VC1: simplify a calculation in a loop.Ronald S. Bultje2011-02-18
| | | | (cherry picked from commit 0b16cdc3fa1d73056649abf43288be0a7624fdcc)
* VC1: transpose IDCT 8x8 coeffs while reading.Ronald S. Bultje2011-02-18
| | | | (cherry picked from commit 1da6ea39542424ddb691dc6cf08d611a4c6db247)
* ffserver: Try matching the RTSP url without a trailing slashMartin Storsjö2011-02-18
| | | | | | | If the client sends PLAY/PAUSE requests with the same url as specified in Content-Base, these requests may have urls with trailing slashes. (cherry picked from commit c2ca851b234e169b50730ef357aeade8047491eb)
* Add SHA1s to APIChanges for av_dump_format, av_parse_time and av_find_info_tagJanne Grunau2011-02-18
| | | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net> (cherry picked from commit c3dbfa1afd7d989e3bba4c6bfc492a52c012e9b3)
* lavf, lavu: bump minor versions and add an APIChanges entry for av_ prefixesAnton Khirnov2011-02-18
| | | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net> (cherry picked from commit 09d171b98879f58be1a766d5f277e131b18e98a1)
* Move find_info_tag to lavu and add av_ prefix to itAnton Khirnov2011-02-18
| | | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net> (cherry picked from commit ab0287fcbdebc8ff416214535d7ee8424406990e)
* mdct: remove unnecessary multiplicationYoung Han Lee2011-02-18
| | | | | 3*n4 was already calculated in n3. (cherry picked from commit 979395bbbb9381b522b44c3448c24aef9c819ffc)
* ac3enc: fix bug in stereo rematrixing decision.Justin Ruggles2011-02-18
| | | | | | | | The rematrixing strategy reuse flags are not reset between frames, so they need to be initialized for all blocks, not just block 0. Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit 5b54d4b376fbd2c291b8a6dba7d425e28f654bcf)
* Replace remaining uses of parse_date with av_parse_time.Anton Khirnov2011-02-18
| | | | | Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit 9fcae9735e3b97366dcee9ca3c2f6cf4faf6756f)
* Deprecate parse_date() in favor of av_parse_time().Stefano Sabatini2011-02-18
| | | | | | | | | The new av_parse_time() is created in libavutil/parseutils.h, all the internal functions used by parse_date are moved to libavutil/parseutils.c and made static. Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit f6c7375a175ac649558aefab14f3895b2cb469aa)
* lavf: add av_ prefix to dump_format()Anton Khirnov2011-02-18
| | | | | Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit 610219a598095f938705f200dfe3946455ef871a)
* rtsp: udp_read_packet returning 0 doesn't mean successMartin Storsjö2011-02-18
| | | | | | | | | If udp_read_packet returns 0, rtsp_st isn't set and we shouldn't treat it as a successfully received packet (which is counted and possibly triggers a RTCP receiver report). This fixes issue 2612. (cherry picked from commit 2c35a6bde95a382e2d48570255deb67a7633fa46)
* ffserver: set the sample aspect ratioNicolas George2011-02-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hi. It seems that ffserver sets sample_aspect_ratio to an invalid value and lavf rejects it. I am not sure what I am doing here, but the attached patch actually solves something: using the following config: CustomLog - NoDaemon RTSPPort 5454 <Stream test1-rtsp.mpg> Format rtp File "/tmp/test1-rtsp.mpg" </Stream> it allows a somewhat old ffplay (unaffected by the content-base issue I spoke of in another thread) to play the stream. Without it, ffserver logs this and closes the stream: Wed Feb 16 14:52:14 2011 [rtp @ 0x1399de0]Aspect ratio mismatch between encoder and muxer layer Regards, -- Nicolas George From 1b89c3c2164335060e87567b27deb0d354e0a814 Mon Sep 17 00:00:00 2001 From: Nicolas George <nicolas.george@normalesup.org> Date: Wed, 16 Feb 2011 14:44:31 +0100 Subject: [PATCH] ffserver: set the sample aspect ratio. Signed-off-by: Nicolas George <nicolas.george@normalesup.org> (cherry picked from commit 6741f7c9be4913e084ad067571f3f29853ec5d5a)