Difference between revisions of "Rock5/guide/rockchip-mpp"
(Created page with "{{rock5_header}} {{Languages|rock5/guide/rockchip-mpp}} ROCK 5 > Guide > Rockchip MPP == Rockchip MPP ==") |
|||
Line 5: | Line 5: | ||
== Rockchip MPP == | == Rockchip MPP == | ||
+ | |||
+ | === Build MPP on ROCK 5B=== | ||
+ | |||
+ | Download essential packages. | ||
+ | |||
+ | rock@rock-5b:~$ sudo apt install -y git make cmake gcc g++ wget | ||
+ | |||
+ | Download mpp source code. | ||
+ | |||
+ | rock@rock-5b:~$ wget https://github.com/rockchip-linux/mpp/archive/refs/heads/develop.zip | ||
+ | rock@rock-5b:~$ unzip develop.zip | ||
+ | rock@rock-5b:~$ cd ~/mpp-develop/build/linux/aarch64 | ||
+ | rock@rock-5b:~/mpp-develop/build/linux/aarch64$ ./make-Makefiles.bash | ||
+ | rock@rock-5b:~/mpp-develop/build/linux/aarch64$ make | ||
+ | |||
+ | Check mpp demo. | ||
+ | |||
+ | rock@rock-5b:~/mpp-develop/build/linux/aarch64$ ls test/ | ||
+ | CMakeFiles mpi_dec_mt_test mpi_dec_test mpi_rc2_test | ||
+ | Makefile mpi_dec_multi_test mpi_enc_mt_test mpp_info_test | ||
+ | cmake_install.cmake mpi_dec_nt_test mpi_enc_test vpu_api_test |
Revision as of 04:07, 26 December 2022
ROCK 5 > Guide > Rockchip MPP
Rockchip MPP
Build MPP on ROCK 5B
Download essential packages.
rock@rock-5b:~$ sudo apt install -y git make cmake gcc g++ wget
Download mpp source code.
rock@rock-5b:~$ wget https://github.com/rockchip-linux/mpp/archive/refs/heads/develop.zip rock@rock-5b:~$ unzip develop.zip rock@rock-5b:~$ cd ~/mpp-develop/build/linux/aarch64 rock@rock-5b:~/mpp-develop/build/linux/aarch64$ ./make-Makefiles.bash rock@rock-5b:~/mpp-develop/build/linux/aarch64$ make
Check mpp demo.
rock@rock-5b:~/mpp-develop/build/linux/aarch64$ ls test/ CMakeFiles mpi_dec_mt_test mpi_dec_test mpi_rc2_test Makefile mpi_dec_multi_test mpi_enc_mt_test mpp_info_test cmake_install.cmake mpi_dec_nt_test mpi_enc_test vpu_api_test