avxsynth_c.h File Reference
#include "windowsPorts/windows2linux.h"
#include <stdarg.h>
Include dependency graph for avxsynth_c.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  AVS_VideoInfo
 
struct  AVS_VideoFrameBuffer
 
struct  AVS_VideoFrame
 
struct  AVS_Value
 
struct  AVS_FilterInfo
 

Macros

#define EXTERN_C
 
#define AVSC_USE_STDCALL   1
 
#define AVSC_CC   __stdcall
 
#define AVSC_INLINE   static __inline
 
#define AVSC_EXPORT   EXTERN_C __declspec(dllexport)
 
#define AVSC_API(ret, name)   EXTERN_C __declspec(dllimport) ret AVSC_CC name
 
#define AVS_FRAME_ALIGN   16
 

Typedefs

typedef __int64 INT64
 
typedef struct AVS_Clip AVS_Clip
 
typedef struct AVS_ScriptEnvironment AVS_ScriptEnvironment
 
typedef struct AVS_VideoInfo AVS_VideoInfo
 
typedef struct AVS_VideoFrameBuffer AVS_VideoFrameBuffer
 
typedef struct AVS_VideoFrame AVS_VideoFrame
 
typedef struct AVS_Value AVS_Value
 
typedef AVS_Value args
 
typedef AVS_Value voiduser_data
 
typedef struct AVS_FilterInfo AVS_FilterInfo
 
typedef void(AVSC_CCAVS_ShutdownFunc) (void *user_data, AVS_ScriptEnvironment *env)
 

Enumerations

enum  { AVISYNTH_INTERFACE_VERSION = 3 }
 
enum  {
  AVS_SAMPLE_INT8 = 1<<0, AVS_SAMPLE_INT16 = 1<<1, AVS_SAMPLE_INT24 = 1<<2, AVS_SAMPLE_INT32 = 1<<3,
  AVS_SAMPLE_FLOAT = 1<<4
}
 
enum  {
  AVS_PLANAR_Y =1<<0, AVS_PLANAR_U =1<<1, AVS_PLANAR_V =1<<2, AVS_PLANAR_ALIGNED =1<<3,
  AVS_PLANAR_Y_ALIGNED =AVS_PLANAR_Y|AVS_PLANAR_ALIGNED, AVS_PLANAR_U_ALIGNED =AVS_PLANAR_U|AVS_PLANAR_ALIGNED, AVS_PLANAR_V_ALIGNED =AVS_PLANAR_V|AVS_PLANAR_ALIGNED
}
 
enum  { AVS_CS_BGR = 1<<28, AVS_CS_YUV = 1<<29, AVS_CS_INTERLEAVED = 1<<30, AVS_CS_PLANAR = 1<<31 }
 
enum  {
  AVS_CS_UNKNOWN = 0, AVS_CS_BGR24 = 1<<0 | AVS_CS_BGR | AVS_CS_INTERLEAVED, AVS_CS_BGR32 = 1<<1 | AVS_CS_BGR | AVS_CS_INTERLEAVED, AVS_CS_YUY2 = 1<<2 | AVS_CS_YUV | AVS_CS_INTERLEAVED,
  AVS_CS_YV12 = 1<<3 | AVS_CS_YUV | AVS_CS_PLANAR, AVS_CS_I420 = 1<<4 | AVS_CS_YUV | AVS_CS_PLANAR, AVS_CS_IYUV = 1<<4 | AVS_CS_YUV | AVS_CS_PLANAR
}
 
enum  { AVS_IT_BFF = 1<<0, AVS_IT_TFF = 1<<1, AVS_IT_FIELDBASED = 1<<2 }
 
enum  {
  AVS_FILTER_TYPE =1, AVS_FILTER_INPUT_COLORSPACE =2, AVS_FILTER_OUTPUT_TYPE =9, AVS_FILTER_NAME =4,
  AVS_FILTER_AUTHOR =5, AVS_FILTER_VERSION =6, AVS_FILTER_ARGS =7, AVS_FILTER_ARGS_INFO =8,
  AVS_FILTER_ARGS_DESCRIPTION =10, AVS_FILTER_DESCRIPTION =11
}
 
enum  { AVS_FILTER_TYPE_AUDIO =1, AVS_FILTER_TYPE_VIDEO =2, AVS_FILTER_OUTPUT_TYPE_SAME =3, AVS_FILTER_OUTPUT_TYPE_DIFFERENT =4 }
 
enum  {
  AVS_CACHE_NOTHING =0, AVS_CACHE_RANGE =1, AVS_CACHE_ALL =2, AVS_CACHE_AUDIO =3,
  AVS_CACHE_AUDIO_NONE =4, AVS_CACHE_AUDIO_AUTO =5
}
 
