MediaProcessors
Macros | Functions
utests_proc.cpp File Reference

Generic processor (PROC) 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 <libmediaprocsutils/log.h>
#include <libmediaprocsutils/stat_codes.h>
#include <libmediaprocsutils/fifo.h>
#include <libmediaprocs/proc_if.h>
#include <libmediaprocs/proc.h>
Include dependency graph for utests_proc.cpp:

Go to the source code of this file.

Macros

#define FIFO_SIZE   2
 

Functions

static proc_ctx_tbypass_proc_open (const proc_if_t *, const char *settings_str, log_ctx_t *log_ctx, va_list arg)
 
static void bypass_proc_close (proc_ctx_t **ref_proc_ctx)
 
static int bypass_proc_rest_put (proc_ctx_t *, const char *str)
 
static int bypass_proc_rest_get (proc_ctx_t *, 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_PROC)
 

Detailed Description

Generic processor (PROC) module unit testing.

Author
Rafael Antoniello

Definition in file utests_proc.cpp.