#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
#include <whisper.h>
#include "libavutil/avutil.h"
#include "libavutil/opt.h"
#include "libavutil/channel_layout.h"
#include "libavutil/samplefmt.h"
#include "libavfilter/avfilter.h"
#include "libavfilter/audio.h"
#include "libavutil/mem.h"
#include "libavutil/avstring.h"
#include "libavutil/internal.h"
#include "libavformat/avio.h"
#include "libavutil/thread.h"
#include "formats.h"
Go to the source code of this file.
◆ OFFSET
◆ FLAGS
◆ HOURS
◆ cb_log()
static void cb_log |
( |
enum ggml_log_level |
level, |
|
|
const char * |
text, |
|
|
void * |
user_data |
|
) |
| |
|
static |
◆ init()
◆ uninit()
◆ run_transcription()
◆ filter_frame()
◆ push_last_frame()
◆ activate()
◆ query_formats()
◆ whisper_options
◆ whisper_class
Initial value:= {
.class_name = "whisper",
}
Definition at line 447 of file af_whisper.c.
◆ ff_af_whisper
Initial value:= {
.p.name = "whisper",
}
Definition at line 454 of file af_whisper.c.
static const AVOption whisper_options[]
#define FILTER_INPUTS(array)
@ AV_OPT_TYPE_DURATION
Underlying C type is int64_t.
static const AVClass whisper_class
static int init(AVFilterContext *ctx)
#define FILTER_OUTPUTS(array)
#define LIBAVUTIL_VERSION_INT
New swscale design to change SwsGraph is what coordinates multiple passes These can include cascaded scaling error diffusion and so on Or we could have separate passes for the vertical and horizontal scaling In between each SwsPass lies a fully allocated image buffer Graph passes may have different levels of e g we can have a single threaded error diffusion pass following a multi threaded scaling pass SwsGraph is internally recreated whenever the image format
const char * av_default_item_name(void *ptr)
Return the context name.
const AVFilterPad ff_audio_default_filterpad[1]
An AVFilterPad array whose only entry has name "default" and is of type AVMEDIA_TYPE_AUDIO.
static int activate(AVFilterContext *ctx)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
static int query_formats(const AVFilterContext *ctx, AVFilterFormatsConfig **cfg_in, AVFilterFormatsConfig **cfg_out)
@ AV_OPT_TYPE_FLOAT
Underlying C type is float.
#define FILTER_QUERY_FUNC2(func)
static void uninit(AVFilterContext *ctx)
Undefined Behavior In the C language
@ AV_OPT_TYPE_INT
Underlying C type is int.
#define AVFILTER_FLAG_METADATA_ONLY
The filter is a "metadata" filter - it does not modify the frame data in any way.
@ AV_OPT_TYPE_BOOL
Underlying C type is int.
@ AV_OPT_TYPE_STRING
Underlying C type is a uint8_t* that is either NULL or points to a C string allocated with the av_mal...