PSDK QNX API Guide

TI VPU resource manager library API delcarations. More...

#include "vpuapi.h"
#include <sys/slog.h>
#include <sys/slogcodes.h>
#include "main_helper.h"

Go to the source code of this file.

Enumerations

enum  vpu_buf_dir {
  TIVPU_BUFDIR_OUTPUT = 0 ,
  TIVPU_BUFDIR_INPUT
}
 vpu_buf_dir enumeration. Identifies if it is an input of an output buffer More...
 

Functions

void * vpu_codec_open (void)
 vpu_codec_open More...
 
void vpu_codec_close (void *hdl)
 vpu_codec_close More...
 
int32_t vpu_get_product_info (void *hdl, uint32_t coreIdx, VpuAttr *vpuHwInfo)
 vpu_get_product_info More...
 
int32_t vpu_enc_init (void *hdl, tivpu_enc_config_t *config)
 vpu_enc_init More...
 
int32_t vpu_enc_buf_prepare (void *hdl, vpu_buffer_t *bufs, int nbuf, vpu_buf_dir buf_dir)
 vpu_enc_buf_prepare More...
 
int32_t vpu_encode_frame (void *hdl, unsigned long ip_buf, unsigned long op_buf, unsigned long op_first_buf, uint8_t is_eos, vpu_enc_status_t *enc_status)
 vpu_encode_frame More...
 
int32_t vpu_enc_get_buf_info (void *hdl, uint32_t *nbuffers, uint32_t *max_size)
 vpu_enc_get_buf_info More...
 
int32_t vpu_enc_start_streaming (void *hdl)
 vpu_enc_start_streaming More...
 
int32_t vpu_enc_stop_streaming (void *hdl)
 vpu_enc_stop_streaming More...
 
int32_t vpu_enc_deinit (void *hdl)
 vpu_enc_deinit More...
 
int32_t vpu_dec_init (void *hdl, tivpu_dec_config_t *config)
 vpu_dec_init More...
 
int32_t vpu_dec_start_streaming (void *hdl)
 
int32_t vpu_dec_stop_streaming (void *hdl)
 
int32_t vpu_dec_deinit (void *hdl)
 
int32_t vpu_dec_close (void *hdl)
 
int32_t vpu_dec_buf_prepare (void *hdl, vpu_buffer_t *bufs, int nbuf, vpu_buf_dir buf_dir)
 vpu_dec_buf_prepare More...
 
int32_t vpu_decode_frame (void *hdl, unsigned long ip_buf, unsigned long op_buf, uint8_t is_eos, uint32_t in_filled_len, vpu_dec_status_t *dec_status)
 vpu_decode_frame More...
 

Detailed Description

TI VPU resource manager library API delcarations.