Age | Commit message (Collapse) | Author |
|
CC:libav-stable@libav.org
|
|
|
|
Right now the buffer is zeroed, which does not represent silence for U8(P).
|
|
Signed-off-by: Martin Storsjö <martin@martin.st>
|
|
|
|
|
|
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 *’
|
|
Aligning nb_samples will give both correct plane pointer alignment and enough
padding for SIMD-optimized functions.
|
|
|
|
|
|
Based on a patch by Clément Bœsch <ubitux@gmail.com>
|
|
Based on code by Stefano Sabatini.
|
|
|
|
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.
|
|
Signed-off-by: Mans Rullgard <mans@mansr.com>
|
|
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>
|