summaryrefslogtreecommitdiff
path: root/libavutil/samplefmt.c
Commit message (Collapse)AuthorAge
* samplefmt: avoid integer overflow in av_samples_get_buffer_size()Justin Ruggles2014-02-04
| | | | CC:libav-stable@libav.org
* lavu: remove disabled FF_API_GET_BITS_PER_SAMPLE_FMT cruftAnton Khirnov2012-10-23
|
* samplefmt: make av_samples_alloc() initialize the data to silence.Anton Khirnov2012-10-04
| | | | Right now the buffer is zeroed, which does not represent silence for U8(P).
* Don't include common.h from avutil.hMartin Storsjö2012-08-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* samplefmt: add a function for filling a buffer with silence.Anton Khirnov2012-05-09
|
* samplefmt: add a function for copying audio samples.Anton Khirnov2012-05-09
|
* av_samples_fill_array: Mark unmodified function argument as const.Diego Biurrun2012-05-08
| | | | | libavcodec/utils.c:274: warning: passing argument 3 of ‘av_samples_fill_arrays’ discards qualifiers from pointer target type ./libavutil/samplefmt.h:151: note: expected ‘uint8_t *’ but argument is of type ‘const uint8_t *’
* avutil: change default buffer size alignment for sample buffer functionsJustin Ruggles2012-04-23
| | | | | Aligning nb_samples will give both correct plane pointer alignment and enough padding for SIMD-optimized functions.
* avutil: use align == 0 for default alignment in audio sample buffer functionsJustin Ruggles2012-04-09
|
* avutil: allow NULL linesize in av_samples_fill_arrays() and av_samples_alloc()Justin Ruggles2012-04-09
|
* avutil: add av_get_packed_sample_fmt() and av_get_planar_sample_fmt()Justin Ruggles2012-04-08
| | | | Based on a patch by Clément Bœsch <ubitux@gmail.com>
* libavutil: add utility functions to simplify allocation of audio buffers.Justin Ruggles2011-11-23
| | | | Based on code by Stefano Sabatini.
* libavutil: add planar sample formats and av_sample_fmt_is_planar()Justin Ruggles2011-11-23
|
* samplefmt: add av_get_bytes_per_sample()Stefano Sabatini2011-06-07
| | | | | | | | | Deprecate av_get_bits_per_sample_fmt(), which was a misnamed function. For the moment we don't have sample formats with a non-integer number of bytes, in that case we may need to create a new av_get_bits_per_sample() function. In the meanwhile we prefer to adopt this variant, since avoids divisions by 8 all over the place.
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Merge libavcore into libavutilReinhard Tartler2011-02-15
It is pretty hopeless that other considerable projects will adopt libavutil alone in other projects. Projects that need small footprint are better off with more specialized libraries such as gnulib or rather just copy the necessary parts that they need. With this in mind, nobody is helped by having libavutil and libavcore split. In order to ease maintenance inside and around FFmpeg and to reduce confusion where to put common code, avcore's functionality is merged (back) to avutil. Signed-off-by: Reinhard Tartler <siretart@tauware.de>