libgpac
Documentation of the core library of GPAC
|
#include <gpac/filters.h>
#include <gpac/constants.h>
#include <gpac/network.h>
#include <fcntl.h>
#include <unistd.h>
#include <errno.h>
Data Structures | |
struct | GF_PipeInCtx |
Macros | |
#define | PIPE_FLUSH_MARKER "GPACPIF" |
#define | PIPE_RECFG_MARKER "GPACPIR" |
#define | PIPE_CLOSE_MARKER "GPACPIC" |
#define | OFFS(_n) #_n, offsetof(GF_PipeInCtx, _n) |
Functions | |
static Bool | pipein_process_event (GF_Filter *filter, const GF_FilterEvent *evt) |
static GF_Err | pipein_initialize (GF_Filter *filter) |
static void | pipein_finalize (GF_Filter *filter) |
static GF_FilterProbeScore | pipein_probe_url (const char *url, const char *mime_type) |
static void | pipein_pck_destructor (GF_Filter *filter, GF_FilterPid *pid, GF_FilterPacket *pck) |
static GF_Err | pipein_process (GF_Filter *filter) |
const GF_FilterRegister * | pin_register (GF_FilterSession *session) |
Variables | |
static const GF_FilterArgs | PipeInArgs [] |
static const GF_FilterCapability | PipeInCaps [] |
GF_FilterRegister | PipeInRegister |
struct GF_PipeInCtx |
Data Fields | ||
---|---|---|
char * | src | |
char * | ext | |
char * | mime | |
u32 | block_size | |
u32 | bpcnt | |
u32 | timeout | |
Bool | blk | |
Bool | ka | |
Bool | mkp | |
Bool | sigflush | |
Bool | marker | |
u32 | read_block_size | |
GF_FilterPid * | pid | |
int | fd | |
u64 | bytes_read | |
Bool | is_end | |
Bool | pck_out | |
Bool | is_first | |
Bool | owns_pipe | |
Bool | do_reconfigure | |
char * | buffer | |
Bool | is_stdin | |
u32 | left_over | |
u32 | copy_offset | |
u8 | store_char | |
Bool | has_recfg | |
u32 | last_active_ms |
#define PIPE_FLUSH_MARKER "GPACPIF" |
#define PIPE_RECFG_MARKER "GPACPIR" |
#define PIPE_CLOSE_MARKER "GPACPIC" |
#define OFFS | ( | _n | ) | #_n, offsetof(GF_PipeInCtx, _n) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
const GF_FilterRegister* pin_register | ( | GF_FilterSession * | session | ) |
|
static |
|
static |
GF_FilterRegister PipeInRegister |