hi_venc_h264_attr
Description
Defines the H.264 encoding attributes.
Prototype
hi_venc_h264_attr = {"rcn_ref_share_buf_en": rcn_ref_share_buf_en, # RW; Range:[0, 1];Whether to enable the Share Buf of Rcn and Ref
"frame_buf_ratio": frame_buf_ratio}
Members
Member |
Description |
|---|---|
rcn_ref_share_buf_en |
Buffer sharing enable for the reference frame and write-back frame. Reserved. Value range: [0, 1]. 1: enabled; 0: disabled. This is a static attribute. |
frame_buf_ratio |
Frame buffer ratio. After being set, the system compresses the frame buffer based on the ratio. Value range: [70, 100] For example, if frame_buf_ratio is set to 80, the frame buffer size is 80% of the original size.
|
Parent topic: Video/Image Encoding