TIOVX User Guide

Detailed Description

Video Encoder Kernels.

Modules

 Enumerations
 Enumerations for bitstream format in Video Encoder structures.
 

Data Structures

struct  tivx_video_encoder_params_t
 The configuration data structure used by the VIDEO_ENCODER kernel. More...
 

Defines

#define TIVX_KERNEL_VIDEO_ENCODER_NAME   "com.ti.hwa.video_encoder"
 video_encoder kernel name
 

Functions

void tivxRegisterHwaTargetVencKernels (void)
 Function to register HWA Kernels on the video_encoder Target.
 
void tivxUnRegisterHwaTargetVencKernels (void)
 Function to un-register HWA Kernels on the video_encoder Target.
 
VX_API_ENTRY vx_node VX_API_CALL tivxVideoEncoderNode (vx_graph graph, vx_user_data_object configuration, vx_image input_image, vx_user_data_object output_bitstream)
 [Graph] Creates a VIDEO_ENCODER Node. More...
 
void tivx_video_encoder_params_init (tivx_video_encoder_params_t *prms)
 Function to initialize Video Encoder Parameters. More...
 

Function Documentation

◆ tivxVideoEncoderNode()

VX_API_ENTRY vx_node VX_API_CALL tivxVideoEncoderNode ( vx_graph  graph,
vx_user_data_object  configuration,
vx_image  input_image,
vx_user_data_object  output_bitstream 
)

[Graph] Creates a VIDEO_ENCODER Node.

Parameters
[in]graphThe reference to the graph.
[in]configurationThe input object of a single params structure of type tivx_video_encoder_params_t.
[in]input_imageThe output to be encoded. Use VX_DF_IMAGE_NV12 dataformat.
[out]output_bitstreamThe output object of a uint8_t buffer. Formatted as an H264 i-frame only stream.
See also
TIVX_KERNEL_VIDEO_ENCODER_NAME
Returns
vx_node.
Return values
vx_nodeA node reference. Any possible errors preventing a successful creation should be checked using vxGetStatus

◆ tivx_video_encoder_params_init()

void tivx_video_encoder_params_init ( tivx_video_encoder_params_t prms)

Function to initialize Video Encoder Parameters.

Parameters
prms[in] Pointer to Video Encoder parameters