Efl.Canvas.Video (class)

Description

Efl canvas video class

Inheritance

Efl.Canvas.Group (class)Efl.Canvas.Object (class)Efl.Loop_Consumer (class)Efl.Object (class)

Full hierarchy

Members

constructor [Overridden from Efl.Object]

Implement this method to provide optional initialization code for your object.
Efl_Object *efl_constructor(Eo *obj);


engine (set)

Eina_Bool efl_canvas_video_engine_set(Eo *obj, const char *module_filename);


file (get, set) [Overridden from Efl.File]

The file path from where an object will fetch the data.
const char *efl_file_get(const Eo *obj);
Eina_Error efl_file_set(Eo *obj, const char *file);


length (get) [Overridden from Efl.Playable]

double efl_playable_length_get(const Eo *obj);


load [Overridden from Efl.File]

Perform all necessary operations to open and load file data into the object using the Efl.File.file (or Efl.File.mmap) and Efl.File.key properties.
Eina_Error efl_file_load(Eo *obj);


load_size (get, set) [Overridden from Efl.Gfx.Image_Load_Controller]

The load size of an image.
Eina_Size2D efl_gfx_image_load_controller_load_size_get(const Eo *obj);
void efl_gfx_image_load_controller_load_size_set(Eo *obj, Eina_Size2D size);


loaded (get) [Overridden from Efl.File]

Eina_Bool efl_file_loaded_get(const Eo *obj);


mute (get, set) [Overridden from Efl.Audio_Control]

This property controls the audio mute state.
Eina_Bool efl_audio_control_mute_get(const Eo *obj);
void efl_audio_control_mute_set(Eo *obj, Eina_Bool mute);


option (set)

void efl_canvas_video_option_set(Eo *obj, const char *opt, const char *val);


paused (get, set) [Overridden from Efl.Player]

Pause state of the media file.
Eina_Bool efl_player_paused_get(const Eo *obj);
Eina_Bool efl_player_paused_set(Eo *obj, Eina_Bool paused);


playback_position (get, set) [Overridden from Efl.Player]

Position in the media file.
double efl_player_playback_position_get(const Eo *obj);
void efl_player_playback_position_set(Eo *obj, double sec);


playback_progress (get) [Overridden from Efl.Player]

double efl_player_playback_progress_get(const Eo *obj);


playing (get, set) [Overridden from Efl.Player]

Playback state of the media file.
Eina_Bool efl_player_playing_get(const Eo *obj);
Eina_Bool efl_player_playing_set(Eo *obj, Eina_Bool playing);


position (get, set) [Overridden from Efl.Gfx.Entity]

The 2D position of a canvas object.
Eina_Position2D efl_gfx_entity_position_get(const Eo *obj);
void efl_gfx_entity_position_set(Eo *obj, Eina_Position2D pos);


ratio (get) [Overridden from Efl.Gfx.Image]

double efl_gfx_image_ratio_get(const Eo *obj);


seekable (get) [Overridden from Efl.Playable]

Eina_Bool efl_playable_seekable_get(const Eo *obj);


size (get, set) [Overridden from Efl.Gfx.Entity]

The 2D size of a canvas object.
Eina_Size2D efl_gfx_entity_size_get(const Eo *obj);
void efl_gfx_entity_size_set(Eo *obj, Eina_Size2D size);


smooth_scale (get, set) [Overridden from Efl.Gfx.Image]

Whether to use high-quality image scaling algorithm for this image.
Eina_Bool efl_gfx_image_smooth_scale_get(const Eo *obj);
void efl_gfx_image_smooth_scale_set(Eo *obj, Eina_Bool smooth_scale);


unload [Overridden from Efl.File]

Perform all necessary operations to unload file data from the object.
void efl_file_unload(Eo *obj);


volume (get, set) [Overridden from Efl.Audio_Control]

Control the audio volume.
double efl_audio_control_volume_get(const Eo *obj);
void efl_audio_control_volume_set(Eo *obj, double volume);


Inherited

