mirror of https://github.com/FFmpeg/FFmpeg.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
59 lines
1.7 KiB
59 lines
1.7 KiB
/* |
|
* This file is part of FFmpeg. |
|
* |
|
* FFmpeg is free software; you can redistribute it and/or |
|
* modify it under the terms of the GNU Lesser General Public |
|
* License as published by the Free Software Foundation; either |
|
* version 2.1 of the License, or (at your option) any later version. |
|
* |
|
* FFmpeg is distributed in the hope that it will be useful, |
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
* Lesser General Public License for more details. |
|
* |
|
* You should have received a copy of the GNU Lesser General Public |
|
* License along with FFmpeg; if not, write to the Free Software |
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
|
*/ |
|
|
|
#ifndef AVFILTER_INTERNAL_H |
|
#define AVFILTER_INTERNAL_H |
|
|
|
/** |
|
* @file |
|
* internal API functions |
|
*/ |
|
|
|
#include "libavutil/internal.h" |
|
#include "avfilter.h" |
|
|
|
/** |
|
* Returns true if a pixel format is "regular YUV", which includes all pixel |
|
* formats that are affected by YUV colorspace negotiation. |
|
*/ |
|
int ff_fmt_is_regular_yuv(enum AVPixelFormat fmt); |
|
|
|
/** |
|
* Negotiate the media format, dimensions, etc of all inputs to a filter. |
|
* |
|
* @param filter the filter to negotiate the properties for its inputs |
|
* @return zero on successful negotiation |
|
*/ |
|
int ff_filter_config_links(AVFilterContext *filter); |
|
|
|
/* misc trace functions */ |
|
|
|
#define FF_TPRINTF_START(ctx, func) ff_tlog(NULL, "%-16s: ", #func) |
|
|
|
#ifdef TRACE |
|
void ff_tlog_link(void *ctx, AVFilterLink *link, int end); |
|
#else |
|
#define ff_tlog_link(ctx, link, end) do { } while(0) |
|
#endif |
|
|
|
/** |
|
* Run one round of processing on a filter graph. |
|
*/ |
|
int ff_filter_graph_run_once(AVFilterGraph *graph); |
|
|
|
#endif /* AVFILTER_INTERNAL_H */
|
|
|