enum  {
  AVS_CPU_FORCE = 0x01, AVS_CPU_FPU = 0x02, AVS_CPU_MMX = 0x04, AVS_CPU_INTEGER_SSE = 0x08,
  AVS_CPU_SSE = 0x10, AVS_CPU_SSE2 = 0x20, AVS_CPU_3DNOW = 0x40, AVS_CPU_3DNOW_EXT = 0x80,
  AVS_CPU_X86_64 = 0xA0
}
 

Functions

AVSC_INLINE int avs_has_video (const AVS_VideoInfo *p)
 
AVSC_INLINE int avs_has_audio (const AVS_VideoInfo *p)
 
AVSC_INLINE int avs_is_rgb (const AVS_VideoInfo *p)
 
AVSC_INLINE int avs_is_rgb24 (const AVS_VideoInfo *p)
 
AVSC_INLINE int avs_is_rgb32 (const AVS_VideoInfo *p)
 
AVSC_INLINE int avs_is_yuv (const AVS_VideoInfo *p)
 
AVSC_INLINE int avs_is_yuy2 (const AVS_VideoInfo *p)
 
AVSC_INLINE int avs_is_yv12 (const AVS_VideoInfo *p)
 
AVSC_INLINE int avs_is_color_space (const AVS_VideoInfo *p, int c_space)
 
AVSC_INLINE int avs_is_property (const AVS_VideoInfo *p, int property)
 
AVSC_INLINE int avs_is_planar (const AVS_VideoInfo *p)
 
AVSC_INLINE int avs_is_field_based (const AVS_VideoInfo *p)
 
AVSC_INLINE int avs_is_parity_known (const AVS_VideoInfo *p)
 
AVSC_INLINE int avs_is_bff (const AVS_VideoInfo *p)
 
AVSC_INLINE int avs_is_tff (const AVS_VideoInfo *p)
 
AVSC_INLINE int avs_bits_per_pixel (const AVS_VideoInfo *p)
 
AVSC_INLINE int avs_bytes_from_pixels (const AVS_VideoInfo *p, int pixels)
 
AVSC_INLINE int avs_row_size (const AVS_VideoInfo *p)
 
AVSC_INLINE int avs_bmp_size (const AVS_VideoInfo *vi)
 
AVSC_INLINE int avs_samples_per_second (const AVS_VideoInfo *p)
 
AVSC_INLINE int avs_bytes_per_channel_sample (const AVS_VideoInfo *p)
 
AVSC_INLINE int avs_bytes_per_audio_sample (const AVS_VideoInfo *p)
 
AVSC_INLINE INT64 avs_audio_samples_from_frames (const AVS_VideoInfo *p, INT64 frames)
 
AVSC_INLINE int avs_frames_from_audio_samples (const AVS_VideoInfo *p, INT64 samples)
 
AVSC_INLINE INT64 avs_audio_samples_from_bytes (const AVS_VideoInfo *p, INT64 bytes)
 
AVSC_INLINE INT64 avs_bytes_from_audio_samples (const AVS_VideoInfo *p, INT64 samples)
 
AVSC_INLINE int avs_audio_channels (const AVS_VideoInfo *p)
 
AVSC_INLINE int avs_sample_type (const AVS_VideoInfo *p)
 
AVSC_INLINE void avs_set_property (AVS_VideoInfo *p, int property)
 
AVSC_INLINE void avs_clear_property (AVS_VideoInfo *p, int property)
 
AVSC_INLINE void avs_set_field_based (AVS_VideoInfo *p, int isfieldbased)
 
AVSC_INLINE void avs_set_fps (AVS_VideoInfo *p, unsigned numerator, unsigned denominator)
 
AVSC_INLINE int avs_is_same_colorspace (AVS_VideoInfo *x, AVS_VideoInfo *y)
 
AVSC_INLINE int avs_get_pitch (const AVS_VideoFrame *p)
 
AVSC_INLINE int avs_get_pitch_p (const AVS_VideoFrame *p, int plane)
 
AVSC_INLINE int avs_get_row_size (const AVS_VideoFrame *p)
 
AVSC_INLINE int avs_get_row_size_p (const AVS_VideoFrame *p, int plane)
 
AVSC_INLINE int avs_get_height (const AVS_VideoFrame *p)
 
AVSC_INLINE int avs_get_height_p (const AVS_VideoFrame *p, int plane)
 
AVSC_INLINE const unsigned char * avs_get_read_ptr (const AVS_VideoFrame *p)
 
AVSC_INLINE const unsigned char * avs_get_read_ptr_p (const AVS_VideoFrame *p, int plane)
 
AVSC_INLINE int avs_is_writable (const AVS_VideoFrame *p)
 
AVSC_INLINE unsigned char * avs_get_write_ptr (const AVS_VideoFrame *p)
 
AVSC_INLINE unsigned char * avs_get_write_ptr_p (const AVS_VideoFrame *p, int plane)
 
 AVSC_API (void, avs_release_video_frame)(AVS_VideoFrame *)
 
 AVSC_API (AVS_VideoFrame *, avs_copy_video_frame)(AVS_VideoFrame *)
 
