Anton Khirnov
58b049f2fa
lavfi: support automatically inserting the fifo filter when needed.
...
This breaks libavfilter ABI.
13 years ago
Mans Rullgard
d3d3a32c9d
lavu: add av_usleep() function
...
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>
13 years ago
Mans Rullgard
dc7e336cae
lavf, lavu: version bumps and APIchanges for av_gettime() move
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
John Stebbins
3971be0eb5
Add Dolby/DPLII downmix support to libavresample
...
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
13 years ago
Anton Khirnov
9baeff9506
lavfi: replace AVFilterContext.input/output_count with nb_inputs/outputs
...
This is more consistent with naming in the rest of Libav.
13 years ago
Anton Khirnov
84b9fbe055
lavfi: add avfilter_pad_get_type() and avfilter_pad_get_name().
...
This will allow making AVFilterPad opaque for the calling apps, since
those are the only two fields that can be useful to the users.
13 years ago
Anton Khirnov
b0f0dfc485
Bump lavu minor and add an APIChanges entry for audioconvert functions.
13 years ago
Samuel Pitoiset
154486f9ad
opt: Add av_opt_set_bin()
...
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>
13 years ago
James Zern
e9cef89702
avformat: Add a flag to mark muxers that allow (non strict) monotone timestamps.
...
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
13 years ago
Anton Khirnov
d89eca507c
Add missing version bumps and APIchanges/Changelog entries.
13 years ago
Anton Khirnov
a5117a2444
lavc: pad last audio frame with silence when needed.
13 years ago
Anton Khirnov
828bd088f3
lavc: add sample rate and channel layout to AVFrame.
...
Rationale is the same as for video width/height etc.
13 years ago
Justin Ruggles
4010d724e1
lavr: use 8.8 instead of 10.6 as the 16-bit fixed-point mixing coeff type
13 years ago
Justin Ruggles
f7ff099997
APIchanges: fill in some dates and commit hashes
13 years ago
Mans Rullgard
3527a73933
avutil: add av_parse_cpu_flags() function
...
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>
13 years ago
Justin Ruggles
c8af852b97
Add libavresample
...
This is a new library for audio sample format, channel layout, and sample rate
conversion.
13 years ago
Justin Ruggles
0c0d1bce7c
avutil: add audio fifo buffer
...
The functions operate on the sample level rather than the byte level and work
with all audio sample formats.
13 years ago
Stefano Sabatini
91d3cbe0fd
avfiltergraph: make the AVFilterInOut alloc/free API public
...
This is required for letting applications to create and destroy
AVFilterInOut structs in a convenient way.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Justin Ruggles
4d693b023c
avutil: add av_get_packed_sample_fmt() and av_get_planar_sample_fmt()
...
Based on a patch by Clément Bœsch <ubitux@gmail.com>
13 years ago
Justin Ruggles
5cc51a5847
avutil: Add av_get_default_channel_layout()
...
Also, use the new function in the AC-3 encoder.
13 years ago
Anton Khirnov
9c47f2b294
APIchanges: mark the place where 0.7 was cut.
13 years ago
Anton Khirnov
75bdd55e77
APIchanges: mark the place where 0.8 was cut.
13 years ago
Anton Khirnov
5d20e7b7ea
APIchanges: fill in missing dates and hashes.
13 years ago
Diego Biurrun
343bfdd38a
APIchanges: Replace Subversion revision numbers by Git hashes.
13 years ago
Anton Khirnov
4d851f8dcf
cpu: add av_set_cpu_flags_mask().
13 years ago
Justin Ruggles
9524cf79df
avcodec: add av_get_audio_frame_duration() function.
...
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.
13 years ago
Anton Khirnov
44fe77b350
lavc: make codec_is_decoder/encoder() public.
13 years ago
Martin Storsjö
442c1320e7
avpacket: Add a function for shrinking already allocated side data
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Anton Khirnov
322537478b
Add a minor bump, changelog/APIchanges entry and some documentation for APIC support.
13 years ago
Anton Khirnov
f5f5b154e7
doc/APIchanges: fill in missing dates and hashes.
13 years ago
Justin Ruggles
c9bca80132
avutil: add AVERROR_UNKNOWN
...
Useful to return instead of -1 when the cause of the error is unknown,
typically from an external library.
13 years ago
Diego Biurrun
b315042c8c
Remove libpostproc.
...
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
13 years ago
Justin Ruggles
e9cda85351
avcodec: add duration field to AVCodecParserContext
...
This will allow parsers to export the duration of the current frame being
output, if known, instead of using AVCodecContext.frame_size.
13 years ago
Justin Ruggles
0b42a9388c
avutil: add av_rescale_q_rnd() to allow different rounding
13 years ago
Anton Khirnov
38d5533228
pixdesc: mark pseudopaletted formats with a special flag.
...
This makes it possible to dintinguish them from PAL8.
Fixes an invalid write in avpicture_layout().
13 years ago
Anton Khirnov
52f82a1148
lavc: add avcodec_encode_video2() that encodes from an AVFrame -> AVPacket
...
Deprecate avcodec_encode_video().
13 years ago
Janne Grunau
fcc518a024
APIchanges: add missing commit hashes
13 years ago
Janne Grunau
316fc7443b
avcodec: Add av_fast_padded_malloc().
...
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>.
13 years ago
Anton Khirnov
dd6d3b0e02
lavf: add functions for accessing the fourcc<->CodecID mapping tables.
...
Fixes bug 212.
13 years ago
Anton Khirnov
af08d9aeea
lavc: add avcodec_is_open().
...
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().
13 years ago
Martin Storsjö
c9b309e8cb
doc: Fix the name of the new function
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Paul B Mahol
8b933129b9
avutil: make intfloat api public
...
The functions are already av_ prefixed and intfloat header is already provided.
Install libavutil/intfloat.h
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Anton Khirnov
44911f2985
APIchanges: mention avcodec_alloc_context()/2/3
...
There was no minor bump for making avcodec_alloc_context3() public and
deprecating the other two, so I'm using the first next lavc bump.
13 years ago
Anton Khirnov
a17479dfce
lavf: increase major version from 53 to 54.
13 years ago
Anton Khirnov
7063b6eaee
lavc: increase major version to 54.
...
The lavf-ffm test results change because ffmenc writes
AVCodecContext.flags/flags2 and the defaults for those change.
13 years ago
Martin Storsjö
6cb288290d
doc: Update APIchanges with info on muxer flushing
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Anton Khirnov
7512bb74f2
doc/APIChanges: fill in missing dates and hashes
13 years ago
Justin Ruggles
a6ccae3f4c
avcodec: bump minor version and add APIChanges for the new audio encoding API
13 years ago
Anton Khirnov
3167dc9515
lavfi: move version macros to a new installed header version.h
13 years ago
Reinhard Tartler
014f8d8106
No longer build libpostproc by default
...
update documentation to inform developers that it may be removed in a
later release.
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
13 years ago