All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.lti.civil.impl.jni.NativeVideoFormat Maven / Gradle / Ivy

Go to download

LTI-CIVIL is a Java library for capturing images from a video source such as a USB camera. It provides a simple API and does not depend on or use JMF!

The newest version!
package com.lti.civil.impl.jni;

import com.lti.civil.VideoFormat;
import com.lti.civil.impl.common.VideoFormatImpl;

/**
 * 
 * @author Ken Larson
 *
 */
public class NativeVideoFormat extends VideoFormatImpl implements VideoFormat
{
	// opaque value is only used so that native implementations can store extra info like
	// a pointer or id, so they don't have to re-look up the format type/width/height in a table or list.
	private final long opaque;
	
	public NativeVideoFormat(long opaque, int formatType, int width, int height, float fps) 
	{
		super(formatType, width, height, fps);
		this.opaque = opaque;
	}
	
	public long getOpaque()
	{	return opaque;
	}
	
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy