summaryrefslogtreecommitdiff
path: root/libavfilter/internal.h
Commit message (Collapse)AuthorAge
* avfilter/avfilter: mark enable as runtime option tooPaul B Mahol2021-02-03
|
* avfilter/formats: Remove unused functionsAndreas Rheinhardt2020-08-21
| | | | | | | | | | | | | | This commit removes ff_parse_sample_format(), ff_parse_time_base() and ff_query_formats_all_layouts() from libavfilter/formats.c. All of these functions were completely unused. ff_parse_time_base() has not been used at all since it had been added in 3448404a707b6e236a2ffa7b0453b3300de41b7b; the last caller of ff_parse_sample_format has been removed in commit d1c49bcae9b7fd41df5c6804ac7f6a5c271a7c2e. And the one and only caller of ff_query_formats_all_layouts() (the asyncts filter) has been removed in commit a8fe8d6b4a35c95aa94fccde5f001041278d197c. Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
* lavfi: remove needs_fifo.Nicolas George2020-08-20
|
* avfilter: add D2TS, TS2D, TS2T as a common macro in internal.hLimin Wang2020-06-19
| | | | Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
* lavfi: remove AVFilterPad.poll_frame().Nicolas George2019-12-23
| | | | This design is no longer used and was replaced a long time ago.
* lavfi: remove ff_poll_frame().Nicolas George2019-12-23
| | | | It is never used.
* avfilter/avfilter: add ff_filter_process_command()Paul B Mahol2019-10-14
|
* Merge commit '6d86cef06ba36c0ed591e14a2382e9630059fc5d'Mark Thompson2018-02-12
|\ | | | | | | | | | | | | * commit '6d86cef06ba36c0ed591e14a2382e9630059fc5d': lavfi: Add support for increasing hardware frame pool sizes Merged-by: Mark Thompson <sw@jkqxz.net>
| * lavfi: Add support for increasing hardware frame pool sizesMark Thompson2018-02-11
| | | | | | | | | | AVFilterContext.extra_hw_frames functions identically to the field of the same name in AVCodecContext.
* | avfilter: remove duplicate and disabled trace log functionJames Almer2017-09-01
| | | | | | | | | | | | | | It's already defined and actually enabled depending on compiler options elsewhere. Signed-off-by: James Almer <jamrial@gmail.com>
* | avfilter: remove usage of empty headerPaul B Mahol2017-06-26
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | Merge commit 'e3fb74f7f9a8f1895381355f40c92cac3c1023d9'Matthieu Bouron2017-03-30
|\| | | | | | | | | | | | | * commit 'e3fb74f7f9a8f1895381355f40c92cac3c1023d9': lavfi: Always propagate hw_frames_ctx through links Merged-by: Matthieu Bouron <matthieu.bouron@gmail.com>
| * lavfi: Always propagate hw_frames_ctx through linksMark Thompson2016-11-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also adds a new flag to mark filters which are aware of hwframes and will perform this task themselves, and marks all appropriate filters with this flag. This is required to allow software-mapped hardware frames to work, because we need to have the frames context available for any later mapping operation in the filter graph. The output from the filter graph should only propagate further to an encoder if the hardware format actually matches the visible format (mapped frames are valid here and have an hw_frames_ctx, but this should not be given to the encoder as its hardware context).
* | lavfi: make two functions static.Nicolas George2017-01-12
| | | | | | | | | | ff_request_frame_to_filter() and ff_filter_frame_to_filter() are only used in avfilter.c.
* | lavfi: disallow ff_request_frame for filters using activate.Nicolas George2017-01-12
| | | | | | | | | | Having two different functions allows to have stricter tests and detect errors earlier.
* | lavfi: make filter_frame non-recursive.Nicolas George2016-12-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A lot of changes happen at the same time: - Add a framequeue fifo to AVFilterLink. - split AVFilterLink.status into status_in and status_out: requires changes to the few filters and programs that use it directly (f_interleave, split, filtfmts). - Add a field ready to AVFilterContext, marking when the filter is ready and its activation priority. - Add flags to mark blocked links. - Change ff_filter_frame() to enqueue the frame. - Change all filtering functions to update the ready field and the blocked flags. - Update ff_filter_graph_run_once() to use the ready field. - buffersrc: always push the frame immediately.
* | avfilter: add ff_filter_get_nb_threads()Paul B Mahol2016-08-29
| |
* | avfilter: update some commentsPaul B Mahol2016-01-24
| | | | | | | | | | | | start_frame is no more, samplesref argument is now frame argument. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | lavfi: make request_frame() non-recursive.Nicolas George2015-12-22
| | | | | | | | | | | | | | Instead of calling the input filter request_frame() method, ff_request_frame() now marks the link and returns immediately. buffersink is changed to activate the marked filters until a frame is obtained.
* | lavfi: replace link.closed by link.status.Nicolas George2015-12-22
| | | | | | | | | | | | The status field can carry any error code instead of just EOF. Also only update it through a wrapper function and provide a timestamp. Update the few filters that used it directly.
* | lavfi: use a video frame pool for each link of the filtergraphMatthieu Bouron2015-12-15
| |
* | avfilter/internal: Doxygen for ff_fmt_is_inGanesh Ajjanagadde2015-10-17
| | | | | | | | | | | | | | This clarifies and adds Doxygen for ff_fmt_is_in. Reviewed-by: Timothy Gu <timothygu99@gmail.com> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* | avfilter/internal: add av_warn_unused_resultGanesh Ajjanagadde2015-10-17
| | | | | | | | | | | | | | | | | | av_warn_unused_result is added to functions whose return status should be checked. Currently does not trigger any warnings, but should be useful for future robustness. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* | lavfi: remove FF_LINK_FLAG_REQUEST_LOOP.Nicolas George2015-09-20
| | | | | | | | It has no longer any effect.
* | lavfi: drop the requirement that request_frame returns a frame.Nicolas George2015-09-20
| | | | | | | | | | | | | | | | It requires a loop in filters or the framework, that makes the scheduling less efficient and more complex. This is purely an internal change since the loop is now present in buffersink. Note that no filter except buffersink did rely on the requirement.
* | Remove left-over FF_API_AVFILTERBUFFER cruftHendrik Leppkes2015-09-05
| |
* | Merge commit 'f6974fe651d29ef6eb68d66d73f7b6c011062aa0'Hendrik Leppkes2015-09-05
|\| | | | | | | | | | | | | * commit 'f6974fe651d29ef6eb68d66d73f7b6c011062aa0': lavfi: Drop deprecated AVFilterBuffer* code Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * lavfi: Drop deprecated AVFilterBuffer* codeVittorio Giovara2015-08-28
| | | | | | | | Deprecated in 11/2012.
* | Merge commit 'e65e4cbbda03ca3c9087f069c9867d518415fca1'Hendrik Leppkes2015-09-05
|\| | | | | | | | | | | | | * commit 'e65e4cbbda03ca3c9087f069c9867d518415fca1': lavfi: Drop deprecated *_count suffixed variables Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * lavfi: Drop deprecated *_count suffixed variablesVittorio Giovara2015-08-28
| | | | | | | | Deprecated in 06/2012.
* | Merge commit '86e5056575f55f070609dd3926605302f7d2280e'Hendrik Leppkes2015-09-05
|\| | | | | | | | | | | | | * commit '86e5056575f55f070609dd3926605302f7d2280e': lavfi: Drop deprecated public AVFilterPad struct Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * lavfi: Drop deprecated public AVFilterPad structVittorio Giovara2015-08-28
| | | | | | | | Deprecated in 06/2012.
| * Replace av_dlog with normal av_log at trace levelVittorio Giovara2015-04-19
| | | | | | | | This applies to every library where performance is not critical.
* | avfilter: add missing FF_API_AVFILTERBUFFER guardsAndreas Cadhalpun2015-08-30
| | | | | | | | | | Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* | avfilter: remove obsolete function declarationsAndreas Cadhalpun2015-08-08
| | | | | | | | | | Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* | avfilter/internal: add more words to sentanceMichael Niedermayer2015-07-15
| | | | | | | | | | | | | | Hopefully fixes english syntax Found-by: ubitux Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avfilter/internal: Improve docs about ff_request_frame()Michael Niedermayer2015-07-15
| | | | | | | | | | Reviewed-by: James Darnley <james.darnley@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avfilter/internal: add fixme to ff_norm_qscale() to document obvious scaling ↵Michael Niedermayer2015-01-10
| | | | | | | | | | | | issue Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avfilter: Factorize the use of norm_qscale in pp7Arwa Arif2015-01-10
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '5655732c77f2df9c1dfbddc30cd4844390a6921f'Michael Niedermayer2014-01-10
|\| | | | | | | | | | | | | * commit '5655732c77f2df9c1dfbddc30cd4844390a6921f': avfilter: add needs_writable field to the internal AVFilterPad structure Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * avfilter: add needs_writable field to the internal AVFilterPad structureVittorio Giovara2014-01-09
| |
* | lavfi: parsing helper for unknown channel layouts.Nicolas George2013-11-03
| | | | | | | | Make ff_parse_channel_layout() accept unknown layouts too.
* | Do not leave positive values undefined when negative are defined as errorMichael Niedermayer2013-10-19
| | | | | | | | | | | | | | | | Define positive return values as non errors and leave further meaning undefined This allows future extensions to use these values Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2013-09-28
|\| | | | | | | | | | | | | | | | | | | | | * qatar/master: lavfi: allow user-provided execute() callbacks Conflicts: libavfilter/avfilter.h libavfilter/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavfi: allow user-provided execute() callbacksAnton Khirnov2013-09-28
| |
* | avfilter/avfilter: check allocation failure in ff_insert_pad()Paul B Mahol2013-09-15
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avfilter: remove ff_copy_int*_listMichael Niedermayer2013-08-16
| | | | | | | | | | | | The functions are unused Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '7950e519bb094897f957b9a9531cc60ba46cbc91'Michael Niedermayer2013-08-03
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '7950e519bb094897f957b9a9531cc60ba46cbc91': Disable deprecation warnings for cases where a replacement is available Conflicts: libavcodec/avpacket.c libavcodec/pthread.c libavcodec/utils.c libavdevice/v4l2.c libavfilter/avfiltergraph.c libavfilter/buffersrc.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Disable deprecation warnings for cases where a replacement is availableDiego Biurrun2013-08-02
| |
* | Merge commit '45dd1ae1b3c18331f3db2293a9135bc5851e553f'Michael Niedermayer2013-08-01
|\| | | | | | | | | | | | | | | | | | | | | * commit '45dd1ae1b3c18331f3db2293a9135bc5851e553f': avfilter: Add some missing FF_API_AVFILTERBUFFER ifdefs Conflicts: libavfilter/buffer.c libavfilter/internal.h Merged-by: Michael Niedermayer <michaelni@gmx.at>