#include "libavutil/attributes.h"
#include "libavutil/internal.h"
#include "libavutil/opt.h"
#include "libavcodec/internal.h"
#include "avformat.h"
#include "internal.h"
#include "config.h"
#include <dlfcn.h>
#include <avisynth/avisynth_c.h>
Go to the source code of this file.
|
static av_cold void | avisynth_atexit_handler (void) |
|
static av_cold int | avisynth_load_library (void) |
|
static av_cold int | avisynth_context_create (AVFormatContext *s) |
|
static av_cold void | avisynth_context_destroy (AviSynthContext *avs) |
|
static int | avisynth_create_stream_video (AVFormatContext *s, AVStream *st) |
|
static int | avisynth_create_stream_audio (AVFormatContext *s, AVStream *st) |
|
static int | avisynth_create_stream (AVFormatContext *s) |
|
static int | avisynth_open_file (AVFormatContext *s) |
|
static void | avisynth_next_stream (AVFormatContext *s, AVStream **st, AVPacket *pkt, int *discard) |
|
static int | avisynth_read_packet_video (AVFormatContext *s, AVPacket *pkt, int discard) |
|
static int | avisynth_read_packet_audio (AVFormatContext *s, AVPacket *pkt, int discard) |
|
static av_cold int | avisynth_read_header (AVFormatContext *s) |
|
static int | avisynth_read_packet (AVFormatContext *s, AVPacket *pkt) |
|
static av_cold int | avisynth_read_close (AVFormatContext *s) |
|
static int | avisynth_read_seek (AVFormatContext *s, int stream_index, int64_t timestamp, int flags) |
|
◆ AVSC_NO_DECLSPEC
◆ AVISYNTH_NAME
#define AVISYNTH_NAME "libavisynth" |
◆ AVISYNTH_LIB
◆ PCM
◆ AVSC_DECLARE_FUNC
◆ LOAD_AVS_FUNC
#define LOAD_AVS_FUNC |
( |
|
name, |
|
|
|
continue_on_fail |
|
) |
| |
◆ AVISYNTH_FRAMEPROP_DEFAULT
#define AVISYNTH_FRAMEPROP_DEFAULT |
◆ OFFSET
◆ AviSynthFlags
Enumerator |
---|
AVISYNTH_FRAMEPROP_FIELD_ORDER | |
AVISYNTH_FRAMEPROP_RANGE | |
AVISYNTH_FRAMEPROP_PRIMARIES | |
AVISYNTH_FRAMEPROP_TRANSFER | |
AVISYNTH_FRAMEPROP_MATRIX | |
AVISYNTH_FRAMEPROP_CHROMA_LOCATION | |
AVISYNTH_FRAMEPROP_SAR | |
Definition at line 90 of file avisynth.c.
◆ avisynth_atexit_handler()
static av_cold void avisynth_atexit_handler |
( |
void |
| ) |
|
|
static |
◆ avisynth_load_library()
◆ avisynth_context_create()
◆ avisynth_context_destroy()
◆ avisynth_create_stream_video()
◆ avisynth_create_stream_audio()
◆ avisynth_create_stream()
◆ avisynth_open_file()
◆ avisynth_next_stream()
◆ avisynth_read_packet_video()
◆ avisynth_read_packet_audio()
◆ avisynth_read_header()
◆ avisynth_read_packet()
◆ avisynth_read_close()
◆ avisynth_read_seek()
◆ avs_planes_packed
const int avs_planes_packed[1] = { 0 } |
|
static |
◆ avs_planes_grey
const int avs_planes_grey[1] = { AVS_PLANAR_Y } |
|
static |
◆ avs_planes_yuv
const int avs_planes_yuv[3] |
|
static |
◆ avs_planes_rgb
const int avs_planes_rgb[3] |
|
static |
◆ avs_planes_yuva
const int avs_planes_yuva[4] |
|
static |
◆ avs_planes_rgba
const int avs_planes_rgba[4] |
|
static |
◆ avs_library
◆ avs_atexit_called
int avs_atexit_called = 0 |
|
static |
◆ avs_ctx_list
◆ avisynth_options
◆ avisynth_demuxer_class
const AVClass avisynth_demuxer_class |
|
static |
Initial value:= {
.class_name = "AviSynth demuxer",
}
Definition at line 1193 of file avisynth.c.
◆ ff_avisynth_demuxer
Initial value:= {
.name = "avisynth",
.extensions = "avs",
}
Definition at line 1200 of file avisynth.c.
it s the only field you need to keep assuming you have a context There is some magic you don t need to care about around this just let it vf default minimum maximum flags name is the option name
static const AVClass avisynth_demuxer_class
static int avisynth_read_seek(AVFormatContext *s, int stream_index, int64_t timestamp, int flags)
static int avisynth_read_packet(AVFormatContext *s, AVPacket *pkt)
@ AVISYNTH_FRAMEPROP_MATRIX
static int read_seek(AVFormatContext *ctx, int stream_index, int64_t timestamp, int flags)
static av_cold int read_close(AVFormatContext *ctx)
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
static av_cold int avisynth_read_close(AVFormatContext *s)
#define LIBAVUTIL_VERSION_INT
static int read_header(FFV1Context *f)
const char * av_default_item_name(void *ptr)
Return the context name.
static av_cold int avisynth_read_header(AVFormatContext *s)
static AviSynthLibrary avs_library
static const AVOption avisynth_options[]
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
@ AVISYNTH_FRAMEPROP_PRIMARIES
@ AVISYNTH_FRAMEPROP_TRANSFER
@ AVISYNTH_FRAMEPROP_CHROMA_LOCATION
#define AVISYNTH_FRAMEPROP_DEFAULT
#define AV_OPT_FLAG_DECODING_PARAM
a generic parameter which can be set by the user for demuxing or decoding
@ AVISYNTH_FRAMEPROP_RANGE
@ AVISYNTH_FRAMEPROP_FIELD_ORDER
#define flags(name, subs,...)