Files
BPI-CM9-Linux/aml-comp/hardware/amlogic/libencoder/h265/readme.doc
T

53 lines
28 KiB
Plaintext
Raw Normal View History

2026-08-13 11:28:40 +08:00
ĐĎࡱá>ţ˙ ţ˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙ý˙˙˙ţ˙˙˙1ţ˙˙˙
 !"#$%&'()*+,-./0ţ˙˙˙23456ţ˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙Root Entry˙˙˙˙˙˙˙˙ ŔFŕŕ¨ň5ÔSummaryInformation(˙˙˙˙ÄDocumentSummaryInformation8˙˙˙˙˙˙˙˙˙˙˙˙\WordDocument˙˙˙˙˙˙˙˙.Tţ˙˙˙
ţ˙˙˙ţ˙˙˙ !"#$%&'()*+,-./0123456789:;<=>?ţ˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙ţ˙
ŕ…źňůOh«‘+'łŮ0”
p€x€�¸
Đ Ü
čôü ڰyao.liu Normal.dotmYao.Liu@@ˇy<O@��űpóĎ@řIň5Ô<WPS Office_10.1.0.7469_F1E327BC-269C-435d-A152-05C5408002CAţ˙
ŐÍŐś.“—+,ů®DŐÍŐś.“—+,ů®Ä€H€PX`h px° �(\€dlKSOProductBuildVer°2052-10.1.0.7469'üĎg'üĎg˙.0Table˙˙˙˙> Data
˙˙˙˙˙˙˙˙˙˙˙˙ţ˙˙˙WpsCustomData˙˙˙˙˙˙˙˙˙˙˙˙ ˙˙˙˙˙˙˙˙˙˙˙˙ěĄÁ‰� PżtKSKSĂ.Tş˙˙˙˙˙˙¤`¨`¨U ltŚ" (< ĺ
$}h7Fi «@X L 
Compile steps:
1.cd EncoderAPI-HEVC/hevc_enc, make ARM=1
2.cd EncoderAPI-HEVC, make ARM=1
The above two steps will compile and generate executable file testHevcApi.
Test steps:
adb push testHevcApi /data/
chmod 777 /data/testHevcApi
adb push 2200x2720-nv12.yuv /sdcard/
/data/testHevcApi /sdcard/2200x2720-nv12.yuv /sdcard/output.h265 2200 2720
6 30 20000000 8 1
The above fourth step will generate the encoding file output.h265.
Here is the detailed parameter description.
/data/testHevcApi srcfile outfile width height gop framerate bitrate num fmt
ParameterDescriptionsrcfilesource yuv data urloutfileencoded h265 stream url widthsource yuv widthheightsource yuv heightgopI frame refresh interval(0: only one I frame)framerateframerate(fps)bitratebitrate(Mbps)numencode frame countfmtsource yuv format( 0:nv21, 1:nv12)
Example:
/data/testHevcApi /sdcard/720p-nv12.yuv /sdcard/output.h265 1280 720 0 30 1000000 30 1
/data/testHevcApi /sdcard/1080p-nv21.yuv /sdcard/output.h265 1920 1080 5 30 3000000 30 0
/data/testHevcApi /sdcard/2200x2720-nv12.yuv /sdcard/output.h265 2200 2720 5 30 20000000 8 1
Hevc Encoder API description:
FunctionDescriptionParameterv
$
ş
Ľ
Ŕ
űđĺÝŐÍĹ˝µ­©ž“‹�{skc[SCCJOJo(aJmH sH nHtHCJOJo(aJCJOJo(aJCJOJo(aJCJOJo(aJCJOJo(aJCJOJo(aJCJOJo(aJCJOJo(aJCJOJo(aJ5\CJOJo(aJ5\OJo(CJOJo(aJCJOJo(aJCJOJo(aJCJOJo(aJCJOJo(aJCJOJo(aJCJOJo(aJCJOJo(aJ5\CJOJo(aJ5\OJo(Ŕ
Ć
Ę
Ř
Ú
Ţ