org.gstreamer.lowlevel
Interface GstClockAPI

All Superinterfaces:
com.sun.jna.Library

public interface GstClockAPI
extends com.sun.jna.Library

GstClock functions


Nested Class Summary
static interface GstClockAPI.GstClockCallback
           
 
Nested classes/interfaces inherited from interface com.sun.jna.Library
com.sun.jna.Library.Handler
 
Field Summary
static GstClockAPI INSTANCE
           
 
Fields inherited from interface com.sun.jna.Library
OPTION_FUNCTION_MAPPER, OPTION_INVOCATION_MAPPER, OPTION_STRUCTURE_ALIGNMENT, OPTION_TYPE_MAPPER
 
Method Summary
 boolean gst_clock_add_observation(Clock clock, ClockTime slave, ClockTime Master, double[] r_squared)
           
 ClockTime gst_clock_adjust_unlocked(Clock clock, ClockTime internal)
           
 void gst_clock_get_calibration(Clock clock, long[] internal, long[] external, long[] rate_num, long[] rate_denom)
           
 ClockTime gst_clock_get_internal_time(Clock clock)
           
 Clock gst_clock_get_master(Clock clock)
           
 ClockTime gst_clock_get_resolution(Clock clock)
           
 ClockTime gst_clock_get_time(Clock clock)
           
 GType gst_clock_get_type()
           
 int gst_clock_id_compare_func(ClockID id1, ClockID id2)
           
 ClockTime gst_clock_id_get_time(ClockID id)
           
 void gst_clock_id_ref(ClockID id)
           
 void gst_clock_id_unref(ClockID id)
           
 void gst_clock_id_unref(com.sun.jna.Pointer id)
           
 void gst_clock_id_unschedule(ClockID id)
           
 ClockReturn gst_clock_id_wait_async(ClockID id, GstClockAPI.GstClockCallback func, com.sun.jna.Pointer user_data)
           
 ClockReturn gst_clock_id_wait(ClockID id, long[] jitter)
           
 ClockID gst_clock_new_periodic_id(Clock clock, ClockTime start_time, ClockTime interval)
           
 ClockID gst_clock_new_single_shot_id(Clock clock, ClockTime time)
           
 void gst_clock_set_calibration(Clock clock, ClockTime internal, ClockTime external, ClockTime rate_num, ClockTime rate_denom)
           
 boolean gst_clock_set_master(Clock clock, Clock master)
           
 ClockTime gst_clock_set_resolution(Clock clock, ClockTime resolution)
           
 ClockTime gst_clock_unadjust_unlocked(Clock clock, ClockTime external)
           
 

Field Detail

INSTANCE

static final GstClockAPI INSTANCE
Method Detail

gst_clock_get_type

GType gst_clock_get_type()

gst_clock_set_resolution

ClockTime gst_clock_set_resolution(Clock clock,
                                   ClockTime resolution)

gst_clock_get_resolution

ClockTime gst_clock_get_resolution(Clock clock)

gst_clock_get_time

ClockTime gst_clock_get_time(Clock clock)

gst_clock_set_calibration

void gst_clock_set_calibration(Clock clock,
                               ClockTime internal,
                               ClockTime external,
                               ClockTime rate_num,
                               ClockTime rate_denom)

gst_clock_get_calibration

void gst_clock_get_calibration(Clock clock,
                               long[] internal,
                               long[] external,
                               long[] rate_num,
                               long[] rate_denom)

gst_clock_set_master

boolean gst_clock_set_master(Clock clock,
                             Clock master)

gst_clock_get_master

Clock gst_clock_get_master(Clock clock)

gst_clock_add_observation

boolean gst_clock_add_observation(Clock clock,
                                  ClockTime slave,
                                  ClockTime Master,
                                  double[] r_squared)

gst_clock_get_internal_time

ClockTime gst_clock_get_internal_time(Clock clock)

gst_clock_adjust_unlocked

ClockTime gst_clock_adjust_unlocked(Clock clock,
                                    ClockTime internal)

gst_clock_unadjust_unlocked

ClockTime gst_clock_unadjust_unlocked(Clock clock,
                                      ClockTime external)

gst_clock_new_single_shot_id

ClockID gst_clock_new_single_shot_id(Clock clock,
                                     ClockTime time)

gst_clock_new_periodic_id

ClockID gst_clock_new_periodic_id(Clock clock,
                                  ClockTime start_time,
                                  ClockTime interval)

gst_clock_id_ref

void gst_clock_id_ref(ClockID id)

gst_clock_id_unref

void gst_clock_id_unref(ClockID id)

gst_clock_id_unref

void gst_clock_id_unref(com.sun.jna.Pointer id)

gst_clock_id_compare_func

int gst_clock_id_compare_func(ClockID id1,
                              ClockID id2)

gst_clock_id_get_time

ClockTime gst_clock_id_get_time(ClockID id)

gst_clock_id_wait

ClockReturn gst_clock_id_wait(ClockID id,
                              long[] jitter)

gst_clock_id_wait_async

ClockReturn gst_clock_id_wait_async(ClockID id,
                                    GstClockAPI.GstClockCallback func,
                                    com.sun.jna.Pointer user_data)

gst_clock_id_unschedule

void gst_clock_id_unschedule(ClockID id)