Channel circle › core 5 Media
5 Media: core-level functions
The functions that make up the core channel itself.
16 functions
| Signature | Purpose | Source | Scope |
|---|---|---|---|
| struct MediaChannel * MediaChannelGet(void) | (no comment) | MediaChannel.c:17 | public |
| struct MediaChannel * OpenMediaChannel(void) | (no comment) | MediaChannel.c:22 | public |
| void CloseMediaChannel(struct MediaChannel *mc) | (no comment) | MediaChannel.c:62 | public |
| int MediaJoinChannel(struct MediaChannel *mc, struct Channel *peer) | (no comment) | MediaChannel.c:84 | public |
| int MediaLeaveChannel(struct MediaChannel *mc, struct Channel *peer) | (no comment) | MediaChannel.c:107 | public |
| int MediaSubOpen(struct MediaChannel *mc, uint32_t sub_id) | (no comment) | MediaChannel.c:124 | public |
| int MediaSubClose(struct MediaChannel *mc, uint32_t sub_id) | (no comment) | MediaChannel.c:166 | public |
| struct Runtime * MediaSubRuntime(struct MediaChannel *mc, uint32_t sub_id) | The standard runtime (Join/Leave/Read/Write/Open/Close) of an open sub, so a caller that only has the MediaChannel reaches Slideshow / VideoCat (and the others) through it. NULL if the sub is not open. | MediaChannel.c:188 | public |
| static int MediaOp(struct MediaChannel *c, uint32_t op, uint32_t a, uint64_t b) | (no comment) | MediaChannel.c:202 | static |
| static void MediaRd(struct MediaChannel *c, uint32_t *m, uint32_t *a, uint64_t *b) | (no comment) | MediaChannel.c:210 | static |
| static void * Lock(void *data, void **p_pixels) | VLC prepares to render a video frame. | PlayerChannel.c:32 | static |
| static void Unlock(void *data, void *id, void *const *p_pixels) | VLC just rendered a video frame. | PlayerChannel.c:42 | static |
| struct PlayerChannel* OpenPlayerChannel() | (no comment) | PlayerChannel.c:69 | public |
| void ClosePlayerChannel(struct PlayerChannel *pc) | Frees what the channel owns: the instance (AllocMem'd) and its slot. Play() keeps its texture/mutex local and destroys them itself, so the channel owns no GPU texture today. | PlayerChannel.c:76 | public |
| static void Display(void *data, void *id) | VLC wants to display a video frame. | PlayerChannel.c:84 | static |
| int Play(char *tFileName, SDL_Window *tWindowPtr) | (no comment) | PlayerChannel.c:103 | public |