MediaProcessors
|
PROC interface prototype related definitions and functions. More...
#include <sys/types.h>
#include <inttypes.h>
#include <stdarg.h>
Go to the source code of this file.
Classes | |
struct | proc_sample_fmt_lut_s |
struct | proc_frame_ctx_s |
struct | proc_if_s |
Macros | |
#define | PROC_FRAME_MAX_WIDTH 4096 |
#define | PROC_FRAME_MAX_HEIGHT 4096 |
#define | PROC_FRAME_NUM_DATA_POINTERS 8 |
#define | PROC_FEATURE_BITRATE 1 |
#define | PROC_FEATURE_REGISTER_PTS 2 |
#define | PROC_FEATURE_LATENCY 4 |
Typedefs | |
typedef struct proc_ctx_s | proc_ctx_t |
typedef struct proc_if_s | proc_if_t |
typedef struct log_ctx_s | log_ctx_t |
typedef struct fifo_ctx_s | fifo_ctx_t |
typedef enum proc_sample_fmt_enum | proc_sample_fmt_t |
typedef struct proc_sample_fmt_lut_s | proc_sample_fmt_lut_t |
typedef struct proc_frame_ctx_s | proc_frame_ctx_t |
typedef enum proc_if_rest_fmt_enum | proc_if_rest_fmt_t |
Enumerations | |
enum | proc_sample_fmt_enum { PROC_IF_FMT_UNDEF = 0, PROC_IF_FMT_YUV420P, PROC_IF_FMT_S16, PROC_IF_FMT_S16P } |
enum | proc_if_rest_fmt_enum { PROC_IF_REST_FMT_CHAR, PROC_IF_REST_FMT_CJSON, PROC_IF_REST_FMT_BINARY, PROC_IF_REST_FMT_ENUM_MAX } |
Functions | |
proc_frame_ctx_t * | proc_frame_ctx_allocate () |
proc_frame_ctx_t * | proc_frame_ctx_dup (const proc_frame_ctx_t *proc_frame_ctx_arg) |
void | proc_frame_ctx_release (proc_frame_ctx_t **ref_proc_frame_ctx) |
proc_if_t * | proc_if_allocate () |
proc_if_t * | proc_if_dup (const proc_if_t *proc_if_arg) |
int | proc_if_cmp (const proc_if_t *proc_if1, const proc_if_t *proc_if2) |
void | proc_if_release (proc_if_t **ref_proc_if) |
Variables | |
const proc_sample_fmt_lut_t | proc_sample_fmt_lut [] |
PROC interface prototype related definitions and functions.
Definition in file proc_if.h.
#define PROC_FRAME_MAX_HEIGHT 4096 |
#define PROC_FRAME_MAX_WIDTH 4096 |
typedef struct proc_frame_ctx_s proc_frame_ctx_t |
Input/output frame context structure. This aims to be a generic input/output frame structure for any kind of processing (e.g. video, audio, subtitles, data, ...). Not all the fields will be necessarily used by all the processors, in fact, most of the processors will only use a subset of these fields.
typedef enum proc_if_rest_fmt_enum proc_if_rest_fmt_t |
Processor REST-response (in GET operation) format enumerator. This definitions are used in the function callback 'proc_if_s::rest_get()' to indicate the format desired of the response.
typedef struct proc_sample_fmt_lut_s proc_sample_fmt_lut_t |
Processor samples format look-up table entry. Each entry of the look-up table consists in an identifier and a descriptive text.
typedef enum proc_sample_fmt_enum proc_sample_fmt_t |
Processor samples format types (enumeration of supported formats).
Processor REST-response (in GET operation) format enumerator. This definitions are used in the function callback 'proc_if_s::rest_get()' to indicate the format desired of the response.
Enumerator | |
---|---|
PROC_IF_REST_FMT_CHAR |
Character string response. |
PROC_IF_REST_FMT_CJSON |
cJSON structure response |
PROC_IF_REST_FMT_BINARY |
C structure or block of binary data. |
enum proc_sample_fmt_enum |
proc_frame_ctx_t* proc_frame_ctx_allocate | ( | ) |
proc_frame_ctx_t* proc_frame_ctx_dup | ( | const proc_frame_ctx_t * | proc_frame_ctx_arg | ) |
void proc_frame_ctx_release | ( | proc_frame_ctx_t ** | ref_proc_frame_ctx | ) |
proc_if_t* proc_if_allocate | ( | ) |
Compares if given processor interfaces are the equal.
proc_if1 | Pointer to the first processor interface context structure to be compared. |
proc_if2 | Pointer to the second processor interface context structure to be compared. |
void proc_if_release | ( | proc_if_t ** | ref_proc_if | ) |
const proc_sample_fmt_lut_t proc_sample_fmt_lut[] |