AVSC_INLINE void avs_release_frame (AVS_VideoFrame *f)
 
AVSC_INLINE AVS_VideoFrameavs_copy_frame (AVS_VideoFrame *f)
 
 AVSC_API (void, avs_copy_value)(AVS_Value *dest
 
 AVSC_API (void, avs_release_value)(AVS_Value)
 
AVSC_INLINE int avs_defined (AVS_Value v)
 
AVSC_INLINE int avs_is_clip (AVS_Value v)
 
AVSC_INLINE int avs_is_bool (AVS_Value v)
 
AVSC_INLINE int avs_is_int (AVS_Value v)
 
AVSC_INLINE int avs_is_float (AVS_Value v)
 
AVSC_INLINE int avs_is_string (AVS_Value v)
 
AVSC_INLINE int avs_is_array (AVS_Value v)
 
AVSC_INLINE int avs_is_error (AVS_Value v)
 
 AVSC_API (AVS_Clip *, avs_take_clip)(AVS_Value
 
AVS_ScriptEnvironmentAVSC_API (void, avs_set_to_clip)(AVS_Value *
 
AVS_ScriptEnvironment AVS_Clip *AVSC_INLINE int avs_as_bool (AVS_Value v)
 
AVSC_INLINE int avs_as_int (AVS_Value v)
 
AVSC_INLINE const char * avs_as_string (AVS_Value v)
 
AVSC_INLINE double avs_as_float (AVS_Value v)
 
AVSC_INLINE const char * avs_as_error (AVS_Value v)
 
AVSC_INLINE const AVS_Valueavs_as_array (AVS_Value v)
 
AVSC_INLINE int avs_array_size (AVS_Value v)
 
AVSC_INLINE AVS_Value avs_array_elt (AVS_Value v, int index)
 
AVSC_INLINE AVS_Value avs_new_value_bool (int v0)
 
AVSC_INLINE AVS_Value avs_new_value_int (int v0)
 
AVSC_INLINE AVS_Value avs_new_value_string (const char *v0)
 
AVSC_INLINE AVS_Value avs_new_value_float (float v0)
 
AVSC_INLINE AVS_Value avs_new_value_error (const char *v0)
 
AVSC_INLINE AVS_Value avs_new_value_clip (AVS_Clip *v0)
 
AVSC_INLINE AVS_Value avs_new_value_array (AVS_Value *v0, int size)
 
 AVSC_API (void, avs_release_clip)(AVS_Clip *)
 
 AVSC_API (AVS_Clip *, avs_copy_clip)(AVS_Clip *)
 
 AVSC_API (const char *, avs_clip_get_error)(AVS_Clip *)
 
 AVSC_API (const AVS_VideoInfo *, avs_get_video_info)(AVS_Clip *)
 
 AVSC_API (int, avs_get_version)(AVS_Clip *)
 
 AVSC_API (AVS_VideoFrame *, avs_get_frame)(AVS_Clip *
 
 AVSC_API (int, avs_get_parity)(AVS_Clip *
 
 AVSC_API (int, avs_get_audio)(AVS_Clip *
 
 AVSC_API (int, avs_set_cache_hints)(AVS_Clip *
 
typedef AVS_Value (AVSC_CC *AVS_ApplyFunc)(AVS_ScriptEnvironment *
 
 AVSC_API (AVS_Clip *, avs_new_c_filter)(AVS_ScriptEnvironment *e
 
 AVSC_API (const char *, avs_get_error)(AVS_ScriptEnvironment *)
 
 AVSC_API (long, avs_get_cpu_flags)(AVS_ScriptEnvironment *)
 
 AVSC_API (int, avs_check_version)(AVS_ScriptEnvironment *
 
 AVSC_API (char *, avs_save_string)(AVS_ScriptEnvironment *
 
 AVSC_API (char *, avs_sprintf)(AVS_ScriptEnvironment *
 
const char AVSC_API (char *, avs_vsprintf)(AVS_ScriptEnvironment *
 
 AVSC_API (int, avs_add_function)(AVS_ScriptEnvironment *
 
 AVSC_API (int, avs_function_exists)(AVS_ScriptEnvironment *
 
 AVSC_API (AVS_Value, avs_invoke)(AVS_ScriptEnvironment *
 
 AVSC_API (AVS_Value, avs_get_var)(AVS_ScriptEnvironment *
 
 AVSC_API (int, avs_set_var)(AVS_ScriptEnvironment *
 
 AVSC_API (int, avs_set_global_var)(AVS_ScriptEnvironment *
 
 AVSC_API (AVS_VideoFrame *, avs_new_video_frame_a)(AVS_ScriptEnvironment *
 
AVSC_INLINE AVS_VideoFrameavs_new_video_frame (AVS_ScriptEnvironment *env, const AVS_VideoInfo *vi)
 
AVSC_INLINE AVS_VideoFrameavs_new_frame (AVS_ScriptEnvironment *env, const AVS_VideoInfo *vi)
 
 AVSC_API (int, avs_make_writable)(AVS_ScriptEnvironment *
 
 AVSC_API (void, avs_bit_blt)(AVS_ScriptEnvironment *
 
 AVSC_API (void, avs_at_exit)(AVS_ScriptEnvironment *
 
 AVSC_API (AVS_VideoFrame *, avs_subframe)(AVS_ScriptEnvironment *
 
 AVSC_API (int, avs_set_memory_max)(AVS_ScriptEnvironment *
 
 AVSC_API (int, avs_set_working_dir)(AVS_ScriptEnvironment *
 
 AVSC_API (AVS_ScriptEnvironment *, avs_create_script_environment)(int version)
 
AVSC_EXPORT const char *AVSC_CC avisynth_c_plugin_init (AVS_ScriptEnvironment *env)
 
 AVSC_API (void, avs_delete_script_environment)(AVS_ScriptEnvironment *)
 
 AVSC_API (AVS_VideoFrame *, avs_subframe_planar)(AVS_ScriptEnvironment *
 

Variables

static const AVS_Value avs_void = {'v'}
 
AVS_Value src
 
int n
 
voidbuf
 
void INT64 start
 
void INT64 INT64 count
 
int cachehints
 
int size_t frame_range
 
AVS_FilterInfo ** fi
 
AVS_FilterInfo AVS_Value child
 
AVS_FilterInfo AVS_Value int store_child
 
int version
 
const char * s
 
const char int length
 
const char * fmt
 
const char const char va_list val
 
const char * name
 
const char const char * params
 
const char const char AVS_ApplyFunc apply
 
const char AVS_Value const char ** arg_names
 
const AVS_VideoInfovi
 
const AVS_VideoInfo int align
 
AVS_VideoFrame ** pvf
 
unsigned char * dstp
 
unsigned char int dst_pitch
 
unsigned char int const unsigned char * srcp
 
unsigned char int const unsigned char int src_pitch
 
unsigned char int const unsigned char int int row_size
 
unsigned char int const unsigned char int int int height
 
AVS_ShutdownFunc function
 
AVS_VideoFrame int rel_offset
 
AVS_VideoFrame int int new_pitch
 
AVS_VideoFrame int int int new_row_size
 
AVS_VideoFrame int int int int new_height
 
int mem
 
const char * newdir
 
AVS_VideoFrame int int int int int rel_offsetU
 
AVS_VideoFrame int int int int int int rel_offsetV
 
AVS_VideoFrame int int int int int int int new_pitchUV
 

Macro Definition Documentation

#define AVS_FRAME_ALIGN   16

Definition at line 146 of file avxsynth_c.h.

Referenced by avs_get_row_size_p(), avs_new_frame(), and avs_new_video_frame().

#define AVSC_API (   ret,
  name 
)    EXTERN_C __declspec(dllimport) ret AVSC_CC name

Definition at line 61 of file avxsynth_c.h.

Referenced by avs_get_write_ptr_p(), avs_is_error(), and avs_new_value_array().

#define AVSC_CC   __stdcall

Definition at line 50 of file avxsynth_c.h.

#define AVSC_EXPORT   EXTERN_C __declspec(dllexport)

Definition at line 59 of file avxsynth_c.h.

#define AVSC_INLINE   static __inline

Definition at line 53 of file avxsynth_c.h.

Referenced by avs_new_video_frame().

#define AVSC_USE_STDCALL   1

Definition at line 45 of file avxsynth_c.h.

#define EXTERN_C

Definition at line 42 of file avxsynth_c.h.

Typedef Documentation

const char AVS_Value args

Definition at line 566 of file avxsynth_c.h.

typedef struct AVS_Clip AVS_Clip

Definition at line 148 of file avxsynth_c.h.

Definition at line 568 of file avxsynth_c.h.

Definition at line 149 of file avxsynth_c.h.

typedef void(AVSC_CC * AVS_ShutdownFunc) (void *user_data, AVS_ScriptEnvironment *env)

Definition at line 691 of file avxsynth_c.h.

typedef struct AVS_Value AVS_Value

Definition at line 451 of file avxsynth_c.h.

typedef struct AVS_VideoInfo AVS_VideoInfo
typedef __int64 INT64

Definition at line 70 of file avxsynth_c.h.

Definition at line 566 of file avxsynth_c.h.

Enumeration Type Documentation

anonymous enum
Enumerator
AVISYNTH_INTERFACE_VERSION 

Definition at line 80 of file avxsynth_c.h.

anonymous enum
Enumerator
AVS_SAMPLE_INT8 
AVS_SAMPLE_INT16 
AVS_SAMPLE_INT24 
AVS_SAMPLE_INT32 
AVS_SAMPLE_FLOAT 

Definition at line 83 of file avxsynth_c.h.

anonymous enum
Enumerator
AVS_PLANAR_Y 
AVS_PLANAR_U 
AVS_PLANAR_V 
AVS_PLANAR_ALIGNED 
AVS_PLANAR_Y_ALIGNED 
AVS_PLANAR_U_ALIGNED 
AVS_PLANAR_V_ALIGNED 

Definition at line 89 of file avxsynth_c.h.

anonymous enum
Enumerator
AVS_CS_BGR 
AVS_CS_YUV 
AVS_CS_INTERLEAVED 
AVS_CS_PLANAR 

Definition at line 98 of file avxsynth_c.h.

anonymous enum
Enumerator
AVS_CS_UNKNOWN 
AVS_CS_BGR24 
AVS_CS_BGR32 
AVS_CS_YUY2 
AVS_CS_YV12 
AVS_CS_I420 
AVS_CS_IYUV 

Definition at line 104 of file avxsynth_c.h.

anonymous enum
Enumerator
AVS_IT_BFF 
AVS_IT_TFF 
AVS_IT_FIELDBASED 

Definition at line 114 of file avxsynth_c.h.

anonymous enum
Enumerator
AVS_FILTER_TYPE 
AVS_FILTER_INPUT_COLORSPACE 
AVS_FILTER_OUTPUT_TYPE 
AVS_FILTER_NAME 
AVS_FILTER_AUTHOR 
AVS_FILTER_VERSION 
AVS_FILTER_ARGS 
AVS_FILTER_ARGS_INFO 
AVS_FILTER_ARGS_DESCRIPTION 
AVS_FILTER_DESCRIPTION 

Definition at line 119 of file avxsynth_c.h.

anonymous enum
Enumerator
AVS_FILTER_TYPE_AUDIO 
AVS_FILTER_TYPE_VIDEO 
AVS_FILTER_OUTPUT_TYPE_SAME 
AVS_FILTER_OUTPUT_TYPE_DIFFERENT 

Definition at line 131 of file avxsynth_c.h.

anonymous enum
Enumerator
AVS_CACHE_NOTHING 
AVS_CACHE_RANGE 
AVS_CACHE_ALL 
AVS_CACHE_AUDIO 
AVS_CACHE_AUDIO_NONE 
AVS_CACHE_AUDIO_AUTO 

Definition at line 137 of file avxsynth_c.h.

anonymous enum
Enumerator
AVS_CPU_FORCE 
AVS_CPU_FPU 
AVS_CPU_MMX 
AVS_CPU_INTEGER_SSE 
AVS_CPU_SSE 
AVS_CPU_SSE2 
AVS_CPU_3DNOW 
AVS_CPU_3DNOW_EXT 
AVS_CPU_X86_64 

Definition at line 615 of file avxsynth_c.h.

Function Documentation

AVSC_EXPORT const char* AVSC_CC avisynth_c_plugin_init ( AVS_ScriptEnvironment env)
AVSC_INLINE AVS_Value avs_array_elt ( AVS_Value  v,
int  index 
)

Definition at line 509 of file avxsynth_c.h.

AVSC_INLINE int avs_array_size ( AVS_Value  v)

Definition at line 507 of file avxsynth_c.h.

AVSC_INLINE const AVS_Value* avs_as_array ( AVS_Value  v)

Definition at line 505 of file avxsynth_c.h.

Definition at line 495 of file avxsynth_c.h.

AVSC_INLINE const char* avs_as_error ( AVS_Value  v)

Definition at line 503 of file avxsynth_c.h.

AVSC_INLINE double avs_as_float ( AVS_Value  v)

Definition at line 501 of file avxsynth_c.h.

AVSC_INLINE int avs_as_int ( AVS_Value  v)

Definition at line 497 of file avxsynth_c.h.

AVSC_INLINE const char* avs_as_string ( AVS_Value  v)

Definition at line 499 of file avxsynth_c.h.

AVSC_INLINE int avs_audio_channels ( const AVS_VideoInfo p)

Definition at line 270 of file avxsynth_c.h.

AVSC_INLINE INT64 avs_audio_samples_from_bytes ( const AVS_VideoInfo p,
INT64  bytes 
)

Definition at line 264 of file avxsynth_c.h.

AVSC_INLINE INT64 avs_audio_samples_from_frames ( const AVS_VideoInfo p,
INT64  frames 
)

Definition at line 258 of file avxsynth_c.h.

AVSC_INLINE int avs_bits_per_pixel ( const AVS_VideoInfo p)

Definition at line 220 of file avxsynth_c.h.

Referenced by avs_bytes_from_pixels().

AVSC_INLINE int avs_bmp_size ( const AVS_VideoInfo vi)

Definition at line 237 of file avxsynth_c.h.

AVSC_INLINE INT64 avs_bytes_from_audio_samples ( const AVS_VideoInfo p,
INT64  samples 
)

Definition at line 267 of file avxsynth_c.h.

AVSC_INLINE int avs_bytes_from_pixels ( const AVS_VideoInfo p,
int  pixels 
)

Definition at line 231 of file avxsynth_c.h.

Referenced by avs_row_size().

AVSC_INLINE int avs_bytes_per_audio_sample ( const AVS_VideoInfo p)

Definition at line 255 of file avxsynth_c.h.

Referenced by avs_audio_samples_from_bytes(), and avs_bytes_from_audio_samples().

AVSC_INLINE int avs_bytes_per_channel_sample ( const AVS_VideoInfo p)

Definition at line 244 of file avxsynth_c.h.

Referenced by avs_bytes_per_audio_sample().

AVSC_INLINE void avs_clear_property ( AVS_VideoInfo p,
int  property 
)

Definition at line 280 of file avxsynth_c.h.

AVSC_INLINE AVS_VideoFrame* avs_copy_frame ( AVS_VideoFrame f)

Definition at line 433 of file avxsynth_c.h.

AVSC_INLINE int avs_defined ( AVS_Value  v)

Definition at line 476 of file avxsynth_c.h.

AVSC_INLINE int avs_frames_from_audio_samples ( const AVS_VideoInfo p,
INT64  samples 
)

Definition at line 261 of file avxsynth_c.h.

AVSC_INLINE int avs_get_height ( const AVS_VideoFrame p)

Definition at line 369 of file avxsynth_c.h.

AVSC_INLINE int avs_get_height_p ( const AVS_VideoFrame p,
int  plane 
)

Definition at line 372 of file avxsynth_c.h.

AVSC_INLINE int avs_get_pitch ( const AVS_VideoFrame p)

Definition at line 336 of file avxsynth_c.h.

AVSC_INLINE int avs_get_pitch_p ( const AVS_VideoFrame p,
int  plane 
)

Definition at line 339 of file avxsynth_c.h.

AVSC_INLINE const unsigned char* avs_get_read_ptr ( const AVS_VideoFrame p)

Definition at line 380 of file avxsynth_c.h.

AVSC_INLINE const unsigned char* avs_get_read_ptr_p ( const AVS_VideoFrame p,
int  plane 
)

Definition at line 383 of file avxsynth_c.h.

AVSC_INLINE int avs_get_row_size ( const AVS_VideoFrame p)

Definition at line 344 of file avxsynth_c.h.

AVSC_INLINE int avs_get_row_size_p ( const AVS_VideoFrame p,
int  plane 
)

Definition at line 347 of file avxsynth_c.h.

AVSC_INLINE unsigned char* avs_get_write_ptr ( const AVS_VideoFrame p)

Definition at line 394 of file avxsynth_c.h.

AVSC_INLINE unsigned char* avs_get_write_ptr_p ( const AVS_VideoFrame p,
int  plane 
)

Definition at line 403 of file avxsynth_c.h.

AVSC_INLINE int avs_has_audio ( const AVS_VideoInfo p)

Definition at line 178 of file avxsynth_c.h.

AVSC_INLINE int avs_has_video ( const AVS_VideoInfo p)

Definition at line 175 of file avxsynth_c.h.

AVSC_INLINE int avs_is_array ( AVS_Value  v)

Definition at line 482 of file avxsynth_c.h.

Referenced by avs_array_elt(), and avs_array_size().

AVSC_INLINE int avs_is_bff ( const AVS_VideoInfo p)

Definition at line 214 of file avxsynth_c.h.

AVSC_INLINE int avs_is_bool ( AVS_Value  v)

Definition at line 478 of file avxsynth_c.h.

AVSC_INLINE int avs_is_clip ( AVS_Value  v)

Definition at line 477 of file avxsynth_c.h.

AVSC_INLINE int avs_is_color_space ( const AVS_VideoInfo p,
int  c_space 
)

Definition at line 199 of file avxsynth_c.h.

AVSC_INLINE int avs_is_error ( AVS_Value  v)

Definition at line 483 of file avxsynth_c.h.

Referenced by avs_as_error(), and avs_as_string().

AVSC_INLINE int avs_is_field_based ( const AVS_VideoInfo p)

Definition at line 208 of file avxsynth_c.h.

AVSC_INLINE int avs_is_float ( AVS_Value  v)

Definition at line 480 of file avxsynth_c.h.

AVSC_INLINE int avs_is_int ( AVS_Value  v)

Definition at line 479 of file avxsynth_c.h.

Referenced by avs_as_float().

AVSC_INLINE int avs_is_parity_known ( const AVS_VideoInfo p)

Definition at line 211 of file avxsynth_c.h.

AVSC_INLINE int avs_is_planar ( const AVS_VideoInfo p)

Definition at line 205 of file avxsynth_c.h.

Referenced by avs_bmp_size().

AVSC_INLINE int avs_is_property ( const AVS_VideoInfo p,
int  property 
)

Definition at line 202 of file avxsynth_c.h.

AVSC_INLINE int avs_is_rgb ( const AVS_VideoInfo p)

Definition at line 181 of file avxsynth_c.h.

AVSC_INLINE int avs_is_rgb24 ( const AVS_VideoInfo p)

Definition at line 184 of file avxsynth_c.h.

AVSC_INLINE int avs_is_rgb32 ( const AVS_VideoInfo p)

Definition at line 187 of file avxsynth_c.h.

AVSC_INLINE int avs_is_same_colorspace ( AVS_VideoInfo x,
AVS_VideoInfo y 
)

Definition at line 296 of file avxsynth_c.h.

AVSC_INLINE int avs_is_string ( AVS_Value  v)

Definition at line 481 of file avxsynth_c.h.

Referenced by avs_as_string().

AVSC_INLINE int avs_is_tff ( const AVS_VideoInfo p)

Definition at line 217 of file avxsynth_c.h.

AVSC_INLINE int avs_is_writable ( const AVS_VideoFrame p)

Definition at line 391 of file avxsynth_c.h.

Referenced by avs_get_write_ptr(), and avs_get_write_ptr_p().

AVSC_INLINE int avs_is_yuv ( const AVS_VideoInfo p)

Definition at line 190 of file avxsynth_c.h.

AVSC_INLINE int avs_is_yuy2 ( const AVS_VideoInfo p)

Definition at line 193 of file avxsynth_c.h.

AVSC_INLINE int avs_is_yv12 ( const AVS_VideoInfo p)

Definition at line 196 of file avxsynth_c.h.

Referenced by avs_is_same_colorspace().

AVSC_INLINE AVS_VideoFrame* avs_new_frame ( AVS_ScriptEnvironment env,
const AVS_VideoInfo vi 
)

Definition at line 678 of file avxsynth_c.h.

AVSC_INLINE AVS_Value avs_new_value_array ( AVS_Value v0,
int  size 
)

Definition at line 528 of file avxsynth_c.h.

AVSC_INLINE AVS_Value avs_new_value_bool ( int  v0)

Definition at line 514 of file avxsynth_c.h.

AVSC_INLINE AVS_Value avs_new_value_clip ( AVS_Clip v0)

Definition at line 525 of file avxsynth_c.h.

AVSC_INLINE AVS_Value avs_new_value_error ( const char *  v0)

Definition at line 522 of file avxsynth_c.h.

AVSC_INLINE AVS_Value avs_new_value_float ( float  v0)

Definition at line 520 of file avxsynth_c.h.

AVSC_INLINE AVS_Value avs_new_value_int ( int  v0)

Definition at line 516 of file avxsynth_c.h.

AVSC_INLINE AVS_Value avs_new_value_string ( const char *  v0)

Definition at line 518 of file avxsynth_c.h.

AVSC_INLINE AVS_VideoFrame* avs_new_video_frame ( AVS_ScriptEnvironment env,
const AVS_VideoInfo vi 
)

Definition at line 673 of file avxsynth_c.h.

AVSC_INLINE void avs_release_frame ( AVS_VideoFrame f)

Definition at line 431 of file avxsynth_c.h.

AVSC_INLINE int avs_row_size ( const AVS_VideoInfo p)

Definition at line 234 of file avxsynth_c.h.

Referenced by avs_bmp_size().

AVSC_INLINE int avs_sample_type ( const AVS_VideoInfo p)

Definition at line 273 of file avxsynth_c.h.

AVSC_INLINE int avs_samples_per_second ( const AVS_VideoInfo p)

Definition at line 240 of file avxsynth_c.h.

AVSC_INLINE void avs_set_field_based ( AVS_VideoInfo p,
int  isfieldbased 
)

Definition at line 283 of file avxsynth_c.h.

AVSC_INLINE void avs_set_fps ( AVS_VideoInfo p,
unsigned  numerator,
unsigned  denominator 
)

Definition at line 286 of file avxsynth_c.h.

AVSC_INLINE void avs_set_property ( AVS_VideoInfo p,
int  property 
)

Definition at line 277 of file avxsynth_c.h.

typedef AVS_Value ( AVSC_CC AVS_ApplyFunc)
AVSC_API ( void  ,
avs_release_video_frame   
)
AVSC_API ( AVS_VideoFrame ,
avs_copy_video_frame   
)
AVSC_API ( void  ,
avs_copy_value   
)
AVSC_API ( void  ,
avs_release_value   
)
AVSC_API ( AVS_Clip ,
avs_take_clip   
)
AVS_ScriptEnvironment* AVSC_API ( void  ,
avs_set_to_clip   
)
AVSC_API ( void  ,
avs_release_clip   
)
AVSC_API ( AVS_Clip ,
avs_copy_clip   
)
AVSC_API ( const char *  ,
avs_clip_get_error   
)
AVSC_API ( const AVS_VideoInfo ,
avs_get_video_info   
)
AVSC_API ( int  ,
avs_get_version   
)
AVSC_API ( AVS_VideoFrame ,
avs_get_frame   
)
AVSC_API ( int  ,
avs_get_parity   
)
AVSC_API ( int  ,
avs_get_audio   
)
AVSC_API ( int  ,
avs_set_cache_hints   
)
AVSC_API ( AVS_Clip ,
avs_new_c_filter   
)
AVSC_API ( const char *  ,
avs_get_error   
)
AVSC_API ( long  ,
avs_get_cpu_flags   
)
AVSC_API ( int  ,
avs_check_version   
)
AVSC_API ( char *  ,
avs_save_string   
)
AVSC_API ( char *  ,
avs_sprintf   
)
const char AVSC_API ( char *  ,
avs_vsprintf   
)
AVSC_API ( int  ,
avs_add_function   
)
AVSC_API ( int  ,
avs_function_exists   
)
AVSC_API ( AVS_Value  ,
avs_invoke   
)
AVSC_API ( AVS_Value  ,
avs_get_var   
)
AVSC_API ( int  ,
avs_set_var   
)
AVSC_API ( int  ,
avs_set_global_var   
)
AVSC_API ( AVS_VideoFrame ,
avs_new_video_frame_a   
)
AVSC_API ( int  ,
avs_make_writable   
)
AVSC_API ( void  ,
avs_bit_blt   
)
AVSC_API ( void  ,
avs_at_exit   
)
AVSC_API ( AVS_VideoFrame ,
avs_subframe   
)
AVSC_API ( int  ,
avs_set_memory_max   
)
AVSC_API ( int  ,
avs_set_working_dir   
)
AVSC_API ( AVS_ScriptEnvironment ,
avs_create_script_environment   
)
AVSC_API ( void  ,
avs_delete_script_environment   
)
AVSC_API ( AVS_VideoFrame ,
avs_subframe_planar   
)

Variable Documentation

const AVS_VideoInfo int align

Definition at line 665 of file avxsynth_c.h.

const char const char AVS_ApplyFunc apply

Definition at line 645 of file avxsynth_c.h.

const char AVS_Value const char** arg_names

Definition at line 650 of file avxsynth_c.h.

const AVS_Value avs_void = {'v'}
static

Definition at line 471 of file avxsynth_c.h.

void* buf

Definition at line 554 of file avxsynth_c.h.

int cachehints

Definition at line 559 of file avxsynth_c.h.

Definition at line 602 of file avxsynth_c.h.

void INT64 INT64 count

Definition at line 554 of file avxsynth_c.h.

unsigned char int dst_pitch

Definition at line 689 of file avxsynth_c.h.

unsigned char* dstp

Definition at line 689 of file avxsynth_c.h.

Definition at line 602 of file avxsynth_c.h.

const char const char* fmt

Definition at line 639 of file avxsynth_c.h.

int size_t frame_range

Definition at line 559 of file avxsynth_c.h.

AVS_ShutdownFunc function

Definition at line 692 of file avxsynth_c.h.

unsigned char int const unsigned char int int int height

Definition at line 689 of file avxsynth_c.h.

const char int length

Definition at line 638 of file avxsynth_c.h.

int mem

Definition at line 697 of file avxsynth_c.h.

int n

Definition at line 548 of file avxsynth_c.h.

const char* name

Definition at line 645 of file avxsynth_c.h.

AVS_VideoFrame int int int int new_height

Definition at line 694 of file avxsynth_c.h.

AVS_VideoFrame int int new_pitch

Definition at line 694 of file avxsynth_c.h.

AVS_VideoFrame int int int int int int int new_pitchUV

Definition at line 721 of file avxsynth_c.h.

AVS_VideoFrame int int int new_row_size

Definition at line 694 of file avxsynth_c.h.

const char* newdir

Definition at line 699 of file avxsynth_c.h.

const char const char* params

Definition at line 645 of file avxsynth_c.h.

Definition at line 687 of file avxsynth_c.h.

AVS_VideoFrame int rel_offset

Definition at line 694 of file avxsynth_c.h.

AVS_VideoFrame int int int int int rel_offsetU

Definition at line 721 of file avxsynth_c.h.

AVS_VideoFrame int int int int int int rel_offsetV

Definition at line 721 of file avxsynth_c.h.

unsigned char int const unsigned char int int row_size

Definition at line 689 of file avxsynth_c.h.

const char* s

Definition at line 638 of file avxsynth_c.h.

Definition at line 473 of file avxsynth_c.h.

unsigned char int const unsigned char int src_pitch

Definition at line 689 of file avxsynth_c.h.

unsigned char int const unsigned char* srcp

Definition at line 689 of file avxsynth_c.h.

void INT64 start

Definition at line 554 of file avxsynth_c.h.

AVS_FilterInfo AVS_Value int store_child

Definition at line 602 of file avxsynth_c.h.

const char const AVS_Value val

Definition at line 641 of file avxsynth_c.h.

int version

Definition at line 636 of file avxsynth_c.h.

const AVS_VideoInfo* vi

Definition at line 665 of file avxsynth_c.h.