Lines Matching refs:AVS_ScriptEnvironment
150 typedef struct AVS_ScriptEnvironment AVS_ScriptEnvironment;
490 AVSC_API(AVS_Clip *, avs_take_clip)(AVS_Value, AVS_ScriptEnvironment *);
567 (AVS_ScriptEnvironment *, AVS_Value args, void * user_data);
575 AVS_ScriptEnvironment * env;
602 AVSC_API(AVS_Clip *, avs_new_c_filter)(AVS_ScriptEnvironment * e,
612 // AVS_ScriptEnvironment
634 AVSC_API(const char *, avs_get_error)(AVS_ScriptEnvironment *); // return 0 if no error
636 AVSC_API(long, avs_get_cpu_flags)(AVS_ScriptEnvironment *);
637 AVSC_API(int, avs_check_version)(AVS_ScriptEnvironment *, int version);
639 AVSC_API(char *, avs_save_string)(AVS_ScriptEnvironment *, const char* s, int length);
640 AVSC_API(char *, avs_sprintf)(AVS_ScriptEnvironment *, const char * fmt, ...);
642 AVSC_API(char *, avs_vsprintf)(AVS_ScriptEnvironment *, const char * fmt, va_list val);
645 AVSC_API(int, avs_add_function)(AVS_ScriptEnvironment *,
649 AVSC_API(int, avs_function_exists)(AVS_ScriptEnvironment *, const char * name);
651 AVSC_API(AVS_Value, avs_invoke)(AVS_ScriptEnvironment *, const char * name,
655 AVSC_API(AVS_Value, avs_get_var)(AVS_ScriptEnvironment *, const char* name);
658 AVSC_API(int, avs_set_var)(AVS_ScriptEnvironment *, const char* name, AVS_Value val);
660 AVSC_API(int, avs_set_global_var)(AVS_ScriptEnvironment *, const char* name, const AVS_Value val);
662 //void avs_push_context(AVS_ScriptEnvironment *, int level=0);
663 //void avs_pop_context(AVS_ScriptEnvironment *);
665 AVSC_API(AVS_VideoFrame *, avs_new_video_frame_a)(AVS_ScriptEnvironment *,
674 AVS_VideoFrame * avs_new_video_frame(AVS_ScriptEnvironment * env,
679 AVS_VideoFrame * avs_new_frame(AVS_ScriptEnvironment * env,
688 AVSC_API(int, avs_make_writable)(AVS_ScriptEnvironment *, AVS_VideoFrame * * pvf);
690 AVSC_API(void, avs_bit_blt)(AVS_ScriptEnvironment *, unsigned char* dstp, int dst_pitch, const unsigned char* srcp, int src_pitch, int row_size, int height);
692 typedef void (AVSC_CC *AVS_ShutdownFunc)(void* user_data, AVS_ScriptEnvironment * env);
693 AVSC_API(void, avs_at_exit)(AVS_ScriptEnvironment *, AVS_ShutdownFunc function, void * user_data);
695 AVSC_API(AVS_VideoFrame *, avs_subframe)(AVS_ScriptEnvironment *, AVS_VideoFrame * src, int rel_offset, int new_pitch, int new_row_size, int new_height);
698 AVSC_API(int, avs_set_memory_max)(AVS_ScriptEnvironment *, int mem);
700 AVSC_API(int, avs_set_working_dir)(AVS_ScriptEnvironment *, const char * newdir);
704 AVSC_API(AVS_ScriptEnvironment *, avs_create_script_environment)(int version);
712 const char * AVSC_CC avisynth_c_plugin_init(AVS_ScriptEnvironment* env);
719 AVSC_API(void, avs_delete_script_environment)(AVS_ScriptEnvironment *);
722 AVSC_API(AVS_VideoFrame *, avs_subframe_planar)(AVS_ScriptEnvironment *, AVS_VideoFrame * src, int rel_offset, int new_pitch, int new_row_size, int new_height, int rel_offsetU, int rel_offsetV, int new_pitchUV);