VLC  3.0.21
Functions
item.c File Reference
Include dependency graph for item.c:

Functions

static void playlist_Preparse (playlist_t *, playlist_item_t *)
 
static int RecursiveAddIntoParent (playlist_t *p_playlist, playlist_item_t *p_parent, input_item_node_t *p_node, int i_pos, bool b_flat, playlist_item_t **pp_first_leaf)
 
static int RecursiveInsertCopy (playlist_t *p_playlist, playlist_item_t *p_item, playlist_item_t *p_parent, int i_pos, bool b_flat)
 
static void input_item_add_subitem_tree (const vlc_event_t *p_event, void *user_data)
 
static void input_item_changed (const vlc_event_t *p_event, void *user_data)
 
static int playlist_ItemCmpId (const void *a, const void *b)
 
static int playlist_ItemCmpInput (const void *a, const void *b)
 
playlist_item_tplaylist_ItemNewFromInput (playlist_t *p_playlist, input_item_t *p_input)
 
void playlist_ItemRelease (playlist_t *p_playlist, playlist_item_t *p_item)
 Release an item. More...
 
playlist_item_tplaylist_ItemGetById (playlist_t *p_playlist, int id)
 Finds a playlist item by ID. More...
 
playlist_item_tplaylist_ItemGetByInput (playlist_t *p_playlist, const input_item_t *item)
 Finds a playlist item by input item. More...
 
void playlist_Clear (playlist_t *p_playlist, bool b_locked)
 Clear the playlist. More...
 
int playlist_Add (playlist_t *p_playlist, const char *psz_uri, bool play_now)
 Playlist add. More...
 
int playlist_AddExt (playlist_t *p_playlist, const char *psz_uri, const char *psz_name, bool play_now, int i_options, const char *const *ppsz_options, unsigned i_option_flags, bool b_playlist)
 Add a MRL into the playlist or the media library, duration and options given. More...
 
int playlist_AddInput (playlist_t *p_playlist, input_item_t *p_input, bool play_now, bool b_playlist)
 Add an input item to the playlist node. More...
 
playlist_item_tplaylist_NodeAddInput (playlist_t *p_playlist, input_item_t *p_input, playlist_item_t *p_parent, int i_pos)
 Add an input item to a given node. More...
 
int playlist_NodeAddCopy (playlist_t *p_playlist, playlist_item_t *p_item, playlist_item_t *p_parent, int i_pos)
 Copy an item (and all its children, if any) into another node. More...
 
int playlist_InsertInputItemTree (playlist_t *p_playlist, playlist_item_t *p_parent, input_item_node_t *p_node, int i_pos, bool b_flat)
 Insert a tree of input items into a given playlist node. More...
 
static int ItemIndex (playlist_item_t *p_item)
 
int playlist_TreeMove (playlist_t *p_playlist, playlist_item_t *p_item, playlist_item_t *p_node, int i_newpos)
 Moves an item. More...
 
int playlist_TreeMoveMany (playlist_t *p_playlist, int i_items, playlist_item_t **pp_items, playlist_item_t *p_node, int i_newpos)
 Moves an array of items. More...
 
void playlist_SendAddNotify (playlist_t *p_playlist, playlist_item_t *item)
 Send a notification that an item has been added to a node. More...
 
vlc_tick_t playlist_GetNodeDuration (playlist_item_t *node)
 Get the duration of all items in a node. More...
 
static void ChangeToNode (playlist_t *p_playlist, playlist_item_t *p_item)
 

Function Documentation

◆ ChangeToNode()

static void ChangeToNode ( playlist_t p_playlist,
playlist_item_t p_item 
)
static

◆ input_item_add_subitem_tree()

static void input_item_add_subitem_tree ( const vlc_event_t p_event,
void *  user_data 
)
static

◆ input_item_changed()

static void input_item_changed ( const vlc_event_t p_event,
void *  user_data 
)
static

◆ ItemIndex()

static int ItemIndex ( playlist_item_t p_item)
static

◆ playlist_ItemCmpId()

static int playlist_ItemCmpId ( const void *  a,
const void *  b 
)
static

◆ playlist_ItemCmpInput()

static int playlist_ItemCmpInput ( const void *  a,
const void *  b 
)
static

◆ playlist_Preparse()

static void playlist_Preparse ( playlist_t p_playlist,
playlist_item_t p_item 
)
static

Referenced by playlist_NodeAddInput().

◆ RecursiveAddIntoParent()

static int RecursiveAddIntoParent ( playlist_t p_playlist,
playlist_item_t p_parent,
input_item_node_t p_node,
int  i_pos,
bool  b_flat,
playlist_item_t **  pp_first_leaf 
)
static

◆ RecursiveInsertCopy()

static int RecursiveInsertCopy ( playlist_t p_playlist,
playlist_item_t p_item,
playlist_item_t p_parent,
int  i_pos,
bool  b_flat 
)
static

Referenced by playlist_NodeAddCopy().