TIOVX User Guide

Detailed Description

Video Decoder Kernels.

Modules

 Bitstream Format Enumerations
 Enumerations for bitstream format in Video Decoder structures for tivx_video_decoder_params_t::bitstream_format.
 

Data Structures

struct  tivx_video_decoder_params_t
 The configuration data structure used by the VIDEO_DECODER kernel. More...
 

Defines

#define TIVX_KERNEL_VIDEO_DECODER_NAME   "com.ti.hwa.video_decoder"
 video_decoder kernel name
 

Functions

void tivxRegisterHwaTargetVdecKernels (void)
 Function to register HWA Kernels on the video_decoder Target.
 
void tivxUnRegisterHwaTargetVdecKernels (void)
 Function to un-register HWA Kernels on the video_decoder Target.
 
VX_API_ENTRY vx_node VX_API_CALL tivxVideoDecoderNode (vx_graph graph, vx_user_data_object configuration, vx_user_data_object input_bitstream, vx_image output_image)
 [Graph] Creates a VIDEO_DECODER Node. More...
 
void tivx_video_decoder_params_init (tivx_video_decoder_params_t *prms)
 Function to initialize Video Decoder Parameters. More...
 

Function Documentation

◆ tivxVideoDecoderNode()

VX_API_ENTRY vx_node VX_API_CALL tivxVideoDecoderNode ( vx_graph  graph,
vx_user_data_object  configuration,
vx_user_data_object  input_bitstream,
vx_image  output_image 
)

[Graph] Creates a VIDEO_DECODER Node.

Parameters
[in]graphThe reference to the graph.
[in]configurationThe input object of a single params structure of type tivx_video_decoder_params_t.
[in]input_bitstreamThe input object of a vx_uint8 buffer. The vx_user_data_object should be sized as per worst case (uncompressed) bitstream size. For each frame of input, the TIVX_USER_DATA_OBJECT_VALID_SIZE attribute should be set on the input_bitstream vx_user_data_object to reflect the size of the specific bitstream buffer frame. Must be formatted as an H264 i-frame only stream.
[out]output_imageDecoded output. Use VX_DF_IMAGE_NV12 dataformat. QCIF resolution (176x144) is not supported.
See also
TIVX_KERNEL_VIDEO_DECODER_NAME
Returns
vx_node.
Return values
vx_nodeA node reference. Any possible errors preventing a successful creation should be checked using vxGetStatus

◆ tivx_video_decoder_params_init()

void tivx_video_decoder_params_init ( tivx_video_decoder_params_t prms)

Function to initialize Video Decoder Parameters.

Parameters
prms[in] Pointer to Video Decoder parameters