FFmpeg
|
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 AVS_Value | args |
typedef AVS_Value void * | user_data |
typedef void(AVSC_CC * | AVS_ShutdownFunc )(void *user_data, AVS_ScriptEnvironment *env) |
Variables | |
static const AVS_Value | avs_void = {'v'} |
AVS_Value | src |
int | n |
void * | buf |
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_VideoInfo * | vi |
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 |
#define EXTERN_C |
Definition at line 42 of file avxsynth_c.h.
#define AVSC_USE_STDCALL 1 |
Definition at line 45 of file avxsynth_c.h.
#define AVSC_CC __stdcall |
Definition at line 50 of file avxsynth_c.h.
#define AVSC_INLINE static __inline |
Definition at line 53 of file avxsynth_c.h.
#define AVSC_EXPORT EXTERN_C __declspec(dllexport) |
Definition at line 59 of file avxsynth_c.h.
Definition at line 61 of file avxsynth_c.h.
#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().
Definition at line 70 of file avxsynth_c.h.
Definition at line 148 of file avxsynth_c.h.
typedef struct AVS_ScriptEnvironment AVS_ScriptEnvironment |
Definition at line 149 of file avxsynth_c.h.
Definition at line 566 of file avxsynth_c.h.
Definition at line 566 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.
anonymous enum |
Definition at line 80 of file avxsynth_c.h.
anonymous enum |
Definition at line 83 of file avxsynth_c.h.
anonymous enum |
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 |
Definition at line 98 of file avxsynth_c.h.
anonymous enum |
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 |
Definition at line 114 of file avxsynth_c.h.
anonymous enum |
Definition at line 119 of file avxsynth_c.h.
anonymous enum |
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 |
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 |
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.
AVSC_INLINE int avs_has_video | ( | const AVS_VideoInfo * | p | ) |
Definition at line 175 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_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_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.
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_property | ( | const AVS_VideoInfo * | p, |
int | property | ||
) |
Definition at line 202 of file avxsynth_c.h.
AVSC_INLINE int avs_is_planar | ( | const AVS_VideoInfo * | p | ) |
Definition at line 205 of file avxsynth_c.h.
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_parity_known | ( | const AVS_VideoInfo * | p | ) |
Definition at line 211 of file avxsynth_c.h.
AVSC_INLINE int avs_is_bff | ( | const AVS_VideoInfo * | p | ) |
Definition at line 214 of file avxsynth_c.h.
AVSC_INLINE int avs_is_tff | ( | const AVS_VideoInfo * | p | ) |
Definition at line 217 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.
AVSC_INLINE int avs_bytes_from_pixels | ( | const AVS_VideoInfo * | p, |
int | pixels | ||
) |
Definition at line 231 of file avxsynth_c.h.
AVSC_INLINE int avs_row_size | ( | const AVS_VideoInfo * | p | ) |
Definition at line 234 of file avxsynth_c.h.
AVSC_INLINE int avs_bmp_size | ( | const AVS_VideoInfo * | vi | ) |
Definition at line 237 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 int avs_bytes_per_channel_sample | ( | const AVS_VideoInfo * | p | ) |
Definition at line 244 of file avxsynth_c.h.
AVSC_INLINE int avs_bytes_per_audio_sample | ( | const AVS_VideoInfo * | p | ) |
Definition at line 255 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_frames_from_audio_samples | ( | const AVS_VideoInfo * | p, |
INT64 | samples | ||
) |
Definition at line 261 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_bytes_from_audio_samples | ( | const AVS_VideoInfo * | p, |
INT64 | samples | ||
) |
Definition at line 267 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 int avs_sample_type | ( | const AVS_VideoInfo * | p | ) |
Definition at line 273 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.
AVSC_INLINE void avs_clear_property | ( | AVS_VideoInfo * | p, |
int | property | ||
) |
Definition at line 280 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 int avs_is_same_colorspace | ( | AVS_VideoInfo * | x, |
AVS_VideoInfo * | y | ||
) |
Definition at line 296 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 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 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 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_is_writable | ( | const AVS_VideoFrame * | p | ) |
Definition at line 391 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_API | ( | void | , |
avs_release_video_frame | |||
) |
AVSC_API | ( | AVS_VideoFrame * | , |
avs_copy_video_frame | |||
) |
AVSC_INLINE void avs_release_frame | ( | AVS_VideoFrame * | f | ) |
Definition at line 431 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_API | ( | void | , |
avs_copy_value | |||
) |
AVSC_API | ( | void | , |
avs_release_value | |||
) |
AVSC_INLINE int avs_defined | ( | AVS_Value | v | ) |
Definition at line 476 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_bool | ( | AVS_Value | v | ) |
Definition at line 478 of file avxsynth_c.h.
AVSC_INLINE int avs_is_int | ( | AVS_Value | v | ) |
Definition at line 479 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_string | ( | AVS_Value | v | ) |
Definition at line 481 of file avxsynth_c.h.
AVSC_INLINE int avs_is_array | ( | AVS_Value | v | ) |
Definition at line 482 of file avxsynth_c.h.
AVSC_INLINE int avs_is_error | ( | AVS_Value | v | ) |
Definition at line 483 of file avxsynth_c.h.
AVSC_API | ( | AVS_Clip * | , |
avs_take_clip | |||
) |
AVS_ScriptEnvironment* AVSC_API | ( | void | , |
avs_set_to_clip | |||
) |
AVS_ScriptEnvironment AVS_Clip* AVSC_INLINE int avs_as_bool | ( | AVS_Value | v | ) |
Definition at line 495 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 double avs_as_float | ( | AVS_Value | v | ) |
Definition at line 501 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 const AVS_Value* avs_as_array | ( | AVS_Value | v | ) |
Definition at line 505 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 AVS_Value avs_array_elt | ( | AVS_Value | v, |
int | index | ||
) |
Definition at line 509 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_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_Value avs_new_value_float | ( | float | v0 | ) |
Definition at line 520 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_clip | ( | AVS_Clip * | v0 | ) |
Definition at line 525 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_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_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 AVS_VideoFrame* avs_new_frame | ( | AVS_ScriptEnvironment * | env, |
const AVS_VideoInfo * | vi | ||
) |
Definition at line 678 of file avxsynth_c.h.
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_EXPORT const char* AVSC_CC avisynth_c_plugin_init | ( | AVS_ScriptEnvironment * | env | ) |
AVSC_API | ( | void | , |
avs_delete_script_environment | |||
) |
AVSC_API | ( | AVS_VideoFrame * | , |
avs_subframe_planar | |||
) |
Definition at line 471 of file avxsynth_c.h.
AVS_VideoFrame* src |
Definition at line 473 of file avxsynth_c.h.
int n |
Definition at line 548 of file avxsynth_c.h.
void* buf |
Definition at line 554 of file avxsynth_c.h.
Definition at line 554 of file avxsynth_c.h.
Definition at line 554 of file avxsynth_c.h.
int cachehints |
Definition at line 559 of file avxsynth_c.h.
int size_t frame_range |
Definition at line 559 of file avxsynth_c.h.
AVS_FilterInfo* * fi |
Definition at line 602 of file avxsynth_c.h.
AVS_FilterInfo AVS_Value child |
Definition at line 602 of file avxsynth_c.h.
AVS_FilterInfo AVS_Value int store_child |
Definition at line 602 of file avxsynth_c.h.
int version |
Definition at line 636 of file avxsynth_c.h.
const char* s |
Definition at line 638 of file avxsynth_c.h.
const char int length |
Definition at line 638 of file avxsynth_c.h.
const char const char* fmt |
Definition at line 639 of file avxsynth_c.h.
const char const AVS_Value val |
Definition at line 641 of file avxsynth_c.h.
const char* name |
Definition at line 645 of file avxsynth_c.h.
const char const char* params |
Definition at line 645 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_VideoInfo* vi |
Definition at line 665 of file avxsynth_c.h.
const AVS_VideoInfo int align |
Definition at line 665 of file avxsynth_c.h.
AVS_VideoFrame* * pvf |
Definition at line 687 of file avxsynth_c.h.
unsigned char* dstp |
Definition at line 689 of file avxsynth_c.h.
unsigned char int dst_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.
unsigned char int const unsigned char int src_pitch |
Definition at line 689 of file avxsynth_c.h.
unsigned char int const unsigned char int int row_size |
Definition at line 689 of file avxsynth_c.h.
unsigned char int const unsigned char int int int height |
Definition at line 689 of file avxsynth_c.h.
AVS_ShutdownFunc function |
Definition at line 692 of file avxsynth_c.h.
AVS_VideoFrame int rel_offset |
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 new_row_size |
Definition at line 694 of file avxsynth_c.h.
AVS_VideoFrame int int int int new_height |
Definition at line 694 of file avxsynth_c.h.
int mem |
Definition at line 697 of file avxsynth_c.h.
const char* newdir |
Definition at line 699 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.
AVS_VideoFrame int int int int int int int new_pitchUV |
Definition at line 721 of file avxsynth_c.h.