Age | Commit message (Collapse) | Author |
|
Also fill in missing dates and hashes.
|
|
Signed-off-by: Martin Storsjö <martin@martin.st>
|
|
C++ does not allow to mix different enums, so e.g. code comparing
ACodecID with CodecID would fail to compile with gcc.
This very evil hack should fix this problem.
|
|
This adds a function to retrieve the number of entries in a
dictionary and updates the places directly accessing what should
be an opaque struct to use this new function instead.
Signed-off-by: Mans Rullgard <mans@mansr.com>
|
|
|
|
Refactoring mmx2/mmxext YASM code with cpuflags will force renames.
So switching to a consistent naming scheme beforehand is sensible.
The name "mmxext" is more official and widespread and also the name
of the CPU flag, as reported e.g. by the Linux kernel.
|
|
Useful in cases where a significant analyzeduration is
still needed, while minimizing buffering before output.
An example is processing low-latency streams where all
media types won't necessarily come in if the
analyzeduration is small.
Additional changes by Josh Allmann <joshua.allmann@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
|
|
Signed-off-by: Anton Khirnov <anton@khirnov.net>
|
|
|
|
Both function ease allocating large arrays implementing the overflow
check inside it.
|
|
This breaks libavfilter ABI.
|
|
This function implements a delay using the first available
of the following functions:
- nanosleep()
- usleep()
- Sleep() (Windows)
The conditional #includes in time.c are simplified by including
unistd.h and windows.h whenever they are available rather than
having these lines triggered by specific functions.
Signed-off-by: Mans Rullgard <mans@mansr.com>
|
|
Signed-off-by: Mans Rullgard <mans@mansr.com>
|
|
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
|
|
This is more consistent with naming in the rest of Libav.
|
|
This will allow making AVFilterPad opaque for the calling apps, since
those are the only two fields that can be useful to the users.
|
|
|
|
Introduce a new function to set binary data through AVOption,
avoiding having to convert the binary data to a string inbetween.
Signed-off-by: Martin Storsjö <martin@martin.st>
|
|
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
|
|
|
|
|
|
Rationale is the same as for video width/height etc.
|
|
|
|
|
|
This moves the cpu flag parsing code from avconv to avutil so
it can be accessed elsewhere.
Signed-off-by: Mans Rullgard <mans@mansr.com>
|
|
This is a new library for audio sample format, channel layout, and sample rate
conversion.
|
|
The functions operate on the sample level rather than the byte level and work
with all audio sample formats.
|
|
This is required for letting applications to create and destroy
AVFilterInOut structs in a convenient way.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
|
|
Based on a patch by Clément Bœsch <ubitux@gmail.com>
|
|
Also, use the new function in the AC-3 encoder.
|
|
|
|
|
|
|
|
|
|
|
|
This is a utility function for the user to get the frame duration based on
the codec id, frame size in bytes, and various AVCodecContext parameters.
|
|
|
|
Signed-off-by: Martin Storsjö <martin@martin.st>
|
|
support.
|
|
|
|
Useful to return instead of -1 when the cause of the error is unknown,
typically from an external library.
|
|
This library does not fit into Libav as a whole and its code is just a
maintenance burden. Furthermore it is now available as an external project,
which completely obviates any reason to keep it around.
URL: http://git.videolan.org/?p=libpostproc.git
|
|
This will allow parsers to export the duration of the current frame being
output, if known, instead of using AVCodecContext.frame_size.
|
|
|
|
This makes it possible to dintinguish them from PAL8.
Fixes an invalid write in avpicture_layout().
|
|
Deprecate avcodec_encode_video().
|
|
|
|
Wrapper around av_fast_malloc() that keeps FF_INPUT_BUFFER_PADDING_SIZE
zero-padded bytes at the end of the used buffer.
Based on a patch by Reimar Döffinger <Reimar.Doeffinger@gmx.de>.
|
|
Fixes bug 212.
|
|
It allows to check whether an AVCodecContext is open in a documented
way. Right now the undocumented way this check is done in lavf/lavc is
by checking whether AVCodecContext.codec is NULL. However it's desirable
to be able to set AVCodecContext.codec before avcodec_open2().
|