Obtains the requested TMV buffer allocation.
The Ascend 310 AI Processor does not support this API in the current version.
The Ascend 910 AI Processor does not support this API in the current version.
This API is provided to calculate the requested TMV buffer allocation so that the corresponding parameters can be initialized during channel creation.
hi_u32 hi_vdec_get_tmv_buf_size(hi_payload_type type, hi_u32 width, hi_u32 height)
Parameter |
Input/Output |
Description |
|---|---|---|
type |
Input |
Decode type. |
width |
Input |
Width of the image to decode. |
height |
Input |
Height of the image to decode. |
Size of the TMV buffer.
For the API call sequence, see VDEC.