![]() |
TIOVX User Guide
|
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... | |
| 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.
| [in] | graph | The reference to the graph. |
| [in] | configuration | The input object of a single params structure of type tivx_video_decoder_params_t. |
| [in] | input_bitstream | The 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_image | Decoded output. Use VX_DF_IMAGE_NV12 dataformat. QCIF resolution (176x144) is not supported. |
TIVX_KERNEL_VIDEO_DECODER_NAMEvx_node. | vx_node | A node reference. Any possible errors preventing a successful creation should be checked using vxGetStatus |
| void tivx_video_decoder_params_init | ( | tivx_video_decoder_params_t * | prms | ) |
Function to initialize Video Decoder Parameters.
| prms | [in] Pointer to Video Decoder parameters |