Efl.Canvas.Group
clipper (get, set) Clip one object to another.
color (get, set) The general/main color of the given Evas object.
debug_name_override Build a read-only name for this object used for debugging.
destructor Implement this method to provide deinitialization code for your object if you need it.
group_calculate Triggers an immediate recalculation of this object's geometry.
group_change Marks the object as dirty.
group_member_add Set a canvas object as a member of a given group (or smart object).
group_member_is Finds out if a given object is a member of this group.
group_member_remove Removes a member object from a given smart object.
group_members_iterate Returns an iterator over the children of this object, which are canvas objects.
group_need_recalculate (get, set) Indicates that the group's layout needs to be recalculated.
no_render (get, set) Disables all rendering on the canvas.
paragraph_direction (get, set) This handles text paragraph direction of the given object. Even if the given object is not textblock or text, its smart child objects can inherit the paragraph direction from the given object. The default paragraph direction is inherit.
visible (get, set) The visibility of a canvas object.
protected group_clipper (get)
Efl.Canvas.Object
above (get)
anti_alias (get, set) Whether or not the given Evas object is to be drawn anti-aliased.
below (get)
clipped_objects (get)
clipped_objects_count Returns the number of objects clipped by obj
coords_inside (get)
event_freeze Freeze events of this object.
event_thaw Thaw events of object.
finalize Implement this method to finish the initialization of your object after all (if any) user-provided configuration methods have been executed.
geometry (get, set) Rectangular geometry that combines both position and size.
gesture_manager_get Returns current canvas's gesture manager
has_fixed_size (get, set) A hint for an object that its size will not change.
hint_align (get, set) Hints for an object's alignment.
hint_aspect (get, set) Defines the aspect ratio to respect when scaling this object.
hint_fill (get, set) Hints for an object's fill property that used to specify "justify" or "fill" by some users. Efl.Gfx.Hint.hint_fill specify whether to fill the space inside the boundaries of a container/manager.
hint_margin (get, set) Hints for an object's margin or padding space.
hint_size_combined_max (get)
hint_size_combined_min (get)
hint_size_max (get, set) Hints on the object's maximum size.
hint_size_min (get, set) Hints on the object's minimum size.
protected set hint_size_restricted_max (get, set) Internal hints for an object's maximum size.
protected set hint_size_restricted_min (get, set) Internal hints for an object's minimum size.
hint_weight (get, set) Hints for an object's weight.
invalidate Implement this method to perform special actions when your object loses its parent, if you need to.
key_focus (get, set) Indicates that this object is the keyboard event receiver on its canvas.
key_grab Requests keyname key events be directed to obj.
key_ungrab Removes the grab on keyname key events by obj.
layer (get, set) The layer of its canvas that the given object will be part of.
loop (get)
lower_to_bottom Lower obj to the bottom of its layer.
pass_events (get, set) Whether an Evas object is to pass (ignore) events.
pointer_inside (get)
pointer_mode (get, set) Low-level pointer behaviour.
pointer_mode_by_device (get, set) Low-level pointer behaviour by device. See Efl.Canvas.Object.pointer_mode.get and Efl.Canvas.Object.pointer_mode.set for more explanation.
precise_is_inside (get, set) Whether to use precise (usually expensive) point collision detection for a given Evas object.
propagate_events (get, set) Whether events on a smart object's member should be propagated up to its parent.
provider_find Searches upwards in the object tree for a provider which knows the given class/interface.
raise_to_top Raise obj to the top of its layer.
render_op (get, set) Render mode to be used for compositing the Evas object.
repeat_events (get, set) Whether an Evas object is to repeat events to objects below it.
scale (get, set) The scaling factor of an object.
seat_event_filter (get, set) Whether input events from a given seat are enabled. If the filter list is empty (no seat is disabled) this object will report mouse, keyboard and focus events from any seat, otherwise those events will only be reported if the event comes from a seat that is not in the list.
seat_focus (get)
seat_focus_add Add a seat to the focus list.
seat_focus_check Check if this object is focused by a given seat
seat_focus_del Remove a seat from the focus list.
stack_above Stack obj immediately above
stack_below Stack obj immediately below
protected render_parent (get)
Efl.File
key (get, set) The key which corresponds to the target data within a file.
mmap (get, set) The mmaped file from where an object will fetch the real data (it must be an Eina.File).
Efl.Gfx.Color
color_code (get, set) Hexadecimal color code of given Evas object (#RRGGBBAA).
Efl.Gfx.Image
border_insets (get, set) Dimensions of this image's border, a region that does not scale with the center area.
border_insets_scale (get, set) Scaling factor applied to the image borders.
can_downscale (get, set) If true, the image may be scaled to a smaller size. If false, the image will never be resized smaller than its native size.
can_upscale (get, set) If true, the image may be scaled to a larger size. If false, the image will never be resized larger than its native size.
center_fill_mode (get, set) Specifies how the center part of the object (not the borders) should be drawn when EFL is rendering it.
content_hint (get, set) Content hint setting for the image. These hints might be used by EFL to enable optimizations.
content_region (get)
image_load_error (get)
image_size (get)
scale_hint (get, set) The scale hint of a given image of the canvas.
scale_method (get, set) Determine how the image is scaled at render time.
stretch_region (get, set) This property defines the stretchable pixels region of an image.
Efl.Gfx.Image_Load_Controller
load_async_cancel Cancel preloading an image object's image data in the background.
load_async_start Begin preloading an image object's image data in the background.
load_dpi (get, set) The DPI resolution of an image object's source image.
load_orientation (get, set) Defines whether the orientation information in the image file should be honored.
load_region (get, set) Inform a given image object to load a selective region of its source image.
load_region_support (get)
load_scale_down (get, set) The scale down factor is a divider on the original image size.
load_skip_header (get, set) Initial load should skip header check and leave it all to data load.
Efl.Gfx.Mapping
lighting_3d Apply a lighting effect on the object.
lighting_3d_absolute Apply a lighting effect to the object.
mapping_alpha (get, set) Alpha flag for map rendering.
mapping_clockwise (get)
mapping_color (get, set) Color of a vertex in the map.
mapping_coord_absolute (get, set) A point's absolute coordinate on the canvas.
mapping_has Read-only property indicating whether an object is mapped.
mapping_point_count (get, set) Number of points of a map.
mapping_reset Resets the map transformation to its default state.
mapping_smooth (get, set) Smoothing state for map rendering.
mapping_uv (get, set) Map point's U and V texture source point.
perspective_3d Apply a perspective transform to the map
perspective_3d_absolute Apply a perspective transform to the map
rotate Apply a rotation to the object.
rotate_3d Rotate the object around 3 axes in 3D.
rotate_3d_absolute Rotate the object around 3 axes in 3D, using absolute coordinates.
rotate_absolute Apply a rotation to the object, using absolute coordinates.
rotate_quat Rotate the object in 3D using a unit quaternion.
rotate_quat_absolute Rotate the object in 3D using a unit quaternion, using absolute coordinates.
translate Apply a translation to the object using map.
zoom Apply a zoom to the object.
zoom_absolute Apply a zoom to the object, using absolute coordinates.
Efl.Loop_Consumer
future_rejected Creates a new future that is already rejected to a specified error using the Efl.Loop_Consumer.loop.get.
future_resolved Creates a new future that is already resolved to a value.
parent (get, set) The parent of an object.
promise_new Create a new promise with the scheduler coming from the loop provided by this object.
Efl.Object
allow_parent_unref (get, set) Allow an object to be deleted by unref even if it has a parent.
children_iterator_new Get an iterator on all children.
comment (get, set) A human readable comment for the object.
composite_attach Make an object a composite object of another.
composite_detach Detach a composite object from another object.
composite_part_is Check if an object is part of a composite object.
event_callback_forwarder_del Remove an event callback forwarder for a specified event and object.
event_callback_forwarder_priority_add Add an event callback forwarder that will make this object emit an event whenever another object (source) emits it. The event is said to be forwarded from source to this object.
event_callback_stop Stop the current callback call.
event_freeze_count (get)
static event_global_freeze Globally freeze events for ALL EFL OBJECTS.
static event_global_freeze_count (get)
static event_global_thaw Globally thaw events for ALL EFL OBJECTS.
finalized (get)
invalidated (get)
invalidating (get)
name (get, set) The name of the object.
name_find Find a child object with the given name and return it.
provider_register Will register a manager of a specific class to be answered by Efl.Object.provider_find.
provider_unregister Will unregister a manager of a specific class that was previously registered and answered by Efl.Object.provider_find.
Efl.Playable
playable (get)
Efl.Player
playback_speed (get, set) Control the playback speed of the media file.

Events

button,change

Called when button changed
EFL_CANVAS_VIDEO_EVENT_BUTTON_CHANGE(void)


button,num,change

Called when button number changed
EFL_CANVAS_VIDEO_EVENT_BUTTON_NUM_CHANGE(void)


channels,change

Called when the channels changed
EFL_CANVAS_VIDEO_EVENT_CHANNELS_CHANGE(void)


frame,decode

Called when the frame was decoded
EFL_CANVAS_VIDEO_EVENT_FRAME_DECODE(void)


frame,resize

Called when the frame was resized
EFL_CANVAS_VIDEO_EVENT_FRAME_RESIZE(void)


length,change

Called when the length changed
EFL_CANVAS_VIDEO_EVENT_LENGTH_CHANGE(void)


open,done

Called when the files was opened
EFL_CANVAS_VIDEO_EVENT_OPEN_DONE(void)


playback,start

Called when playback started
EFL_CANVAS_VIDEO_EVENT_PLAYBACK_START(void)


playback,stop

Called when playback stopped
EFL_CANVAS_VIDEO_EVENT_PLAYBACK_STOP(void)


position,change

Called when the position changed
EFL_CANVAS_VIDEO_EVENT_POSITION_CHANGE(void)


position,load,done

Called when the position loaded
EFL_CANVAS_VIDEO_EVENT_POSITION_LOAD_DONE(void)


position,load,fail

Called when loading the position failed
EFL_CANVAS_VIDEO_EVENT_POSITION_LOAD_FAIL(void)


position,save,done

Called when the position was saved
EFL_CANVAS_VIDEO_EVENT_POSITION_SAVE_DONE(void)


position,save,fail

Called when saving the position failed
EFL_CANVAS_VIDEO_EVENT_POSITION_SAVE_FAIL(void)


progress,change

Called when the progress changed
EFL_CANVAS_VIDEO_EVENT_PROGRESS_CHANGE(void)


ref,change

Called when ref changed
EFL_CANVAS_VIDEO_EVENT_REF_CHANGE(void)


title,change

Called when the title changed
EFL_CANVAS_VIDEO_EVENT_TITLE_CHANGE(void)


volume,change

Called when volume changed
EFL_CANVAS_VIDEO_EVENT_VOLUME_CHANGE(void)


Inherited

Efl.Canvas.Group
member,added Called when a member is added to the group.
member,removed Called when a member is removed from the group.
Efl.Canvas.Object
animator,tick Animator tick synchronized with screen vsync if possible.
Efl.Gesture.Events
gesture,double_tap Emitted when a Double-tap gesture has been detected. A Double-tap gesture consists of two taps on the screen (or clicks of the mouse) in quick succession. If the second one is delayed for too long they will be detected as two independent Efl.Gesture.Events.gesture,tap events.
gesture,flick Emitted when a Flick gesture has been detected.
gesture,long_tap Emitted when a Long-tap gesture has been detected. A Long-tap gesture consists of a touch of the screen (or click of the mouse) followed by a release after some time. If the release happens too quickly a Efl.Gesture.Events.gesture,tap event will be emitted instead.
gesture,momentum Emitted when a Momentum gesture has been detected. A Momentum gesture consists of a quick displacement of the finger while touching the screen (or while holding down a mouse button).
gesture,tap Emitted when a Tap gesture has been detected. A Tap gesture consists of a touch of the screen (or click of the mouse) quickly followed by a release. If the release happens too late a Efl.Gesture.Events.gesture,long_tap event will be emitted instead.
gesture,triple_tap Emitted when a Triple-tap gesture has been detected. A Triple-tap gesture consists of three taps on the screen (or clicks of the mouse) in quick succession. If any of them is delayed for too long they will be detected as independent Efl.Gesture.Events.gesture,tap or Efl.Gesture.Events.gesture,double_tap events.
gesture,zoom Emitted when a Zoom gesture has been detected. A Zoom gesture consists of two fingers touching the screen and separating ("zoom in") or getting closer ("zoom out" or "pinch"). This gesture cannot be performed with a mouse as it requires more than one pointer.
Efl.Gfx.Entity
position,changed Object was moved, its position during the event is the new one.
size,changed Object was resized, its size during the event is the new one.
visibility,changed Object's visibility state changed, the event value is the new state.
Efl.Gfx.Hint
hints,changed Object hints changed.
Efl.Gfx.Image
image,preload_state,changed If true, image data has been preloaded and can be displayed. If false, the image data has been unloaded and can no longer be displayed.
image,resized Image was resized (its pixel data). The event data is the image's new size.
Efl.Gfx.Stack
stacking,changed Object stacking was changed.
Efl.Input.Interface
finger,down Finger pressed (finger id is known).
finger,move Finger moved (current and previous positions are known).
finger,up Finger released (finger id is known).
focus,in A focus in event.
focus,out A focus out event.
hold All input events are on hold or resumed.
key,down Keyboard key press.
key,up Keyboard key release.
pointer,axis Pen or other axis event update.
pointer,cancel Main pointer button press was cancelled (button id is known). This can happen in rare cases when the window manager passes the focus to a more urgent window, for instance. You probably don't need to listen to this event, as it will be accompanied by an up event.
pointer,down Main pointer button pressed (button id is known).
pointer,in Pointer entered a window or a widget.
pointer,move Main pointer move (current and previous positions are known).
pointer,out Pointer left a window or a widget.
pointer,up Main pointer button released (button id is known).
pointer,wheel Mouse wheel event.
Efl.Object
del Object is being deleted. See Efl.Object.destructor.
destruct Object has been fully destroyed. It can not be used beyond this point. This event should only serve to clean up any reference you keep to the object.
invalidate Object is being invalidated and losing its parent. See Efl.Object.invalidate.
noref Object has lost its last reference, only parent relationship is keeping it alive. Advanced usage.
ownership,shared Object has acquired a second reference. It has multiple owners now. Triggered whenever increasing the refcount from one to two, it will not trigger by further increasing the refcount beyond two.
ownership,unique Object has lost a reference and only one is left. It has just one owner now. Triggered whenever the refcount goes from two to one.