text:
/*================================================================================
  code generated by: java2cpp
  author: Zoran Angelov, mailto://baldzar@gmail.com
  class: android.hardware.Camera
================================================================================*/

#ifndef J2CPP_INCLUDE_IMPLEMENTATION

#ifndef J2CPP_ANDROID_HARDWARE_CAMERA_HPP_DECL
#define J2CPP_ANDROID_HARDWARE_CAMERA_HPP_DECL

namespace j2cpp { namespace android { namespace view { class SurfaceHolder; } } }
namespace j2cpp { namespace android { namespace hardware { namespace Camera_ { class ErrorCallback; } } } }
namespace j2cpp { namespace android { namespace hardware { namespace Camera_ { class Parameters; } } } }
namespace j2cpp { namespace android { namespace hardware { namespace Camera_ { class PreviewCallback; } } } }
namespace j2cpp { namespace android { namespace hardware { namespace Camera_ { class AutoFocusCallback; } } } }
namespace j2cpp { namespace android { namespace hardware { namespace Camera_ { class ShutterCallback; } } } }
namespace j2cpp { namespace android { namespace hardware { namespace Camera_ { class PictureCallback; } } } }
namespace j2cpp { namespace android { namespace hardware { namespace Camera_ { class Size; } } } }
namespace j2cpp { namespace java { namespace lang { class String; } } }
namespace j2cpp { namespace java { namespace lang { class Object; } } }

#include <android/hardware/Camera.hpp>
#include <android/view/SurfaceHolder.hpp>
#include <java/lang/Object.hpp>
#include <java/lang/String.hpp>

namespace j2cpp {

namespace android { namespace hardware {

	class Camera;
	namespace Camera_ {

		class ErrorCallback;
		class ErrorCallback
			: public object<ErrorCallback>
		{
		public:

			J2CPP_DECLARE_CLASS

			J2CPP_DECLARE_METHOD(0)

			explicit ErrorCallback(jobject jobj)
			: object<ErrorCallback>(jobj)
			{
			}

			operator local_ref<java::lang::Object>() const;

			void onError(jint, local_ref< android::hardware::Camera >  const&);
		}; //class ErrorCallback

		class Parameters;
		class Parameters
			: public object<Parameters>
		{
		public:

			J2CPP_DECLARE_CLASS

			J2CPP_DECLARE_METHOD(0)
			J2CPP_DECLARE_METHOD(1)
			J2CPP_DECLARE_METHOD(2)
			J2CPP_DECLARE_METHOD(3)
			J2CPP_DECLARE_METHOD(4)
			J2CPP_DECLARE_METHOD(5)
			J2CPP_DECLARE_METHOD(6)
			J2CPP_DECLARE_METHOD(7)
			J2CPP_DECLARE_METHOD(8)
			J2CPP_DECLARE_METHOD(9)
			J2CPP_DECLARE_METHOD(10)
			J2CPP_DECLARE_METHOD(11)
			J2CPP_DECLARE_METHOD(12)
			J2CPP_DECLARE_METHOD(13)
			J2CPP_DECLARE_METHOD(14)
			J2CPP_DECLARE_METHOD(15)
			J2CPP_DECLARE_METHOD(16)
			J2CPP_DECLARE_METHOD(17)
			J2CPP_DECLARE_FIELD(0)

			explicit Parameters(jobject jobj)
			: object<Parameters>(jobj)
			{
			}

			operator local_ref<java::lang::Object>() const;

			local_ref< java::lang::String > flatten();
			void unflatten(local_ref< java::lang::String >  const&);
			void remove(local_ref< java::lang::String >  const&);
			void set(local_ref< java::lang::String >  const&, local_ref< java::lang::String >  const&);
			void set(local_ref< java::lang::String >  const&, jint);
			local_ref< java::lang::String > get(local_ref< java::lang::String >  const&);
			jint getInt(local_ref< java::lang::String >  const&);
			void setPreviewSize(jint, jint);
			local_ref< android::hardware::Camera_::Size > getPreviewSize();
			void setPreviewFrameRate(jint);
			jint getPreviewFrameRate();
			void setPreviewFormat(jint);
			jint getPreviewFormat();
			void setPictureSize(jint, jint);
			local_ref< android::hardware::Camera_::Size > getPictureSize();
			void setPictureFormat(jint);
			jint getPictureFormat();

		}; //class Parameters

		class PreviewCallback;
		class PreviewCallback
			: public object<PreviewCallback>
		{
		public:

			J2CPP_DECLARE_CLASS

			J2CPP_DECLARE_METHOD(0)

			explicit PreviewCallback(jobject jobj)
			: object<PreviewCallback>(jobj)
			{
			}

			operator local_ref<java::lang::Object>() const;

			void onPreviewFrame(local_ref< array<jbyte,1> >  const&, local_ref< android::hardware::Camera >  const&);
		}; //class PreviewCallback

		class AutoFocusCallback;
		class AutoFocusCallback
			: public object<AutoFocusCallback>
		{
		public:

			J2CPP_DECLARE_CLASS

			J2CPP_DECLARE_METHOD(0)

			explicit AutoFocusCallback(jobject jobj)
			: object<AutoFocusCallback>(jobj)
			{
			}

			operator local_ref<java::lang::Object>() const;

			void onAutoFocus(jboolean, local_ref< android::hardware::Camera >  const&);
		}; //class AutoFocusCallback

		class ShutterCallback;
		class ShutterCallback
			: public object<ShutterCallback>
		{
		public:

			J2CPP_DECLARE_CLASS

			J2CPP_DECLARE_METHOD(0)

			explicit ShutterCallback(jobject jobj)
			: object<ShutterCallback>(jobj)
			{
			}

			operator local_ref<java::lang::Object>() const;

			void onShutter();
		}; //class ShutterCallback

		class PictureCallback;
		class PictureCallback
			: public object<PictureCallback>
		{
		public:

			J2CPP_DECLARE_CLASS

			J2CPP_DECLARE_METHOD(0)

			explicit PictureCallback(jobject jobj)
			: object<PictureCallback>(jobj)
			{
			}

			operator local_ref<java::lang::Object>() const;

			void onPictureTaken(local_ref< array<jbyte,1> >  const&, local_ref< android::hardware::Camera >  const&);
		}; //class PictureCallback

		class Size;
		class Size
			: public object<Size>
		{
		public:

			J2CPP_DECLARE_CLASS

			J2CPP_DECLARE_METHOD(0)
			J2CPP_DECLARE_FIELD(0)
			J2CPP_DECLARE_FIELD(1)
			J2CPP_DECLARE_FIELD(2)

			explicit Size(jobject jobj)
			: object<Size>(jobj)
			, width(jobj)
			, height(jobj)
			{
			}

			operator local_ref<java::lang::Object>() const;

			Size(local_ref< android::hardware::Camera > const&, jint, jint);

			field< J2CPP_CLASS_NAME, J2CPP_FIELD_NAME(0), J2CPP_FIELD_SIGNATURE(0), jint > width;
			field< J2CPP_CLASS_NAME, J2CPP_FIELD_NAME(1), J2CPP_FIELD_SIGNATURE(1), jint > height;
		}; //class Size

	} //namespace Camera_

