org.gstreamer.lowlevel
Interface GstQueryAPI

All Superinterfaces:
com.sun.jna.Library

public interface GstQueryAPI
extends com.sun.jna.Library

GstQuery functions


Nested Class Summary
static class GstQueryAPI.QueryStruct
           
 
Nested classes/interfaces inherited from interface com.sun.jna.Library
com.sun.jna.Library.Handler
 
Field Summary
static GstQueryAPI INSTANCE
           
 
Fields inherited from interface com.sun.jna.Library
OPTION_FUNCTION_MAPPER, OPTION_INVOCATION_MAPPER, OPTION_STRUCTURE_ALIGNMENT, OPTION_TYPE_MAPPER
 
Method Summary
 Structure gst_query_get_structure(Query query)
           
 GType gst_query_get_type()
           
 Query gst_query_new_application(QueryType type, Structure structure)
           
 Query gst_query_new_convert(Format src_format, long value, Format dest_format)
           
 Query gst_query_new_duration(Format format)
           
 Query gst_query_new_formats()
           
 Query gst_query_new_latency()
           
 Query gst_query_new_position(Format format)
           
 Query gst_query_new_seeking(Format format)
           
 Query gst_query_new_segment(Format format)
           
 void gst_query_parse_convert(Query query, Format[] src_format, long[] src_value, Format[] dest_format, long[] dest_value)
           
 void gst_query_parse_duration(Query query, Format[] format, long[] duration)
           
 void gst_query_parse_formats_length(Query query, int[] n_formats)
           
 void gst_query_parse_formats_nth(Query query, int nth, Format[] format)
           
 void gst_query_parse_latency(Query query, boolean[] live, ClockTime[] min_latency, ClockTime[] max_latency)
           
 void gst_query_parse_position(Query query, Format[] format, long[] cur)
           
 void gst_query_parse_seeking(Query query, Format[] format, boolean[] seekable, long[] segment_start, long[] segment_end)
           
 void gst_query_parse_segment(Query query, double[] rate, Format[] format, long[] start_value, long[] stop_value)
           
 void gst_query_set_convert(Query query, Format src_format, long src_value, Format dest_format, long dest_value)
           
 void gst_query_set_duration(Query query, Format format, long duration)
           
 void gst_query_set_formats(Query query, int n_formats, Format... formats)
           
 void gst_query_set_formatsv(Query query, int n_formats, Format[] formats)
           
 void gst_query_set_latency(Query query, boolean live, ClockTime min_latency, ClockTime max_latency)
           
 void gst_query_set_position(Query query, Format format, long cur)
           
 void gst_query_set_seeking(Query query, Format format, boolean seekable, long segment_start, long segment_end)
           
 void gst_query_set_segment(Query query, double rate, Format format, long start_value, long stop_value)
           
 QueryType gst_query_type_get_by_nick(java.lang.String nick)
           
 java.lang.String gst_query_type_get_name(QueryType query)
           
 QueryType gst_query_type_register(java.lang.String nick, java.lang.String description)
           
 GQuark gst_query_type_to_quark(QueryType query)
           
 

Field Detail

INSTANCE

static final GstQueryAPI INSTANCE
Method Detail

gst_query_type_get_name

java.lang.String gst_query_type_get_name(QueryType query)

gst_query_type_to_quark

GQuark gst_query_type_to_quark(QueryType query)

gst_query_type_register

QueryType gst_query_type_register(java.lang.String nick,
                                  java.lang.String description)

gst_query_type_get_by_nick

QueryType gst_query_type_get_by_nick(java.lang.String nick)

gst_query_get_type

GType gst_query_get_type()

gst_query_new_position

Query gst_query_new_position(Format format)

gst_query_set_position

void gst_query_set_position(Query query,
                            Format format,
                            long cur)

gst_query_parse_position

void gst_query_parse_position(Query query,
                              Format[] format,
                              long[] cur)

gst_query_new_duration

Query gst_query_new_duration(Format format)

gst_query_set_duration

void gst_query_set_duration(Query query,
                            Format format,
                            long duration)

gst_query_parse_duration

void gst_query_parse_duration(Query query,
                              Format[] format,
                              long[] duration)

gst_query_new_latency

Query gst_query_new_latency()

gst_query_set_latency

void gst_query_set_latency(Query query,
                           boolean live,
                           ClockTime min_latency,
                           ClockTime max_latency)

gst_query_parse_latency

void gst_query_parse_latency(Query query,
                             boolean[] live,
                             ClockTime[] min_latency,
                             ClockTime[] max_latency)

gst_query_new_convert

Query gst_query_new_convert(Format src_format,
                            long value,
                            Format dest_format)

gst_query_set_convert

void gst_query_set_convert(Query query,
                           Format src_format,
                           long src_value,
                           Format dest_format,
                           long dest_value)

gst_query_parse_convert

void gst_query_parse_convert(Query query,
                             Format[] src_format,
                             long[] src_value,
                             Format[] dest_format,
                             long[] dest_value)

gst_query_new_segment

Query gst_query_new_segment(Format format)

gst_query_set_segment

void gst_query_set_segment(Query query,
                           double rate,
                           Format format,
                           long start_value,
                           long stop_value)

gst_query_parse_segment

void gst_query_parse_segment(Query query,
                             double[] rate,
                             Format[] format,
                             long[] start_value,
                             long[] stop_value)

gst_query_new_application

Query gst_query_new_application(QueryType type,
                                Structure structure)

gst_query_get_structure

Structure gst_query_get_structure(Query query)

gst_query_new_seeking

Query gst_query_new_seeking(Format format)

gst_query_set_seeking

void gst_query_set_seeking(Query query,
                           Format format,
                           boolean seekable,
                           long segment_start,
                           long segment_end)

gst_query_parse_seeking

void gst_query_parse_seeking(Query query,
                             Format[] format,
                             boolean[] seekable,
                             long[] segment_start,
                             long[] segment_end)

gst_query_new_formats

Query gst_query_new_formats()

gst_query_set_formats

void gst_query_set_formats(Query query,
                           int n_formats,
                           Format... formats)

gst_query_set_formatsv

void gst_query_set_formatsv(Query query,
                            int n_formats,
                            Format[] formats)

gst_query_parse_formats_length

void gst_query_parse_formats_length(Query query,
                                    int[] n_formats)

gst_query_parse_formats_nth

void gst_query_parse_formats_nth(Query query,
                                 int nth,
                                 Format[] format)