BSD Ports

graphics/libjpeg-turbo MidnightBSD

SIMD-accelerated JPEG codec library, provides libTurboJPEG

System
MidnightBSD
Repository
mports
Categories

Description

This is the libjpeg-turbo library.

libjpeg-turbo is a high-speed version of libjpeg for x86 and x86-64 processors which uses SIMD instructions (MMX, SSE2, etc.) to accelerate baseline JPEG compression and decompression. libjpeg-turbo is generally 2-4x as fast as the unmodified version of libjpeg, all else being equal.

libjpeg-turbo was originally based on libjpeg/SIMD by Miyasaka Masaru, but the TigerVNC and VirtualGL projects made numerous enhancements to the codec, including improved support for Mac OS X, 64-bit support, support for 32-bit and big endian pixel formats (RGBA, ABGR, etc.), accelerated Huffman encoding/decoding, and various bug fixes. The goal was to produce a fully open source codec that could replace the partially closed source TurboJPEG/IPP codec used by VirtualGL and TurboVNC. libjpeg-turbo generally achieves 80-120% of the performance of TurboJPEG/IPP. It is faster in some areas but slower in others.

In the other systems

SystemPortVersion
MidnightBSDgraphics/libjpeg-turbo
FreeBSDgraphics/libjpeg-turbo3.1.4.1
NetBSDgraphics/libjpeg-turbo3.2.0nb2
DragonFlygraphics/libjpeg-turbo3.1.0
HardenedBSDgraphics/libjpeg-turbo3.1.4.1
GhostBSDgraphics/libjpeg-turbo3.1.4.1

Install

Binary package:

mport install lib

From mports:

cd /usr/mports/graphics/libjpeg-turbo && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	lib>0:graphics/libjpeg-turbo

Dependencies

Required by 1