mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 00:06:36 +00:00
14 lines
421 B
Text
14 lines
421 B
Text
public ColorBalanceChannel (string label, int min, int max) : this () {
|
|
unsafe {
|
|
int* raw_ptr = (int*) ( ( (byte*) Handle) + max_value_offset);
|
|
*raw_ptr = max;
|
|
}
|
|
unsafe {
|
|
IntPtr* raw_ptr = (IntPtr*) ( ( (byte*) Handle) + label_offset);
|
|
*raw_ptr = GLib.Marshaller.StringToPtrGStrdup (label);
|
|
}
|
|
unsafe {
|
|
int* raw_ptr = (int*) ( ( (byte*) Handle) + min_value_offset);
|
|
*raw_ptr = min;
|
|
}
|
|
}
|