Back to Seed Clases

Gst


Classes

Interfaces

Structs

Unions

Enums

Enum Gst.Format

Import line: Gst = imports.gi.Gst;
GIR File: Gst-0.10.gir
C documentation: GstFormat
Enum : Format
  Show / Hide Inherited methods, properties and signals
Standard predefined formats
Values
Properties
Properties
None
Public Methods
None
Events
None
Used by These Methods / Signals / Properties
Class / Namespace Method / Signal / Properties
Gst
Method
Gst.format_get_by_nick (String nick) : Gst.Format
Return the format registered with the given nick.
Gst
Method
Gst.format_get_details (Format format) : Gst.FormatDefinition
Get details about the given format.
Gst
Method
Gst.format_get_name (Format format) : String
Get a printable name for the given format.
Gst
Method
Gst.format_register (String nick, String description) : Gst.Format
Create a new GstFormat based on the nick or return an already registered format with that nick.
Gst
Method
Gst.format_to_quark (Format format) : Number
Get the unique quark for the given format.
Gst
Method
Gst.formats_contains (Format formats, Format format) : Boolean
See if the given format is inside the format array.
Gst.Element
Method
seek (Number rate, Format format, SeekFlags flags, SeekType cur_type, Number cur, SeekType stop_type, Number stop) : Boolean
Sends a seek event to an element.
Gst.Element
Method
seek_simple (Format format, SeekFlags seek_flags, Number seek_pos) : Boolean
Gst.Element
Method
query_position (Format format, Object out_values) : Boolean
Queries an element for the stream position.
Gst.Element
Method
query_duration (Format format, Object out_values) : Boolean
Queries an element for the total stream duration.
Gst.Element
Method
query_convert (Format src_format, Number src_val, Format dest_format, Object out_values) : Boolean
Queries an element to convert src_val in src_format to dest_format.
Gst.Event
Method
new Gst.Event.new_segment (Boolean update, Number rate, Format format, Number start, Number stop, Number position) : Gst.Event
Create a new Gst.Event
Gst.Event
Method
new Gst.Event.new_segment_full (Boolean update, Number rate, Number applied_rate, Format format, Number start, Number stop, Number position) : Gst.Event
Create a new Gst.Event
Gst.Event
Method
new Gst.Event.buffer_size (Format format, Number minsize, Number maxsize, Boolean async) : Gst.Event
Create a new Gst.Event
Gst.Event
Method
new Gst.Event.seek (Number rate, Format format, SeekFlags flags, SeekType start_type, Number start, SeekType stop_type, Number stop) : Gst.Event
Create a new Gst.Event
Gst.Event
Method
new Gst.Event.step (Format format, Number amount, Number rate, Boolean flush, Boolean intermediate) : Gst.Event
Create a new Gst.Event
Gst.Event
Method
parse_new_segment (Boolean update, Number rate, Format format) : Object
Get the update flag, rate, format, start, stop and position in the newsegment event.
Gst.Event
Method
parse_new_segment_full (Boolean update, Number rate, Number applied_rate, Format format) : Object
Get the update, rate, applied_rate, format, start, stop and position in the newsegment event.
Gst.Event
Method
parse_buffer_size (Format format) : Object
Get the format, minsize, maxsize and async-flag in the buffersize event.
Gst.Event
Method
parse_seek (Number rate, Format format, SeekFlags flags, SeekType start_type, Number start, SeekType stop_type) : Object
Parses a seek event and stores the results in the given result locations.
Gst.Event
Method
parse_step (Format format) : Object
Parse the step event.
Gst.Index
Method
add_format (Number id, Format format) : Gst.IndexEntry
Adds a format entry into the index.
Gst.Index
Method
get_assoc_entry (Number id, IndexLookupMethod method, AssocFlags flags, Format format, Number value) : Gst.IndexEntry
Finds the given format/value in the index
Gst.Index
Method
get_assoc_entry_full (Number id, IndexLookupMethod method, AssocFlags flags, Format format, Number value, Function func, void* user_data) : Gst.IndexEntry
Finds the given format/value in the index with the given compare function and user_data.
Gst.IndexEntry
Method
assoc_map (Format format, Object out_values) : Boolean
Gets alternative formats associated with the indexentry.
Gst.Message
Method
new Gst.Message.step_done (Object src, Format format, Number amount, Number rate, Boolean flush, Boolean intermediate, Number duration, Boolean eos) : Gst.Message
Create a new Gst.Message
Gst.Message
Method
new Gst.Message.segment_start (Object src, Format format, Number position) : Gst.Message
Create a new Gst.Message
Gst.Message
Method
new Gst.Message.segment_done (Object src, Format format, Number position) : Gst.Message
Create a new Gst.Message
Gst.Message
Method
new Gst.Message.duration (Object src, Format format, Number duration) : Gst.Message
Create a new Gst.Message
Gst.Message
Method
new Gst.Message.step_start (Object src, Boolean active, Format format, Number amount, Number rate, Boolean flush, Boolean intermediate) : Gst.Message
Create a new Gst.Message
Gst.Message
Method
parse_step_done (Format format) : Object
Extract the values the step_done message.
Gst.Message
Method
parse_segment_start (Format format) : Number
Extracts the position and format from the segment start message.
Gst.Message
Method
parse_segment_done (Format format) : Number
Extracts the position and format from the segment start message.
Gst.Message
Method
parse_duration (Format format) : Number
Extracts the duration and format from the duration message.
Gst.Message
Method
parse_step_start (Boolean active, Format format) : Object
Extract the values from step_start message.
Gst.Message
Method
set_qos_stats (Format format, Number processed, Number dropped) : none
filters will use GST_FORMAT_BUFFERS (frames).
Gst.Message
Method
parse_qos_stats (Format format) : Object
filters will use GST_FORMAT_BUFFERS (frames).
Gst.Pad
Method
query_position (Format format, Object out_values) : Boolean
Queries a pad for the stream position.
Gst.Pad
Method
query_duration (Format format, Object out_values) : Boolean
Queries a pad for the total stream duration.
Gst.Pad
Method
query_convert (Format src_format, Number src_val, Format dest_format, Object out_values) : Boolean
Queries a pad to convert src_val in src_format to dest_format.
Gst.Pad
Method
query_peer_position (Format format, Object out_values) : Boolean
Queries the peer of a given sink pad for the stream position.
Gst.Pad
Method
query_peer_duration (Format format, Object out_values) : Boolean
Queries the peer pad of a given sink pad for the total stream duration.
Gst.Pad
Method
query_peer_convert (Format src_format, Number src_val, Format dest_format, Object out_values) : Boolean
Queries the peer pad of a given sink pad to convert src_val in src_format to dest_format.
Gst.Query
Method
new Gst.Query.position (Format format) : Gst.Query
Create a new Gst.Query
Gst.Query
Method
new Gst.Query.duration (Format format) : Gst.Query
Create a new Gst.Query
Gst.Query
Method
new Gst.Query.convert (Format src_format, Number value, Format dest_format) : Gst.Query
Create a new Gst.Query
Gst.Query
Method
new Gst.Query.segment (Format format) : Gst.Query
Create a new Gst.Query
Gst.Query
Method
new Gst.Query.seeking (Format format) : Gst.Query
Create a new Gst.Query
Gst.Query
Method
new Gst.Query.buffering (Format format) : Gst.Query
Create a new Gst.Query
Gst.Query
Method
set_position (Format format, Number cur) : none
Answer a position query by setting the requested value in the given format.
Gst.Query
Method
parse_position (Format format) : Number
Parse a position query, writing the format into format, and the position into cur, if the respective parameters are non-NULL.
Gst.Query
Method
set_duration (Format format, Number duration) : none
Answer a duration query by setting the requested value in the given format.
Gst.Query
Method
parse_duration (Format format) : Number
Parse a duration query answer.
Gst.Query
Method
set_convert (Format src_format, Number src_value, Format dest_format, Number dest_value) : none
Answer a convert query by setting the requested values.
Gst.Query
Method
parse_convert (Format src_format, Number src_value, Format dest_format) : Object
Parse a convert query answer.
Gst.Query
Method
set_segment (Number rate, Format format, Number start_value, Number stop_value) : none
Answer a segment query by setting the requested values.
Gst.Query
Method
parse_segment (Number rate, Format format) : Object
Parse a segment query answer.
Gst.Query
Method
set_seeking (Format format, Boolean seekable, Number segment_start, Number segment_end) : none
Set the seeking query result fields in query.
Gst.Query
Method
parse_seeking (Format format) : Object
Parse a seeking query, writing the format into format, and other results into the passed parameters, if the respective parameters are non-NULL
Gst.Query
Method
set_formatsv (Number n_formats, Format formats) : none
Set the formats query result fields in query.
Gst.Query
Method
parse_formats_nth (Number nth, Format format) : none
Parse the format query and retrieve the nth format from it into set to GST_FORMAT_UNDEFINED.
Gst.Query
Method
set_buffering_range (Format format, Number start, Number stop, Number estimated_total) : none
Set the available query result fields in query.
Gst.Query
Method
parse_buffering_range (Format format) : Object
Parse an available query, writing the format into format, and other results into the passed parameters, if the respective parameters are non-NULL
Gst.Segment
Method
init (Format format) : none
The start/last_stop positions are set to 0 and the stop/duration fields are set to -1 (unknown).
Gst.Segment
Method
set_duration (Format format, Number duration) : none
Set the duration of the segment to duration.
Gst.Segment
Method
set_last_stop (Format format, Number position) : none
Set the last observed stop position in the segment to position.
Gst.Segment
Method
set_seek (Number rate, Format format, SeekFlags flags, SeekType start_type, Number start, SeekType stop_type, Number stop) : Boolean
Update the segment structure with the field values of a seek event (see gst_event_new_seek()).
Gst.Segment
Method
set_newsegment (Boolean update, Number rate, Format format, Number start, Number stop, Number time) : none
Update the segment structure with the field values of a new segment event and with a default applied_rate of 1.0.
Gst.Segment
Method
set_newsegment_full (Boolean update, Number rate, Number applied_rate, Format format, Number start, Number stop, Number time) : none
Update the segment structure with the field values of a new segment event.
Gst.Segment
Method
to_stream_time (Format format, Number position) : Number
Translate position to stream time using the currently configured segment.
Gst.Segment
Method
to_running_time (Format format, Number position) : Number
Translate position to the total running time using the currently configured and previously accumulated segments.
Gst.Segment
Method
to_position (Format format, Number running_time) : Number
Convert running_time into a position in the segment so that gst_segment_to_running_time() with that position returns running_time.
Gst.Segment
Method
clip (Format format, Number start, Number stop, Object out_values) : Boolean
Clip the given start and stop values to the segment boundaries given in segment.
Gst.Segment
Method
set_running_time (Format format, Number running_time) : Boolean
Adjust the start/stop and accum values of segment such that the next valid buffer will be one with running_time.
GstApp.AppSrc
Property
format : Gst.Format
GstAudio.RingBuffer
Method
convert (Format src_fmt, Number src_val, Format dest_fmt, Object out_values) : Boolean
Convert src_val in src_fmt to the equivalent value in dest_fmt.
GstBase.BaseSrc
Method
set_format (Format format) : none
Sets the default format of the source.
GstVideo
Method
GstVideo.format_convert (VideoFormat format, Number width, Number height, Number fps_n, Number fps_d, Format src_format, Number src_value, Format dest_format, Object out_values) : Boolean
Converts among various GstFormat types.
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Tue Jun 22 2010 16:33:55 GMT+0800 (HKT)