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>
14 years ago
Stefano Sabatini
9d84a17ba5
APIchanges: fix wrong major number for av_fifo_peek2() entry
14 years ago
Stefano Sabatini
7807cbc0c2
APIchanges: fill some lavfi entries with the corresponding git hash
14 years ago
Stefano Sabatini
69e2c1a95a
lavu: add av_get_media_type_string() convenience function
...
Avoid code duplication.
14 years ago
Anton Khirnov
48f9e457ea
lavf: add avformat_query_codec().
...
It allows to check if a given codec can be written into a container.
14 years ago
Anton Khirnov
bca06e77e1
lavc: add avcodec_get_type() for mapping codec_id -> type.
14 years ago
Stefano Sabatini
323b930699
fifo: add av_fifo_peek2(), and deprecate av_fifo_peek()
...
The new function provides a more flexible interface for peeking at a
FIFO buffer data.
14 years ago
Dustin Brody
e3a70c7c5f
APIchanges: note error_recognition in lavf
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Luca Barbato
5038f9b268
apichange: add an entry for AV_PKT_FLAG_CORRUPT
14 years ago
Mina Nagy Zaki
b57df29f95
lavfi: add audio channel packing negotiation fields
...
Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
14 years ago
Anton Khirnov
6cb1197929
APIchanges: fill in missing hashes and dates.
14 years ago
Anton Khirnov
f2f523fffc
Add an APIChanges entry and bump minor versions for recent changes.
14 years ago
Nicolas George
518d8d4365
lavf: bump minor and add APIchanges entry for av_get_output_timestamp
14 years ago
Stefano Sabatini
5a931a158f
lavu: bump minor and add APIchanges entry for AV_PICTURE_TYPE_NONE
...
The symbols was added in the git commit
5129336714
.
14 years ago
Martin Storsjö
67e9ae14d9
Add av_printf_format, for marking printf style format strings and their parameters
...
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Reinhard Tartler
dea22a1a91
document libswscale bump
14 years ago
Mina Nagy Zaki
fd2c0a5db2
lavfi: add layout negotiation fields and helper functions.
14 years ago
Mina Nagy Zaki
527ca3985c
lavfi: use int64_t lists in AVFilteFormats
...
The list type was changed to int64_t to be able to hold
channel layouts.
avfilter_make_format_list() still takes a int32_t array and converts
it to int64_t. A new function, avfilter_make_format64_list, that
takes int64_t arrays has been added.
14 years ago
Stefano Sabatini
44f669e7bc
lavfi: add vsink_buffer, and use it in ff* tools
...
Also add the public interface libavfilter/vsink_buffer.h.
14 years ago
Anton Khirnov
7c44d716e7
Add minor bumps and APIChanges entries for lavf private options.
14 years ago
Stefano Sabatini
3fe6bbd5dc
libavfilter: implement avfilter_fill_frame_from_video_buffer_ref()
14 years ago
Stefano Sabatini
c535494268
avfiltergraph: make the AVFilterInOut alloc/free API public
...
This is required for letting applications to create and destroy
AVFilterInOut structs in a convenient way.
14 years ago
Stefano Sabatini
6119b23a36
avfiltergraph: change the syntax of avfilter_graph_parse()
...
Make it returns the list of open inputs and outputs, so it can be
reused by applications.
Breaks API/ABI.
14 years ago
Stefano Sabatini
16c9e6717e
APIchanges: fill hash for the avfilter_get_audio_buffer_ref_from_arrays addition
14 years ago
Stefano Sabatini
c3819600e2
lavfi: implement avfilter_get_audio_buffer_ref_from_arrays()
14 years ago
Stefano Sabatini
c6d7fc276a
APIchanges: remove duplicated entry
14 years ago
Stefano Sabatini
2caaa791a0
APIchanges: fill in dates and numbers
...
Since some minor bump were not done, some entries present the same
libavutil minor (which represent the next bump after the corresponding
change).
14 years ago
Stefano Sabatini
a5825b22a2
APIchanges: remove duplicated entry
...
Remove duplicated entry regarding PIX_FMT_BGR48LE/BE formats.
14 years ago
Stefano Sabatini
e0ce9711aa
APIchanges: correctly interleave entries
14 years ago
Stefano Sabatini
bd77a5e27c
APIchanges: add entry for av_force_cpu_flags() addition
14 years ago
Martin Storsjö
cb7c11cc9e
avoptions: Add an av_opt_flag_is_set function for inspecting flag fields
...
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
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.
14 years ago
Justin Ruggles
1397ac0aa0
APIchanges: fill-in git commit hash for av_get_bytes_per_sample() addition
14 years ago
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.
14 years ago
Stefano Sabatini
95a0242642
lavfi: prefer nb_samples over size in AVFilterBufferRefAudioProps
...
Remove AVFilterBufferRefAudioProps.size, and use nb_samples in
avfilter_get_audio_buffer() and avfilter_default_get_audio_buffer() in
place of size.
This is required as the size in the audio buffer may be aligned, so it
may not contain a well defined number of samples.
14 years ago
Stefano Sabatini
0bc2cca12f
samplefmt: switch nb_channels/nb_samples params order in av_samples_alloc()
...
This is consistent with the order of parameters in
av_samples_fill_arrays().
14 years ago
Stefano Sabatini
e1c7414812
samplefmt: change layout for arrays created by av_samples_alloc() and _fill_arrays()
...
The new layout is consistent with that of the av_image_() API, and
simplifies understanding and copy operations, it also preserves
alignment information which was lost with the previous layout.
This breaks API/ABI, but since the function was never referenced in
the code (and it isn't unlikely already used by someone) then this
should not be a problem.
14 years ago
Stefano Sabatini
27bcf55f45
vsrc_buffer: add flags param to av_vsrc_buffer_add_video_buffer_ref
...
The new flags parameter allows to specify if the video ref to add
should overwrite the cache, if the flag is not set vsrc_buffer will
complain and abort; otherwise it will clean the already cached video
ref before to overwrite it, thus avoiding a leak.
14 years ago
Anton Khirnov
b39b06233d
AVOptions: add av_opt_free convenience function.
14 years ago
Stefano Sabatini
e977ca2645
lavfi: add avfilter_link_free() function
...
Allow to free the buffers cached in each AVFilterLink pool.
Fix leak.
14 years ago
Stefano Sabatini
e71f26086a
lavu: add av_get_pix_fmt_name() convenience function
...
Also deprecate avcodec_get_pix_fmt_name() in its favor.
14 years ago
Ronald S. Bultje
04de5bf56c
APIchanges: fill in git hash for av_get_pix_fmt_name (0420bd7).
14 years ago
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>
14 years ago
Alex Converse
19a686b8a3
APIchanges: Fill in git hash for fps_probe_size ( 30315a8
)
14 years ago
Alex Converse
30315a8d9c
avformat: Add fpsprobesize as an AVOption.
14 years ago
Stefano Sabatini
5ecdfd008b
lavf: deprecate avformat_alloc_output_context() in favor of avformat_alloc_output_context2()
...
The new function accepts a slightly more intuitive order of paramters,
and returns an error code, thus allowing applications to report a
meaningful error message.
14 years ago
Stefano Sabatini
83db719777
lavfi: make vsrc_buffer.h header public
...
Address trac issue #33 .
14 years ago
Stefano Sabatini
c000a9f783
vsrc_buffer: add av_vsrc_buffer_add_frame()
...
The new function is a wrapper around
av_vsrc_buffer_add_video_buffer_ref(), and allows to simplify the act
of pushing AVFrame data to the source buffer.
14 years ago
Stefano Sabatini
9fdf77217b
lavfi: add avfilter_get_video_buffer_ref_from_frame to avcodec.h
...
Simplify passing AVFrame data to av_vsrc_buffer_add_video_buffer_ref().
14 years ago
Justin Ruggles
41e21e4db6
APIchanges: fill in date and commit for request_sample_fmt
14 years ago