MediaProcessors
Classes | Macros | Typedefs | Functions
utests_procs.cpp File Reference

Processors (PROCS) module unit testing. More...

#include <UnitTest++/UnitTest++.h>
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <string.h>
#include <libcjson/cJSON.h>
#include <libmediaprocsutils/uri_parser.h>
#include <libmediaprocsutils/log.h>
#include <libmediaprocsutils/check_utils.h>
#include <libmediaprocsutils/stat_codes.h>
#include <libmediaprocsutils/fifo.h>
#include <libmediaprocs/proc_if.h>
#include <libmediaprocs/procs.h>
#include <libmediaprocs/proc.h>
Include dependency graph for utests_procs.cpp:

Go to the source code of this file.

Classes

struct  bypass_proc_ctx_s
 

Macros

#define FIFO_SIZE   2
 

Typedefs

typedef struct bypass_proc_ctx_s bypass_proc_ctx_t
 

Functions

static void bypass_proc_close (proc_ctx_t **ref_proc_ctx)
 
static int bypass_proc_rest_put (proc_ctx_t *proc_ctx, const char *str)
 
static proc_ctx_tbypass_proc_open (const proc_if_t *proc_if, const char *settings_str, log_ctx_t *log_ctx, va_list arg)
 
static int bypass_proc_rest_get (proc_ctx_t *proc_ctx, const proc_if_rest_fmt_t rest_fmt, void **ref_reponse)
 
static int bypass_proc_process_frame (proc_ctx_t *proc_ctx, fifo_ctx_t *fifo_ctx_iput, fifo_ctx_t *fifo_ctx_oput)
 
 SUITE (UTESTS_PROCS)
 

Detailed Description

Processors (PROCS) module unit testing.

Author
Rafael Antoniello

Definition in file utests_procs.cpp.