26 #ifndef MEDIAPROCESSORS_SRC_PROC_IF_H_ 27 #define MEDIAPROCESSORS_SRC_PROC_IF_H_ 29 #include <sys/types.h> 44 #define PROC_FRAME_MAX_WIDTH 4096 48 #define PROC_FRAME_MAX_HEIGHT 4096 79 #define PROC_FRAME_NUM_DATA_POINTERS 8 94 const uint8_t *p_data[PROC_FRAME_NUM_DATA_POINTERS];
107 int linesize[PROC_FRAME_NUM_DATA_POINTERS];
113 size_t width[PROC_FRAME_NUM_DATA_POINTERS];
119 size_t height[PROC_FRAME_NUM_DATA_POINTERS];
161 PROC_IF_REST_FMT_ENUM_MAX
191 #define PROC_FEATURE_BITRATE 1 //< Implements i/o bitrate statistics. 192 #define PROC_FEATURE_REGISTER_PTS 2 //< Implements i/o PTS statistics 193 #define PROC_FEATURE_LATENCY 4 //< Implements latency statistics. 295 int (*opt)(
proc_ctx_t *proc_ctx,
const char *tag, va_list arg);
324 void (*iput_fifo_elem_opaque_release)(
void **ref_t);
C structure or block of binary data.
struct proc_if_s proc_if_t
struct proc_frame_ctx_s proc_frame_ctx_t
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_if_release(proc_if_t **ref_proc_if)
uint64_t flag_proc_features
struct proc_sample_fmt_lut_s proc_sample_fmt_lut_t
int proc_if_cmp(const proc_if_t *proc_if1, const proc_if_t *proc_if2)
Character string response.
enum proc_sample_fmt_enum proc_sample_fmt_t
Planar YUV 4:2:0 with 12bpp (video)
enum proc_if_rest_fmt_enum proc_if_rest_fmt_t
const proc_sample_fmt_lut_t proc_sample_fmt_lut[]
Planar signed 16 bits (typically audio)
void proc_frame_ctx_release(proc_frame_ctx_t **ref_proc_frame_ctx)
proc_if_t * proc_if_allocate()
Interleaved signed 16 bits (typically audio)
proc_if_t * proc_if_dup(const proc_if_t *proc_if_arg)