FILTER_PLUGIN_TABLE

Struct FILTER_PLUGIN_TABLE 

Source
#[repr(C)]
pub struct FILTER_PLUGIN_TABLE { pub flag: i32, pub name: LPCWSTR, pub label: LPCWSTR, pub information: LPCWSTR, pub items: *const *const c_void, pub func_proc_video: Option<extern "C" fn(video: *mut FILTER_PROC_VIDEO) -> bool>, pub func_proc_audio: Option<extern "C" fn(audio: *mut FILTER_PROC_AUDIO) -> bool>, }
Expand description

フィルタプラグイン構造体

Fields§

§flag: i32

フラグ 画像と音声のフィルタ処理は別々のスレッドで処理されます

§name: LPCWSTR

プラグインの名前

§label: LPCWSTR

ラベルの初期値 (nullptrならデフォルトのラベルになります)

§information: LPCWSTR

プラグインの情報

§items: *const *const c_void

設定項目の定義 (FILTER_ITEM_XXXポインタを列挙してnull終端したリストへのポインタ)

§func_proc_video: Option<extern "C" fn(video: *mut FILTER_PROC_VIDEO) -> bool>

画像フィルタ処理関数へのポインタ (FLAG_VIDEOが有効の時のみ呼ばれます)

§func_proc_audio: Option<extern "C" fn(audio: *mut FILTER_PROC_AUDIO) -> bool>

音声フィルタ処理関数へのポインタ (FLAG_AUDIOが有効の時のみ呼ばれます)

Implementations§

Source§

impl FILTER_PLUGIN_TABLE

Source

pub const FLAG_VIDEO: i32 = 1i32

画像フィルタをサポートする

Source

pub const FLAG_AUDIO: i32 = 2i32

音声フィルタをサポートする

Source

pub const FLAG_INPUT: i32 = 4i32

オブジェクトの初期入力をする (メディアオブジェクトにする場合)

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.