| /external/skia/third_party/libjpeg-turbo/ |
| D | BUILD.gn | 3 # Use of this source code is governed by a BSD-style license that can be 13 system("libjpeg") { 17 third_party("libjpeg") { 20 "../externals/libjpeg-turbo", 38 "../externals/libjpeg-turbo/jaricom.c", 39 "../externals/libjpeg-turbo/jcapimin.c", 40 "../externals/libjpeg-turbo/jcapistd.c", 41 "../externals/libjpeg-turbo/jcarith.c", 42 "../externals/libjpeg-turbo/jccoefct.c", 43 "../externals/libjpeg-turbo/jccolor.c", [all …]
|
| /external/libjpeg-turbo/ |
| D | README.md | 4 libjpeg-turbo is a JPEG image codec that uses SIMD instructions to accelerate 5 baseline JPEG compression and decompression on x86, x86-64, Arm, PowerPC, and 6 MIPS systems, as well as progressive JPEG compression on x86, x86-64, and Arm 7 systems. On such systems, libjpeg-turbo is generally 2-6x as fast as libjpeg, 8 all else being equal. On other types of systems, libjpeg-turbo can still 9 outperform libjpeg by a significant amount, by virtue of its highly-optimized 10 Huffman coding routines. In many cases, the performance of libjpeg-turbo 11 rivals that of proprietary high-speed JPEG codecs. 13 libjpeg-turbo implements both the traditional libjpeg API as well as the less 14 powerful but more straightforward TurboJPEG API. libjpeg-turbo also features [all …]
|
| D | BUILDING.md | 1 Building libjpeg-turbo 6 ------------------ 11 - [CMake](http://www.cmake.org) v2.8.12 or later 13 - [NASM](http://www.nasm.us) or [Yasm](http://yasm.tortall.net) 14 (if building x86 or x86-64 SIMD extensions) 19 - NOTE: Currently, if it is desirable to hide the SIMD function symbols in 21 libjpeg-turbo, then NASM 2.14 or later or Yasm must be used when 22 building libjpeg-turbo. 34 - GCC v4.1 (or later) or Clang recommended for best performance 36 - If building the TurboJPEG Java wrapper, JDK or OpenJDK 1.5 or later is [all …]
|
| D | ChangeLog.md | 6 1. The SIMD dispatchers in libjpeg-turbo 2.1.4 and prior stored the list of 10 libjpeg-turbo 2.1.5 included an undocumented attempt to fix this race condition 11 by making the SIMD support variable thread-local. However, that caused another 27 1. Fixed issues in the build system whereby, when using the Ninja Multi-Config 28 CMake generator, a static build of libjpeg-turbo (a build in which 34 specially-crafted malformed 12-bit-per-component JPEG image into a progressive 35 12-bit-per-component JPEG image using a 12-bit-per-component build of 36 libjpeg-turbo (`-DWITH_12BIT=1`.) Given that the buffer overrun was fully 38 segfault or other user-visible errant behavior, given that the lossless 40 data exploits, and given that 12-bit-per-component builds of libjpeg-turbo are [all …]
|
| D | LICENSE.md | 1 libjpeg-turbo Licenses 4 libjpeg-turbo is covered by three compatible BSD-style open source licenses: 6 - The IJG (Independent JPEG Group) License, which is listed in 9 This license applies to the libjpeg API library and associated programs 10 (any code inherited from libjpeg, and any modifications to that code.) 12 - The Modified (3-clause) BSD License, which is listed below 17 - The [zlib License](https://opensource.org/licenses/Zlib) 19 This license is a subset of the other two, and it covers the libjpeg-turbo 23 Complying with the libjpeg-turbo Licenses 26 This section provides a roll-up of the libjpeg-turbo licensing terms, to the [all …]
|
| D | README.chromium | 1 Name: libjpeg-turbo 2 URL: https://github.com/libjpeg-turbo/libjpeg-turbo/ 4 License: IJG, BSD-3, Zlib 12 * libjpeg-turbo 2.1.5.1 22 djpeg.1, doxygen.config, doxygen-extra.css, example.txt, .gitattributes, 30 This libjpeg-turbo can replace our libjpeg-6b without any modifications in the 33 Same as our copy of libjpeg-6b, this libjpeg-turbo also added a new file 36 arise when system libraries attempt to use our libjpeg. Also, we applied the 39 * Configuration files jconfig.h, jconfigint.h and neon-compat.h were generated 51 32-bit x86. This only affects shared libraries, but that's important [all …]
|
| D | .travis.yml | 5 - /^[0-9]+\.[0-9]+\.[0-9]+/ 6 - /^jpeg-.*/ 10 - os: linux 14 - docker 15 - os: osx 18 - os: linux 22 CFLAGS_RELWITHDEBINFO="-O1 -g -fsanitize=address,undefined -fno-omit-frame-pointer" 23 CMAKE_FLAGS="-DENABLE_SHARED=0" 29 - nasm 30 - os: linux [all …]
|
| D | METADATA | 2 # Usage: tools/external_updater/updater.sh update libjpeg-turbo 5 name: "libjpeg-turbo" 6 description: "libjpeg-turbo is a JPEG image codec." 10 tag: "NVD-CPE2.3:cpe:/a:libjpeg-turbo:libjpeg-turbo:2.1.0"
|
| D | jcstest.c | 7 * - Redistributions of source code must retain the above copyright notice, 9 * - Redistributions in binary form must reproduce the above copyright notice, 12 * - Neither the name of the libjpeg-turbo Project nor the names of its 30 capabilities of libjpeg-turbo at both compile time and run time. */ 53 error_mgr *myerr = (error_mgr *)cinfo->err; in my_error_exit() 54 (*cinfo->err->output_message) (cinfo); in my_error_exit() 55 longjmp(myerr->jb, 1); in my_error_exit() 60 (*cinfo->err->format_message) (cinfo, lasterror); in my_output_message() 65 int jcs_valid = -1, jcs_alpha_valid = -1; in main() 69 printf("libjpeg-turbo colorspace extensions:\n"); in main() [all …]
|
| D | README.android | 5 https://android-review.googlesource.com/c/platform/external/libjpeg-turbo/+/291407/ 17 Cherry-pick on 2024/01/08: https://github.com/libjpeg-turbo/libjpeg-turbo/commit/c27695a193a7cb265e…
|
| D | jversion.h | 5 * Copyright (C) 1991-2020, Thomas G. Lane, Guido Vollbeding. 6 * libjpeg-turbo Modifications: 7 * Copyright (C) 2010, 2012-2023, D. R. Commander. 17 #define JVERSION "8d 15-Jan-2012" 21 #define JVERSION "7 27-Jun-2009" 25 #define JVERSION "6b 27-Mar-1998" 31 * - libjpeg-turbo authors (2009-) in descending order of the date of their 35 * - Upstream authors in descending order of the date of the first inclusion of 40 "Copyright (C) 2009-2023 D. R. Commander\n" \ 42 "Copyright (C) 2019-2020 Arm Limited\n" \ [all …]
|
| D | jconfig.h | 6 /* libjpeg-turbo version */ 9 /* libjpeg-turbo version in integer form */ 18 /* Support in-memory source/destination managers */ 26 * 8 for 8-bit sample values (the usual setting) 27 * 12 for 12-bit sample values 30 * We do not support run-time selection of data precision, sorry.
|
| D | jconfig.h.in | 6 /* libjpeg-turbo version */ 9 /* libjpeg-turbo version in integer form */ 18 /* Support in-memory source/destination managers */ 26 * 8 for 8-bit sample values (the usual setting) 27 * 12 for 12-bit sample values 30 * We do not support run-time selection of data precision, sorry.
|
| /external/libjpeg-turbo/.github/ |
| D | CONTRIBUTING.md | 1 Contributing to libjpeg-turbo 4 libjpeg-turbo is a stable and mature product with a worldwide reach, it is an 5 ISO/ITU-T reference implementation of the JPEG standard, and its maintainer 7 can or will be accepted into the libjpeg-turbo code base. In order to maximize 14 - A clear and concise description of the bug 15 - The steps and (if applicable) images necessary to reproduce the bug 16 - The compilers, operating systems, and CPUs with which the bug was 18 - The versions of libjpeg-turbo with which the bug was observed 19 - If the bug is a regression, the specific commit that introduced the bug 24 [GitHub issue](https://github.com/libjpeg-turbo/libjpeg-turbo/issues/new), [all …]
|
| /external/oss-fuzz/projects/libjpeg-turbo/ |
| D | Dockerfile | 7 # http://www.apache.org/licenses/LICENSE-2.0 17 FROM gcr.io/oss-fuzz-base/base-builder 18 RUN apt-get update && apt-get install -y make yasm cmake 19 RUN git clone --depth 1 https://github.com/libjpeg-turbo/libjpeg-turbo 21 RUN git clone --depth 1 https://github.com/libjpeg-turbo/seed-corpora 22 RUN cd seed-corpora && zip -r ../decompress_fuzzer_seed_corpus.zip afl-testcases/jpeg* bugs/decompr… 23 …-corpora && zip -r ../compress_fuzzer_seed_corpus.zip afl-testcases/bmp afl-testcases/gif* bugs/co… 24 RUN rm -rf seed-corpora 26 WORKDIR libjpeg-turbo
|
| D | project.yaml | 1 homepage: "https://libjpeg-turbo.org" 5 - "aosmond@mozilla.com" 6 - "tnikkel@mozilla.com" 7 - "twsmith@mozilla.com" 9 - address 10 - memory 11 - undefined 13 - x86_64 14 - i386 15 main_repo: 'https://github.com/libjpeg-turbo/libjpeg-turbo'
|
| /external/libjpeg-turbo/.github/ISSUE_TEMPLATE/ |
| D | bug-report.md | 1 --- 3 about: Inform the libjpeg-turbo maintainer about unexpected, reproducible behavior 8 --- 10 **Have you searched the existing issues (both open and closed) in the libjpeg-turbo issue tracker t… 13 …of the [two known and unsolvable issues with the JPEG format](https://libjpeg-turbo.org/pmwiki/upl… 19 **Steps to reproduce the bug (using *only* libjpeg-turbo):** 34 …libjpeg-turbo release(s), commit(s), or branch(es) in which the bug was observed (always test the …
|
| /external/tensorflow/third_party/jpeg/ |
| D | workspace.bzl | 8 … urls = tf_mirror_urls("https://github.com/libjpeg-turbo/libjpeg-turbo/archive/2.1.0.tar.gz"), 10 strip_prefix = "libjpeg-turbo-2.1.0",
|
| /external/tensorflow/tensorflow/lite/experimental/acceleration/mini_benchmark/ |
| D | libjpeg_decoder.cc | 7 http://www.apache.org/licenses/LICENSE-2.0 59 cinfo_.get()->err = handle->jpeg_std_error_(&jerr_); in Impl() 61 cinfo_.get()->client_data = this; in Impl() 65 Impl* const impl = reinterpret_cast<Impl*>(cinfo->client_data); in ErrorExit() 67 cinfo->err->format_message(cinfo, message); in ErrorExit() 68 impl->status_.code = kTfLiteError; in ErrorExit() 69 impl->status_.error_message = message; in ErrorExit() 70 // Libjpeg aborts the program in case of any errors by using longjmp and then in ErrorExit() 75 …// https://wiki.sei.cmu.edu/confluence/display/c/MSC22-C.+Use+the+setjmp%28%29%2C+longjmp%28%29+fa… in ErrorExit() 76 longjmp(impl->env_, 1); in ErrorExit() [all …]
|
| D | jpeg_header_parser.cc | 7 http://www.apache.org/licenses/LICENSE-2.0 58 // https://www.ecma-international.org/publications-and-standards/technical-reports/ecma-tr-98/ 63 // https://docs.oracle.com/javase/8/docs/api/javax/imageio/metadata/doc-files/jpeg_metadata.html 117 result->width = width; in ReadJpegHeader() 118 result->height = height; in ReadJpegHeader() 119 result->channels = num_of_components; in ReadJpegHeader() 120 result->bits_per_sample = precision; in ReadJpegHeader() 155 jpeg_image_data_.len - offset_); in ApplyHeaderToImage() 180 // results inconsistent with LibJPEG because only in MoveToStartOfFrameMarker() 182 // LibJPEG fails if more than one marker is found in the header (see in MoveToStartOfFrameMarker() [all …]
|
| /external/oss-fuzz/projects/qpdf/ |
| D | Dockerfile | 7 # http://www.apache.org/licenses/LICENSE-2.0 17 FROM gcr.io/oss-fuzz-base/base-builder 18 RUN apt-get update && apt-get install -y make autoconf automake libtool cmake nasm 19 RUN git clone --depth 1 https://github.com/qpdf/qpdf.git qpdf 20 RUN git clone --depth 1 https://github.com/madler/zlib.git zlib 21 RUN git clone --depth 1 https://github.com/libjpeg-turbo/libjpeg-turbo libjpeg-turbo
|
| /external/oss-fuzz/projects/leptonica/ |
| D | Dockerfile | 7 # http://www.apache.org/licenses/LICENSE-2.0 17 FROM gcr.io/oss-fuzz-base/base-builder 18 RUN apt-get update && apt-get install -y make autoconf automake libtool \ 19 pkg-config cmake nasm 20 RUN git clone --depth 1 https://github.com/DanBloomberg/leptonica.git leptonica 21 RUN git clone --depth 1 https://github.com/madler/zlib.git zlib 22 RUN git clone --depth 1 https://gitlab.com/libtiff/libtiff libtiff 23 RUN git clone --depth 1 https://github.com/glennrp/libpng.git libpng 24 RUN git clone --depth 1 https://chromium.googlesource.com/webm/libwebp libwebp 26 RUN git clone --depth 1 https://github.com/libjpeg-turbo/libjpeg-turbo libjpeg-turbo [all …]
|
| /external/skia/src/codec/ |
| D | SkJpegUtility.h | 4 * Use of this source code is governed by a BSD-style license that can be 16 // See https://github.com/libjpeg-turbo/libjpeg-turbo/issues/17 29 * Source handling struct for that allows libjpeg to use our stream object
|
| D | SkJpegCodec.cpp | 4 * Use of this source code is governed by a BSD-style license that can be 49 #pragma GCC diagnostic ignored "-Wclobbered" 62 for (auto* marker = dinfo->marker_list; marker; marker = marker->next) { in get_sk_marker_list() 63 markerList.emplace_back(marker->marker, in get_sk_marker_list() 64 SkData::MakeWithoutCopy(marker->data, marker->data_length)); in get_sk_marker_list() 71 if (exifData && SkParseEncodedOrigin(exifData->bytes(), exifData->size(), &origin)) { in get_exif_orientation() 85 // libjpeg errors will be caught and reported here in ReadHeader() 86 skjpeg_error_mgr::AutoPushJmpBuf jmp(decoderMgr->errorMgr()); in ReadHeader() 88 return decoderMgr->returnFailure("ReadHeader", kInvalidInput); in ReadHeader() 92 decoderMgr->init(); in ReadHeader() [all …]
|
| D | SkJpegCodec.h | 4 * Use of this source code is governed by a BSD-style license that can be 97 * decoderMgrOut must be non-nullptr and decoderMgrOut will be set to a new 154 // libjpeg-turbo provides some subsetting. In the case that libjpeg-turbo 156 // to further subset the output from libjpeg-turbo.
|