Questions tagged [libjpeg-turbo]

libjpeg-turbo is a fork of libjpeg that uses SIMD instructions to accelerate baseline JPEG encoding and decoding.

Home page on SourceForge

libjpeg-turbo is a derivative of libjpeg that uses SIMD instructions (MMX, SSE2, NEON) to accelerate baseline JPEG compression and decompression on x86, x86-64, and ARM systems. On such systems, 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 in 2009, including improved support for Mac OS X, 64-bit support, support for 32-bit and big-endian pixel formats (RGBX, XBGR, etc.), accelerated Huffman encoding/decoding, and various bug fixes.

libjpeg-turbo generally achieves 80-120% of the performance of TurboJPEG/IPP. It is faster in some areas but slower in others.

104 questions
0
votes
0 answers

how to update Vulnerable Library (libjpeg-turbo 1.5.3) in saleforce org Or application

update Vulnerable Library libjpeg-turbo 1.5.3 to latest version we have salesforce web application with salesforce org so found vulnerability issue in black duck scan tool so we need to update this library with updated version.
amol d
  • 1
  • 1
0
votes
1 answer

Your app is using a version of libjpeg-turbo containing a security vulnerability

Google play store gives me this error when I am trying to send my application for review. Your app is using a version of libjpeg-turbo containing a security vulnerability. Please see this Google Help Center article for details, including the…
Cristi
  • 1,488
  • 1
  • 14
  • 14
0
votes
2 answers

Build libjpeg-turbo as .dll

I am looking for parametr for build libjpeg-turbo as .dll using MSYS2. cmake -G"Unix Makefiles" -DENABLE_STATIC=ON -DENABLE_SHARED=ON ... I have tried all combinations of STATIC=ON/OFF and SHARED=ON/OFF but I always got .a or .dll.a files.
JaSHin
  • 211
  • 2
  • 16
  • 43
0
votes
1 answer

Upgrading pillow from version 8.3.2-> 9.1.1

I am upgrading pillow from version 8.3.2 to 9.1.1. A little confused by the release notes. version 9.0.0 and above are built against libjpeg-turbo. Does it mean we must have libjpeg-turbo installed on our servers as well? or is it fine to stick with…
0
votes
1 answer

How to call libjpeg API in an erroneous way?

I want to test my error handling code when using the libjpeg but I cannot find a suitable call which to produce an error. If I simply pass a nullptr to some of the calls expecting a pointer to a structure then the library just crashes. I want to…
bobeff
  • 3,543
  • 3
  • 34
  • 62
0
votes
0 answers

How to flip a JPEG image with libjpeg?

I have extracted a function that jpegtran used to flip a JPEG image verbatim (lossless). I have added my code to read file into a byte array, my goal is to write a function which takes a JPEG image in byte array and return flipped JPEG in byte array…
l.yang
  • 11
  • 2
0
votes
0 answers

Install libjpeg-turbo (>= 2.0.0) and use with meson

I am looking for a correct way to install libjpeg-turbo (>= 2.0.0) and use it with meson. I got installed libjpeg-turbo-official_2.1.1 deb. jpg_dep = dependency('libjpeg', fallback: ['libjpeg-turbo', 'jpeg_dep'], version: '>= 2.0.0', required:…
0
votes
0 answers

Is there a way to store packet header information from an incoming h.264 stream?

The issue: I need to convert an h.264 stream streamed over RTP into MJPEG, but for very convoluted reasons I am required to use the libjpeg-turbo library, not the mjpeg encoder that comes with ffmpeg. So the only thing FFMPEG needs to do is convert…
0
votes
1 answer

Jpeg Turbo works with Color but not greyscale

I am wrote a function with Jpeg Turbo to allow it to do compression and it looks something like this: bool JPEGCompress::compress(const uint8_t* data, size_t width, size_t height, ImageFrame::image_type type, std::string& out) { // Prealloc if…
raaj
  • 2,869
  • 4
  • 38
  • 58
0
votes
1 answer

What is "CCIR601_sampling" in libjpeg?

As the title states: Both the jpeg_compress_struct and the jpeg_decompress_struct in libjpeg have a field defined like this: boolean CCIR601_sampling; /* TRUE=first samples are cosited */ I am having a hard time figuring out what this means, or…
Greg Kennedy
  • 430
  • 4
  • 23
0
votes
1 answer

How to add libjpeg-turbo Android NDK as static library

I want to use libjpeg-turbo (exactly only libjpeg) in my Android NDK project. I can't find how to completely add the library to my project. Firstly, I build it by using BUILDING.md (as four ANDROID_ABI: arm64-v8a, armeabi-v7a, x86,…
M. Liver
  • 121
  • 6
0
votes
1 answer

How to compile libvips with libjpeg-turbo8 instead of libjpeg

I would like to compile libvips with libjpeg-turbo8 to get a better performance, but I'm having trouble replacing it. When both libjpeg and libjpeg-turbo8 are installed, the regular libjpeg seems to be used during compilation as the performance is…
duocorn
  • 43
  • 1
  • 8
0
votes
0 answers

R installation of package fails /usr/bin/ld: cannot fild -ljpeg

Installing the R package jpeg fails on a CentOS server for which I have no sudo access. I'm using R 3.6.3. I've compiled libjpeg-turbo 1.5.2 and added the appropriate paths to PATH and LD_LIBRARY_PATH and put jpeglib.h and the other files from…
matt
  • 318
  • 3
  • 11
0
votes
1 answer

Building libjpeg-turbo with conan fails on windows

I am trying to build libjpeg-turbo package with conan on Windows: conan install libjpeg-turbo/1.5.2@bincrafters/stable But it fails with: libjpeg-turbo/1.5.2@bincrafters/stable: Not found in local cache, looking in…
Michał Walenciak
  • 4,257
  • 4
  • 33
  • 61
0
votes
1 answer

What files to include for linking libjpeg-turbo in Visual Studio C++ 2017

I installed the library with vcpkg: https://github.com/Microsoft/vcpkg In the PowerShell (Admin): .\vcpkg install libjpeg-turbo:x64-windows-static .\vcpkg integrate install I added reference to the library in : Configuration Properties > C/C++ >…
Hel
  • 137
  • 2
  • 9