![]() |
ISVP-SDK
3.12.0
Ingenic Smart Video Platform SDK
|
Define encoder attribute structure. More...
#include <imp_encoder.h>

Data Fields | |
| IMPPayloadType | enType |
| encode protocal type | |
| uint32_t | bufSize |
| Configure buffer size,shouldn't be less than width*height*3/2. More... | |
| uint32_t | profile |
| encode profile, 0: baseline; 1:MP; 2:HP | |
| uint32_t | picWidth |
| frame width, must be 16 aligned,shouldn't less than 256 | |
| uint32_t | picHeight |
| frame height, shouldn't less than 16 | |
| IMPEncoderCropCfg | crop |
| crop attribute, only for h264 protocol | |
| IMPEncoderUserDataCfg | userData |
| insert userdata attribute, only for h264 | |
Define encoder attribute structure.
| uint32_t bufSize |
Configure buffer size,shouldn't be less than width*height*3/2.
When setting the channel encoding property, set this parameter to 0, IMP will automatically calculate the size
1.8.8