Update URLs
- Eliminate unnecessary "www." - Use HTTPS. - Update Java, MSYS, tdm-gcc, and NSIS URLs. - Update URL and title of Agner Fog's assembly language optimization manual. - Remove extraneous information about MASM and Borland Turbo Assembler and outdated NASM URLs from the x86 assembly headers, and mention Yasm.
This commit is contained in:
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@@ -24,7 +24,7 @@ jobs:
|
|||||||
docker pull dcommander/buildljt:$BRANCH
|
docker pull dcommander/buildljt:$BRANCH
|
||||||
git clone --depth=1 https://github.com/libjpeg-turbo/buildscripts.git -b $BRANCH $HOME/src/buildscripts
|
git clone --depth=1 https://github.com/libjpeg-turbo/buildscripts.git -b $BRANCH $HOME/src/buildscripts
|
||||||
mkdir $HOME/rpmkeys
|
mkdir $HOME/rpmkeys
|
||||||
wget --no-check-certificate "http://www.libjpeg-turbo.org/key/LJTPR-GPG-KEY" -O $HOME/rpmkeys/LJTPR-GPG-KEY
|
wget --no-check-certificate "https://libjpeg-turbo.org/key/LJTPR-GPG-KEY" -O $HOME/rpmkeys/LJTPR-GPG-KEY
|
||||||
- name: Configure GPG signing
|
- name: Configure GPG signing
|
||||||
if: ${{github.event_name != 'pull_request'}}
|
if: ${{github.event_name != 'pull_request'}}
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
16
BUILDING.md
16
BUILDING.md
@@ -8,16 +8,16 @@ Build Requirements
|
|||||||
|
|
||||||
### All Systems
|
### All Systems
|
||||||
|
|
||||||
- [CMake](http://www.cmake.org) v2.8.12 or later
|
- [CMake](https://cmake.org) v2.8.12 or later
|
||||||
|
|
||||||
- [NASM](http://www.nasm.us) or [Yasm](http://yasm.tortall.net)
|
- [NASM](https://nasm.us) or [Yasm](https://yasm.tortall.net)
|
||||||
(if building x86 or x86-64 SIMD extensions)
|
(if building x86 or x86-64 SIMD extensions)
|
||||||
* If using NASM, 2.13 or later is required.
|
* If using NASM, 2.13 or later is required.
|
||||||
* If using Yasm, 1.2.0 or later is required.
|
* If using Yasm, 1.2.0 or later is required.
|
||||||
* NASM 2.15 or later is required if building libjpeg-turbo with Intel
|
* NASM 2.15 or later is required if building libjpeg-turbo with Intel
|
||||||
Control-flow Enforcement Technology (CET) support.
|
Control-flow Enforcement Technology (CET) support.
|
||||||
* If building on macOS, NASM or Yasm can be obtained from
|
* If building on macOS, NASM or Yasm can be obtained from
|
||||||
[MacPorts](http://www.macports.org/) or [Homebrew](http://brew.sh/).
|
[MacPorts](https://macports.org) or [Homebrew](https://brew.sh).
|
||||||
- NOTE: Currently, if it is desirable to hide the SIMD function symbols in
|
- NOTE: Currently, if it is desirable to hide the SIMD function symbols in
|
||||||
Mac executables or shared libraries that statically link with
|
Mac executables or shared libraries that statically link with
|
||||||
libjpeg-turbo, then NASM 2.14 or later or Yasm must be used when
|
libjpeg-turbo, then NASM 2.14 or later or Yasm must be used when
|
||||||
@@ -39,7 +39,7 @@ Build Requirements
|
|||||||
required. Most modern Linux distributions, as well as Solaris 10 and later,
|
required. Most modern Linux distributions, as well as Solaris 10 and later,
|
||||||
include JDK or OpenJDK. For other systems, you can obtain the Oracle Java
|
include JDK or OpenJDK. For other systems, you can obtain the Oracle Java
|
||||||
Development Kit from
|
Development Kit from
|
||||||
<http://www.oracle.com/technetwork/java/javase/downloads>.
|
<https://oracle.com/java/technologies/downloads>.
|
||||||
|
|
||||||
* If using JDK 11 or later, CMake 3.10.x or later must also be used.
|
* If using JDK 11 or later, CMake 3.10.x or later must also be used.
|
||||||
|
|
||||||
@@ -69,14 +69,14 @@ Build Requirements
|
|||||||
|
|
||||||
- MinGW
|
- MinGW
|
||||||
|
|
||||||
[MSYS2](http://msys2.github.io/) or [tdm-gcc](http://tdm-gcc.tdragon.net/)
|
[MSYS2](https://msys2.org) or [tdm-gcc](https://jmeubank.github.io/tdm-gcc)
|
||||||
recommended if building on a Windows machine. Both distributions install a
|
recommended if building on a Windows machine. Both distributions install a
|
||||||
Start Menu link that can be used to launch a command prompt with the
|
Start Menu link that can be used to launch a command prompt with the
|
||||||
appropriate compiler paths automatically set.
|
appropriate compiler paths automatically set.
|
||||||
|
|
||||||
- If building the TurboJPEG Java wrapper, JDK 1.5 or later is required. This
|
- If building the TurboJPEG Java wrapper, JDK 1.5 or later is required. This
|
||||||
can be downloaded from
|
can be downloaded from
|
||||||
<http://www.oracle.com/technetwork/java/javase/downloads>.
|
<https://oracle.com/java/technologies/downloads>.
|
||||||
|
|
||||||
* If using JDK 11 or later, CMake 3.10.x or later must also be used.
|
* If using JDK 11 or later, CMake 3.10.x or later must also be used.
|
||||||
|
|
||||||
@@ -439,7 +439,7 @@ Building libjpeg-turbo for Android
|
|||||||
----------------------------------
|
----------------------------------
|
||||||
|
|
||||||
Building libjpeg-turbo for Android platforms requires v13b or later of the
|
Building libjpeg-turbo for Android platforms requires v13b or later of the
|
||||||
[Android NDK](https://developer.android.com/tools/sdk/ndk).
|
[Android NDK](https://developer.android.com/ndk).
|
||||||
|
|
||||||
|
|
||||||
### Armv7 (32-bit)
|
### Armv7 (32-bit)
|
||||||
@@ -679,7 +679,7 @@ as the configuration you built (such as *{build_directory}*\Debug\ or
|
|||||||
*{build_directory}*\Release\).
|
*{build_directory}*\Release\).
|
||||||
|
|
||||||
Building a Windows installer requires the
|
Building a Windows installer requires the
|
||||||
[Nullsoft Install System](http://nsis.sourceforge.net/). makensis.exe should
|
[Nullsoft Install System](https://nsis.sourceforge.io). makensis.exe should
|
||||||
be in your `PATH`.
|
be in your `PATH`.
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1230,7 +1230,7 @@ for two reasons: it allows testers to more easily work around the 2 GB limit
|
|||||||
in libFuzzer, and it allows developers of security-sensitive applications to
|
in libFuzzer, and it allows developers of security-sensitive applications to
|
||||||
more easily defend against one of the progressive JPEG exploits (LJT-01-004)
|
more easily defend against one of the progressive JPEG exploits (LJT-01-004)
|
||||||
identified in
|
identified in
|
||||||
[this report](http://www.libjpeg-turbo.org/pmwiki/uploads/About/TwoIssueswiththeJPEGStandard.pdf).
|
[this report](https://libjpeg-turbo.org/pmwiki/uploads/About/TwoIssueswiththeJPEGStandard.pdf).
|
||||||
|
|
||||||
10. TJBench will now run each benchmark for 1 second prior to starting the
|
10. TJBench will now run each benchmark for 1 second prior to starting the
|
||||||
timer, in order to improve the consistency of the results. Furthermore, the
|
timer, in order to improve the consistency of the results. Furthermore, the
|
||||||
|
|||||||
@@ -71,7 +71,8 @@ JPEG images:
|
|||||||
top of the TurboJPEG API. The TurboJPEG API is recommended for first-time
|
top of the TurboJPEG API. The TurboJPEG API is recommended for first-time
|
||||||
users of libjpeg-turbo. Refer to [tjexample.c](tjexample.c) and
|
users of libjpeg-turbo. Refer to [tjexample.c](tjexample.c) and
|
||||||
[TJExample.java](java/TJExample.java) for examples of its usage and to
|
[TJExample.java](java/TJExample.java) for examples of its usage and to
|
||||||
<http://libjpeg-turbo.org/Documentation/Documentation> for API documentation.
|
<https://libjpeg-turbo.org/Documentation/Documentation> for API
|
||||||
|
documentation.
|
||||||
|
|
||||||
- **libjpeg API**<br>
|
- **libjpeg API**<br>
|
||||||
This is the de facto industry-standard API for compressing and decompressing
|
This is the de facto industry-standard API for compressing and decompressing
|
||||||
@@ -199,7 +200,7 @@ supported and which aren't.
|
|||||||
NOTE: As of this writing, extensive research has been conducted into the
|
NOTE: As of this writing, extensive research has been conducted into the
|
||||||
usefulness of DCT scaling as a means of data reduction and SmartScale as a
|
usefulness of DCT scaling as a means of data reduction and SmartScale as a
|
||||||
means of quality improvement. Readers are invited to peruse the research at
|
means of quality improvement. Readers are invited to peruse the research at
|
||||||
<http://www.libjpeg-turbo.org/About/SmartScale> and draw their own conclusions,
|
<https://libjpeg-turbo.org/About/SmartScale> and draw their own conclusions,
|
||||||
but it is the general belief of our project that these features have not
|
but it is the general belief of our project that these features have not
|
||||||
demonstrated sufficient usefulness to justify inclusion in libjpeg-turbo.
|
demonstrated sufficient usefulness to justify inclusion in libjpeg-turbo.
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ install:
|
|||||||
|
|
||||||
mkdir c:\temp
|
mkdir c:\temp
|
||||||
|
|
||||||
if not exist c:\installers\nasm-2.10.01-win32.zip curl -fSL -o c:\installers\nasm-2.10.01-win32.zip http://www.nasm.us/pub/nasm/releasebuilds/2.10.01/win32/nasm-2.10.01-win32.zip
|
if not exist c:\installers\nasm-2.10.01-win32.zip curl -fSL -o c:\installers\nasm-2.10.01-win32.zip https://nasm.us/pub/nasm/releasebuilds/2.10.01/win32/nasm-2.10.01-win32.zip
|
||||||
|
|
||||||
7z x c:\installers\nasm-2.10.01-win32.zip -oc:\ > c:\installers\nasm.install.log
|
7z x c:\installers\nasm-2.10.01-win32.zip -oc:\ > c:\installers\nasm.install.log
|
||||||
|
|
||||||
|
|||||||
@@ -5,8 +5,8 @@ set(PKGNAME ${CMAKE_PROJECT_NAME} CACHE STRING
|
|||||||
"Distribution package name (default: ${CMAKE_PROJECT_NAME})")
|
"Distribution package name (default: ${CMAKE_PROJECT_NAME})")
|
||||||
set(PKGVENDOR "The ${CMAKE_PROJECT_NAME} Project" CACHE STRING
|
set(PKGVENDOR "The ${CMAKE_PROJECT_NAME} Project" CACHE STRING
|
||||||
"Vendor name to be included in distribution package descriptions (default: The ${CMAKE_PROJECT_NAME} Project)")
|
"Vendor name to be included in distribution package descriptions (default: The ${CMAKE_PROJECT_NAME} Project)")
|
||||||
set(PKGURL "http://www.${CMAKE_PROJECT_NAME}.org" CACHE STRING
|
set(PKGURL "https://${CMAKE_PROJECT_NAME}.org" CACHE STRING
|
||||||
"URL of project web site to be included in distribution package descriptions (default: http://www.${CMAKE_PROJECT_NAME}.org)")
|
"URL of project web site to be included in distribution package descriptions (default: https://${CMAKE_PROJECT_NAME}.org)")
|
||||||
set(PKGEMAIL "information@${CMAKE_PROJECT_NAME}.org" CACHE STRING
|
set(PKGEMAIL "information@${CMAKE_PROJECT_NAME}.org" CACHE STRING
|
||||||
"E-mail of project maintainer to be included in distribution package descriptions (default: information@${CMAKE_PROJECT_NAME}.org")
|
"E-mail of project maintainer to be included in distribution package descriptions (default: information@${CMAKE_PROJECT_NAME}.org")
|
||||||
set(PKGID "com.${CMAKE_PROJECT_NAME}.${PKGNAME}" CACHE STRING
|
set(PKGID "com.${CMAKE_PROJECT_NAME}.${PKGNAME}" CACHE STRING
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
* libjpeg-turbo Modifications:
|
* libjpeg-turbo Modifications:
|
||||||
* Copyright (C) 1999-2006, MIYASAKA Masaru.
|
* Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
* Copyright 2009 Pierre Ossman <ossman@cendio.se> for Cendio AB
|
* Copyright 2009 Pierre Ossman <ossman@cendio.se> for Cendio AB
|
||||||
* Copyright (C) 2011, 2014-2015, 2022, D. R. Commander.
|
* Copyright (C) 2011, 2014-2015, 2022, 2024, D. R. Commander.
|
||||||
* For conditions of distribution and use, see the accompanying README.ijg
|
* For conditions of distribution and use, see the accompanying README.ijg
|
||||||
* file.
|
* file.
|
||||||
*
|
*
|
||||||
@@ -114,8 +114,8 @@ flss(UINT16 val)
|
|||||||
* Compute values to do a division using reciprocal.
|
* Compute values to do a division using reciprocal.
|
||||||
*
|
*
|
||||||
* This implementation is based on an algorithm described in
|
* This implementation is based on an algorithm described in
|
||||||
* "How to optimize for the Pentium family of microprocessors"
|
* "Optimizing subroutines in assembly language:
|
||||||
* (http://www.agner.org/assem/).
|
* An optimization guide for x86 platforms" (https://agner.org/optimize).
|
||||||
* More information about the basic algorithm can be found in
|
* More information about the basic algorithm can be found in
|
||||||
* the paper "Integer Division Using Reciprocals" by Robert Alverson.
|
* the paper "Integer Division Using Reciprocals" by Robert Alverson.
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -8,11 +8,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
|
|
||||||
%include "jcolsamp.inc"
|
%include "jcolsamp.inc"
|
||||||
|
|
||||||
|
|||||||
@@ -8,11 +8,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
|
|
||||||
%include "jcolsamp.inc"
|
%include "jcolsamp.inc"
|
||||||
|
|
||||||
|
|||||||
@@ -7,11 +7,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
|
|
||||||
%include "jcolsamp.inc"
|
%include "jcolsamp.inc"
|
||||||
|
|
||||||
|
|||||||
@@ -8,11 +8,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
|
|
||||||
%include "jsimdext.inc"
|
%include "jsimdext.inc"
|
||||||
|
|
||||||
|
|||||||
@@ -8,11 +8,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
|
|
||||||
%include "jsimdext.inc"
|
%include "jsimdext.inc"
|
||||||
|
|
||||||
|
|||||||
@@ -7,11 +7,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
|
|
||||||
%include "jsimdext.inc"
|
%include "jsimdext.inc"
|
||||||
|
|
||||||
|
|||||||
@@ -8,11 +8,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
|
|
||||||
%include "jsimdext.inc"
|
%include "jsimdext.inc"
|
||||||
|
|
||||||
|
|||||||
@@ -8,11 +8,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
|
|
||||||
%include "jsimdext.inc"
|
%include "jsimdext.inc"
|
||||||
|
|
||||||
|
|||||||
@@ -7,11 +7,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
|
|
||||||
%include "jsimdext.inc"
|
%include "jsimdext.inc"
|
||||||
|
|
||||||
|
|||||||
@@ -8,11 +8,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
|
|
||||||
%include "jcolsamp.inc"
|
%include "jcolsamp.inc"
|
||||||
|
|
||||||
|
|||||||
@@ -8,11 +8,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
|
|
||||||
%include "jcolsamp.inc"
|
%include "jcolsamp.inc"
|
||||||
|
|
||||||
|
|||||||
@@ -7,11 +7,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
|
|
||||||
%include "jcolsamp.inc"
|
%include "jcolsamp.inc"
|
||||||
|
|
||||||
|
|||||||
@@ -9,11 +9,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
;
|
;
|
||||||
; This file contains an SSE2 implementation for Huffman coding of one block.
|
; This file contains an SSE2 implementation for Huffman coding of one block.
|
||||||
; The following code is based on jchuff.c; see jchuff.c for more details.
|
; The following code is based on jchuff.c; see jchuff.c for more details.
|
||||||
|
|||||||
@@ -7,11 +7,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
;
|
;
|
||||||
; This file contains an SSE2 implementation of data preparation for progressive
|
; This file contains an SSE2 implementation of data preparation for progressive
|
||||||
; Huffman encoding. See jcphuff.c for more details.
|
; Huffman encoding. See jcphuff.c for more details.
|
||||||
|
|||||||
@@ -9,11 +9,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
|
|
||||||
%include "jsimdext.inc"
|
%include "jsimdext.inc"
|
||||||
|
|
||||||
|
|||||||
@@ -8,11 +8,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
|
|
||||||
%include "jsimdext.inc"
|
%include "jsimdext.inc"
|
||||||
|
|
||||||
|
|||||||
@@ -8,11 +8,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
|
|
||||||
%include "jsimdext.inc"
|
%include "jsimdext.inc"
|
||||||
|
|
||||||
|
|||||||
@@ -9,11 +9,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
|
|
||||||
%include "jcolsamp.inc"
|
%include "jcolsamp.inc"
|
||||||
|
|
||||||
|
|||||||
@@ -8,11 +8,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
|
|
||||||
%include "jcolsamp.inc"
|
%include "jcolsamp.inc"
|
||||||
|
|
||||||
|
|||||||
@@ -8,11 +8,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
|
|
||||||
%include "jcolsamp.inc"
|
%include "jcolsamp.inc"
|
||||||
|
|
||||||
|
|||||||
@@ -9,11 +9,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
|
|
||||||
%include "jsimdext.inc"
|
%include "jsimdext.inc"
|
||||||
|
|
||||||
|
|||||||
@@ -8,11 +8,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
|
|
||||||
%include "jsimdext.inc"
|
%include "jsimdext.inc"
|
||||||
|
|
||||||
|
|||||||
@@ -8,11 +8,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
|
|
||||||
%include "jsimdext.inc"
|
%include "jsimdext.inc"
|
||||||
|
|
||||||
|
|||||||
@@ -9,11 +9,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
|
|
||||||
%include "jsimdext.inc"
|
%include "jsimdext.inc"
|
||||||
|
|
||||||
|
|||||||
@@ -8,11 +8,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
|
|
||||||
%include "jsimdext.inc"
|
%include "jsimdext.inc"
|
||||||
|
|
||||||
|
|||||||
@@ -8,11 +8,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
|
|
||||||
%include "jsimdext.inc"
|
%include "jsimdext.inc"
|
||||||
|
|
||||||
|
|||||||
@@ -9,11 +9,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
|
|
||||||
%include "jcolsamp.inc"
|
%include "jcolsamp.inc"
|
||||||
|
|
||||||
|
|||||||
@@ -8,11 +8,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
|
|
||||||
%include "jcolsamp.inc"
|
%include "jcolsamp.inc"
|
||||||
|
|
||||||
|
|||||||
@@ -8,11 +8,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
|
|
||||||
%include "jcolsamp.inc"
|
%include "jcolsamp.inc"
|
||||||
|
|
||||||
|
|||||||
@@ -9,11 +9,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
|
|
||||||
%include "jsimdext.inc"
|
%include "jsimdext.inc"
|
||||||
|
|
||||||
|
|||||||
@@ -8,11 +8,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
|
|
||||||
%include "jsimdext.inc"
|
%include "jsimdext.inc"
|
||||||
|
|
||||||
|
|||||||
@@ -8,11 +8,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
|
|
||||||
%include "jsimdext.inc"
|
%include "jsimdext.inc"
|
||||||
|
|
||||||
|
|||||||
@@ -8,11 +8,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
;
|
;
|
||||||
; This file contains a floating-point implementation of the forward DCT
|
; This file contains a floating-point implementation of the forward DCT
|
||||||
; (Discrete Cosine Transform). The following code is based directly on
|
; (Discrete Cosine Transform). The following code is based directly on
|
||||||
|
|||||||
@@ -8,11 +8,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
;
|
;
|
||||||
; This file contains a floating-point implementation of the forward DCT
|
; This file contains a floating-point implementation of the forward DCT
|
||||||
; (Discrete Cosine Transform). The following code is based directly on
|
; (Discrete Cosine Transform). The following code is based directly on
|
||||||
|
|||||||
@@ -8,11 +8,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
;
|
;
|
||||||
; This file contains a fast, not so accurate integer implementation of
|
; This file contains a fast, not so accurate integer implementation of
|
||||||
; the forward DCT (Discrete Cosine Transform). The following code is
|
; the forward DCT (Discrete Cosine Transform). The following code is
|
||||||
|
|||||||
@@ -8,11 +8,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
;
|
;
|
||||||
; This file contains a fast, not so accurate integer implementation of
|
; This file contains a fast, not so accurate integer implementation of
|
||||||
; the forward DCT (Discrete Cosine Transform). The following code is
|
; the forward DCT (Discrete Cosine Transform). The following code is
|
||||||
|
|||||||
@@ -8,11 +8,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
;
|
;
|
||||||
; This file contains a slower but more accurate integer implementation of the
|
; This file contains a slower but more accurate integer implementation of the
|
||||||
; forward DCT (Discrete Cosine Transform). The following code is based
|
; forward DCT (Discrete Cosine Transform). The following code is based
|
||||||
|
|||||||
@@ -8,11 +8,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
;
|
;
|
||||||
; This file contains a slower but more accurate integer implementation of the
|
; This file contains a slower but more accurate integer implementation of the
|
||||||
; forward DCT (Discrete Cosine Transform). The following code is based
|
; forward DCT (Discrete Cosine Transform). The following code is based
|
||||||
|
|||||||
@@ -8,11 +8,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
;
|
;
|
||||||
; This file contains a slower but more accurate integer implementation of the
|
; This file contains a slower but more accurate integer implementation of the
|
||||||
; forward DCT (Discrete Cosine Transform). The following code is based
|
; forward DCT (Discrete Cosine Transform). The following code is based
|
||||||
|
|||||||
@@ -8,11 +8,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
;
|
;
|
||||||
; This file contains a floating-point implementation of the inverse DCT
|
; This file contains a floating-point implementation of the inverse DCT
|
||||||
; (Discrete Cosine Transform). The following code is based directly on
|
; (Discrete Cosine Transform). The following code is based directly on
|
||||||
|
|||||||
@@ -8,11 +8,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
;
|
;
|
||||||
; This file contains a floating-point implementation of the inverse DCT
|
; This file contains a floating-point implementation of the inverse DCT
|
||||||
; (Discrete Cosine Transform). The following code is based directly on
|
; (Discrete Cosine Transform). The following code is based directly on
|
||||||
|
|||||||
@@ -8,11 +8,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
;
|
;
|
||||||
; This file contains a floating-point implementation of the inverse DCT
|
; This file contains a floating-point implementation of the inverse DCT
|
||||||
; (Discrete Cosine Transform). The following code is based directly on
|
; (Discrete Cosine Transform). The following code is based directly on
|
||||||
|
|||||||
@@ -8,11 +8,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
;
|
;
|
||||||
; This file contains a fast, not so accurate integer implementation of
|
; This file contains a fast, not so accurate integer implementation of
|
||||||
; the inverse DCT (Discrete Cosine Transform). The following code is
|
; the inverse DCT (Discrete Cosine Transform). The following code is
|
||||||
|
|||||||
@@ -8,11 +8,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
;
|
;
|
||||||
; This file contains a fast, not so accurate integer implementation of
|
; This file contains a fast, not so accurate integer implementation of
|
||||||
; the inverse DCT (Discrete Cosine Transform). The following code is
|
; the inverse DCT (Discrete Cosine Transform). The following code is
|
||||||
|
|||||||
@@ -8,11 +8,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
;
|
;
|
||||||
; This file contains a slower but more accurate integer implementation of the
|
; This file contains a slower but more accurate integer implementation of the
|
||||||
; inverse DCT (Discrete Cosine Transform). The following code is based
|
; inverse DCT (Discrete Cosine Transform). The following code is based
|
||||||
|
|||||||
@@ -8,11 +8,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
;
|
;
|
||||||
; This file contains a slower but more accurate integer implementation of the
|
; This file contains a slower but more accurate integer implementation of the
|
||||||
; inverse DCT (Discrete Cosine Transform). The following code is based
|
; inverse DCT (Discrete Cosine Transform). The following code is based
|
||||||
|
|||||||
@@ -8,11 +8,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
;
|
;
|
||||||
; This file contains a slower but more accurate integer implementation of the
|
; This file contains a slower but more accurate integer implementation of the
|
||||||
; inverse DCT (Discrete Cosine Transform). The following code is based
|
; inverse DCT (Discrete Cosine Transform). The following code is based
|
||||||
|
|||||||
@@ -8,11 +8,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
;
|
;
|
||||||
; This file contains inverse-DCT routines that produce reduced-size
|
; This file contains inverse-DCT routines that produce reduced-size
|
||||||
; output: either 4x4 or 2x2 pixels from an 8x8 DCT block.
|
; output: either 4x4 or 2x2 pixels from an 8x8 DCT block.
|
||||||
|
|||||||
@@ -8,11 +8,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
;
|
;
|
||||||
; This file contains inverse-DCT routines that produce reduced-size
|
; This file contains inverse-DCT routines that produce reduced-size
|
||||||
; output: either 4x4 or 2x2 pixels from an 8x8 DCT block.
|
; output: either 4x4 or 2x2 pixels from an 8x8 DCT block.
|
||||||
|
|||||||
@@ -8,11 +8,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
|
|
||||||
%include "jsimdext.inc"
|
%include "jsimdext.inc"
|
||||||
%include "jdct.inc"
|
%include "jdct.inc"
|
||||||
|
|||||||
@@ -8,11 +8,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
|
|
||||||
%include "jsimdext.inc"
|
%include "jsimdext.inc"
|
||||||
%include "jdct.inc"
|
%include "jdct.inc"
|
||||||
@@ -120,8 +116,8 @@ EXTN(jsimd_convsamp_mmx):
|
|||||||
; Quantize/descale the coefficients, and store into coef_block
|
; Quantize/descale the coefficients, and store into coef_block
|
||||||
;
|
;
|
||||||
; This implementation is based on an algorithm described in
|
; This implementation is based on an algorithm described in
|
||||||
; "How to optimize for the Pentium family of microprocessors"
|
; "Optimizing subroutines in assembly language:
|
||||||
; (http://www.agner.org/assem/).
|
; An optimization guide for x86 platforms" (https://agner.org/optimize).
|
||||||
;
|
;
|
||||||
; GLOBAL(void)
|
; GLOBAL(void)
|
||||||
; jsimd_quantize_mmx(JCOEFPTR coef_block, DCTELEM *divisors,
|
; jsimd_quantize_mmx(JCOEFPTR coef_block, DCTELEM *divisors,
|
||||||
|
|||||||
@@ -8,11 +8,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
|
|
||||||
%include "jsimdext.inc"
|
%include "jsimdext.inc"
|
||||||
%include "jdct.inc"
|
%include "jdct.inc"
|
||||||
|
|||||||
@@ -8,11 +8,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
|
|
||||||
%include "jsimdext.inc"
|
%include "jsimdext.inc"
|
||||||
%include "jdct.inc"
|
%include "jdct.inc"
|
||||||
|
|||||||
@@ -2,18 +2,14 @@
|
|||||||
; jquanti.asm - sample data conversion and quantization (AVX2)
|
; jquanti.asm - sample data conversion and quantization (AVX2)
|
||||||
;
|
;
|
||||||
; Copyright 2009 Pierre Ossman <ossman@cendio.se> for Cendio AB
|
; Copyright 2009 Pierre Ossman <ossman@cendio.se> for Cendio AB
|
||||||
; Copyright (C) 2016, 2018, D. R. Commander.
|
; Copyright (C) 2016, 2018, 2024, D. R. Commander.
|
||||||
; Copyright (C) 2016, Matthieu Darbois.
|
; Copyright (C) 2016, Matthieu Darbois.
|
||||||
;
|
;
|
||||||
; Based on the x86 SIMD extension for IJG JPEG library
|
; Based on the x86 SIMD extension for IJG JPEG library
|
||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
|
|
||||||
%include "jsimdext.inc"
|
%include "jsimdext.inc"
|
||||||
%include "jdct.inc"
|
%include "jdct.inc"
|
||||||
@@ -107,8 +103,8 @@ EXTN(jsimd_convsamp_avx2):
|
|||||||
; Quantize/descale the coefficients, and store into coef_block
|
; Quantize/descale the coefficients, and store into coef_block
|
||||||
;
|
;
|
||||||
; This implementation is based on an algorithm described in
|
; This implementation is based on an algorithm described in
|
||||||
; "How to optimize for the Pentium family of microprocessors"
|
; "Optimizing subroutines in assembly language:
|
||||||
; (http://www.agner.org/assem/).
|
; An optimization guide for x86 platforms" (https://agner.org/optimize).
|
||||||
;
|
;
|
||||||
; GLOBAL(void)
|
; GLOBAL(void)
|
||||||
; jsimd_quantize_avx2(JCOEFPTR coef_block, DCTELEM *divisors,
|
; jsimd_quantize_avx2(JCOEFPTR coef_block, DCTELEM *divisors,
|
||||||
|
|||||||
@@ -8,11 +8,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
|
|
||||||
%include "jsimdext.inc"
|
%include "jsimdext.inc"
|
||||||
%include "jdct.inc"
|
%include "jdct.inc"
|
||||||
@@ -98,8 +94,8 @@ EXTN(jsimd_convsamp_sse2):
|
|||||||
; Quantize/descale the coefficients, and store into coef_block
|
; Quantize/descale the coefficients, and store into coef_block
|
||||||
;
|
;
|
||||||
; This implementation is based on an algorithm described in
|
; This implementation is based on an algorithm described in
|
||||||
; "How to optimize for the Pentium family of microprocessors"
|
; "Optimizing subroutines in assembly language:
|
||||||
; (http://www.agner.org/assem/).
|
; An optimization guide for x86 platforms" (https://agner.org/optimize).
|
||||||
;
|
;
|
||||||
; GLOBAL(void)
|
; GLOBAL(void)
|
||||||
; jsimd_quantize_sse2(JCOEFPTR coef_block, DCTELEM *divisors,
|
; jsimd_quantize_sse2(JCOEFPTR coef_block, DCTELEM *divisors,
|
||||||
|
|||||||
@@ -8,11 +8,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
|
|
||||||
%include "jsimdext.inc"
|
%include "jsimdext.inc"
|
||||||
|
|
||||||
|
|||||||
@@ -10,11 +10,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
|
|
||||||
%include "jcolsamp.inc"
|
%include "jcolsamp.inc"
|
||||||
|
|
||||||
|
|||||||
@@ -9,11 +9,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
|
|
||||||
%include "jcolsamp.inc"
|
%include "jcolsamp.inc"
|
||||||
|
|
||||||
|
|||||||
@@ -8,11 +8,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
|
|
||||||
%include "jsimdext.inc"
|
%include "jsimdext.inc"
|
||||||
|
|
||||||
|
|||||||
@@ -7,11 +7,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
|
|
||||||
%include "jsimdext.inc"
|
%include "jsimdext.inc"
|
||||||
|
|
||||||
|
|||||||
@@ -8,11 +8,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
|
|
||||||
%include "jsimdext.inc"
|
%include "jsimdext.inc"
|
||||||
|
|
||||||
|
|||||||
@@ -7,11 +7,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
|
|
||||||
%include "jsimdext.inc"
|
%include "jsimdext.inc"
|
||||||
|
|
||||||
|
|||||||
@@ -10,11 +10,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
|
|
||||||
%include "jcolsamp.inc"
|
%include "jcolsamp.inc"
|
||||||
|
|
||||||
|
|||||||
@@ -9,11 +9,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
|
|
||||||
%include "jcolsamp.inc"
|
%include "jcolsamp.inc"
|
||||||
|
|
||||||
|
|||||||
@@ -10,11 +10,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
;
|
;
|
||||||
; This file contains an SSE2 implementation for Huffman coding of one block.
|
; This file contains an SSE2 implementation for Huffman coding of one block.
|
||||||
; The following code is based on jchuff.c; see jchuff.c for more details.
|
; The following code is based on jchuff.c; see jchuff.c for more details.
|
||||||
|
|||||||
@@ -10,11 +10,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
;
|
;
|
||||||
; This file contains an SSE2 implementation of data preparation for progressive
|
; This file contains an SSE2 implementation of data preparation for progressive
|
||||||
; Huffman encoding. See jcphuff.c for more details.
|
; Huffman encoding. See jcphuff.c for more details.
|
||||||
|
|||||||
@@ -10,11 +10,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
|
|
||||||
%include "jsimdext.inc"
|
%include "jsimdext.inc"
|
||||||
|
|
||||||
|
|||||||
@@ -9,11 +9,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
|
|
||||||
%include "jsimdext.inc"
|
%include "jsimdext.inc"
|
||||||
|
|
||||||
|
|||||||
@@ -11,11 +11,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
|
|
||||||
%include "jcolsamp.inc"
|
%include "jcolsamp.inc"
|
||||||
|
|
||||||
|
|||||||
@@ -10,11 +10,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
|
|
||||||
%include "jcolsamp.inc"
|
%include "jcolsamp.inc"
|
||||||
|
|
||||||
|
|||||||
@@ -9,11 +9,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
|
|
||||||
%include "jsimdext.inc"
|
%include "jsimdext.inc"
|
||||||
|
|
||||||
|
|||||||
@@ -8,11 +8,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
|
|
||||||
%include "jsimdext.inc"
|
%include "jsimdext.inc"
|
||||||
|
|
||||||
|
|||||||
@@ -9,11 +9,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
|
|
||||||
%include "jsimdext.inc"
|
%include "jsimdext.inc"
|
||||||
|
|
||||||
|
|||||||
@@ -8,11 +8,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
|
|
||||||
%include "jsimdext.inc"
|
%include "jsimdext.inc"
|
||||||
|
|
||||||
|
|||||||
@@ -11,11 +11,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
|
|
||||||
%include "jcolsamp.inc"
|
%include "jcolsamp.inc"
|
||||||
|
|
||||||
|
|||||||
@@ -10,11 +10,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
|
|
||||||
%include "jcolsamp.inc"
|
%include "jcolsamp.inc"
|
||||||
|
|
||||||
|
|||||||
@@ -11,11 +11,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
|
|
||||||
%include "jsimdext.inc"
|
%include "jsimdext.inc"
|
||||||
|
|
||||||
|
|||||||
@@ -10,11 +10,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
|
|
||||||
%include "jsimdext.inc"
|
%include "jsimdext.inc"
|
||||||
|
|
||||||
|
|||||||
@@ -9,11 +9,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
;
|
;
|
||||||
; This file contains a floating-point implementation of the forward DCT
|
; This file contains a floating-point implementation of the forward DCT
|
||||||
; (Discrete Cosine Transform). The following code is based directly on
|
; (Discrete Cosine Transform). The following code is based directly on
|
||||||
|
|||||||
@@ -9,11 +9,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
;
|
;
|
||||||
; This file contains a fast, not so accurate integer implementation of
|
; This file contains a fast, not so accurate integer implementation of
|
||||||
; the forward DCT (Discrete Cosine Transform). The following code is
|
; the forward DCT (Discrete Cosine Transform). The following code is
|
||||||
|
|||||||
@@ -8,11 +8,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
;
|
;
|
||||||
; This file contains a slower but more accurate integer implementation of the
|
; This file contains a slower but more accurate integer implementation of the
|
||||||
; forward DCT (Discrete Cosine Transform). The following code is based
|
; forward DCT (Discrete Cosine Transform). The following code is based
|
||||||
|
|||||||
@@ -9,11 +9,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
;
|
;
|
||||||
; This file contains a slower but more accurate integer implementation of the
|
; This file contains a slower but more accurate integer implementation of the
|
||||||
; forward DCT (Discrete Cosine Transform). The following code is based
|
; forward DCT (Discrete Cosine Transform). The following code is based
|
||||||
|
|||||||
@@ -10,11 +10,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
;
|
;
|
||||||
; This file contains a floating-point implementation of the inverse DCT
|
; This file contains a floating-point implementation of the inverse DCT
|
||||||
; (Discrete Cosine Transform). The following code is based directly on
|
; (Discrete Cosine Transform). The following code is based directly on
|
||||||
|
|||||||
@@ -10,11 +10,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
;
|
;
|
||||||
; This file contains a fast, not so accurate integer implementation of
|
; This file contains a fast, not so accurate integer implementation of
|
||||||
; the inverse DCT (Discrete Cosine Transform). The following code is
|
; the inverse DCT (Discrete Cosine Transform). The following code is
|
||||||
|
|||||||
@@ -9,11 +9,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
;
|
;
|
||||||
; This file contains a slower but more accurate integer implementation of the
|
; This file contains a slower but more accurate integer implementation of the
|
||||||
; inverse DCT (Discrete Cosine Transform). The following code is based
|
; inverse DCT (Discrete Cosine Transform). The following code is based
|
||||||
|
|||||||
@@ -10,11 +10,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
;
|
;
|
||||||
; This file contains a slower but more accurate integer implementation of the
|
; This file contains a slower but more accurate integer implementation of the
|
||||||
; inverse DCT (Discrete Cosine Transform). The following code is based
|
; inverse DCT (Discrete Cosine Transform). The following code is based
|
||||||
|
|||||||
@@ -10,11 +10,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
;
|
;
|
||||||
; This file contains inverse-DCT routines that produce reduced-size
|
; This file contains inverse-DCT routines that produce reduced-size
|
||||||
; output: either 4x4 or 2x2 pixels from an 8x8 DCT block.
|
; output: either 4x4 or 2x2 pixels from an 8x8 DCT block.
|
||||||
|
|||||||
@@ -9,11 +9,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
|
|
||||||
%include "jsimdext.inc"
|
%include "jsimdext.inc"
|
||||||
%include "jdct.inc"
|
%include "jdct.inc"
|
||||||
|
|||||||
@@ -10,11 +10,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
|
|
||||||
%include "jsimdext.inc"
|
%include "jsimdext.inc"
|
||||||
%include "jdct.inc"
|
%include "jdct.inc"
|
||||||
@@ -93,8 +89,8 @@ EXTN(jsimd_convsamp_avx2):
|
|||||||
; Quantize/descale the coefficients, and store into coef_block
|
; Quantize/descale the coefficients, and store into coef_block
|
||||||
;
|
;
|
||||||
; This implementation is based on an algorithm described in
|
; This implementation is based on an algorithm described in
|
||||||
; "How to optimize for the Pentium family of microprocessors"
|
; "Optimizing subroutines in assembly language:
|
||||||
; (http://www.agner.org/assem/).
|
; An optimization guide for x86 platforms" (https://agner.org/optimize).
|
||||||
;
|
;
|
||||||
; GLOBAL(void)
|
; GLOBAL(void)
|
||||||
; jsimd_quantize_avx2(JCOEFPTR coef_block, DCTELEM *divisors,
|
; jsimd_quantize_avx2(JCOEFPTR coef_block, DCTELEM *divisors,
|
||||||
|
|||||||
@@ -9,11 +9,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
|
|
||||||
%include "jsimdext.inc"
|
%include "jsimdext.inc"
|
||||||
%include "jdct.inc"
|
%include "jdct.inc"
|
||||||
@@ -93,8 +89,8 @@ EXTN(jsimd_convsamp_sse2):
|
|||||||
; Quantize/descale the coefficients, and store into coef_block
|
; Quantize/descale the coefficients, and store into coef_block
|
||||||
;
|
;
|
||||||
; This implementation is based on an algorithm described in
|
; This implementation is based on an algorithm described in
|
||||||
; "How to optimize for the Pentium family of microprocessors"
|
; "Optimizing subroutines in assembly language:
|
||||||
; (http://www.agner.org/assem/).
|
; An optimization guide for x86 platforms" (https://agner.org/optimize).
|
||||||
;
|
;
|
||||||
; GLOBAL(void)
|
; GLOBAL(void)
|
||||||
; jsimd_quantize_sse2(JCOEFPTR coef_block, DCTELEM *divisors,
|
; jsimd_quantize_sse2(JCOEFPTR coef_block, DCTELEM *divisors,
|
||||||
|
|||||||
@@ -10,11 +10,7 @@
|
|||||||
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
; Copyright (C) 1999-2006, MIYASAKA Masaru.
|
||||||
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
; For conditions of distribution and use, see copyright notice in jsimdext.inc
|
||||||
;
|
;
|
||||||
; This file should be assembled with NASM (Netwide Assembler),
|
; This file should be assembled with NASM (Netwide Assembler) or Yasm.
|
||||||
; can *not* be assembled with Microsoft's MASM or any compatible
|
|
||||||
; assembler (including Borland's Turbo Assembler).
|
|
||||||
; NASM is available from http://nasm.sourceforge.net/ or
|
|
||||||
; http://sourceforge.net/project/showfiles.php?group_id=6208
|
|
||||||
|
|
||||||
%include "jsimdext.inc"
|
%include "jsimdext.inc"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user