org.bytedeco.opencv.opencv_videoio.CvVideoWriterDefaultDeleter Maven / Gradle / Ivy
// Targeted by JavaCPP version 1.5.9: DO NOT EDIT THIS FILE
package org.bytedeco.opencv.opencv_videoio;
import java.nio.*;
import org.bytedeco.javacpp.*;
import org.bytedeco.javacpp.annotation.*;
import static org.bytedeco.javacpp.presets.javacpp.*;
import static org.bytedeco.openblas.global.openblas_nolapack.*;
import static org.bytedeco.openblas.global.openblas.*;
import org.bytedeco.opencv.opencv_core.*;
import static org.bytedeco.opencv.global.opencv_core.*;
import org.bytedeco.opencv.opencv_imgproc.*;
import static org.bytedeco.opencv.global.opencv_imgproc.*;
import static org.bytedeco.opencv.global.opencv_imgcodecs.*;
import static org.bytedeco.opencv.global.opencv_videoio.*;
@Name("cv::DefaultDeleter") @Properties(inherit = org.bytedeco.opencv.presets.opencv_videoio.class)
public class CvVideoWriterDefaultDeleter extends Pointer {
static { Loader.load(); }
/** Default native constructor. */
public CvVideoWriterDefaultDeleter() { super((Pointer)null); allocate(); }
/** Native array allocator. Access with {@link Pointer#position(long)}. */
public CvVideoWriterDefaultDeleter(long size) { super((Pointer)null); allocateArray(size); }
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public CvVideoWriterDefaultDeleter(Pointer p) { super(p); }
private native void allocate();
private native void allocateArray(long size);
@Override public CvVideoWriterDefaultDeleter position(long position) {
return (CvVideoWriterDefaultDeleter)super.position(position);
}
@Override public CvVideoWriterDefaultDeleter getPointer(long i) {
return new CvVideoWriterDefaultDeleter((Pointer)this).offsetAddress(i);
}
public native @Name("operator ()") void apply(CvVideoWriter obj); }