	class Camera
		: public object<Camera>
	{
	public:

		J2CPP_DECLARE_CLASS

		J2CPP_DECLARE_METHOD(0)
		J2CPP_DECLARE_METHOD(1)
		J2CPP_DECLARE_METHOD(2)
		J2CPP_DECLARE_METHOD(3)
		J2CPP_DECLARE_METHOD(4)
		J2CPP_DECLARE_METHOD(5)
		J2CPP_DECLARE_METHOD(6)
		J2CPP_DECLARE_METHOD(7)
		J2CPP_DECLARE_METHOD(8)
		J2CPP_DECLARE_METHOD(9)
		J2CPP_DECLARE_METHOD(10)
		J2CPP_DECLARE_METHOD(11)
		J2CPP_DECLARE_METHOD(12)
		J2CPP_DECLARE_METHOD(13)
		J2CPP_DECLARE_FIELD(0)
		J2CPP_DECLARE_FIELD(1)

		typedef Camera_::ErrorCallback ErrorCallback;
		typedef Camera_::Parameters Parameters;
		typedef Camera_::PreviewCallback PreviewCallback;
		typedef Camera_::AutoFocusCallback AutoFocusCallback;
		typedef Camera_::ShutterCallback ShutterCallback;
		typedef Camera_::PictureCallback PictureCallback;
		typedef Camera_::Size Size;

		explicit Camera(jobject jobj)
		: object<Camera>(jobj)
		{
		}

		operator local_ref<java::lang::Object>() const;

		static local_ref< android::hardware::Camera > open();
		void release();
		void setPreviewDisplay(local_ref< android::view::SurfaceHolder >  const&);
		void startPreview();
		void stopPreview();
		void setPreviewCallback(local_ref< android::hardware::Camera_::PreviewCallback >  const&);
		void setOneShotPreviewCallback(local_ref< android::hardware::Camera_::PreviewCallback >  const&);
		void autoFocus(local_ref< android::hardware::Camera_::AutoFocusCallback >  const&);
		void takePicture(local_ref< android::hardware::Camera_::ShutterCallback >  const&, local_ref< android::hardware::Camera_::PictureCallback >  const&, local_ref< android::hardware::Camera_::PictureCallback >  const&);
		void setErrorCallback(local_ref< android::hardware::Camera_::ErrorCallback >  const&);
		void setParameters(local_ref< android::hardware::Camera_::Parameters >  const&);
		local_ref< android::hardware::Camera_::Parameters > getParameters();

		static static_field< J2CPP_CLASS_NAME, J2CPP_FIELD_NAME(0), J2CPP_FIELD_SIGNATURE(0), jint > CAMERA_ERROR_UNKNOWN;
		static static_field< J2CPP_CLASS_NAME, J2CPP_FIELD_NAME(1), J2CPP_FIELD_SIGNATURE(1), jint > CAMERA_ERROR_SERVER_DIED;
	}; //class Camera

} //namespace hardware
} //namespace android

} //namespace j2cpp

#endif //J2CPP_ANDROID_HARDWARE_CAMERA_HPP_DECL

#else //J2CPP_INCLUDE_IMPLEMENTATION

#ifndef J2CPP_ANDROID_HARDWARE_CAMERA_HPP_IMPL
#define J2CPP_ANDROID_HARDWARE_CAMERA_HPP_IMPL

