Tim Walker
8919fee7d2
lavu/audioconvert: add a second low frequency channel.
...
Can be used by DTS-HD, TrueHD and E-AC-3, among others.
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
12 years ago
Martin Storsjö
686a329395
avopt: Reorder the default_val struct, making i64 the first field
...
Also mention this change in APIchanges.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Anton Khirnov
a2318326f1
lavc: add lossy/lossless codec properties.
13 years ago
Anton Khirnov
7b44061f4b
doc/APIchanges: add an entry for codec descriptors.
...
Also fill in missing dates and hashes.
13 years ago
Martin Storsjö
1d9c2dc89a
Don't include common.h from avutil.h
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Anton Khirnov
2ff67c909c
lavc: fix mixing CODEC_ID/AV_CODEC_ID in C++ code.
...
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.
13 years ago
Mans Rullgard
987170cb9d
dict: add av_dict_count()
...
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>
13 years ago
Anton Khirnov
104e10fb42
lavc: add AV prefix to codec ids.
13 years ago
Diego Biurrun
239fdf1b4a
x86: build: replace mmx2 by mmxext
...
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.
13 years ago
Luca Barbato
681ed00099
avf: introduce nobuffer option
...
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>
13 years ago
Robert Nagy
b70d89a033
lavfi: add avfilter_unref_bufferp()
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Luca Barbato
45ff9e5b57
doc: update api changes with the right commit hashes
13 years ago
Luca Barbato
f3e5e6f05b
mem: introduce av_malloc_array and av_mallocz_array
...
Both function ease allocating large arrays implementing the overflow
check inside it.
13 years ago
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