MediaProcessors
|
#include "bypass.h"
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <pthread.h>
#include <libcjson/cJSON.h>
#include <libmediaprocsutils/log.h>
#include <libmediaprocsutils/stat_codes.h>
#include <libmediaprocsutils/check_utils.h>
#include <libmediaprocsutils/fifo.h>
#include <libmediaprocs/proc_if.h>
#include <libmediaprocs/proc.h>
Go to the source code of this file.
Classes | |
struct | bypass_settings_ctx_s |
struct | bypass_ctx_s |
Typedefs | |
typedef struct bypass_settings_ctx_s | bypass_settings_ctx_t |
typedef struct bypass_ctx_s | bypass_ctx_t |
Functions | |
static proc_ctx_t * | bypass_open (const proc_if_t *proc_if, const char *settings_str, log_ctx_t *log_ctx, va_list arg) |
static void | bypass_close (proc_ctx_t **ref_proc_ctx) |
static int | bypass_process_frame (proc_ctx_t *proc_ctx, fifo_ctx_t *iput_fifo_ctx, fifo_ctx_t *oput_fifo_ctx) |
static int | bypass_rest_put (proc_ctx_t *proc_ctx, const char *str) |
static int | bypass_rest_get (proc_ctx_t *proc_ctx, const proc_if_rest_fmt_t rest_fmt, void **ref_reponse) |
static int | bypass_settings_ctx_init (volatile bypass_settings_ctx_t *bypass_settings_ctx, log_ctx_t *log_ctx) |
static void | bypass_settings_ctx_deinit (volatile bypass_settings_ctx_t *bypass_settings_ctx, log_ctx_t *log_ctx) |
Variables | |
const proc_if_t | proc_if_bypass |
Definition in file bypass.c.
typedef struct bypass_ctx_s bypass_ctx_t |
Bypass processor context structure.
typedef struct bypass_settings_ctx_s bypass_settings_ctx_t |
Bypass processor settings context structure.
|
static |
Implements the proc_if_s::close callback. See .proc_if.h for further details.
|
static |
Implements the proc_if_s::open callback. See .proc_if.h for further details.
|
static |
Implements the proc_if_s::process_frame callback. See .proc_if.h for further details.
|
static |
Implements the proc_if_s::rest_get callback. See .proc_if.h for further details.
|
static |
Implements the proc_if_s::rest_put callback. See .proc_if.h for further details.
|
static |
|
static |
Initialize specific bypass processor settings to defaults.
bypass_settings_ctx | |
log_ctx |
const proc_if_t proc_if_bypass |
Processor interface implementing the "bypass" processor.