Age | Commit message (Collapse) | Author |
|
Signed-off-by: Martin Storsjö <martin@martin.st>
|
|
It makes sense in some cases to split up the output packet to save on memory
usage (ape frames can be very large), but the current/default size is
arbitrary. Allowing the user to configure this gives more flexibility and
requires minimal additional code.
|
|
|
|
This will allow the decoder to return samples for the full packet, and it also
makes the decoded buffer pointers aligned.
|
|
|
|
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
|
|
|
|
av_realloc() does not guarantee alignment, which is required for
DSPContext.bswap_buf().
|
|
|
|
The prefix is a historic remnant that probably meant "alternative".
Now that the A32 bitstream reader has been dropped it makes no sense anymore.
|
|
Deprecate avcodec_decode_audio3().
Implement audio support in avcodec_default_get_buffer().
Implement the new audio decoder API in all audio decoders.
|
|
This bit manipulation is equivalent but avoids undefined
shifts and overflows.
Signed-off-by: Mans Rullgard <mans@mansr.com>
|
|
This avoids artifically consuming a partial packet but ignoring remaining data
in subsequent calls.
|
|
also move nblocks to the local scope where it is used.
|
|
|
|
The decoder already skips data at the end of the packet without this.
Also remove 2 APEContext fields that were only used for the end-of-frame
normalization.
|
|
|
|
|
|
buffer during entropy decoding.
The pointer address could overflow, which would likely segfault. Instead set
the context error flag to indicate that the decoder tried to read past the
end of the packet data.
|
|
|
|
avoids implementation-defined unsigned-to-signed conversion and simplifies
the bounds checking.
|
|
The variable is not used anymore at that point.
|
|
|
|
|
|
This prevents errors and/or invalid writes in the next decode call due to
s->samples still being negative.
|
|
|
|
|
|
|
|
break some excessively long lines and remove space after '*'
|
|
|
|
|
|
|
|
This is already checked by avcodec_decode_audio3().
|
|
It's more readable and less prone to breakage.
|
|
Before this, almost all module groups have been used for grouping functions
and fields in structures semantically. This causes them to not appear
properly in the file documentation and needlessly clutters up the "Modules"
index.
Additionally, this commit streamlines some spelling and appearances.
|
|
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>
|
|
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
|
|
None of these symbols should be accessed directly, so declare them as
hidden.
Signed-off-by: Mans Rullgard <mans@mansr.com>
|
|
SampleFormat with AVSampleFormat.
Originally committed as revision 25730 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
Originally committed as revision 23900 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
Passing an explicit filename to this command is only necessary if the
documentation in the @file block refers to a file different from the
one the block resides in.
Originally committed as revision 22921 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
is deprecated and will be dropped at the next major bump.
Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
Originally committed as revision 21910 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
29-105% faster apply_filter, 6-90% faster ape decoding on core2
(Any x86 other than core2 probably gets much less, since this is mostly due to ssse3 cachesplit avoidance and I haven't written the full gamut of other cachesplit modes.)
9-123% faster ape decoding on G4.
Originally committed as revision 20739 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
Originally committed as revision 20729 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
Originally committed as revision 20727 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
20% faster predictor_update_filter, .4-4% faster ape decoding on core2
Originally committed as revision 20720 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
50% faster predictor_update_filter, 1-10% faster ape decoding on core2
Originally committed as revision 20719 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
decoder.
This fixes issue 1555
Originally committed as revision 20560 to svn://svn.ffmpeg.org/ffmpeg/trunk
|