Martin Storsjö
8ee288d258
lavu: Add an API for calculating HMAC (RFC 2104)
...
This supports HMAC-MD5 and HMAC-SHA1 for now, other hashes are
simple to add.
Signed-off-by: Martin Storsjö <martin@martin.st>
2013-01-15 11:54:19 +02:00
Rémi Denis-Courmont
44e065d56c
vdpau: Add context and common helpers for hwaccel support
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2013-01-13 14:41:27 +01:00
Diego Biurrun
f89466ad6f
Add version bump and APIchanges entry for Add AV_PIX_FMT_VDPAU.
...
Also fix a lavu version typo in APIchanges.
2013-01-12 12:28:12 +01:00
Justin Ruggles
142c39097c
doc/APIchanges: fill in missing dates and hashes.
2013-01-08 14:51:30 -05:00
Justin Ruggles
074a00d192
lavr: add a public function for setting a custom channel map
...
This allows reordering, duplication, and silencing of input channels.
2013-01-07 21:49:06 -05:00
Luca Barbato
d8fd06c37d
avstring: add av_basename and av_dirname
...
Thread safe version of the common basename and dirname.
2012-12-29 17:26:22 +01:00
Janne Grunau
bf5f46b4cc
APIChanges: add entry for av_read_packet deprecation
2012-11-15 17:49:53 +01:00
Justin Ruggles
5980f5dd18
lavu: rename audioconvert.* to channel_layout.* and deprecate audioconvert.h
2012-11-11 13:35:12 -05:00
Justin Ruggles
dfde8a34e5
lavu: add av_ctz() for trailing zero bit count
2012-11-05 15:32:29 -05:00
Anton Khirnov
add3a6902e
lavu: bump major to 52
...
In addition to the recent tables mess, the AVOption defaults behavior
changed, so an old lavc used with a new lavu will get completely messed
up defaults.
2012-10-23 07:33:05 +02:00
Anton Khirnov
9cac8a5199
APIchanges: update lavr bump date
2012-10-23 07:33:05 +02:00
Nathan Caldwell
a893655bda
avutil: Add AVERROR_EXPERIMENTAL
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2012-10-21 22:38:21 +02:00
Anton Khirnov
d2fcb356ca
pixdesc: add functions for accessing pixel format descriptors.
...
Make av_pix_fmt_descriptors table static on next major bump.
Making the table public is dangerous, since the caller has no way to
know how large it actually is. It also prevents adding new fields to
AVPixFmtDescriptor without a major bump.
2012-10-12 12:45:25 +02:00
Martin Storsjö
9a92aea27b
avutil: Add functions for allocating opaque contexts for algorithms
...
The current API where the plain size is exposed is not of much
use - in most cases it is allocated dynamically anyway.
If allocated e.g. on the stack via an uint8_t array, there's no
guarantee that the struct's members are aligned properly (unless
the array is overallocated and the opaque pointer within it
manually aligned to some unspecified alignment).
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-10-11 23:35:27 +03:00
Luca Barbato
b522000e9b
avio: introduce avio_closep
2012-10-10 18:56:55 +02:00
Anton Khirnov
78071a1420
pixfmt: add AV_ prefixes to PIX_FMT_*
2012-10-08 07:12:16 +02:00
Anton Khirnov
2f49e3da33
doc/APIchanges: fill in missing dates and hashes.
2012-10-05 14:01:39 +02:00
Anton Khirnov
006afc7a0b
lavr: bump major to 1 and declare it stable.
2012-10-05 13:50:13 +02:00
Anton Khirnov
a42aadabc6
lavc: add avcodec_free_frame().
...
Since an AVFrame now has malloced members (extended_data), it must have
a destructor.
2012-09-24 12:31:24 +02:00
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>
2012-09-12 18:26:53 -04:00
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>
2012-09-04 23:16:11 +03:00
Anton Khirnov
a2318326f1
lavc: add lossy/lossless codec properties.
2012-08-30 13:55:55 +02:00
Anton Khirnov
7b44061f4b
doc/APIchanges: add an entry for codec descriptors.
...
Also fill in missing dates and hashes.
2012-08-23 08:51:04 +02:00
Martin Storsjö
1d9c2dc89a
Don't include common.h from avutil.h
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-08-15 22:32:06 +03:00
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.
2012-08-10 18:48:40 +02:00
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>
2012-08-10 15:15:00 +01:00
Anton Khirnov
104e10fb42
lavc: add AV prefix to codec ids.
2012-08-07 15:56:39 +02:00
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.
2012-08-03 22:51:05 +02:00
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>
2012-07-29 07:58:00 +02:00
Robert Nagy
b70d89a033
lavfi: add avfilter_unref_bufferp()
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2012-07-20 21:06:18 +02:00
Luca Barbato
45ff9e5b57
doc: update api changes with the right commit hashes
2012-07-14 20:07:25 +02:00
Luca Barbato
f3e5e6f05b
mem: introduce av_malloc_array and av_mallocz_array
...
Both function ease allocating large arrays implementing the overflow
check inside it.
2012-07-14 20:07:25 +02:00
Anton Khirnov
58b049f2fa
lavfi: support automatically inserting the fifo filter when needed.
...
This breaks libavfilter ABI.
2012-06-22 21:06:01 +02:00
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>
2012-06-22 17:15:18 +01:00
Mans Rullgard
dc7e336cae
lavf, lavu: version bumps and APIchanges for av_gettime() move
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-06-21 11:45:28 +01:00
John Stebbins
3971be0eb5
Add Dolby/DPLII downmix support to libavresample
...
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
2012-06-18 10:55:00 -04:00
Anton Khirnov
9baeff9506
lavfi: replace AVFilterContext.input/output_count with nb_inputs/outputs
...
This is more consistent with naming in the rest of Libav.
2012-06-13 11:13:22 +02:00
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.
2012-06-13 11:10:17 +02:00
Anton Khirnov
b0f0dfc485
Bump lavu minor and add an APIChanges entry for audioconvert functions.
2012-06-10 08:04:01 +02:00
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>
2012-05-26 14:31:44 +03:00
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>
2012-05-20 19:50:32 -04:00
Anton Khirnov
d89eca507c
Add missing version bumps and APIchanges/Changelog entries.
2012-05-15 06:57:31 +02:00
Anton Khirnov
a5117a2444
lavc: pad last audio frame with silence when needed.
2012-05-09 17:46:54 +02:00
Anton Khirnov
828bd088f3
lavc: add sample rate and channel layout to AVFrame.
...
Rationale is the same as for video width/height etc.
2012-05-07 07:08:03 +02:00
Justin Ruggles
4010d724e1
lavr: use 8.8 instead of 10.6 as the 16-bit fixed-point mixing coeff type
2012-05-01 13:52:59 -04:00
Justin Ruggles
f7ff099997
APIchanges: fill in some dates and commit hashes
2012-04-30 13:51:41 -04:00
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>
2012-04-25 23:19:40 +01:00
Justin Ruggles
c8af852b97
Add libavresample
...
This is a new library for audio sample format, channel layout, and sample rate
conversion.
2012-04-24 21:28:27 -04:00
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.
2012-04-20 09:43:11 -04:00
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>
2012-04-14 09:25:46 +02:00
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>
2012-04-08 15:13:28 -04:00
Justin Ruggles
5cc51a5847
avutil: Add av_get_default_channel_layout()
...
Also, use the new function in the AC-3 encoder.
2012-04-05 16:35:14 -04:00
Anton Khirnov
9c47f2b294
APIchanges: mark the place where 0.7 was cut.
2012-03-26 10:08:58 +02:00
Anton Khirnov
75bdd55e77
APIchanges: mark the place where 0.8 was cut.
2012-03-26 10:08:57 +02:00
Anton Khirnov
5d20e7b7ea
APIchanges: fill in missing dates and hashes.
2012-03-26 10:08:56 +02:00
Diego Biurrun
343bfdd38a
APIchanges: Replace Subversion revision numbers by Git hashes.
2012-03-18 16:07:33 +01:00
Anton Khirnov
4d851f8dcf
cpu: add av_set_cpu_flags_mask().
2012-03-06 15:02:28 +01:00
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.
2012-03-05 13:08:15 -05:00
Anton Khirnov
44fe77b350
lavc: make codec_is_decoder/encoder() public.
2012-03-04 21:08:52 +01:00
Martin Storsjö
442c1320e7
avpacket: Add a function for shrinking already allocated side data
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-03-01 16:08:30 +02:00
Anton Khirnov
322537478b
Add a minor bump, changelog/APIchanges entry and some documentation for APIC support.
2012-02-29 14:44:22 +01:00
Anton Khirnov
f5f5b154e7
doc/APIchanges: fill in missing dates and hashes.
2012-02-27 08:35:32 +01:00
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.
2012-02-25 11:49:41 -05:00
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
2012-02-23 19:36:16 +01:00
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.
2012-02-20 15:08:40 -05:00
Justin Ruggles
0b42a9388c
avutil: add av_rescale_q_rnd() to allow different rounding
2012-02-20 15:08:40 -05:00
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().
2012-02-08 21:01:31 +01:00
Anton Khirnov
52f82a1148
lavc: add avcodec_encode_video2() that encodes from an AVFrame -> AVPacket
...
Deprecate avcodec_encode_video().
2012-02-08 20:54:24 +01:00
Janne Grunau
fcc518a024
APIchanges: add missing commit hashes
2012-02-02 14:29:47 +01:00
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>.
2012-02-01 19:19:35 +01:00
Anton Khirnov
dd6d3b0e02
lavf: add functions for accessing the fourcc<->CodecID mapping tables.
...
Fixes bug 212.
2012-01-31 16:53:35 +01:00
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().
2012-01-31 07:55:24 +01:00
Martin Storsjö
c9b309e8cb
doc: Fix the name of the new function
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-01-30 21:29:56 +02:00
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>
2012-01-30 07:41:31 +01:00
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.
2012-01-28 19:45:10 +01:00
Anton Khirnov
a17479dfce
lavf: increase major version from 53 to 54.
2012-01-27 10:52:39 +01:00
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.
2012-01-27 10:38:30 +01:00
Martin Storsjö
6cb288290d
doc: Update APIchanges with info on muxer flushing
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-01-25 22:24:13 +02:00
Anton Khirnov
7512bb74f2
doc/APIChanges: fill in missing dates and hashes
2012-01-21 08:48:53 +01:00
Justin Ruggles
a6ccae3f4c
avcodec: bump minor version and add APIChanges for the new audio encoding API
2012-01-15 21:24:17 -05:00
Anton Khirnov
3167dc9515
lavfi: move version macros to a new installed header version.h
2012-01-12 09:00:54 +01:00
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>
2012-01-11 09:27:56 +01:00
Jonathan Nieder
96d8e18a98
APIchanges: mention cleaned up header includes
...
Fixes bug 188.
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
2012-01-04 00:29:55 +01:00
Janne Grunau
c04a954da6
lavu: bump lavu minor for av_popcount64
...
Add it to doc/APIchanges and update and correct other entries.
2012-01-03 15:42:26 +01:00
Anton Khirnov
06e8d38f2b
Add minor bumps and APIchanges entries for lavc/lavfi changes.
2011-12-25 20:50:16 +01:00
Mans Rullgard
2a216ca2ef
APIchanges: fill in revision for AVFrame.age deprecation
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-12-18 22:15:04 +00:00
Mans Rullgard
8400b126ac
avcodec: deprecate AVFrame.age
...
This was intended as an optimisation for skipped blocks in MPEG2
P-frames and never used elsewhere. Removing this "optimisation"
speeds up MPEG2 decoding by 1-2% (ARM Cortex-A9).
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-12-18 22:14:33 +00:00
Anton Khirnov
526604545f
lavf: add avformat_close_input().
...
It sets the supplied AVFormatContext pointer to NULL after freeing it,
which is safer and its name is consistent with other lavf functions.
Also deprecate av_close_input_file().
2011-12-12 20:23:56 +01:00
Justin Ruggles
0eea212943
Add avcodec_decode_audio4().
...
Deprecate avcodec_decode_audio3().
Implement audio support in avcodec_default_get_buffer().
Implement the new audio decoder API in all audio decoders.
2011-12-02 17:40:40 -05:00
Justin Ruggles
560f773c7d
avcodec: change number of plane pointers from 4 to 8 at next major bump.
...
Add AV_NUM_DATA_POINTERS to simplify the bump transition.
This will allow for supporting more planar audio channels without having to
allocate separate pointer arrays.
2011-12-02 17:40:40 -05:00
Mans Rullgard
b94a3b288e
APIchanges: fill in some blanks
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-11-28 17:29:47 +00:00
Justin Ruggles
bbb46f3ec7
libavutil: add utility functions to simplify allocation of audio buffers.
...
Based on code by Stefano Sabatini.
2011-11-23 18:39:28 -05:00
Justin Ruggles
8889cc4f5b
libavutil: add planar sample formats and av_sample_fmt_is_planar()
2011-11-23 18:39:28 -05:00
Justin Ruggles
f3a29b750a
avcodec: move some AVCodecContext fields to an internal struct.
...
A new field, AVCodecContext.internal is used to hold a new struct
AVCodecInternal, which has private fields that are not codec-specific and are
used by general libavcodec functions.
Moved internal_buffer, internal_buffer_count, and is_copy.
2011-11-19 10:01:05 -05:00
Anton Khirnov
f872e4d0a7
Add an APIchanges entry and a minor bump for avio changes.
2011-11-18 11:01:16 +01:00
Martin Storsjö
627067118c
avutil: Add av_timegm as a public function
...
This is useful, since the normal timegm function isn't a standard
function (requiring _BSD_SOURCE or _SVID_SOURCE on glibc to
be visible, and not available on e.g. windows). The widely available
function mktime uses the local time zone, which requires ugly
workarounds to handle UTC time.
Signed-off-by: Martin Storsjö <martin@martin.st>
2011-11-16 11:22:41 +02:00
Anton Khirnov
eacec07e9c
doc/APIchanges: add missing dates and hashes
2011-11-06 20:33:13 +01:00
Reimar Döffinger
ba04ecfdac
avstring: Add locale independent implementations of strcasecmp/strncasecmp
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2011-11-06 11:52:56 +02:00
Luca Barbato
07b172fe8f
avstring: Add locale independent implementations of toupper/tolower
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2011-11-06 11:52:54 +02:00
Martin Storsjö
b6d08f40aa
avformat: Add functions for doing global network initialization
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2011-11-05 12:17:51 +02:00
Justin Ruggles
512557b291
avcodec: remove avcodec_parse_frame and deprecate associated elements.
...
The documentation for CODEC_CAP_PARSE_ONLY and AVCodecContext.parse_only
indicates that they are utilized through avcodec_parse_frame(), which was
never actually implemented.
2011-10-27 22:06:32 -04:00
Anton Khirnov
569129a6dc
lavf: add avformat_new_stream as a replacement for av_new_stream.
...
It takes a codec parameter, thus enabling codec-specific defaults.
2011-10-19 17:02:11 +02:00
Justin Ruggles
b631fba936
avformat: add AVInputFormat flag AVFMT_NO_BYTE_SEEK.
...
This will prevent seeking by bytes for formats that cannot handle this.
2011-10-13 16:31:15 -04:00
Anton Khirnov
492bd1a28f
AVOptions: bump minor and add APIchanges entry.
2011-10-12 16:55:56 +02:00
Anton Khirnov
7f9b0ef9a8
doc/APIChanges: fill in missing hashes and dates.
2011-09-18 12:01:23 +02:00
Anton Khirnov
fb4ca26bdb
lavf,lavc,sws: add {avcodec,avformat,sws}_get_class() functions.
2011-09-03 20:53:35 +02:00
Anton Khirnov
c11fb8288d
AVOptions: add AV_OPT_SEARCH_FAKE_OBJ flag for av_opt_find().
...
It allows to search for options only with AVClass, without allocating
the corresponding context.
2011-09-03 20:52:21 +02:00
Stefano Sabatini
f2011ed234
fifo: add av_fifo_peek2(), and deprecate av_fifo_peek()
...
The new function provides a more generic interface than av_fifo_peek()
for peeking at a FIFO buffer data.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-08-26 20:53:02 +02:00
Anton Khirnov
48f9e457ea
lavf: add avformat_query_codec().
...
It allows to check if a given codec can be written into a container.
2011-08-16 20:24:20 +02:00
Anton Khirnov
bca06e77e1
lavc: add avcodec_get_type() for mapping codec_id -> type.
2011-08-16 20:24:20 +02:00
Dustin Brody
e3a70c7c5f
APIchanges: note error_recognition in lavf
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-08-12 19:12:53 +02:00
Luca Barbato
5038f9b268
apichange: add an entry for AV_PKT_FLAG_CORRUPT
2011-08-02 02:43:10 +02:00
Anton Khirnov
6cb1197929
APIchanges: fill in missing hashes and dates.
2011-07-14 14:16:49 +02:00
Anton Khirnov
f2f523fffc
Add an APIChanges entry and bump minor versions for recent changes.
2011-07-14 14:16:16 +02:00
Martin Storsjö
67e9ae14d9
Add av_printf_format, for marking printf style format strings and their parameters
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2011-06-23 20:17:44 +03:00
Reinhard Tartler
dea22a1a91
document libswscale bump
2011-06-20 23:06:17 +02:00
Anton Khirnov
7c44d716e7
Add minor bumps and APIChanges entries for lavf private options.
2011-06-16 20:24:58 +02:00
Martin Storsjö
cb7c11cc9e
avoptions: Add an av_opt_flag_is_set function for inspecting flag fields
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2011-06-10 10:47:42 +03:00
Anton Khirnov
d9f80ea2a7
Move metadata API from lavf to lavu.
...
Rename it to AVDictionary, since it will be used as such. Tags
documentation and metadata conversion API is lavf-specific, so remains
there.
2011-06-08 07:43:45 +02:00
Justin Ruggles
1397ac0aa0
APIchanges: fill-in git commit hash for av_get_bytes_per_sample() addition
2011-06-07 13:07:35 -04:00
Stefano Sabatini
a6703faa15
samplefmt: add av_get_bytes_per_sample()
...
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.
2011-06-07 13:06:41 -04:00
Anton Khirnov
b39b06233d
AVOptions: add av_opt_free convenience function.
2011-06-05 15:01:36 +02:00
Ronald S. Bultje
04de5bf56c
APIchanges: fill in git hash for av_get_pix_fmt_name (0420bd7).
2011-05-28 09:46:42 -04:00
Stefano Sabatini
8f653e28f5
lavu: add av_get_pix_fmt_name() convenience function
...
Also deprecate avcodec_get_pix_fmt_name() in its favor.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-05-28 09:44:18 -04:00
Alex Converse
19a686b8a3
APIchanges: Fill in git hash for fps_probe_size ( 30315a8
)
2011-05-25 12:36:41 -07:00
Alex Converse
30315a8d9c
avformat: Add fpsprobesize as an AVOption.
2011-05-25 12:34:46 -07:00
Justin Ruggles
41e21e4db6
APIchanges: fill in date and commit for request_sample_fmt
2011-05-18 17:52:31 -04:00
Justin Ruggles
00e5da893d
Add APIchanges entry for request_sample_fmt.
2011-05-18 17:27:06 -04:00
Anton Khirnov
36dc49b713
doc/APIchanges: fill in missing hashes and dates.
2011-05-11 15:48:51 +02:00
Anton Khirnov
188dea1dbf
lavc: move some flac-specific options to its private context.
2011-05-10 07:42:33 +02:00
Anton Khirnov
893722ceeb
APIChanges: update commit hashes for recent additions.
2011-04-26 08:51:54 +02:00
Stefano Sabatini
bebe72f4a0
lavc: deprecate FF_*_TYPE macros in favor of AV_PICTURE_TYPE_* enums
...
Also deprecate av_get_pict_type_char() in favor of
av_get_picture_type_char().
The new enum and av_get_picture_type_char() are defined in libavutil.
This allows the use in libavfilter without the need to link against
libavcodec.
Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-04-26 08:38:57 +02:00
Roger Pau Monné
10d39405fa
lavfi: add key_frame and pict_type to AVFilterBufferRefVideo.
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-04-26 07:42:13 +02:00
Michael Niedermayer
7a11c82fb7
vsrc_buffer: add sample_aspect_ratio fields to arguments.
...
This fixes aspect handling in ffmpeg.
This is based on a patch by Baptiste.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-04-26 07:38:24 +02:00
Ronald S. Bultje
b4a53314f1
APIChanges: document git revision for CODEC_CAP_SLICE_THREADS addition.
2011-04-21 19:50:19 -04:00
Ronald S. Bultje
94f7451a3a
Introduce slice threads flag.
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-04-21 19:42:19 -04:00
Diego Biurrun
ab1adff73f
The stabilization period after version bumps should be one month, not one week.
2011-04-21 16:23:10 +02:00
Justin Ruggles
53f7628d38
update last major version increase dates in APIchanges
2011-04-20 11:46:23 -04:00
Kostya
aad2f2f477
document introduction of side data in APIchanges
...
this should've been written earlier, sorry
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-04-19 18:28:37 +02:00
Anton Khirnov
86a89ae3f2
lavf: bump minor and add an APIChanges entry for the last avio changes
2011-04-13 07:41:57 +02:00
Peter Ross
73389754c9
pixfmt: add PIX_FMT_BGR48LE and PIX_FMT_BGR48BE
...
PIX_FMT_BGR48LE is used by PhantomCINE demuxer.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2011-04-10 04:44:37 +02:00
Anton Khirnov
0c68c80419
lavf: bump minor and add an APIChanges entry for avformat cleanup
2011-04-08 21:00:41 +02:00
Anton Khirnov
4dcde00cfc
lavf: bump minor version and add an APIChanges entry for avio changes
2011-04-03 23:38:05 +02:00
Anton Khirnov
95c851e2c6
APIChanges: mark the place where 0.6 was branched.
2011-03-30 17:28:56 +02:00
Justin Ruggles
0b18b49b3b
Add APIchanges entry for audio_service_type.
2011-03-25 16:55:36 -04:00
Martin Storsjö
dc6fdad5dc
Add missed APIchanges and changelog entries
...
Add an APIchanges entry for the av_pkt_dump2 and av_pkt_dump_log2
functions, and a changelog entry for the apple http live streaming
protocol handler.
Since neither of them got a minor bump at commit time, but were
applied before the jv demuxer, they all can be considered added
in this minor version.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2011-03-17 12:28:37 +01:00
Ronald S. Bultje
d2bbf82e65
Update version and APIchanges.
...
Update libavformat/version.h and doc/APIChanges after renaming
init_put_byte() and ByteIOContext to ffio_init_context() (private)
and AVIOContext, (public), and deprecating the originals.
2011-02-20 08:46:22 -05:00
Janne Grunau
c3dbfa1afd
Add SHA1s to APIChanges for av_dump_format, av_parse_time and av_find_info_tag
...
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
2011-02-17 21:49:08 +01:00
Anton Khirnov
09d171b988
lavf, lavu: bump minor versions and add an APIChanges entry for av_ prefixes
...
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
2011-02-17 15:40:17 +01:00
Reinhard Tartler
737eb5976f
Merge libavcore into libavutil
...
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>
2011-02-15 16:18:21 +01:00
Mans Rullgard
8ed4cc65a1
APIchanges: update for 55bad0c
: vbv_delay
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-02-15 14:20:53 +00:00
Anssi Hannula
77c330a046
APIchanges: update for 12c14cd
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-02-14 23:59:27 +00:00
Mans Rullgard
935ee1b9bb
apichanges: update for 24a83bd
: add AV_DISPOSITION_CLEAN_EFFECTS flag
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-02-14 23:17:37 +00:00
Mans Rullgard
08a459f096
Update APIchanges for 910b5b8
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-02-14 13:08:23 +00:00
Ronald S. Bultje
f2146944fc
Add missing git rev hash.
2011-02-09 09:17:29 -05:00
Alexander Strange
c0b102ca03
Deprecate avcodec_thread_init()
...
As a side effect of the last commit, avcodec_open() now calls it automatically,
so there is no longer any need for clients to call it.
Instead they should set AVCodecContext.thread_count.
avcodec_thread_free() is deprecated, and will be removed from avcodec.h at the
next MAJOR libavcodec bump.
Rename the functions to ff_thread_init/free, since they are now internal.
Wrappers are provided to maintain API compatibility.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-02-09 09:17:28 -05:00
Ronald S. Bultje
8e8cc52be3
Add missing git rev hash.
2011-02-09 09:17:28 -05:00
Alexander Strange
37b00b47cb
Frame-based multithreading framework using pthreads
...
See doc/multithreading.txt for details on use in codecs.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-02-09 09:17:28 -05:00
Ronald S. Bultje
c2bd7578af
Add missing git revision hask.
2011-02-09 09:17:28 -05:00
Anssi Hannula
3940caad02
lavf: rename ff_probe_input_buffer to make it public
...
It is useful for applications that hand input data directly to lavf via
a ByteIOContext.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-02-08 18:25:12 -05:00
Janne Grunau
7ab8758baf
add APIChanges entry for fe9a3fb
2011-02-08 13:38:16 +01:00
Ronald S. Bultje
ae0f8a1a33
Fill in missing date.
2011-02-06 09:46:32 -05:00
Ronald S. Bultje
efdd67cb00
Update MINOR and set git rev for non-blocking flag API addition.
2011-02-06 09:19:34 -05:00
Nicolas George
fe174fc8fc
Non-blocking protocols: flag and documentation
...
Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-02-05 20:28:04 -05:00
Martin Storsjö
ff19748977
Add an APIchanges entry for avformat_free_context
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-02-04 11:38:46 -05:00
Tomas Härdin
75fd0668df
Add APIchanges entry for lavc 52.109.0
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-02-03 11:40:32 +00:00
Anton Khirnov
4868bebe5b
Add forgotten minor API bumps and APIChanges entries
...
The bumps are for adding version.h and avio_{get/put}_str functions in
lavf and making av_dlog public in lavu.
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
2011-02-02 22:42:39 +01:00
Carl Eugen Hoyos
3a45a3f3c1
Fix date and revision for lavc 52.104.
...
Originally committed as revision 26399 to svn://svn.ffmpeg.org/ffmpeg/trunk
2011-01-17 09:17:19 +00:00
Stefano Sabatini
a242ac3620
Rename AVFilterBufferRefAudioProps.samples_nb to nb_samples.
...
More consistent with the rest of FFmpeg and sounds more natural to
English speaking people.
Originally committed as revision 26374 to svn://svn.ffmpeg.org/ffmpeg/trunk
2011-01-15 17:31:34 +00:00
Stefano Sabatini
f93fe7764b
Add APIchanges entry for the av_metadata_copy() addition.
...
Originally committed as revision 26361 to svn://svn.ffmpeg.org/ffmpeg/trunk
2011-01-15 11:13:04 +00:00
Michael Niedermayer
81c623fae0
Deprecate reordered_opaque in favor of pkt_pts/dts
...
Originally committed as revision 26262 to svn://svn.ffmpeg.org/ffmpeg/trunk
2011-01-07 23:07:31 +00:00
Michael Niedermayer
1919feafb1
Add pkt_dts to AVFrame, this will in the future allow multithreading decoders
...
to not mess up dts
Originally committed as revision 26261 to svn://svn.ffmpeg.org/ffmpeg/trunk
2011-01-07 23:07:28 +00:00
Michael Niedermayer
393cbb963b
Add AVFrame.pkt_pts that contains the correctly reordered AVPacket.pts
...
Originally committed as revision 26260 to svn://svn.ffmpeg.org/ffmpeg/trunk
2011-01-07 23:07:24 +00:00
Anssi Hannula
060ec0a829
Add av_get_profile_name() to get profile names.
...
Patch by Anssi Hannula, anssi d hannula a iki d fi
Originally committed as revision 26259 to svn://svn.ffmpeg.org/ffmpeg/trunk
2011-01-07 22:27:26 +00:00
Stefano Sabatini
28e5d45c68
Bump lavfi minor and add an entry after r26108 (which added
...
AV_PERM_NEG_LINESIZES to avfilter.h).
Originally committed as revision 26111 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-12-27 18:16:52 +00:00
Stefano Sabatini
d46c27552b
Fix date in APIchanges.
...
Originally committed as revision 26109 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-12-27 18:04:32 +00:00
Stefano Sabatini
106f271fdc
Consistently prefer short library names in APIchanges.
...
Originally committed as revision 26106 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-12-27 09:30:20 +00:00
Nicolas George
9128ae08b3
Implement av_find_best_stream.
...
Originally committed as revision 26104 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-12-27 09:08:20 +00:00
Anton Khirnov
107a7e3e7b
lavf: bump minor and add APIchanges entry after adding AVFMT_NOSTREAMS
...
Originally committed as revision 26103 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-12-27 07:46:57 +00:00
Stefano Sabatini
0328b9ea39
Add av_file_map() and av_file_unmap() functions.
...
Originally committed as revision 26073 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-12-22 14:13:04 +00:00
Nicolas George
0bc55f5d32
Add AVERROR_*_NOT_FOUND codes.
...
Originally committed as revision 26056 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-12-19 09:01:02 +00:00
Stefano Sabatini
d22e9795e6
Fix typo.
...
Originally committed as revision 25924 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-12-09 17:34:44 +00:00
Stefano Sabatini
c61cdd0afb
Move AV_NOPTS_VALUE, AV_TIME_BASE, AV_TIME_BASE_Q symbols from
...
libavcodec to libavcore.
Remove another compile-time dependancy of libavfilter on libavcodec.
Originally committed as revision 25923 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-12-09 17:27:33 +00:00
Stefano Sabatini
16cfc96124
Add CODEC_CAP_NEG_LINESIZES.
...
Originally committed as revision 25886 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-12-04 19:06:45 +00:00
Stefano Sabatini
ab79ee12b9
Cosmetics: add empty line which was previously removed.
...
Improve readability.
Originally committed as revision 25882 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-12-04 13:13:46 +00:00
Stefano Sabatini
bb4afa13dd
Deprecate avcodec_pix_fmt_string() in favor of
...
av_get_pix_fmt_string(), added to libavutil/pixdesc.h.
Originally committed as revision 25879 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-12-04 12:56:21 +00:00
Stefano Sabatini
4da12e3b13
Implement av_image_alloc() and use it in
...
avfilter_default_get_video_buffer().
Originally committed as revision 25878 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-12-04 12:56:16 +00:00
Stefano Sabatini
037be76e15
Add avfilter_graph_create_filter().
...
Originally committed as revision 25862 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-12-02 20:12:27 +00:00
Stefano Sabatini
d6adf44b06
Fix date in last APIchanges entry.
...
Originally committed as revision 25830 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-11-26 00:40:01 +00:00
Stefano Sabatini
d38c340fdc
Implement avfilter_get_video_buffer_ref_from_arrays().
...
Originally committed as revision 25827 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-11-25 20:50:28 +00:00
Stefano Sabatini
176a6157c0
Move audio channel API from libavcodec to libavcore.
...
Originally committed as revision 25787 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-11-21 19:28:52 +00:00
Reimar Döffinger
e58d0392c5
Document added functions.
...
Originally committed as revision 25783 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-11-21 11:38:08 +00:00
Aurelien Jacobs
0985e1a3ca
move the av_parse_color() function from libavfilter to libavcore
...
Originally committed as revision 25761 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-11-17 22:58:28 +00:00
Aurelien Jacobs
c716f91757
minor bump and APIchanges for r25745
...
Originally committed as revision 25752 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-11-14 17:31:06 +00:00
Stefano Sabatini
47c5e4145c
Fix revision number of the last APIchanges entry.
...
Originally committed as revision 25741 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-11-13 10:01:18 +00:00
Stefano Sabatini
5aaea022ab
Make avfiltergraph.h public.
...
Originally committed as revision 25740 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-11-13 09:51:22 +00:00
Stefano Sabatini
4fcbb2af33
Prefix with "ff_" the functions:
...
ff_avfilter_graph_check_validity()
ff_avfilter_graph_config_links()
ff_avfilter_graph_config_formats()
and move their declaration to internal.h. These functions are never
used in application code, so it is better to consider them internal
functions, this can be changed later if necessary. Simplify API.
Originally committed as revision 25737 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-11-13 00:21:28 +00:00
Stefano Sabatini
d2af7205a1
Use hierarchic names convention (prefix them with av_expr) for the
...
eval API.
More grep-friendly and more consistent with the rest of the FFmpeg
API.
Originally committed as revision 25708 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-11-08 14:06:49 +00:00
Stefano Sabatini
24de0edbd5
Rename avfilter_destroy() as avfilter_free().
...
The new name is shorter and more consistent with the FFmpeg API, and
sounds less evil.
Originally committed as revision 25707 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-11-08 12:32:39 +00:00
Stefano Sabatini
1e80a0eaa4
Remove graphparser.h header, move AVFilterInOut and
...
avfilter_graph_parse() declaration to libavfilter/avfiltergraph.h.
Simplify, and less confusing for the user.
Originally committed as revision 25705 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-11-07 22:56:29 +00:00