namespace j2cpp {

android::hardware::Camera_::ErrorCallback::operator local_ref<java::lang::Object>() const
{
	return local_ref<java::lang::Object>(get_jobject());
}

void android::hardware::Camera_::ErrorCallback::onError(jint a0, local_ref< android::hardware::Camera > const &a1)
{
	return call_method<
		android::hardware::Camera_::ErrorCallback::J2CPP_CLASS_NAME,
		android::hardware::Camera_::ErrorCallback::J2CPP_METHOD_NAME(0),
		android::hardware::Camera_::ErrorCallback::J2CPP_METHOD_SIGNATURE(0),
		void
	>(get_jobject(), a0, a1);
}

J2CPP_DEFINE_CLASS(android::hardware::Camera_::ErrorCallback,"android/hardware/Camera$ErrorCallback")
J2CPP_DEFINE_METHOD(android::hardware::Camera_::ErrorCallback,0,"onError","(ILandroid/hardware/Camera;)V")

android::hardware::Camera_::Parameters::operator local_ref<java::lang::Object>() const
{
	return local_ref<java::lang::Object>(get_jobject());
}

local_ref< java::lang::String > android::hardware::Camera_::Parameters::flatten()
{
	return call_method<
		android::hardware::Camera_::Parameters::J2CPP_CLASS_NAME,
		android::hardware::Camera_::Parameters::J2CPP_METHOD_NAME(1),
		android::hardware::Camera_::Parameters::J2CPP_METHOD_SIGNATURE(1),
		local_ref< java::lang::String >
	>(get_jobject());
}

void android::hardware::Camera_::Parameters::unflatten(local_ref< java::lang::String > const &a0)
{
	return call_method<
		android::hardware::Camera_::Parameters::J2CPP_CLASS_NAME,
		android::hardware::Camera_::Parameters::J2CPP_METHOD_NAME(2),
		android::hardware::Camera_::Parameters::J2CPP_METHOD_SIGNATURE(2),
		void
	>(get_jobject(), a0);
}

void android::hardware::Camera_::Parameters::remove(local_ref< java::lang::String > const &a0)
{
	return call_method<
		android::hardware::Camera_::Parameters::J2CPP_CLASS_NAME,
		android::hardware::Camera_::Parameters::J2CPP_METHOD_NAME(3),
		android::hardware::Camera_::Parameters::J2CPP_METHOD_SIGNATURE(3),
		void
	>(get_jobject(), a0);
}

void android::hardware::Camera_::Parameters::set(local_ref< java::lang::String > const &a0, local_ref< java::lang::String > const &a1)
{
	return call_method<
		android::hardware::Camera_::Parameters::J2CPP_CLASS_NAME,
		android::hardware::Camera_::Parameters::J2CPP_METHOD_NAME(4),
		android::hardware::Camera_::Parameters::J2CPP_METHOD_SIGNATURE(4),
		void
	>(get_jobject(), a0, a1);
}

void android::hardware::Camera_::Parameters::set(local_ref< java::lang::String > const &a0, jint a1)
{
	return call_method<
		android::hardware::Camera_::Parameters::J2CPP_CLASS_NAME,
		android::hardware::Camera_::Parameters::J2CPP_METHOD_NAME(5),
		android::hardware::Camera_::Parameters::J2CPP_METHOD_SIGNATURE(5),
		void
	>(get_jobject(), a0, a1);
}

local_ref< java::lang::String > android::hardware::Camera_::Parameters::get(local_ref< java::lang::String > const &a0)
{
	return call_method<
		android::hardware::Camera_::Parameters::J2CPP_CLASS_NAME,
		android::hardware::Camera_::Parameters::J2CPP_METHOD_NAME(6),
		android::hardware::Camera_::Parameters::J2CPP_METHOD_SIGNATURE(6),
		local_ref< java::lang::String >
	>(get_jobject(), a0);
}

jint android::hardware::Camera_::Parameters::getInt(local_ref< java::lang::String > const &a0)
{
	return call_method<
		android::hardware::Camera_::Parameters::J2CPP_CLASS_NAME,
		android::hardware::Camera_::Parameters::J2CPP_METHOD_NAME(7),
		android::hardware::Camera_::Parameters::J2CPP_METHOD_SIGNATURE(7),
		jint
	>(get_jobject(), a0);
}

void android::hardware::Camera_::Parameters::setPreviewSize(jint a0, jint a1)
{
	return call_method<
		android::hardware::Camera_::Parameters::J2CPP_CLASS_NAME,
		android::hardware::Camera_::Parameters::J2CPP_METHOD_NAME(8),
		android::hardware::Camera_::Parameters::J2CPP_METHOD_SIGNATURE(8),
		void
	>(get_jobject(), a0, a1);
}

local_ref< android::hardware::Camera_::Size > android::hardware::Camera_::Parameters::getPreviewSize()
{
	return call_method<
		android::hardware::Camera_::Parameters::J2CPP_CLASS_NAME,
		android::hardware::Camera_::Parameters::J2CPP_METHOD_NAME(9),
		android::hardware::Camera_::Parameters::J2CPP_METHOD_SIGNATURE(9),
		local_ref< android::hardware::Camera_::Size >
	>(get_jobject());
}

void android::hardware::Camera_::Parameters::setPreviewFrameRate(jint a0)
{
	return call_method<
		android::hardware::Camera_::Parameters::J2CPP_CLASS_NAME,
		android::hardware::Camera_::Parameters::J2CPP_METHOD_NAME(10),
		android::hardware::Camera_::Parameters::J2CPP_METHOD_SIGNATURE(10),
		void
	>(get_jobject(), a0);
}

jint android::hardware::Camera_::Parameters::getPreviewFrameRate()
{
	return call_method<
		android::hardware::Camera_::Parameters::J2CPP_CLASS_NAME,
		android::hardware::Camera_::Parameters::J2CPP_METHOD_NAME(11),
		android::hardware::Camera_::Parameters::J2CPP_METHOD_SIGNATURE(11),
		jint
	>(get_jobject());
}

void android::hardware::Camera_::Parameters::setPreviewFormat(jint a0)
{
	return call_method<
		android::hardware::Camera_::Parameters::J2CPP_CLASS_NAME,
		android::hardware::Camera_::Parameters::J2CPP_METHOD_NAME(12),
		android::hardware::Camera_::Parameters::J2CPP_METHOD_SIGNATURE(12),
		void
	>(get_jobject(), a0);
}

jint android::hardware::Camera_::Parameters::getPreviewFormat()
{
	return call_method<
		android::hardware::Camera_::Parameters::J2CPP_CLASS_NAME,
		android::hardware::Camera_::Parameters::J2CPP_METHOD_NAME(13),
		android::hardware::Camera_::Parameters::J2CPP_METHOD_SIGNATURE(13),
		jint
	>(get_jobject());
}

void android::hardware::Camera_::Parameters::setPictureSize(jint a0, jint a1)
{
	return call_method<
		android::hardware::Camera_::Parameters::J2CPP_CLASS_NAME,
		android::hardware::Camera_::Parameters::J2CPP_METHOD_NAME(14),
		android::hardware::Camera_::Parameters::J2CPP_METHOD_SIGNATURE(14),
		void
	>(get_jobject(), a0, a1);
}

local_ref< android::hardware::Camera_::Size > android::hardware::Camera_::Parameters::getPictureSize()
{
	return call_method<
		android::hardware::Camera_::Parameters::J2CPP_CLASS_NAME,
		android::hardware::Camera_::Parameters::J2CPP_METHOD_NAME(15),
		android::hardware::Camera_::Parameters::J2CPP_METHOD_SIGNATURE(15),
		local_ref< android::hardware::Camera_::Size >
	>(get_jobject());
}

void android::hardware::Camera_::Parameters::setPictureFormat(jint a0)
{
	return call_method<
		android::hardware::Camera_::Parameters::J2CPP_CLASS_NAME,
		android::hardware::Camera_::Parameters::J2CPP_METHOD_NAME(16),
		android::hardware::Camera_::Parameters::J2CPP_METHOD_SIGNATURE(16),
		void
	>(get_jobject(), a0);
}

jint android::hardware::Camera_::Parameters::getPictureFormat()
{
	return call_method<
		android::hardware::Camera_::Parameters::J2CPP_CLASS_NAME,
		android::hardware::Camera_::Parameters::J2CPP_METHOD_NAME(17),
		android::hardware::Camera_::Parameters::J2CPP_METHOD_SIGNATURE(17),
		jint
	>(get_jobject());
}

J2CPP_DEFINE_CLASS(android::hardware::Camera_::Parameters,"android/hardware/Camera$Parameters")
J2CPP_DEFINE_METHOD(android::hardware::Camera_::Parameters,0,"<init>","(Landroid/hardware/Camera;)V")
J2CPP_DEFINE_METHOD(android::hardware::Camera_::Parameters,1,"flatten","()Ljava/lang/String;")
J2CPP_DEFINE_METHOD(android::hardware::Camera_::Parameters,2,"unflatten","(Ljava/lang/String;)V")
J2CPP_DEFINE_METHOD(android::hardware::Camera_::Parameters,3,"remove","(Ljava/lang/String;)V")
J2CPP_DEFINE_METHOD(android::hardware::Camera_::Parameters,4,"set","(Ljava/lang/String;Ljava/lang/String;)V")
J2CPP_DEFINE_METHOD(android::hardware::Camera_::Parameters,5,"set","(Ljava/lang/String;I)V")
J2CPP_DEFINE_METHOD(android::hardware::Camera_::Parameters,6,"get","(Ljava/lang/String;)Ljava/lang/String;")
J2CPP_DEFINE_METHOD(android::hardware::Camera_::Parameters,7,"getInt","(Ljava/lang/String;)I")
J2CPP_DEFINE_METHOD(android::hardware::Camera_::Parameters,8,"setPreviewSize","(II)V")
J2CPP_DEFINE_METHOD(android::hardware::Camera_::Parameters,9,"getPreviewSize","()Landroid/hardware/Camera$Size;")
J2CPP_DEFINE_METHOD(android::hardware::Camera_::Parameters,10,"setPreviewFrameRate","(I)V")
J2CPP_DEFINE_METHOD(android::hardware::Camera_::Parameters,11,"getPreviewFrameRate","()I")
J2CPP_DEFINE_METHOD(android::hardware::Camera_::Parameters,12,"setPreviewFormat","(I)V")
J2CPP_DEFINE_METHOD(android::hardware::Camera_::Parameters,13,"getPreviewFormat","()I")
J2CPP_DEFINE_METHOD(android::hardware::Camera_::Parameters,14,"setPictureSize","(II)V")
J2CPP_DEFINE_METHOD(android::hardware::Camera_::Parameters,15,"getPictureSize","()Landroid/hardware/Camera$Size;")
J2CPP_DEFINE_METHOD(android::hardware::Camera_::Parameters,16,"setPictureFormat","(I)V")
J2CPP_DEFINE_METHOD(android::hardware::Camera_::Parameters,17,"getPictureFormat","()I")
J2CPP_DEFINE_FIELD(android::hardware::Camera_::Parameters,0,"this$0","Landroid/hardware/Camera;")

android::hardware::Camera_::PreviewCallback::operator local_ref<java::lang::Object>() const
{
	return local_ref<java::lang::Object>(get_jobject());
}

void android::hardware::Camera_::PreviewCallback::onPreviewFrame(local_ref< array<jbyte,1> > const &a0, local_ref< android::hardware::Camera > const &a1)
{
	return call_method<
		android::hardware::Camera_::PreviewCallback::J2CPP_CLASS_NAME,
		android::hardware::Camera_::PreviewCallback::J2CPP_METHOD_NAME(0),
		android::hardware::Camera_::PreviewCallback::J2CPP_METHOD_SIGNATURE(0),
		void
	>(get_jobject(), a0, a1);
}

J2CPP_DEFINE_CLASS(android::hardware::Camera_::PreviewCallback,"android/hardware/Camera$PreviewCallback")
J2CPP_DEFINE_METHOD(android::hardware::Camera_::PreviewCallback,0,"onPreviewFrame","([BLandroid/hardware/Camera;)V")

android::hardware::Camera_::AutoFocusCallback::operator local_ref<java::lang::Object>() const
{
	return local_ref<java::lang::Object>(get_jobject());
}

void android::hardware::Camera_::AutoFocusCallback::onAutoFocus(jboolean a0, local_ref< android::hardware::Camera > const &a1)
{
	return call_method<
		android::hardware::Camera_::AutoFocusCallback::J2CPP_CLASS_NAME,
		android::hardware::Camera_::AutoFocusCallback::J2CPP_METHOD_NAME(0),
		android::hardware::Camera_::AutoFocusCallback::J2CPP_METHOD_SIGNATURE(0),
		void
	>(get_jobject(), a0, a1);
}

J2CPP_DEFINE_CLASS(android::hardware::Camera_::AutoFocusCallback,"android/hardware/Camera$AutoFocusCallback")
J2CPP_DEFINE_METHOD(android::hardware::Camera_::AutoFocusCallback,0,"onAutoFocus","(ZLandroid/hardware/Camera;)V")

android::hardware::Camera_::ShutterCallback::operator local_ref<java::lang::Object>() const
{
	return local_ref<java::lang::Object>(get_jobject());
}

void android::hardware::Camera_::ShutterCallback::onShutter()
{
	return call_method<
		android::hardware::Camera_::ShutterCallback::J2CPP_CLASS_NAME,
		android::hardware::Camera_::ShutterCallback::J2CPP_METHOD_NAME(0),
		android::hardware::Camera_::ShutterCallback::J2CPP_METHOD_SIGNATURE(0),
		void
	>(get_jobject());
}

J2CPP_DEFINE_CLASS(android::hardware::Camera_::ShutterCallback,"android/hardware/Camera$ShutterCallback")
J2CPP_DEFINE_METHOD(android::hardware::Camera_::ShutterCallback,0,"onShutter","()V")

android::hardware::Camera_::PictureCallback::operator local_ref<java::lang::Object>() const
{
	return local_ref<java::lang::Object>(get_jobject());
}

void android::hardware::Camera_::PictureCallback::onPictureTaken(local_ref< array<jbyte,1> > const &a0, local_ref< android::hardware::Camera > const &a1)
{
	return call_method<
		android::hardware::Camera_::PictureCallback::J2CPP_CLASS_NAME,
		android::hardware::Camera_::PictureCallback::J2CPP_METHOD_NAME(0),
		android::hardware::Camera_::PictureCallback::J2CPP_METHOD_SIGNATURE(0),
		void
	>(get_jobject(), a0, a1);
}

J2CPP_DEFINE_CLASS(android::hardware::Camera_::PictureCallback,"android/hardware/Camera$PictureCallback")
J2CPP_DEFINE_METHOD(android::hardware::Camera_::PictureCallback,0,"onPictureTaken","([BLandroid/hardware/Camera;)V")

android::hardware::Camera_::Size::operator local_ref<java::lang::Object>() const
{
	return local_ref<java::lang::Object>(get_jobject());
}

android::hardware::Camera_::Size::Size(local_ref< android::hardware::Camera > const &a0, jint a1, jint a2)
: object<android::hardware::Camera_::Size>(
	call_new_object<
		android::hardware::Camera_::Size::J2CPP_CLASS_NAME,
		android::hardware::Camera_::Size::J2CPP_METHOD_NAME(0),
		android::hardware::Camera_::Size::J2CPP_METHOD_SIGNATURE(0)
	>(a0, a1, a2)
)
, width(get_jobject())
, height(get_jobject())
{
}

J2CPP_DEFINE_CLASS(android::hardware::Camera_::Size,"android/hardware/Camera$Size")
J2CPP_DEFINE_METHOD(android::hardware::Camera_::Size,0,"<init>","(Landroid/hardware/Camera;II)V")
J2CPP_DEFINE_FIELD(android::hardware::Camera_::Size,0,"width","I")
J2CPP_DEFINE_FIELD(android::hardware::Camera_::Size,1,"height","I")
J2CPP_DEFINE_FIELD(android::hardware::Camera_::Size,2,"this$0","Landroid/hardware/Camera;")

android::hardware::Camera::operator local_ref<java::lang::Object>() const
{
	return local_ref<java::lang::Object>(get_jobject());
}

local_ref< android::hardware::Camera > android::hardware::Camera::open()
{
	return call_static_method<
		android::hardware::Camera::J2CPP_CLASS_NAME,
		android::hardware::Camera::J2CPP_METHOD_NAME(1),
		android::hardware::Camera::J2CPP_METHOD_SIGNATURE(1),
		local_ref< android::hardware::Camera >
	>();
}

void android::hardware::Camera::release()
{
	return call_method<
		android::hardware::Camera::J2CPP_CLASS_NAME,
		android::hardware::Camera::J2CPP_METHOD_NAME(3),
		android::hardware::Camera::J2CPP_METHOD_SIGNATURE(3),
		void
	>(get_jobject());
}

void android::hardware::Camera::setPreviewDisplay(local_ref< android::view::SurfaceHolder > const &a0)
{
	return call_method<
		android::hardware::Camera::J2CPP_CLASS_NAME,
		android::hardware::Camera::J2CPP_METHOD_NAME(4),
		android::hardware::Camera::J2CPP_METHOD_SIGNATURE(4),
		void
	>(get_jobject(), a0);
}

void android::hardware::Camera::startPreview()
{
	return call_method<
		android::hardware::Camera::J2CPP_CLASS_NAME,
		android::hardware::Camera::J2CPP_METHOD_NAME(5),
		android::hardware::Camera::J2CPP_METHOD_SIGNATURE(5),
		void
	>(get_jobject());
}

void android::hardware::Camera::stopPreview()
{
	return call_method<
		android::hardware::Camera::J2CPP_CLASS_NAME,
		android::hardware::Camera::J2CPP_METHOD_NAME(6),
		android::hardware::Camera::J2CPP_METHOD_SIGNATURE(6),
		void
	>(get_jobject());
}

void android::hardware::Camera::setPreviewCallback(local_ref< android::hardware::Camera_::PreviewCallback > const &a0)
{
	return call_method<
		android::hardware::Camera::J2CPP_CLASS_NAME,
		android::hardware::Camera::J2CPP_METHOD_NAME(7),
		android::hardware::Camera::J2CPP_METHOD_SIGNATURE(7),
		void
	>(get_jobject(), a0);
}

void android::hardware::Camera::setOneShotPreviewCallback(local_ref< android::hardware::Camera_::PreviewCallback > const &a0)
{
	return call_method<
		android::hardware::Camera::J2CPP_CLASS_NAME,
		android::hardware::Camera::J2CPP_METHOD_NAME(8),
		android::hardware::Camera::J2CPP_METHOD_SIGNATURE(8),
		void
	>(get_jobject(), a0);
}

void android::hardware::Camera::autoFocus(local_ref< android::hardware::Camera_::AutoFocusCallback > const &a0)
{
	return call_method<
		android::hardware::Camera::J2CPP_CLASS_NAME,
		android::hardware::Camera::J2CPP_METHOD_NAME(9),
		android::hardware::Camera::J2CPP_METHOD_SIGNATURE(9),
		void
	>(get_jobject(), a0);
}

void android::hardware::Camera::takePicture(local_ref< android::hardware::Camera_::ShutterCallback > const &a0, local_ref< android::hardware::Camera_::PictureCallback > const &a1, local_ref< android::hardware::Camera_::PictureCallback > const &a2)
{
	return call_method<
		android::hardware::Camera::J2CPP_CLASS_NAME,
		android::hardware::Camera::J2CPP_METHOD_NAME(10),
		android::hardware::Camera::J2CPP_METHOD_SIGNATURE(10),
		void
	>(get_jobject(), a0, a1, a2);
}

void android::hardware::Camera::setErrorCallback(local_ref< android::hardware::Camera_::ErrorCallback > const &a0)
{
	return call_method<
		android::hardware::Camera::J2CPP_CLASS_NAME,
		android::hardware::Camera::J2CPP_METHOD_NAME(11),
		android::hardware::Camera::J2CPP_METHOD_SIGNATURE(11),
		void
	>(get_jobject(), a0);
}

void android::hardware::Camera::setParameters(local_ref< android::hardware::Camera_::Parameters > const &a0)
{
	return call_method<
		android::hardware::Camera::J2CPP_CLASS_NAME,
		android::hardware::Camera::J2CPP_METHOD_NAME(12),
		android::hardware::Camera::J2CPP_METHOD_SIGNATURE(12),
		void
	>(get_jobject(), a0);
}

local_ref< android::hardware::Camera_::Parameters > android::hardware::Camera::getParameters()
{
	return call_method<
		android::hardware::Camera::J2CPP_CLASS_NAME,
		android::hardware::Camera::J2CPP_METHOD_NAME(13),
		android::hardware::Camera::J2CPP_METHOD_SIGNATURE(13),
		local_ref< android::hardware::Camera_::Parameters >
	>(get_jobject());
}

static_field<
	android::hardware::Camera::J2CPP_CLASS_NAME,
	android::hardware::Camera::J2CPP_FIELD_NAME(0),
	android::hardware::Camera::J2CPP_FIELD_SIGNATURE(0),
	jint
> android::hardware::Camera::CAMERA_ERROR_UNKNOWN;

static_field<
	android::hardware::Camera::J2CPP_CLASS_NAME,
	android::hardware::Camera::J2CPP_FIELD_NAME(1),
	android::hardware::Camera::J2CPP_FIELD_SIGNATURE(1),
	jint
> android::hardware::Camera::CAMERA_ERROR_SERVER_DIED;

J2CPP_DEFINE_CLASS(android::hardware::Camera,"android/hardware/Camera")
J2CPP_DEFINE_METHOD(android::hardware::Camera,0,"<init>","()V")
J2CPP_DEFINE_METHOD(android::hardware::Camera,1,"open","()Landroid/hardware/Camera;")
J2CPP_DEFINE_METHOD(android::hardware::Camera,2,"finalize","()V")
J2CPP_DEFINE_METHOD(android::hardware::Camera,3,"release","()V")
J2CPP_DEFINE_METHOD(android::hardware::Camera,4,"setPreviewDisplay","(Landroid/view/SurfaceHolder;)V")
J2CPP_DEFINE_METHOD(android::hardware::Camera,5,"startPreview","()V")
J2CPP_DEFINE_METHOD(android::hardware::Camera,6,"stopPreview","()V")
J2CPP_DEFINE_METHOD(android::hardware::Camera,7,"setPreviewCallback","(Landroid/hardware/Camera$PreviewCallback;)V")
J2CPP_DEFINE_METHOD(android::hardware::Camera,8,"setOneShotPreviewCallback","(Landroid/hardware/Camera$PreviewCallback;)V")
J2CPP_DEFINE_METHOD(android::hardware::Camera,9,"autoFocus","(Landroid/hardware/Camera$AutoFocusCallback;)V")
J2CPP_DEFINE_METHOD(android::hardware::Camera,10,"takePicture","(Landroid/hardware/Camera$ShutterCallback;Landroid/hardware/Camera$PictureCallback;Landroid/hardware/Camera$PictureCallback;)V")
J2CPP_DEFINE_METHOD(android::hardware::Camera,11,"setErrorCallback","(Landroid/hardware/Camera$ErrorCallback;)V")
J2CPP_DEFINE_METHOD(android::hardware::Camera,12,"setParameters","(Landroid/hardware/Camera$Parameters;)V")
J2CPP_DEFINE_METHOD(android::hardware::Camera,13,"getParameters","()Landroid/hardware/Camera$Parameters;")
J2CPP_DEFINE_FIELD(android::hardware::Camera,0,"CAMERA_ERROR_UNKNOWN","I")
J2CPP_DEFINE_FIELD(android::hardware::Camera,1,"CAMERA_ERROR_SERVER_DIED","I")

} //namespace j2cpp

