summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Cleaned up alacenc.cNathan Adil Maxson2011-12-011-47/+54
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* rtpenc: Add support for G726 audioMartin Storsjö2011-12-012-0/+13
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec: Interpret the different G726 names as bits_per_coded_sampleMartin Storsjö2011-12-011-4/+2
| | | | | | | | | | | | | | For the standardized 8 kHz sample rate, this works exactly the same. For nonstandard sample rates, the different predefined G726 names (G726-16, G726-24, G726-32, G726-40) are interpreted as an indication of the bits per coded sample, even though their actual bitrates aren't what the name specifies. This feels more sane than using free-form names for nonstandard sample rate/bitrate combinations, e.g like G726-22, G726-33 for 11025 Hz. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpenc: Change rtp_send_samples to handle sample sizes other than even bytesMartin Storsjö2011-12-011-9/+12
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpenc: Cast a rescaling parameter to int64_tMartin Storsjö2011-12-011-1/+1
| | | | | | | This avoids overflow if frame_size is over 2147, since both frame_size and AV_TIME_BASE are plain integers. Signed-off-by: Martin Storsjö <martin@martin.st>
* h264: cap max has_b_frames at MAX_DELAYED_PIC_COUNT - 1.Ronald S. Bultje2011-12-011-1/+1
| | | | | This prevents frame allocation overflows, and fixed fate-h264-conformance-mr3_tandberg_b with 2 threads.
* ARM: fix indentation in ff_dsputil_init_neon()Mans Rullgard2011-12-011-41/+39
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* ARM: NEON put/avg_pixels8/16 cosmeticsMans Rullgard2011-12-011-57/+57
| | | | | | | This makes whitespace and register names consistent with the style used in more recent code. Signed-off-by: Mans Rullgard <mans@mansr.com>
* ARM: add remaining NEON avg_pixels8/16 functionsMans Rullgard2011-12-012-0/+75
|
* ARM: clean up NEON put/avg_pixels macrosMans Rullgard2011-12-011-69/+86
| | | | | | Although this adds a few lines, the macro calls are less convoluted. Signed-off-by: Mans Rullgard <mans@mansr.com>
* fate: split acodec-pcm into individual testsJustin Ruggles2011-12-0119-181/+103
| | | | | this removes 2 redundant tests for pcm in mkv. we can add the coverage back in later as fate-lavf tests if needed.
* swscale: #include "libavutil/mathematics.h"Reinhard Tartler2011-12-011-0/+1
| | | | | | | | this file uses the M_PI macro since 4e74187db2f5db52f88729efc662df9d6bc763e1, so include the correct header directly. Signed-off-by: Reinhard Tartler <siretart@tauware.de>
* pmpdec: don't use deprecated av_set_pts_info.Anton Khirnov2011-12-011-2/+3
|
* rv34: align temporary block of "dct" coefsMans Rullgard2011-12-011-2/+2
| | | | | | This is needed for optimised transforms. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Add PlayStation Portable PMP format demuxerReimar Döffinger2011-12-015-0/+183
| | | | | | | | | Not yet complete, for demuxing AAC the AAC header must be generated manually. Possibly the decoder could accept the header as extradata to simplify this. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* proto: Realign struct initializersMartin Storsjö2011-12-016-28/+28
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* proto: Use .priv_data_size to allocate the private contextMartin Storsjö2011-12-0110-75/+29
| | | | | | | | This simplifies the open functions by avoiding one function call that needs error checking, reducing the amount of extra bulk code. Signed-off-by: Martin Storsjö <martin@martin.st>
* mmsh: Properly clean up if the second ffurl_alloc failedMartin Storsjö2011-12-011-3/+3
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtmp: Clean up properly if the handshake failedMartin Storsjö2011-12-011-1/+1
| | | | | | This prevents memory leaks if this function returns an error. Signed-off-by: Martin Storsjö <martin@martin.st>
* md5proto: Remove the get_file_handle functionMartin Storsjö2011-12-011-5/+0
| | | | | | | The private data pointer isn't a file handle, this protocol doesn't have any file handle to return. Signed-off-by: Martin Storsjö <martin@martin.st>
* applehttpproto: Use the close function if the open function failsMartin Storsjö2011-12-011-12/+12
| | | | | | This should clean up leaked memory. Signed-off-by: Martin Storsjö <martin@martin.st>
* http: Make sure proxyauth is initializedMartin Storsjö2011-12-011-1/+1
| | | | | | | | | This string will be passed to ff_http_auth_create_response even if no proxy is used, resulting in reading uninitialized memory. The other auth string is always initialized by av_url_split. Signed-off-by: Martin Storsjö <martin@martin.st>
* vble: use dsp.add_hfyu_median_prediction() this allows asm optimizations to ↵Michael Niedermayer2011-11-301-18/+16
| | | | | | | be used. Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* vble: remove flags copy, its not used in any speed relevant code.Michael Niedermayer2011-11-301-3/+1
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* vble: merge len and val arraysDerek Buitenhuis2011-11-301-19/+6
| | | | | | | | | | There's no reason to use two arrays for this. Based off commit 2fea60c60084c4e70d7cef128ea3bca5690ce465 to FFmpeg by Michael Niedermayer. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* vble: remove unused variable len.Michael Niedermayer2011-11-301-2/+0
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* rtpdec: Templatize the code for different g726 bitrate variantsMartin Storsjö2011-11-301-77/+23
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rv40: move loop filter to rv34dsp contextJanne Grunau2011-11-304-164/+176
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* lavf: make av_set_pts_info private.Anton Khirnov2011-11-30139-205/+338
| | | | It's supposed to be called only from (de)muxers.
* rtpdec: Add support for G726 audioMiroslav Slugeň2011-11-304-0/+112
| | | | | | | | | | | This requires using a separate init function, since there isn't necessarily any fmtp lines for this codec, so parse_sdp_a_line won't be called. Incorporating it with the alloc function wouldn't do either, since it is called before the full rtpmap line is parsed (where the sample rate is extracted). Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec: Add an init function that can do custom codec context initializationMartin Storsjö2011-11-302-0/+7
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* avconv: make copy_tb on by default.Anton Khirnov2011-11-301-4/+2
| | | | | | | I.e. on streamcopy set output codec timebase from input stream timebase (as opposed to input codec timebase). This should be more sane, because since the stream is not decoded, the input codec tb has no relation to the timestamps of the copied packets.
* matroskadec: don't set codec timebase.Anton Khirnov2011-11-301-4/+0
| | | | It's not supposed to be set outside of lavc.
* rmdec: don't set codec timebase.Anton Khirnov2011-11-301-3/+2
| | | | | It's not supposed to be set outside of lavc. Set r_frame_rate instead.
* avconv: compute next_pts from input packet duration when possible.Anton Khirnov2011-11-301-1/+3
|
* lavf: estimate frame duration from r_frame_rate.Anton Khirnov2011-11-301-1/+4
| | | | | If r_frame_rate is set, it should be more reliable for this than either codec or stream timebase.
* avconv: update InputStream.pts in the streamcopy case.Anton Khirnov2011-11-301-0/+1
| | | | This was broken in 2a651b719c309c5e2fc663a5a9d6ca36153ab98f.
* indeo3: check per-plane data buffer against input buffer bounds.Aneesh Dogra2011-11-291-1/+3
| | | | | | Fixes : http://bugzilla.libav.org/show_bug.cgi?id=102 Signed-off-by: Alex Converse <alex.converse@gmail.com>
* avconv: Handle audio sync for non-S16 sample formats.Alex Converse2011-11-281-15/+16
| | | | Also fix reporting of the number of samples added/dropped.
* pthread: don't increment index on zero-sized packets.Aaron Colwell2011-11-281-2/+1
| | | | | | | | The next call to decode() will update from an invalid index, which will either lead to a memcpy() where dest==src (2 threads), or lead to a crash (>2 threads). Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* adtsenc: Check frame size.Alex Converse2011-11-282-4/+21
| | | | | | Inspired by work from: Michael Niedermayer <michaelni@gmx.at>. Signed-off-by: Alex Converse <alex.converse@gmail.com>
* txd: Fix order of operations.Alex Converse2011-11-281-1/+2
|
* APIchanges: fill in some blanksMans Rullgard2011-11-281-6/+6
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* timer: fix misspelling of "decicycles"Mans Rullgard2011-11-281-1/+1
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Eliminate pointless 0/NULL initializers in AVCodec and similar declarations.Diego Biurrun2011-11-2818-32/+0
|
* indeo3: cosmeticsKostya Shishkov2011-11-281-1/+1
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* md5proto: Fix order of operations.Alex Converse2011-11-271-1/+1
|
* dca: Replace oversized unused get_bits() with skip_bits_long().Alex Converse2011-11-271-2/+2
|
* vc1: use an enum for Frame Coding ModeLuca Barbato2011-11-284-24/+35
| | | | Document it a little and possibly fix a bug in dxva2_vc1.
* doc: cleanup filter sectionLuca Barbato2011-11-281-10/+9
| | | | Use the @command{} tag when needed and cleanup the examples.
OpenPOWER on IntegriCloud