summaryrefslogtreecommitdiff
path: root/libavfilter/avcodec.c
Commit message (Collapse)AuthorAge
* lavfi/avcodec: rename picref->samplesref variable in ↵Stefano Sabatini2012-07-30
| | | | | | avfilter_get_audio_buffer_ref_from_frame() The new name is more meaningful in that context.
* lavfi: add avfilter_get_buffer_ref_from_frame.Nicolas George2012-07-23
|
* lavfi/avcodec: deprecate avfilter_fill_frame_from_*_buffer_ref APIStefano Sabatini2012-06-25
| | | | | | | | | | | Deprecate functions: avfilter_fill_frame_from_buffer_ref avfilter_fill_frame_from_audio_buffer_ref avfilter_fill_frame_from_video_buffer_ref and schedule to drop them at the next API major bump. The function avfilter_copy_buf_props() should be used instead.
* lavfi/avcodec: make avfilter_fill_frame_from*() functions use ↵Stefano Sabatini2012-06-19
| | | | | | | avfilter_copy_buf_props() The code in avfilter_copy_buf_props() is more generic, allow code factorization.
* lavfi/avcodec: always use av_frame* accessors in avfilter_copy_buf_props()Stefano Sabatini2012-06-19
| | | | | | Use av_frame_* accessors for the newly added fields in AVFrame (for which we are supposed to use such accessors), and group the istructions accordingly.
* lavfi/avcodec: copy pos field from AVFilterBuffer to AVFrame pkt_posStefano Sabatini2012-06-19
|
* lavfi/avcodec: add consistency checks in avfilter_copy_buf_props()Stefano Sabatini2012-06-16
| | | | | | The function will abort through an assert if the source is not defined, or if the internal state of the source is inconsistent (e.g. type = AUDIO && !src->audio).
* lavfi: move definition of avfilter_copy_buf_props() from buffer.c to avcodec.cStefano Sabatini2012-06-13
| | | | | | avcodec.c is where it is defined the lavc/lavfi interface code, so seems a more adequate location (and doesn't force the inclusion of libavcodec/avcodec.h where it is not required).
* lavfi: move avfilter_copy_frame_props() definition from buffer.c to avcodec.cStefano Sabatini2012-06-05
| | | | | The new location is more suited, as it is where the lavfi/lavc glue is defined.
* lavfi: use getter/setter functions for AVFrame.pkt_posMichael Niedermayer2012-05-28
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavfi: Fill linesize, sample_rate and channel_layout fields in ↵Robert Nagy2012-05-28
| | | | | | avfilter_fill_frame_from_audio_buffer_ref. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavfi/avcodec.c: fix copyrightMichael Niedermayer2012-05-24
| | | | | | | | | | | | | | | | | git blame: 45 Stefano Sabatini 23 Clément Bœsch 4 Michael Niedermayer 3 Robert Nagy 3 Nicolas George 2 Roger Pau Monné Initial commit: commit 566666caf3a09d6254edaa99d222eddb6fe2986b Author: Stefano Sabatini <stefano.sabatini-lala@poste.it> Date: Sun May 1 14:47:05 2011 +0200 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-05-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (26 commits) fate: use diff -b in oneline comparison Add missing version bumps and APIchanges/Changelog entries. lavfi: move buffer management function to a separate file. lavfi: move formats-related functions from default.c to formats.c lavfi: move video-related functions to a separate file. fate: make smjpeg a demux test fate: separate sierra-vmd audio and video tests fate: separate smacker audio and video tests libmp3lame: set supported channel layouts. avconv: automatically insert asyncts when -async is used. avconv: add support for audio filters. lavfi: add asyncts filter. lavfi: add aformat filter lavfi: add an audio buffer sink. lavfi: add an audio buffer source. buffersrc: add av_buffersrc_write_frame(). buffersrc: fix invalid read in uninit if the fifo hasn't been allocated lavfi: rename vsrc_buffer.c to buffersrc.c avfiltergraph: reindent lavfi: add channel layout/sample rate negotiation. ... Conflicts: Changelog doc/APIchanges doc/filters.texi ffmpeg.c ffprobe.c libavcodec/libmp3lame.c libavfilter/Makefile libavfilter/af_aformat.c libavfilter/allfilters.c libavfilter/avfilter.c libavfilter/avfilter.h libavfilter/avfiltergraph.c libavfilter/buffersrc.c libavfilter/defaults.c libavfilter/formats.c libavfilter/src_buffer.c libavfilter/version.h libavfilter/vf_yadif.c libavfilter/vsrc_buffer.c libavfilter/vsrc_buffer.h libavutil/avutil.h tests/fate/audio.mak tests/fate/demux.mak tests/fate/video.mak Merged-by: Michael Niedermayer <michaelni@gmx.at>
* lavfi: switch to _alt functionsMichael Niedermayer2012-05-15
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-05-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (27 commits) libxvid: Give more suitable names to libxvid-related files. libxvid: Separate libxvid encoder from libxvid rate control code. jpeglsdec: Remove write-only variable in ff_jpegls_decode_lse(). fate: cosmetics: lowercase some comments fate: Give more consistent names to some RealVideo/RealAudio tests. lavfi: add avfilter_get_audio_buffer_ref_from_arrays(). lavfi: add extended_data to AVFilterBuffer. lavc: check that extended_data is properly set in avcodec_encode_audio2(). lavc: pad last audio frame with silence when needed. samplefmt: add a function for filling a buffer with silence. samplefmt: add a function for copying audio samples. lavr: do not try to copy to uninitialized output audio data. lavr: make avresample_read() with NULL output discard samples. fate: split idroq audio and video into separate tests fate: improve dependencies fate: add convenient shorthands for ea-vp6, libavcodec, libavutil tests fate: split some combined tests into separate audio and video tests fate: fix dependencies for probe tests mips: intreadwrite: fix inline asm for gcc 4.8 mips: intreadwrite: remove unnecessary inline asm ... Conflicts: cmdutils.h configure doc/APIchanges doc/filters.texi ffmpeg.c ffplay.c libavcodec/internal.h libavcodec/jpeglsdec.c libavcodec/libschroedingerdec.c libavcodec/libxvid.c libavcodec/libxvid_rc.c libavcodec/utils.c libavcodec/version.h libavfilter/avfilter.c libavfilter/avfilter.h libavfilter/buffersink.h tests/Makefile tests/fate/aac.mak tests/fate/audio.mak tests/fate/demux.mak tests/fate/ea.mak tests/fate/image.mak tests/fate/libavutil.mak tests/fate/lossless-audio.mak tests/fate/lossless-video.mak tests/fate/microsoft.mak tests/fate/qt.mak tests/fate/real.mak tests/fate/screen.mak tests/fate/video.mak tests/fate/voice.mak tests/fate/vqf.mak tests/ref/fate/ea-mad tests/ref/fate/ea-tqi Merged-by: Michael Niedermayer <michaelni@gmx.at>
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-05-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: libschroedinger: Switch to function names more in line with Libav style. Move code shared between libdirac and libschroedinger to libschroedinger. lavfi: uninline avfilter_copy_buffer_ref_props(). lavf: add missing '*' in a doxy. h264: Remove a commented-out function pointer typedef. txd: Remove write-only variable in txd_decode_frame(). mmvideo.c: Remove unused variable in mm_decode_pal(). build: cosmetics: Add missing end-of-line backslashes to item lists. build: cosmetics: Split HEADERS/OBJS/PROGS lists into one entry per line. libschroedinger: Move a function to avoid a forward declaration. pthread: warn on high thread counts vf_yadif: fix missing error handling for avfilter_poll_frame() avprobe: allow showing only one container/stream property. lavfi: support audio in avfilter_copy_frame_props(). lavfi: avfilter_merge_formats: handle case where inputs are same lavc: add sample rate and channel layout to AVFrame. zerocodec: check if the previous frame is missing doc: clarify check for NULL pointer style Conflicts: doc/APIchanges doc/developer.texi ffprobe.c libavcodec/Makefile libavcodec/avcodec.h libavcodec/libdirac_libschro.c libavcodec/libdirac_libschro.h libavcodec/mmvideo.c libavcodec/txd.c libavcodec/version.h libavcodec/zerocodec.c libavfilter/Makefile libavfilter/avfilter.c libavfilter/version.h libavformat/Makefile libavutil/Makefile Merged-by: Michael Niedermayer <michaelni@gmx.at>
* lavfi/avcodec: implement audio copy_frame_prop.Nicolas George2012-05-04
|
* lavfi: implement avfilter_get_audio_buffer_ref_from_frame.Nicolas George2012-05-04
|
* copy pts and format props between lavfi buffer and frame.Robert Nagy2012-04-17
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avfilter: set w/h in avfilter_fill_frame_from_video_buffer_ref().Michael Niedermayer2012-03-29
| | | | | | This fixes issues with AVFrame w/h being wrong in some cases Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavfi: add avfilter_fill_frame_from_{audio_,}buffer_ref().Clément Bœsch2012-03-26
|
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-12-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: avs: call release_buffer() at the end. Add minor bumps and APIchanges entries for lavc/lavfi changes. mpegvideo.c: K&R formatting and cosmetics. avconv: avoid memcpy in vsrc_buffer when possible. avconv: implement get_buffer()/release_buffer(). lavfi: add a new function av_buffersrc_buffer(). lavfi: add avfilter_copy_frame_props() lavc: add format field to AVFrame lavc: add width and height fields to AVFrame lavc: add a sample_aspect_ratio field to AVFrame doxy: add website-alike style to the html output FAQ: add an entry for common error when using -profile Conflicts: avconv.c cmdutils.c doc/APIchanges libavcodec/avcodec.h libavcodec/mpegvideo.c libavcodec/utils.c libavcodec/version.h libavfilter/Makefile libavfilter/avfilter.c libavfilter/avfilter.h libavfilter/src_movie.c libavfilter/vsrc_buffer.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
* libavfilter: implement avfilter_fill_frame_from_video_buffer_ref()Stefano Sabatini2011-06-12
|
* lavfi: add avfilter_get_video_buffer_ref_from_frame to avcodec.hStefano Sabatini2011-05-19
| | | | Simplify passing AVFrame data to av_vsrc_buffer_add_video_buffer_ref().
* lavfi: add libavfilter/avcodec.h and avfilter_copy_frame_props()Stefano Sabatini2011-05-07
avfilter_copy_frame_props() avoids code duplication and increases robustness. The added files libavfilter/avcodec.[ch] are used for containing utilities useful for gluing togheter libavfilter and libavcodec.