#endif //J2CPP_ANDROID_HARDWARE_CAMERA_HPP_IMPL

#endif //J2CPP_INCLUDE_IMPLEMENTATION

repository: tpurtell/android-cpp-sdk

repo_name: tpurtell/android-cpp-sdk

extension: hpp


text:
@article{GoogLeNet,
  author    = {Christian Szegedy and
               Wei Liu and
               Yangqing Jia and
               Pierre Sermanet and
               Scott E. Reed and
               Dragomir Anguelov and
               Dumitru Erhan and
               Vincent Vanhoucke and
               Andrew Rabinovich},
  title     = {Going Deeper with Convolutions},
  journal   = {CoRR},
  volume    = {abs/1409.4842},
  year      = {2014},
  url       = {http://arxiv.org/abs/1409.4842},
  archivePrefix = {arXiv},
  eprint    = {1409.4842},
  timestamp = {Wed, 07 Jun 2017 14:40:42 +0200},
  biburl    = {https://dblp.org/rec/bib/journals/corr/SzegedyLJSRAEVR14},
  bibsource = {dblp computer science bibliography, https://dblp.org}
}

@article{PBT,
  author    = {Max Jaderberg and
               Valentin Dalibard and
               Simon Osindero and
               Wojciech M. Czarnecki and
               Jeff Donahue and
               Ali Razavi and
               Oriol Vinyals and
               Tim Green and
               Iain Dunning and
               Karen Simonyan and
               Chrisantha Fernando and
               Koray Kavukcuoglu},
  title     = {Population Based Training of Neural Networks},
  journal   = {CoRR},
  volume    = {abs/1711.09846},
  year      = {2017},
  url       = {http://arxiv.org/abs/1711.09846},
  archivePrefix = {arXiv},
  eprint    = {1711.09846},
  timestamp = {Mon, 13 Aug 2018 16:48:08 +0200},
  biburl    = {https://dblp.org/rec/bib/journals/corr/abs-1711-09846},
  bibsource = {dblp computer science bibliography, https://dblp.org}
}

@article{NetInNet,
  author    = {Min Lin and
               Qiang Chen and
               Shuicheng Yan},
  title     = {Network In Network},
  journal   = {CoRR},
  volume    = {abs/1312.4400},
  year      = {2013},
  url       = {http://arxiv.org/abs/1312.4400},
  archivePrefix = {arXiv},
  eprint    = {1312.4400},
  timestamp = {Mon, 13 Aug 2018 16:47:07 +0200},
  biburl    = {https://dblp.org/rec/bib/journals/corr/LinCY13},
  bibsource = {dblp computer science bibliography, https://dblp.org}
}

@article{SIMPLE,
  author    = {Seyyed Hossein HasanPour and
               Mohammad Rouhani and
               Mohsen Fayyaz and
               Mohammad Sabokrou},
  title     = {Lets keep it simple, Using simple architectures to outperform deeper
               and more complex architectures},
  journal   = {CoRR},
  volume    = {abs/1608.06037},
  year      = {2016},
  url       = {http://arxiv.org/abs/1608.06037},
  archivePrefix = {arXiv},
  eprint    = {1608.06037},
  timestamp = {Mon, 13 Aug 2018 16:48:25 +0200},
  biburl    = {https://dblp.org/rec/bib/journals/corr/HasanPourRVS16},
  bibsource = {dblp computer science bibliography, https://dblp.org}
}

@INPROCEEDINGS{BinaryHashCodes,
author={K. Lin and H. Yang and J. Hsiao and C. Chen},
booktitle={2015 IEEE Conference on Computer Vision and Pattern Recognition Workshops (CVPRW)},
title={Deep learning of binary hash codes for fast image retrieval},
year={2015},
volume={},
number={},
pages={27-35},
keywords={binary codes;convolution;image representation;image retrieval;learning (artificial intelligence);neural nets;binary hash codes;approximate nearest neighbor search;convolutional neural networks;CNN;effective deep learning framework;fast image retrieval;data labels;hidden layer;latent concepts;supervised methods;image representations;class labels;pairwised inputs;large-scale datasets;CIFAR-10 datasets;MNIST datasets;Image retrieval;Binary codes;Image representation;Machine learning;Neurons;Semantics;Visualization},
doi={10.1109/CVPRW.2015.7301269},
ISSN={2160-7516},
month={June},}

@article{lecun-mnisthandwrittendigit-2010,
  added-at = {2010-06-28T21:16:30.000+0200},
  author = {LeCun, Yann and Cortes, Corinna},
  biburl = {https://www.bibsonomy.org/bibtex/2935bad99fa1f65e03c25b315aa3c1032/mhwombat},
  groups = {public},
  howpublished = {http://yann.lecun.com/exdb/mnist/},
  interhash = {21b9d0558bd66279df9452562df6e6f3},
  intrahash = {935bad99fa1f65e03c25b315aa3c1032},
  keywords = {MSc _checked character_recognition mnist network neural},
  lastchecked = {2016-01-14 14:24:11},
  timestamp = {2016-07-12T19:25:30.000+0200},
  title = {{MNIST} handwritten digit database},
  url = {http://yann.lecun.com/exdb/mnist/},
  username = {mhwombat},
  year = 2010
}

@article{CIFAR10,
title= {CIFAR-10 (Canadian Institute for Advanced Research)},
journal= {},
author= {Alex Krizhevsky and Vinod Nair and Geoffrey Hinton},
year= {},
url= {http://www.cs.toronto.edu/~kriz/cifar.html},
abstract= {The CIFAR-10 dataset consists of 60000 32x32 colour images in 10 classes, with 6000 images per class. There are 50000 training images and 10000 test images.

The dataset is divided into five training batches and one test batch, each with 10000 images. The test batch contains exactly 1000 randomly-selected images from each class. The training batches contain the remaining images in random order, but some training batches may contain more images from one class than another. Between them, the training batches contain exactly 5000 images from each class. },
keywords= {Dataset},
terms= {}
}

% Boston Housing
@article{harrub78,
  added-at = {2014-01-09T16:23:34.000+0100},
  author = {Harrison, D. and Rubinfeld, D.L.},
  biburl = {https://www.bibsonomy.org/bibtex/2cbcd0a114d5d3f8aa84333081933ebb1/roman.minguez},
  interhash = {821a5ab6f6f9ff5d63bace967cde6012},
  intrahash = {cbcd0a114d5d3f8aa84333081933ebb1},
  journal = {Journal of Environmental Economics and Management},
  keywords = {imported},
  pages = {81-102},
  timestamp = {2014-01-09T16:23:34.000+0100},
  title = {Hedonic {H}ousing {P}rices and the {D}emand for {C}lean {A}ir},
  volume = 5,
  year = 1978
}

@book{Goodfellow-et-al-2016,
    title={Deep Learning},
    author={Ian Goodfellow and Yoshua Bengio and Aaron Courville},
    publisher={MIT Press},
    note={\url{http://www.deeplearningbook.org}},
    year={2016}
}

@book{Gron:2017:HML:3153997,
 author = {Gron, Aurlien},
 title = {Hands-On Machine Learning with Scikit-Learn and TensorFlow: Concepts, Tools, and Techniques to Build Intelligent Systems},
 year = {2017},
 isbn = {1491962291, 9781491962299},
 edition = {1st},
 publisher = {O'Reilly Media, Inc.},
}

@book{DBLP:series/lncs/7700,
  editor    = {Gr{\'{e}}goire Montavon and
               Genevieve B. Orr and
               Klaus{-}Robert M{\"{u}}ller},
  title     = {Neural Networks: Tricks of the Trade - Second Edition},
  series    = {Lecture Notes in Computer Science},
  volume    = {7700},
  publisher = {Springer},
  year      = {2012},
  url       = {https://doi.org/10.1007/978-3-642-35289-8},
  doi       = {10.1007/978-3-642-35289-8},
  isbn      = {978-3-642-35288-1},
  timestamp = {Tue, 16 May 2017 14:24:27 +0200},
  biburl    = {https://dblp.org/rec/bib/series/lncs/7700},
  bibsource = {dblp computer science bibliography, https://dblp.org}
}

@article{Kim2018CHOPTA,
  title={CHOPT : Automated Hyperparameter Optimization Framework for Cloud-Based Machine Learning Platforms},
  author={Jingwoong Kim and Minkyu Kim and Heungseok Park and Yuanfeng Ji and Dongjun Lee and Adrian Kim and Ji-Hoon Kim and Jung-Woo Ha and Nako Sung},
  journal={CoRR},
  year={2018},
  volume={abs/1810.03527}
}

@inproceedings{Liang2018RayR,
  title={Ray RLlib : A Framework for Distributed Reinforcement Learning},
  author={Eric Liang and Richard Liaw and Philipp Moritz and Robert Nishihara and Roy Fox and Joseph Gonzalez and Michael I. Jordan and Ion Stoica},
  year={2018}
}

@article{Bergstra:2012:RSH:2188385.2188395,
	author = {Bergstra, James and Bengio, Yoshua},
	title = {Random Search for Hyper-parameter Optimization},
	journal = {J. Mach. Learn. Res.},
	issue_date = {3/1/2012},
	volume = {13},
	month = feb,
	year = {2012},
	issn = {1532-4435},
	pages = {281--305},
	numpages = {25},
	url = {http://dl.acm.org/citation.cfm?id=2188385.2188395},
	acmid = {2188395},
	publisher = {JMLR.org},
	keywords = {deep learning, global optimization, model selection, neural networks, response surface modeling},
}

@inproceedings{Bergstra:2011:AHO:2986459.2986743,
	author = {Bergstra, James and Bardenet, R{\'e}mi and Bengio, Yoshua and K{\'e}gl, Bal\'{a}zs},
	title = {Algorithms for Hyper-parameter Optimization},
	booktitle = {Proceedings of the 24th International Conference on Neural Information Processing Systems},
	series = {NIPS'11},
	year = {2011},
	isbn = {978-1-61839-599-3},
	location = {Granada, Spain},
	pages = {2546--2554},
	numpages = {9},
	url = {http://dl.acm.org/citation.cfm?id=2986459.2986743},
	acmid = {2986743},
	publisher = {Curran Associates Inc.},
	address = {USA},
}

@inproceedings{LeCun:1998:EB:645754.668382,
	author = {LeCun, Yann and Bottou, L{\'e}on and Orr, Genevieve B. and M\"{u}ller, Klaus-Robert},
	title = {Efficient BackProp},
	booktitle = {Neural Networks: Tricks of the Trade, This Book is an Outgrowth of a 1996 NIPS Workshop},
	year = {1998},
	isbn = {3-540-65311-2},
	pages = {9--50},
	numpages = {42},
	url = {http://dl.acm.org/citation.cfm?id=645754.668382},
	acmid = {668382},
	publisher = {Springer-Verlag},
	address = {London, UK, UK},
}

@inproceedings{Larochelle:2007:EED:1273496.1273556,
	author = {Larochelle, Hugo and Erhan, Dumitru and Courville, Aaron and Bergstra, James and Bengio, Yoshua},
	title = {An Empirical Evaluation of Deep Architectures on Problems with Many Factors of Variation},
	booktitle = {Proceedings of the 24th International Conference on Machine Learning},
	series = {ICML '07},
	year = {2007},
	isbn = {978-1-59593-793-3},
	location = {Corvalis, Oregon, USA},
	pages = {473--480},
	numpages = {8},
	url = {http://doi.acm.org/10.1145/1273496.1273556},
	doi = {10.1145/1273496.1273556},
	acmid = {1273556},
	publisher = {ACM},
	address = {New York, NY, USA},
}

@article{Zhang:2011:ECM:2772968.2773017,
	author = {Zhang, Jun and Zhang, Zhi-hui and Lin, Ying and Chen, Ni and Gong, Yue-jiao and Zhong, Jing-hui and Chung, Henry and Li, Yun and Shi, Yu-hui},
	title = {Evolutionary Computation Meets Machine Learning: A Survey},
	journal = {Comp. Intell. Mag.},
	issue_date = {November 2011},
	volume = {6},
	number = {4},
	month = nov,
	year = {2011},
	issn = {1556-603X},
	pages = {68--75},
	numpages = {8},
	url = {https://doi.org/10.1109/MCI.2011.942584},
	doi = {10.1109/MCI.2011.942584},
	acmid = {2773017},
	publisher = {IEEE Press},
	address = {Piscataway, NJ, USA},
}

@InProceedings{pmlr-v70-real17a,
	title = 	 {Large-Scale Evolution of Image Classifiers},
	author = 	 {Esteban Real and Sherry Moore and Andrew Selle and Saurabh Saxena and Yutaka Leon Suematsu and Jie Tan and Quoc V. Le and Alexey Kurakin},
	booktitle = 	 {Proceedings of the 34th International Conference on Machine Learning},
	pages = 	 {2902--2911},
	year = 	 {2017},
	editor = 	 {Doina Precup and Yee Whye Teh},
	volume = 	 {70},
	series = 	 {Proceedings of Machine Learning Research},
	address = 	 {International Convention Centre, Sydney, Australia},
	month = 	 {06--11 Aug},
	publisher = 	 {PMLR},
	pdf = 	 {http://proceedings.mlr.press/v70/real17a/real17a.pdf},
	url = 	 {http://proceedings.mlr.press/v70/real17a.html},
}

@article{CIFAR100,
	title= {CIFAR-100 (Canadian Institute for Advanced Research)},
	journal= {},
	author= {Alex Krizhevsky and Vinod Nair and Geoffrey Hinton},
	year= {},
	url= {http://www.cs.toronto.edu/~kriz/cifar.html},
	keywords= {Dataset},
	terms= {}
}

@article{Chen2015Net2NetAL,
	title={Net2Net: Accelerating Learning via Knowledge Transfer},
	author={Tianqi Chen and Ian J. Goodfellow and Jonathon Shlens},
	journal={CoRR},
	year={2015},
	volume={abs/1511.05641}
}

@inproceedings{Wei:2016:NM:3045390.3045451,
	author = {Wei, Tao and Wang, Changhu and Rui, Yong and Chen, Chang Wen},
	title = {Network Morphism},
	booktitle = {Proceedings of the 33rd International Conference on International Conference on Machine Learning - Volume 48},
	series = {ICML'16},
	year = {2016},
	location = {New York, NY, USA},
	pages = {564--572},
	numpages = {9},
	url = {http://dl.acm.org/citation.cfm?id=3045390.3045451},
	acmid = {3045451},
	publisher = {JMLR.org},
}

@article{He2016DeepRL,
	title={Deep Residual Learning for Image Recognition},
	author={Kaiming He and Xiangyu Zhang and Shaoqing Ren and Jian Sun},
	journal={2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR)},
	year={2016},
	pages={770-778}
}

@article{XueZhang2016,
    author={B. Xue and M. Zhang and W. N. Browne and X. Yao},
    journal={IEEE Transactions on Evolutionary Computation},
    title={A Survey on Evolutionary Computation Approaches to Feature Selection},
    year={2016},
    volume={20},
    number={4},
    pages={606-626},
    keywords={data mining;evolutionary computation;feature selection;learning (artificial intelligence);pattern classification;evolutionary computation;feature selection;data mining;machine learning;data dimensionality reduction;data classification algorithm;Search problems;Machine learning algorithms;Evolutionary computation;Optimization;Data mining;Feature extraction;Computational efficiency;Classification;data mining;evolutionary computation;feature selection;machine learning},
    doi={10.1109/TEVC.2015.2504420},
    ISSN={1089-778X},
    month={Aug},
}

@article{10.1371/journal.pcbi.1000579,
    author = {Pinto, Nicolas AND Doukhan, David AND DiCarlo, James J. AND Cox, David D.},
    journal = {PLOS Computational Biology},
    publisher = {Public Library of Science},
    title = {A High-Throughput Screening Approach to Discovering Good Forms of Biologically Inspired Visual Representation},
    year = {2009},
    month = {11},
    volume = {5},
    url = {https://doi.org/10.1371/journal.pcbi.1000579},
    pages = {1-12},
    number = {11},
    doi = {10.1371/journal.pcbi.1000579}
}

@inproceedings{Coates:2011:IEV:3104482.3104598,
 author = {Coates, Adam and Ng, Andrew Y.},
 title = {The Importance of Encoding Versus Training with Sparse Coding and Vector Quantization},
 booktitle = {Proceedings of the 28th International Conference on International Conference on Machine Learning},
 series = {ICML'11},
 year = {2011},
 isbn = {978-1-4503-0619-5},
 location = {Bellevue, Washington, USA},
 pages = {921--928},
 numpages = {8},
 url = {http://dl.acm.org/citation.cfm?id=3104482.3104598},
 acmid = {3104598},
 publisher = {Omnipress},
 address = {USA},
}

@ARTICLE{LeNet5,
author={Y. Lecun and L. Bottou and Y. Bengio and P. Haffner},
journal={Proceedings of the IEEE},
title={Gradient-based learning applied to document recognition},
year={1998},
volume={86},
number={11},
pages={2278-2324},
keywords={optical character recognition;multilayer perceptrons;backpropagation;convolution;gradient-based learning;document recognition;multilayer neural networks;back-propagation;gradient based learning technique;complex decision surface synthesis;high-dimensional patterns;handwritten character recognition;handwritten digit recognition task;2D shape variability;document recognition systems;field extraction;segmentation recognition;language modeling;graph transformer networks;GTN;multimodule systems;performance measure minimization;cheque reading;convolutional neural network character recognizers;Neural networks;Pattern recognition;Machine learning;Optical character recognition software;Character recognition;Feature extraction;Multi-layer neural network;Optical computing;Hidden Markov models;Principal component analysis},
doi={10.1109/5.726791},
ISSN={0018-9219},
month={Nov},}

license: MIT

repository: SamuelMarks/pbt-keras

license_type: permissive

repo_name: SamuelMarks/pbt-keras

branch_name: refs/heads/master

gha_license_id: MIT

extension: bib


text:
SUMMARY = "CODAJ12 is a standalone JPEG Codec (JPU)"
DESCRIPTION = "CODAJ12 performs the JPEG baseline/extended sequential and M-JPEG decoding and encoding"

LICENSE = "ChipsMedia-VisionFive2"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=16bead7cc56b053f5da0061ce0637ad2"

COMPATIBLE_MACHINE = "jh7110"

require recipes-bsp/common/visionfive2-firmware.inc
inherit autotools

SOLIBS = ".so"
FILES_SOLIBSDEV = ""

SRC_URI += " \
    file://codaj12_yocto.mak;subdir=git/codaj12 \
    file://20_jpu.rules \
"

S = "${WORKDIR}/git/codaj12"

do_compile() {
    oe_runmake -C ${S} -f codaj12_yocto.mak
}

do_install() {
    install -d ${D}/usr/include/codaj12
    install -D -m 0644 ${S}/jpuapi/jpuapi.h ${D}/usr/include/codaj12/jpuapi/jpuapi.h
    install -D -m 0644 ${S}/jpuapi/jpuapifunc.h ${D}/usr/include/codaj12/jpuapi/jpuapifunc.h
    install -D -m 0644 ${S}/jpuapi/regdefine.h ${D}/usr/include/codaj12/jpuapi/regdefine.h
    install -D -m 0644 ${S}/jpuapi/jpuconfig.h ${D}/usr/include/codaj12/jpuapi/jpuconfig.h
    install -D -m 0644 ${S}/jpuapi/jputypes.h ${D}/usr/include/codaj12/jpuapi/jputypes.h
    install -D -m 0644 ${S}/jpuapi/jputable.h ${D}/usr/include/codaj12/jpuapi/jputable.h
    install -D -m 0644 ${S}/sample/helper/cnm_fpga.h ${D}/usr/include/codaj12/sample/helper/cnm_fpga.h
    install -D -m 0644 ${S}/sample/helper/platform.h ${D}/usr/include/codaj12/sample/helper/platform.h
    install -D -m 0644 ${S}/sample/helper/yuv_feeder.h ${D}/usr/include/codaj12/sample/helper/yuv_feeder.h
    install -D -m 0644 ${S}/sample/helper/datastructure.h ${D}/usr/include/codaj12/sample/helper/datastructure.h
    install -D -m 0644 ${S}/sample/helper/jpulog.h ${D}/usr/include/codaj12/sample/helper/jpulog.h
    install -D -m 0644 ${S}/sample/main_helper.h ${D}/usr/include/codaj12/sample/main_helper.h
    install -D -m 0644 ${S}/jdi/linux/driver/jpu.h ${D}/usr/include/codaj12/jdi/linux/driver/jpu.h
    install -D -m 0644 ${S}/jdi/linux/driver/jmm.h ${D}/usr/include/codaj12/jdi/linux/driver/jmm.h
    install -D -m 0644 ${S}/jdi/jdi.h ${D}/usr/include/codaj12/jdi/jdi.h
    install -D -m 0644 ${S}/jdi/mm.h ${D}/usr/include/codaj12/jdi/mm.h
    install -D -m 0644 ${S}/config.h ${D}/usr/include/codaj12/

    install -d ${D}/usr/lib
    install -m 0644 ${S}/libcodadec.so ${D}/usr/lib/

    install -d ${D}/${base_libdir}/udev/rules.d/
    install -m 0644 ${WORKDIR}/20_jpu.rules ${D}/${base_libdir}/udev/rules.d/
}

FILES:${PN} += " \
    ${base_libdir}/* \
    ${libdir}/* \
"

repository: YoeDistro/meta-riscv

repo_name: YoeDistro/meta-riscv

extension: bb