libjpeg库解析

linux提供了jpeglib库用于MJPEG图像的压缩与解压缩等,编写V4L2应用程序,编译的时候加上选项-ljpeg表示使用jpeg库中的API函数

关于jpeg库API使用的说明在网站:http://refspecs.linuxfoundation.org/LSB_3.1.0/LSB-Desktop-generic/LSB-Desktop-generic/toclibjpeg.html

jpeglib下载地址:https://download.csdn.net/download/webster_wxh/10402734

linux 本机编译:

./configure
make 
sudo make install

hisiv200交叉编译:

./configure CC=arm-hisiv200-linux-gcc --prefix=/home/ubuntu/learn_git/origin/libjpeg/jepg-200 --enable-shared --enable-static --host=arm-hisiv200-linux

make 
make install 

猜你喜欢

转载自blog.csdn.net/webster_wxh/article/details/80259349