/* * Copyright (c) 2009 Levente Farkas * Copyright (c) 2009 Tamas Korodi <kotyo@zamba.fm> * * This file is part of gstreamer-java. * * This code is free software: you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License version 3 only, as * published by the Free Software Foundation. * * This code is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License * version 3 for more details. * * You should have received a copy of the GNU Lesser General Public License * version 3 along with this work. If not, see <http://www.gnu.org/licenses/>. */ package org.gstreamer.lowlevel; import org.gstreamer.interfaces.XOverlayBase; import com.sun.jna.Library; import com.sun.jna.NativeLong; import com.sun.jna.Pointer; public interface GstXOverlayAPI extends Library { GstXOverlayAPI GSTXOVERLAY_API = GstNative.load("gstinterfaces", GstXOverlayAPI.class); GType gst_x_overlay_get_type(); /* virtual class function wrappers */ @Deprecated void gst_x_overlay_set_xwindow_id(XOverlayBase overlay, NativeLong xwindow_id); void gst_x_overlay_set_window_handle(XOverlayBase overlay, NativeLong xwindow_id); @Deprecated void gst_x_overlay_set_xwindow_id(XOverlayBase overlay, Pointer xwindow_id); void gst_x_overlay_set_window_handle(XOverlayBase overlay, Pointer xwindow_id); @Deprecated void gst_x_overlay_got_xwindow_id(XOverlayBase overlay, NativeLong xwindow_id); void gst_x_overlay_got_window_handle(XOverlayBase overlay, NativeLong xwindow_id); void gst_x_overlay_prepare_xwindow_id(XOverlayBase overlay); void gst_x_overlay_expose(XOverlayBase overlay); void gst_x_overlay_handle_events(XOverlayBase overlay, boolean handle_events); boolean gst_x_overlay_set_render_rectangle(XOverlayBase overlay, int x, int y, int width, int height); }