33 #ifndef _TI_OMAX_WRAPPER_H_ 34 #define _TI_OMAX_WRAPPER_H_ #define CODEC_MAX_BUFFER_DEPTH
Definition: codec_wrapper.h:55
void appOMXPrintStats()
Prints the current count of the numbers of buffers pushed/pulled to/from the OMXPipeline. Not multi-thread safe.
#define CODEC_MAX_NUM_CHANNELS
Definition: codec_wrapper.h:59
#define CODEC_MAX_NUM_PLANES
Definition: codec_wrapper.h:54
int32_t appOMXStop()
Stops the OMXPipeline that was in playing state. If there is no Decode element, waits to recieve EOS ...
int32_t appOMXEnqAppDec(uint8_t idx)
Release a previously pulled OMXBuffer back to GStreamer and cleanup.
int32_t appOMXStart()
Starts the OMXPipeline that was launched previously.
int32_t appOMXEnqAppEnc(uint8_t idx)
Push a buffer from the bufferpool to the Encode element.
int32_t appOMXInit(app_codec_wrapper_params_t *prm)
Launches the OMXPipeline described by user defined parameters.
void appOMXDeInit()
Unmaps all buffers that were mapped and destroys all GStreamer objects.
int32_t appOMXDeqAppDec(uint8_t idx)
Pull a buffer from the Decode element into the bufferpool.
int32_t appOMXDeqAppEnc(uint8_t idx)
Wait for a previously pushed buffer to be consumed by the OMXPipeline.
int32_t appOMXDecInit(void *(*data_ptr)[CODEC_MAX_NUM_CHANNELS][CODEC_MAX_NUM_PLANES])
Initializes the Decode elements to be able to pull buffers from the OMXPipeline. Registers the data_p...
int32_t appOMXEncInit(void *data_ptr[CODEC_MAX_BUFFER_DEPTH][CODEC_MAX_NUM_CHANNELS][CODEC_MAX_NUM_PLANES])
Initializes the Encode elements to be able to push buffers to the OMXPipeline. Wraps the given alloca...
int32_t appOMXEnqEosAppEnc()
Push EOS (End Of Stream) to the Encode element. Signals the elements to stop processing buffers after...
Init parameters.
Definition: codec_wrapper.h:66