shun-iwasawa 82a8f5
/*
shun-iwasawa 82a8f5
 * simd/jsimd.h
shun-iwasawa 82a8f5
 *
shun-iwasawa 82a8f5
 * Copyright 2009 Pierre Ossman <ossman@cendio.se> for Cendio AB</ossman@cendio.se>
shun-iwasawa 82a8f5
 * Copyright (C) 2011, 2014-2016, 2018, 2020, D. R. Commander.
shun-iwasawa 82a8f5
 * Copyright (C) 2013-2014, MIPS Technologies, Inc., California.
shun-iwasawa 82a8f5
 * Copyright (C) 2014, Linaro Limited.
shun-iwasawa 82a8f5
 * Copyright (C) 2015-2016, 2018, Matthieu Darbois.
shun-iwasawa 82a8f5
 * Copyright (C) 2016-2017, Loongson Technology Corporation Limited, BeiJing.
shun-iwasawa 82a8f5
 *
shun-iwasawa 82a8f5
 * Based on the x86 SIMD extension for IJG JPEG library,
shun-iwasawa 82a8f5
 * Copyright (C) 1999-2006, MIYASAKA Masaru.
shun-iwasawa 82a8f5
 * For conditions of distribution and use, see copyright notice in jsimdext.inc
shun-iwasawa 82a8f5
 *
shun-iwasawa 82a8f5
 */
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
/* Bitmask for supported acceleration methods */
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
#define JSIMD_NONE     0x00
shun-iwasawa 82a8f5
#define JSIMD_MMX      0x01
shun-iwasawa 82a8f5
#define JSIMD_3DNOW    0x02
shun-iwasawa 82a8f5
#define JSIMD_SSE      0x04
shun-iwasawa 82a8f5
#define JSIMD_SSE2     0x08
shun-iwasawa 82a8f5
#define JSIMD_NEON     0x10
shun-iwasawa 82a8f5
#define JSIMD_DSPR2    0x20
shun-iwasawa 82a8f5
#define JSIMD_ALTIVEC  0x40
shun-iwasawa 82a8f5
#define JSIMD_AVX2     0x80
shun-iwasawa 82a8f5
#define JSIMD_MMI      0x100
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
/* SIMD Ext: retrieve SIMD/CPU information */
shun-iwasawa 82a8f5
EXTERN(unsigned int) jpeg_simd_cpu_support(void);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
/* RGB & extended RGB --> YCC Colorspace Conversion */
shun-iwasawa 82a8f5
EXTERN(void) jsimd_rgb_ycc_convert_mmx
shun-iwasawa 82a8f5
  (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_row, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_extrgb_ycc_convert_mmx
shun-iwasawa 82a8f5
  (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_row, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_extrgbx_ycc_convert_mmx
shun-iwasawa 82a8f5
  (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_row, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_extbgr_ycc_convert_mmx
shun-iwasawa 82a8f5
  (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_row, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_extbgrx_ycc_convert_mmx
shun-iwasawa 82a8f5
  (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_row, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_extxbgr_ycc_convert_mmx
shun-iwasawa 82a8f5
  (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_row, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_extxrgb_ycc_convert_mmx
shun-iwasawa 82a8f5
  (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_row, int num_rows);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
extern const int jconst_rgb_ycc_convert_sse2[];
shun-iwasawa 82a8f5
EXTERN(void) jsimd_rgb_ycc_convert_sse2
shun-iwasawa 82a8f5
  (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_row, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_extrgb_ycc_convert_sse2
shun-iwasawa 82a8f5
  (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_row, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_extrgbx_ycc_convert_sse2
shun-iwasawa 82a8f5
  (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_row, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_extbgr_ycc_convert_sse2
shun-iwasawa 82a8f5
  (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_row, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_extbgrx_ycc_convert_sse2
shun-iwasawa 82a8f5
  (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_row, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_extxbgr_ycc_convert_sse2
shun-iwasawa 82a8f5
  (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_row, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_extxrgb_ycc_convert_sse2
shun-iwasawa 82a8f5
  (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_row, int num_rows);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
extern const int jconst_rgb_ycc_convert_avx2[];
shun-iwasawa 82a8f5
EXTERN(void) jsimd_rgb_ycc_convert_avx2
shun-iwasawa 82a8f5
  (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_row, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_extrgb_ycc_convert_avx2
shun-iwasawa 82a8f5
  (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_row, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_extrgbx_ycc_convert_avx2
shun-iwasawa 82a8f5
  (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_row, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_extbgr_ycc_convert_avx2
shun-iwasawa 82a8f5
  (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_row, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_extbgrx_ycc_convert_avx2
shun-iwasawa 82a8f5
  (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_row, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_extxbgr_ycc_convert_avx2
shun-iwasawa 82a8f5
  (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_row, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_extxrgb_ycc_convert_avx2
shun-iwasawa 82a8f5
  (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_row, int num_rows);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
EXTERN(void) jsimd_rgb_ycc_convert_neon
shun-iwasawa 82a8f5
  (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_row, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_extrgb_ycc_convert_neon
shun-iwasawa 82a8f5
  (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_row, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_extrgbx_ycc_convert_neon
shun-iwasawa 82a8f5
  (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_row, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_extbgr_ycc_convert_neon
shun-iwasawa 82a8f5
  (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_row, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_extbgrx_ycc_convert_neon
shun-iwasawa 82a8f5
  (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_row, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_extxbgr_ycc_convert_neon
shun-iwasawa 82a8f5
  (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_row, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_extxrgb_ycc_convert_neon
shun-iwasawa 82a8f5
  (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_row, int num_rows);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
EXTERN(void) jsimd_extrgb_ycc_convert_neon_slowld3
shun-iwasawa 82a8f5
  (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_row, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_extbgr_ycc_convert_neon_slowld3
shun-iwasawa 82a8f5
  (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_row, int num_rows);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
EXTERN(void) jsimd_rgb_ycc_convert_dspr2
shun-iwasawa 82a8f5
  (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_row, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_extrgb_ycc_convert_dspr2
shun-iwasawa 82a8f5
  (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_row, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_extrgbx_ycc_convert_dspr2
shun-iwasawa 82a8f5
  (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_row, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_extbgr_ycc_convert_dspr2
shun-iwasawa 82a8f5
  (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_row, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_extbgrx_ycc_convert_dspr2
shun-iwasawa 82a8f5
  (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_row, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_extxbgr_ycc_convert_dspr2
shun-iwasawa 82a8f5
  (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_row, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_extxrgb_ycc_convert_dspr2
shun-iwasawa 82a8f5
  (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_row, int num_rows);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
EXTERN(void) jsimd_rgb_ycc_convert_mmi
shun-iwasawa 82a8f5
  (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_row, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_extrgb_ycc_convert_mmi
shun-iwasawa 82a8f5
  (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_row, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_extrgbx_ycc_convert_mmi
shun-iwasawa 82a8f5
  (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_row, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_extbgr_ycc_convert_mmi
shun-iwasawa 82a8f5
  (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_row, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_extbgrx_ycc_convert_mmi
shun-iwasawa 82a8f5
  (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_row, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_extxbgr_ycc_convert_mmi
shun-iwasawa 82a8f5
  (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_row, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_extxrgb_ycc_convert_mmi
shun-iwasawa 82a8f5
  (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_row, int num_rows);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
EXTERN(void) jsimd_rgb_ycc_convert_altivec
shun-iwasawa 82a8f5
  (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_row, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_extrgb_ycc_convert_altivec
shun-iwasawa 82a8f5
  (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_row, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_extrgbx_ycc_convert_altivec
shun-iwasawa 82a8f5
  (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_row, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_extbgr_ycc_convert_altivec
shun-iwasawa 82a8f5
  (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_row, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_extbgrx_ycc_convert_altivec
shun-iwasawa 82a8f5
  (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_row, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_extxbgr_ycc_convert_altivec
shun-iwasawa 82a8f5
  (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_row, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_extxrgb_ycc_convert_altivec
shun-iwasawa 82a8f5
  (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_row, int num_rows);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
/* RGB & extended RGB --> Grayscale Colorspace Conversion */
shun-iwasawa 82a8f5
EXTERN(void) jsimd_rgb_gray_convert_mmx
shun-iwasawa 82a8f5
  (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_row, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_extrgb_gray_convert_mmx
shun-iwasawa 82a8f5
  (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_row, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_extrgbx_gray_convert_mmx
shun-iwasawa 82a8f5
  (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_row, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_extbgr_gray_convert_mmx
shun-iwasawa 82a8f5
  (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_row, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_extbgrx_gray_convert_mmx
shun-iwasawa 82a8f5
  (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_row, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_extxbgr_gray_convert_mmx
shun-iwasawa 82a8f5
  (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_row, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_extxrgb_gray_convert_mmx
shun-iwasawa 82a8f5
  (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_row, int num_rows);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
extern const int jconst_rgb_gray_convert_sse2[];
shun-iwasawa 82a8f5
EXTERN(void) jsimd_rgb_gray_convert_sse2
shun-iwasawa 82a8f5
  (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_row, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_extrgb_gray_convert_sse2
shun-iwasawa 82a8f5
  (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_row, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_extrgbx_gray_convert_sse2
shun-iwasawa 82a8f5
  (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_row, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_extbgr_gray_convert_sse2
shun-iwasawa 82a8f5
  (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_row, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_extbgrx_gray_convert_sse2
shun-iwasawa 82a8f5
  (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_row, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_extxbgr_gray_convert_sse2
shun-iwasawa 82a8f5
  (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_row, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_extxrgb_gray_convert_sse2
shun-iwasawa 82a8f5
  (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_row, int num_rows);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
extern const int jconst_rgb_gray_convert_avx2[];
shun-iwasawa 82a8f5
EXTERN(void) jsimd_rgb_gray_convert_avx2
shun-iwasawa 82a8f5
  (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_row, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_extrgb_gray_convert_avx2
shun-iwasawa 82a8f5
  (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_row, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_extrgbx_gray_convert_avx2
shun-iwasawa 82a8f5
  (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_row, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_extbgr_gray_convert_avx2
shun-iwasawa 82a8f5
  (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_row, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_extbgrx_gray_convert_avx2
shun-iwasawa 82a8f5
  (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_row, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_extxbgr_gray_convert_avx2
shun-iwasawa 82a8f5
  (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_row, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_extxrgb_gray_convert_avx2
shun-iwasawa 82a8f5
  (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_row, int num_rows);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
EXTERN(void) jsimd_rgb_gray_convert_dspr2
shun-iwasawa 82a8f5
  (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_row, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_extrgb_gray_convert_dspr2
shun-iwasawa 82a8f5
  (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_row, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_extrgbx_gray_convert_dspr2
shun-iwasawa 82a8f5
  (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_row, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_extbgr_gray_convert_dspr2
shun-iwasawa 82a8f5
  (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_row, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_extbgrx_gray_convert_dspr2
shun-iwasawa 82a8f5
  (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_row, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_extxbgr_gray_convert_dspr2
shun-iwasawa 82a8f5
  (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_row, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_extxrgb_gray_convert_dspr2
shun-iwasawa 82a8f5
  (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_row, int num_rows);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
EXTERN(void) jsimd_rgb_gray_convert_altivec
shun-iwasawa 82a8f5
  (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_row, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_extrgb_gray_convert_altivec
shun-iwasawa 82a8f5
  (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_row, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_extrgbx_gray_convert_altivec
shun-iwasawa 82a8f5
  (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_row, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_extbgr_gray_convert_altivec
shun-iwasawa 82a8f5
  (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_row, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_extbgrx_gray_convert_altivec
shun-iwasawa 82a8f5
  (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_row, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_extxbgr_gray_convert_altivec
shun-iwasawa 82a8f5
  (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_row, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_extxrgb_gray_convert_altivec
shun-iwasawa 82a8f5
  (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_row, int num_rows);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
/* YCC --> RGB & extended RGB Colorspace Conversion */
shun-iwasawa 82a8f5
EXTERN(void) jsimd_ycc_rgb_convert_mmx
shun-iwasawa 82a8f5
  (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_ycc_extrgb_convert_mmx
shun-iwasawa 82a8f5
  (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_ycc_extrgbx_convert_mmx
shun-iwasawa 82a8f5
  (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_ycc_extbgr_convert_mmx
shun-iwasawa 82a8f5
  (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_ycc_extbgrx_convert_mmx
shun-iwasawa 82a8f5
  (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_ycc_extxbgr_convert_mmx
shun-iwasawa 82a8f5
  (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_ycc_extxrgb_convert_mmx
shun-iwasawa 82a8f5
  (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf, int num_rows);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
extern const int jconst_ycc_rgb_convert_sse2[];
shun-iwasawa 82a8f5
EXTERN(void) jsimd_ycc_rgb_convert_sse2
shun-iwasawa 82a8f5
  (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_ycc_extrgb_convert_sse2
shun-iwasawa 82a8f5
  (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_ycc_extrgbx_convert_sse2
shun-iwasawa 82a8f5
  (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_ycc_extbgr_convert_sse2
shun-iwasawa 82a8f5
  (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_ycc_extbgrx_convert_sse2
shun-iwasawa 82a8f5
  (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_ycc_extxbgr_convert_sse2
shun-iwasawa 82a8f5
  (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_ycc_extxrgb_convert_sse2
shun-iwasawa 82a8f5
  (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf, int num_rows);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
extern const int jconst_ycc_rgb_convert_avx2[];
shun-iwasawa 82a8f5
EXTERN(void) jsimd_ycc_rgb_convert_avx2
shun-iwasawa 82a8f5
  (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_ycc_extrgb_convert_avx2
shun-iwasawa 82a8f5
  (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_ycc_extrgbx_convert_avx2
shun-iwasawa 82a8f5
  (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_ycc_extbgr_convert_avx2
shun-iwasawa 82a8f5
  (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_ycc_extbgrx_convert_avx2
shun-iwasawa 82a8f5
  (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_ycc_extxbgr_convert_avx2
shun-iwasawa 82a8f5
  (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_ycc_extxrgb_convert_avx2
shun-iwasawa 82a8f5
  (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf, int num_rows);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
EXTERN(void) jsimd_ycc_rgb_convert_neon
shun-iwasawa 82a8f5
  (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_ycc_extrgb_convert_neon
shun-iwasawa 82a8f5
  (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_ycc_extrgbx_convert_neon
shun-iwasawa 82a8f5
  (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_ycc_extbgr_convert_neon
shun-iwasawa 82a8f5
  (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_ycc_extbgrx_convert_neon
shun-iwasawa 82a8f5
  (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_ycc_extxbgr_convert_neon
shun-iwasawa 82a8f5
  (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_ycc_extxrgb_convert_neon
shun-iwasawa 82a8f5
  (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_ycc_rgb565_convert_neon
shun-iwasawa 82a8f5
  (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf, int num_rows);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
EXTERN(void) jsimd_ycc_extrgb_convert_neon_slowst3
shun-iwasawa 82a8f5
  (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_ycc_extbgr_convert_neon_slowst3
shun-iwasawa 82a8f5
  (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf, int num_rows);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
EXTERN(void) jsimd_ycc_rgb_convert_dspr2
shun-iwasawa 82a8f5
  (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_ycc_extrgb_convert_dspr2
shun-iwasawa 82a8f5
  (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_ycc_extrgbx_convert_dspr2
shun-iwasawa 82a8f5
  (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_ycc_extbgr_convert_dspr2
shun-iwasawa 82a8f5
  (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_ycc_extbgrx_convert_dspr2
shun-iwasawa 82a8f5
  (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_ycc_extxbgr_convert_dspr2
shun-iwasawa 82a8f5
  (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_ycc_extxrgb_convert_dspr2
shun-iwasawa 82a8f5
  (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf, int num_rows);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
EXTERN(void) jsimd_ycc_rgb_convert_mmi
shun-iwasawa 82a8f5
  (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_ycc_extrgb_convert_mmi
shun-iwasawa 82a8f5
  (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_ycc_extrgbx_convert_mmi
shun-iwasawa 82a8f5
  (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_ycc_extbgr_convert_mmi
shun-iwasawa 82a8f5
  (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_ycc_extbgrx_convert_mmi
shun-iwasawa 82a8f5
  (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_ycc_extxbgr_convert_mmi
shun-iwasawa 82a8f5
  (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_ycc_extxrgb_convert_mmi
shun-iwasawa 82a8f5
  (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf, int num_rows);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
EXTERN(void) jsimd_ycc_rgb_convert_altivec
shun-iwasawa 82a8f5
  (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_ycc_extrgb_convert_altivec
shun-iwasawa 82a8f5
  (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_ycc_extrgbx_convert_altivec
shun-iwasawa 82a8f5
  (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_ycc_extbgr_convert_altivec
shun-iwasawa 82a8f5
  (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_ycc_extbgrx_convert_altivec
shun-iwasawa 82a8f5
  (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_ycc_extxbgr_convert_altivec
shun-iwasawa 82a8f5
  (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf, int num_rows);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_ycc_extxrgb_convert_altivec
shun-iwasawa 82a8f5
  (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf, int num_rows);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
/* NULL Colorspace Conversion */
shun-iwasawa 82a8f5
EXTERN(void) jsimd_c_null_convert_dspr2
shun-iwasawa 82a8f5
  (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_row, int num_rows, int num_components);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
/* h2v1 Downsampling */
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v1_downsample_mmx
shun-iwasawa 82a8f5
  (JDIMENSION image_width, int max_v_samp_factor, JDIMENSION v_samp_factor,
shun-iwasawa 82a8f5
   JDIMENSION width_in_blocks, JSAMPARRAY input_data, JSAMPARRAY output_data);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v1_downsample_sse2
shun-iwasawa 82a8f5
  (JDIMENSION image_width, int max_v_samp_factor, JDIMENSION v_samp_factor,
shun-iwasawa 82a8f5
   JDIMENSION width_in_blocks, JSAMPARRAY input_data, JSAMPARRAY output_data);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v1_downsample_avx2
shun-iwasawa 82a8f5
  (JDIMENSION image_width, int max_v_samp_factor, JDIMENSION v_samp_factor,
shun-iwasawa 82a8f5
   JDIMENSION width_in_blocks, JSAMPARRAY input_data, JSAMPARRAY output_data);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v1_downsample_neon
shun-iwasawa 82a8f5
  (JDIMENSION image_width, int max_v_samp_factor, JDIMENSION v_samp_factor,
shun-iwasawa 82a8f5
   JDIMENSION width_in_blocks, JSAMPARRAY input_data, JSAMPARRAY output_data);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v1_downsample_dspr2
shun-iwasawa 82a8f5
  (JDIMENSION image_width, int max_v_samp_factor, JDIMENSION v_samp_factor,
shun-iwasawa 82a8f5
   JDIMENSION width_in_blocks, JSAMPARRAY input_data, JSAMPARRAY output_data);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v1_downsample_altivec
shun-iwasawa 82a8f5
  (JDIMENSION image_width, int max_v_samp_factor, JDIMENSION v_samp_factor,
shun-iwasawa 82a8f5
   JDIMENSION width_in_blocks, JSAMPARRAY input_data, JSAMPARRAY output_data);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
/* h2v2 Downsampling */
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v2_downsample_mmx
shun-iwasawa 82a8f5
  (JDIMENSION image_width, int max_v_samp_factor, JDIMENSION v_samp_factor,
shun-iwasawa 82a8f5
   JDIMENSION width_in_blocks, JSAMPARRAY input_data, JSAMPARRAY output_data);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v2_downsample_sse2
shun-iwasawa 82a8f5
  (JDIMENSION image_width, int max_v_samp_factor, JDIMENSION v_samp_factor,
shun-iwasawa 82a8f5
   JDIMENSION width_in_blocks, JSAMPARRAY input_data, JSAMPARRAY output_data);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v2_downsample_avx2
shun-iwasawa 82a8f5
  (JDIMENSION image_width, int max_v_samp_factor, JDIMENSION v_samp_factor,
shun-iwasawa 82a8f5
   JDIMENSION width_in_blocks, JSAMPARRAY input_data, JSAMPARRAY output_data);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v2_downsample_neon
shun-iwasawa 82a8f5
  (JDIMENSION image_width, int max_v_samp_factor, JDIMENSION v_samp_factor,
shun-iwasawa 82a8f5
   JDIMENSION width_in_blocks, JSAMPARRAY input_data, JSAMPARRAY output_data);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v2_downsample_dspr2
shun-iwasawa 82a8f5
  (JDIMENSION image_width, int max_v_samp_factor, JDIMENSION v_samp_factor,
shun-iwasawa 82a8f5
   JDIMENSION width_in_blocks, JSAMPARRAY input_data, JSAMPARRAY output_data);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v2_downsample_mmi
shun-iwasawa 82a8f5
  (JDIMENSION image_width, int max_v_samp_factor, JDIMENSION v_samp_factor,
shun-iwasawa 82a8f5
   JDIMENSION width_in_blocks, JSAMPARRAY input_data, JSAMPARRAY output_data);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v2_downsample_altivec
shun-iwasawa 82a8f5
  (JDIMENSION image_width, int max_v_samp_factor, JDIMENSION v_samp_factor,
shun-iwasawa 82a8f5
   JDIMENSION width_in_blocks, JSAMPARRAY input_data, JSAMPARRAY output_data);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
/* h2v2 Smooth Downsampling */
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v2_smooth_downsample_dspr2
shun-iwasawa 82a8f5
  (JSAMPARRAY input_data, JSAMPARRAY output_data, JDIMENSION v_samp_factor,
shun-iwasawa 82a8f5
   int max_v_samp_factor, int smoothing_factor, JDIMENSION width_in_blocks,
shun-iwasawa 82a8f5
   JDIMENSION image_width);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
/* Upsampling */
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v1_upsample_mmx
shun-iwasawa 82a8f5
  (int max_v_samp_factor, JDIMENSION output_width, JSAMPARRAY input_data,
shun-iwasawa 82a8f5
   JSAMPARRAY *output_data_ptr);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v2_upsample_mmx
shun-iwasawa 82a8f5
  (int max_v_samp_factor, JDIMENSION output_width, JSAMPARRAY input_data,
shun-iwasawa 82a8f5
   JSAMPARRAY *output_data_ptr);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v1_upsample_sse2
shun-iwasawa 82a8f5
  (int max_v_samp_factor, JDIMENSION output_width, JSAMPARRAY input_data,
shun-iwasawa 82a8f5
   JSAMPARRAY *output_data_ptr);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v2_upsample_sse2
shun-iwasawa 82a8f5
  (int max_v_samp_factor, JDIMENSION output_width, JSAMPARRAY input_data,
shun-iwasawa 82a8f5
   JSAMPARRAY *output_data_ptr);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v1_upsample_avx2
shun-iwasawa 82a8f5
  (int max_v_samp_factor, JDIMENSION output_width, JSAMPARRAY input_data,
shun-iwasawa 82a8f5
   JSAMPARRAY *output_data_ptr);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v2_upsample_avx2
shun-iwasawa 82a8f5
  (int max_v_samp_factor, JDIMENSION output_width, JSAMPARRAY input_data,
shun-iwasawa 82a8f5
   JSAMPARRAY *output_data_ptr);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v1_upsample_dspr2
shun-iwasawa 82a8f5
  (int max_v_samp_factor, JDIMENSION output_width, JSAMPARRAY input_data,
shun-iwasawa 82a8f5
   JSAMPARRAY *output_data_ptr);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v2_upsample_dspr2
shun-iwasawa 82a8f5
  (int max_v_samp_factor, JDIMENSION output_width, JSAMPARRAY input_data,
shun-iwasawa 82a8f5
   JSAMPARRAY *output_data_ptr);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
EXTERN(void) jsimd_int_upsample_dspr2
shun-iwasawa 82a8f5
  (UINT8 h_expand, UINT8 v_expand, JSAMPARRAY input_data,
shun-iwasawa 82a8f5
   JSAMPARRAY *output_data_ptr, JDIMENSION output_width,
shun-iwasawa 82a8f5
   int max_v_samp_factor);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v1_upsample_altivec
shun-iwasawa 82a8f5
  (int max_v_samp_factor, JDIMENSION output_width, JSAMPARRAY input_data,
shun-iwasawa 82a8f5
   JSAMPARRAY *output_data_ptr);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v2_upsample_altivec
shun-iwasawa 82a8f5
  (int max_v_samp_factor, JDIMENSION output_width, JSAMPARRAY input_data,
shun-iwasawa 82a8f5
   JSAMPARRAY *output_data_ptr);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
/* Fancy Upsampling */
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v1_fancy_upsample_mmx
shun-iwasawa 82a8f5
  (int max_v_samp_factor, JDIMENSION downsampled_width, JSAMPARRAY input_data,
shun-iwasawa 82a8f5
   JSAMPARRAY *output_data_ptr);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v2_fancy_upsample_mmx
shun-iwasawa 82a8f5
  (int max_v_samp_factor, JDIMENSION downsampled_width, JSAMPARRAY input_data,
shun-iwasawa 82a8f5
   JSAMPARRAY *output_data_ptr);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
extern const int jconst_fancy_upsample_sse2[];
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v1_fancy_upsample_sse2
shun-iwasawa 82a8f5
  (int max_v_samp_factor, JDIMENSION downsampled_width, JSAMPARRAY input_data,
shun-iwasawa 82a8f5
   JSAMPARRAY *output_data_ptr);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v2_fancy_upsample_sse2
shun-iwasawa 82a8f5
  (int max_v_samp_factor, JDIMENSION downsampled_width, JSAMPARRAY input_data,
shun-iwasawa 82a8f5
   JSAMPARRAY *output_data_ptr);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
extern const int jconst_fancy_upsample_avx2[];
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v1_fancy_upsample_avx2
shun-iwasawa 82a8f5
  (int max_v_samp_factor, JDIMENSION downsampled_width, JSAMPARRAY input_data,
shun-iwasawa 82a8f5
   JSAMPARRAY *output_data_ptr);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v2_fancy_upsample_avx2
shun-iwasawa 82a8f5
  (int max_v_samp_factor, JDIMENSION downsampled_width, JSAMPARRAY input_data,
shun-iwasawa 82a8f5
   JSAMPARRAY *output_data_ptr);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v1_fancy_upsample_neon
shun-iwasawa 82a8f5
  (int max_v_samp_factor, JDIMENSION downsampled_width, JSAMPARRAY input_data,
shun-iwasawa 82a8f5
   JSAMPARRAY *output_data_ptr);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v1_fancy_upsample_dspr2
shun-iwasawa 82a8f5
  (int max_v_samp_factor, JDIMENSION downsampled_width, JSAMPARRAY input_data,
shun-iwasawa 82a8f5
   JSAMPARRAY *output_data_ptr);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v2_fancy_upsample_dspr2
shun-iwasawa 82a8f5
  (int max_v_samp_factor, JDIMENSION downsampled_width, JSAMPARRAY input_data,
shun-iwasawa 82a8f5
   JSAMPARRAY *output_data_ptr);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v2_fancy_upsample_mmi
shun-iwasawa 82a8f5
  (int max_v_samp_factor, JDIMENSION downsampled_width, JSAMPARRAY input_data,
shun-iwasawa 82a8f5
   JSAMPARRAY *output_data_ptr);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v1_fancy_upsample_altivec
shun-iwasawa 82a8f5
  (int max_v_samp_factor, JDIMENSION downsampled_width, JSAMPARRAY input_data,
shun-iwasawa 82a8f5
   JSAMPARRAY *output_data_ptr);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v2_fancy_upsample_altivec
shun-iwasawa 82a8f5
  (int max_v_samp_factor, JDIMENSION downsampled_width, JSAMPARRAY input_data,
shun-iwasawa 82a8f5
   JSAMPARRAY *output_data_ptr);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
/* Merged Upsampling */
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v1_merged_upsample_mmx
shun-iwasawa 82a8f5
  (JDIMENSION output_width, JSAMPIMAGE input_buf, JDIMENSION in_row_group_ctr,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v1_extrgb_merged_upsample_mmx
shun-iwasawa 82a8f5
  (JDIMENSION output_width, JSAMPIMAGE input_buf, JDIMENSION in_row_group_ctr,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v1_extrgbx_merged_upsample_mmx
shun-iwasawa 82a8f5
  (JDIMENSION output_width, JSAMPIMAGE input_buf, JDIMENSION in_row_group_ctr,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v1_extbgr_merged_upsample_mmx
shun-iwasawa 82a8f5
  (JDIMENSION output_width, JSAMPIMAGE input_buf, JDIMENSION in_row_group_ctr,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v1_extbgrx_merged_upsample_mmx
shun-iwasawa 82a8f5
  (JDIMENSION output_width, JSAMPIMAGE input_buf, JDIMENSION in_row_group_ctr,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v1_extxbgr_merged_upsample_mmx
shun-iwasawa 82a8f5
  (JDIMENSION output_width, JSAMPIMAGE input_buf, JDIMENSION in_row_group_ctr,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v1_extxrgb_merged_upsample_mmx
shun-iwasawa 82a8f5
  (JDIMENSION output_width, JSAMPIMAGE input_buf, JDIMENSION in_row_group_ctr,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v2_merged_upsample_mmx
shun-iwasawa 82a8f5
  (JDIMENSION output_width, JSAMPIMAGE input_buf, JDIMENSION in_row_group_ctr,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v2_extrgb_merged_upsample_mmx
shun-iwasawa 82a8f5
  (JDIMENSION output_width, JSAMPIMAGE input_buf, JDIMENSION in_row_group_ctr,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v2_extrgbx_merged_upsample_mmx
shun-iwasawa 82a8f5
  (JDIMENSION output_width, JSAMPIMAGE input_buf, JDIMENSION in_row_group_ctr,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v2_extbgr_merged_upsample_mmx
shun-iwasawa 82a8f5
  (JDIMENSION output_width, JSAMPIMAGE input_buf, JDIMENSION in_row_group_ctr,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v2_extbgrx_merged_upsample_mmx
shun-iwasawa 82a8f5
  (JDIMENSION output_width, JSAMPIMAGE input_buf, JDIMENSION in_row_group_ctr,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v2_extxbgr_merged_upsample_mmx
shun-iwasawa 82a8f5
  (JDIMENSION output_width, JSAMPIMAGE input_buf, JDIMENSION in_row_group_ctr,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v2_extxrgb_merged_upsample_mmx
shun-iwasawa 82a8f5
  (JDIMENSION output_width, JSAMPIMAGE input_buf, JDIMENSION in_row_group_ctr,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
extern const int jconst_merged_upsample_sse2[];
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v1_merged_upsample_sse2
shun-iwasawa 82a8f5
  (JDIMENSION output_width, JSAMPIMAGE input_buf, JDIMENSION in_row_group_ctr,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v1_extrgb_merged_upsample_sse2
shun-iwasawa 82a8f5
  (JDIMENSION output_width, JSAMPIMAGE input_buf, JDIMENSION in_row_group_ctr,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v1_extrgbx_merged_upsample_sse2
shun-iwasawa 82a8f5
  (JDIMENSION output_width, JSAMPIMAGE input_buf, JDIMENSION in_row_group_ctr,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v1_extbgr_merged_upsample_sse2
shun-iwasawa 82a8f5
  (JDIMENSION output_width, JSAMPIMAGE input_buf, JDIMENSION in_row_group_ctr,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v1_extbgrx_merged_upsample_sse2
shun-iwasawa 82a8f5
  (JDIMENSION output_width, JSAMPIMAGE input_buf, JDIMENSION in_row_group_ctr,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v1_extxbgr_merged_upsample_sse2
shun-iwasawa 82a8f5
  (JDIMENSION output_width, JSAMPIMAGE input_buf, JDIMENSION in_row_group_ctr,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v1_extxrgb_merged_upsample_sse2
shun-iwasawa 82a8f5
  (JDIMENSION output_width, JSAMPIMAGE input_buf, JDIMENSION in_row_group_ctr,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v2_merged_upsample_sse2
shun-iwasawa 82a8f5
  (JDIMENSION output_width, JSAMPIMAGE input_buf, JDIMENSION in_row_group_ctr,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v2_extrgb_merged_upsample_sse2
shun-iwasawa 82a8f5
  (JDIMENSION output_width, JSAMPIMAGE input_buf, JDIMENSION in_row_group_ctr,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v2_extrgbx_merged_upsample_sse2
shun-iwasawa 82a8f5
  (JDIMENSION output_width, JSAMPIMAGE input_buf, JDIMENSION in_row_group_ctr,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v2_extbgr_merged_upsample_sse2
shun-iwasawa 82a8f5
  (JDIMENSION output_width, JSAMPIMAGE input_buf, JDIMENSION in_row_group_ctr,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v2_extbgrx_merged_upsample_sse2
shun-iwasawa 82a8f5
  (JDIMENSION output_width, JSAMPIMAGE input_buf, JDIMENSION in_row_group_ctr,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v2_extxbgr_merged_upsample_sse2
shun-iwasawa 82a8f5
  (JDIMENSION output_width, JSAMPIMAGE input_buf, JDIMENSION in_row_group_ctr,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v2_extxrgb_merged_upsample_sse2
shun-iwasawa 82a8f5
  (JDIMENSION output_width, JSAMPIMAGE input_buf, JDIMENSION in_row_group_ctr,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
extern const int jconst_merged_upsample_avx2[];
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v1_merged_upsample_avx2
shun-iwasawa 82a8f5
  (JDIMENSION output_width, JSAMPIMAGE input_buf, JDIMENSION in_row_group_ctr,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v1_extrgb_merged_upsample_avx2
shun-iwasawa 82a8f5
  (JDIMENSION output_width, JSAMPIMAGE input_buf, JDIMENSION in_row_group_ctr,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v1_extrgbx_merged_upsample_avx2
shun-iwasawa 82a8f5
  (JDIMENSION output_width, JSAMPIMAGE input_buf, JDIMENSION in_row_group_ctr,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v1_extbgr_merged_upsample_avx2
shun-iwasawa 82a8f5
  (JDIMENSION output_width, JSAMPIMAGE input_buf, JDIMENSION in_row_group_ctr,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v1_extbgrx_merged_upsample_avx2
shun-iwasawa 82a8f5
  (JDIMENSION output_width, JSAMPIMAGE input_buf, JDIMENSION in_row_group_ctr,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v1_extxbgr_merged_upsample_avx2
shun-iwasawa 82a8f5
  (JDIMENSION output_width, JSAMPIMAGE input_buf, JDIMENSION in_row_group_ctr,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v1_extxrgb_merged_upsample_avx2
shun-iwasawa 82a8f5
  (JDIMENSION output_width, JSAMPIMAGE input_buf, JDIMENSION in_row_group_ctr,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v2_merged_upsample_avx2
shun-iwasawa 82a8f5
  (JDIMENSION output_width, JSAMPIMAGE input_buf, JDIMENSION in_row_group_ctr,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v2_extrgb_merged_upsample_avx2
shun-iwasawa 82a8f5
  (JDIMENSION output_width, JSAMPIMAGE input_buf, JDIMENSION in_row_group_ctr,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v2_extrgbx_merged_upsample_avx2
shun-iwasawa 82a8f5
  (JDIMENSION output_width, JSAMPIMAGE input_buf, JDIMENSION in_row_group_ctr,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v2_extbgr_merged_upsample_avx2
shun-iwasawa 82a8f5
  (JDIMENSION output_width, JSAMPIMAGE input_buf, JDIMENSION in_row_group_ctr,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v2_extbgrx_merged_upsample_avx2
shun-iwasawa 82a8f5
  (JDIMENSION output_width, JSAMPIMAGE input_buf, JDIMENSION in_row_group_ctr,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v2_extxbgr_merged_upsample_avx2
shun-iwasawa 82a8f5
  (JDIMENSION output_width, JSAMPIMAGE input_buf, JDIMENSION in_row_group_ctr,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v2_extxrgb_merged_upsample_avx2
shun-iwasawa 82a8f5
  (JDIMENSION output_width, JSAMPIMAGE input_buf, JDIMENSION in_row_group_ctr,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v1_merged_upsample_dspr2
shun-iwasawa 82a8f5
  (JDIMENSION output_width, JSAMPIMAGE input_buf, JDIMENSION in_row_group_ctr,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf, JSAMPLE *range);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v1_extrgb_merged_upsample_dspr2
shun-iwasawa 82a8f5
  (JDIMENSION output_width, JSAMPIMAGE input_buf, JDIMENSION in_row_group_ctr,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf, JSAMPLE *range);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v1_extrgbx_merged_upsample_dspr2
shun-iwasawa 82a8f5
  (JDIMENSION output_width, JSAMPIMAGE input_buf, JDIMENSION in_row_group_ctr,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf, JSAMPLE *range);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v1_extbgr_merged_upsample_dspr2
shun-iwasawa 82a8f5
  (JDIMENSION output_width, JSAMPIMAGE input_buf, JDIMENSION in_row_group_ctr,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf, JSAMPLE *range);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v1_extbgrx_merged_upsample_dspr2
shun-iwasawa 82a8f5
  (JDIMENSION output_width, JSAMPIMAGE input_buf, JDIMENSION in_row_group_ctr,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf, JSAMPLE *range);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v1_extxbgr_merged_upsample_dspr2
shun-iwasawa 82a8f5
  (JDIMENSION output_width, JSAMPIMAGE input_buf, JDIMENSION in_row_group_ctr,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf, JSAMPLE *range);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v1_extxrgb_merged_upsample_dspr2
shun-iwasawa 82a8f5
  (JDIMENSION output_width, JSAMPIMAGE input_buf, JDIMENSION in_row_group_ctr,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf, JSAMPLE *range);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v2_merged_upsample_dspr2
shun-iwasawa 82a8f5
  (JDIMENSION output_width, JSAMPIMAGE input_buf, JDIMENSION in_row_group_ctr,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf, JSAMPLE *range);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v2_extrgb_merged_upsample_dspr2
shun-iwasawa 82a8f5
  (JDIMENSION output_width, JSAMPIMAGE input_buf, JDIMENSION in_row_group_ctr,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf, JSAMPLE *range);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v2_extrgbx_merged_upsample_dspr2
shun-iwasawa 82a8f5
  (JDIMENSION output_width, JSAMPIMAGE input_buf, JDIMENSION in_row_group_ctr,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf, JSAMPLE *range);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v2_extbgr_merged_upsample_dspr2
shun-iwasawa 82a8f5
  (JDIMENSION output_width, JSAMPIMAGE input_buf, JDIMENSION in_row_group_ctr,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf, JSAMPLE *range);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v2_extbgrx_merged_upsample_dspr2
shun-iwasawa 82a8f5
  (JDIMENSION output_width, JSAMPIMAGE input_buf, JDIMENSION in_row_group_ctr,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf, JSAMPLE *range);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v2_extxbgr_merged_upsample_dspr2
shun-iwasawa 82a8f5
  (JDIMENSION output_width, JSAMPIMAGE input_buf, JDIMENSION in_row_group_ctr,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf, JSAMPLE *range);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v2_extxrgb_merged_upsample_dspr2
shun-iwasawa 82a8f5
  (JDIMENSION output_width, JSAMPIMAGE input_buf, JDIMENSION in_row_group_ctr,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf, JSAMPLE *range);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v1_merged_upsample_altivec
shun-iwasawa 82a8f5
  (JDIMENSION output_width, JSAMPIMAGE input_buf, JDIMENSION in_row_group_ctr,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v1_extrgb_merged_upsample_altivec
shun-iwasawa 82a8f5
  (JDIMENSION output_width, JSAMPIMAGE input_buf, JDIMENSION in_row_group_ctr,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v1_extrgbx_merged_upsample_altivec
shun-iwasawa 82a8f5
  (JDIMENSION output_width, JSAMPIMAGE input_buf, JDIMENSION in_row_group_ctr,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v1_extbgr_merged_upsample_altivec
shun-iwasawa 82a8f5
  (JDIMENSION output_width, JSAMPIMAGE input_buf, JDIMENSION in_row_group_ctr,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v1_extbgrx_merged_upsample_altivec
shun-iwasawa 82a8f5
  (JDIMENSION output_width, JSAMPIMAGE input_buf, JDIMENSION in_row_group_ctr,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v1_extxbgr_merged_upsample_altivec
shun-iwasawa 82a8f5
  (JDIMENSION output_width, JSAMPIMAGE input_buf, JDIMENSION in_row_group_ctr,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v1_extxrgb_merged_upsample_altivec
shun-iwasawa 82a8f5
  (JDIMENSION output_width, JSAMPIMAGE input_buf, JDIMENSION in_row_group_ctr,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v2_merged_upsample_altivec
shun-iwasawa 82a8f5
  (JDIMENSION output_width, JSAMPIMAGE input_buf, JDIMENSION in_row_group_ctr,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v2_extrgb_merged_upsample_altivec
shun-iwasawa 82a8f5
  (JDIMENSION output_width, JSAMPIMAGE input_buf, JDIMENSION in_row_group_ctr,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v2_extrgbx_merged_upsample_altivec
shun-iwasawa 82a8f5
  (JDIMENSION output_width, JSAMPIMAGE input_buf, JDIMENSION in_row_group_ctr,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v2_extbgr_merged_upsample_altivec
shun-iwasawa 82a8f5
  (JDIMENSION output_width, JSAMPIMAGE input_buf, JDIMENSION in_row_group_ctr,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v2_extbgrx_merged_upsample_altivec
shun-iwasawa 82a8f5
  (JDIMENSION output_width, JSAMPIMAGE input_buf, JDIMENSION in_row_group_ctr,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v2_extxbgr_merged_upsample_altivec
shun-iwasawa 82a8f5
  (JDIMENSION output_width, JSAMPIMAGE input_buf, JDIMENSION in_row_group_ctr,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_h2v2_extxrgb_merged_upsample_altivec
shun-iwasawa 82a8f5
  (JDIMENSION output_width, JSAMPIMAGE input_buf, JDIMENSION in_row_group_ctr,
shun-iwasawa 82a8f5
   JSAMPARRAY output_buf);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
/* Sample Conversion */
shun-iwasawa 82a8f5
EXTERN(void) jsimd_convsamp_mmx
shun-iwasawa 82a8f5
  (JSAMPARRAY sample_data, JDIMENSION start_col, DCTELEM *workspace);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
EXTERN(void) jsimd_convsamp_sse2
shun-iwasawa 82a8f5
  (JSAMPARRAY sample_data, JDIMENSION start_col, DCTELEM *workspace);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
EXTERN(void) jsimd_convsamp_avx2
shun-iwasawa 82a8f5
  (JSAMPARRAY sample_data, JDIMENSION start_col, DCTELEM *workspace);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
EXTERN(void) jsimd_convsamp_neon
shun-iwasawa 82a8f5
  (JSAMPARRAY sample_data, JDIMENSION start_col, DCTELEM *workspace);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
EXTERN(void) jsimd_convsamp_dspr2
shun-iwasawa 82a8f5
  (JSAMPARRAY sample_data, JDIMENSION start_col, DCTELEM *workspace);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
EXTERN(void) jsimd_convsamp_altivec
shun-iwasawa 82a8f5
  (JSAMPARRAY sample_data, JDIMENSION start_col, DCTELEM *workspace);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
/* Floating Point Sample Conversion */
shun-iwasawa 82a8f5
EXTERN(void) jsimd_convsamp_float_3dnow
shun-iwasawa 82a8f5
  (JSAMPARRAY sample_data, JDIMENSION start_col, FAST_FLOAT *workspace);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
EXTERN(void) jsimd_convsamp_float_sse
shun-iwasawa 82a8f5
  (JSAMPARRAY sample_data, JDIMENSION start_col, FAST_FLOAT *workspace);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
EXTERN(void) jsimd_convsamp_float_sse2
shun-iwasawa 82a8f5
  (JSAMPARRAY sample_data, JDIMENSION start_col, FAST_FLOAT *workspace);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
EXTERN(void) jsimd_convsamp_float_dspr2
shun-iwasawa 82a8f5
  (JSAMPARRAY sample_data, JDIMENSION start_col, FAST_FLOAT *workspace);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
/* Accurate Integer Forward DCT */
shun-iwasawa 82a8f5
EXTERN(void) jsimd_fdct_islow_mmx(DCTELEM *data);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
extern const int jconst_fdct_islow_sse2[];
shun-iwasawa 82a8f5
EXTERN(void) jsimd_fdct_islow_sse2(DCTELEM *data);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
extern const int jconst_fdct_islow_avx2[];
shun-iwasawa 82a8f5
EXTERN(void) jsimd_fdct_islow_avx2(DCTELEM *data);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
EXTERN(void) jsimd_fdct_islow_neon(DCTELEM *data);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
EXTERN(void) jsimd_fdct_islow_dspr2(DCTELEM *data);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
EXTERN(void) jsimd_fdct_islow_mmi(DCTELEM *data);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
EXTERN(void) jsimd_fdct_islow_altivec(DCTELEM *data);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
/* Fast Integer Forward DCT */
shun-iwasawa 82a8f5
EXTERN(void) jsimd_fdct_ifast_mmx(DCTELEM *data);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
extern const int jconst_fdct_ifast_sse2[];
shun-iwasawa 82a8f5
EXTERN(void) jsimd_fdct_ifast_sse2(DCTELEM *data);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
EXTERN(void) jsimd_fdct_ifast_neon(DCTELEM *data);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
EXTERN(void) jsimd_fdct_ifast_dspr2(DCTELEM *data);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
EXTERN(void) jsimd_fdct_ifast_altivec(DCTELEM *data);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
/* Floating Point Forward DCT */
shun-iwasawa 82a8f5
EXTERN(void) jsimd_fdct_float_3dnow(FAST_FLOAT *data);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
extern const int jconst_fdct_float_sse[];
shun-iwasawa 82a8f5
EXTERN(void) jsimd_fdct_float_sse(FAST_FLOAT *data);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
/* Quantization */
shun-iwasawa 82a8f5
EXTERN(void) jsimd_quantize_mmx
shun-iwasawa 82a8f5
  (JCOEFPTR coef_block, DCTELEM *divisors, DCTELEM *workspace);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
EXTERN(void) jsimd_quantize_sse2
shun-iwasawa 82a8f5
  (JCOEFPTR coef_block, DCTELEM *divisors, DCTELEM *workspace);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
EXTERN(void) jsimd_quantize_avx2
shun-iwasawa 82a8f5
  (JCOEFPTR coef_block, DCTELEM *divisors, DCTELEM *workspace);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
EXTERN(void) jsimd_quantize_neon
shun-iwasawa 82a8f5
  (JCOEFPTR coef_block, DCTELEM *divisors, DCTELEM *workspace);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
EXTERN(void) jsimd_quantize_dspr2
shun-iwasawa 82a8f5
  (JCOEFPTR coef_block, DCTELEM *divisors, DCTELEM *workspace);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
EXTERN(void) jsimd_quantize_mmi
shun-iwasawa 82a8f5
  (JCOEFPTR coef_block, DCTELEM *divisors, DCTELEM *workspace);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
EXTERN(void) jsimd_quantize_altivec
shun-iwasawa 82a8f5
  (JCOEFPTR coef_block, DCTELEM *divisors, DCTELEM *workspace);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
/* Floating Point Quantization */
shun-iwasawa 82a8f5
EXTERN(void) jsimd_quantize_float_3dnow
shun-iwasawa 82a8f5
  (JCOEFPTR coef_block, FAST_FLOAT *divisors, FAST_FLOAT *workspace);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
EXTERN(void) jsimd_quantize_float_sse
shun-iwasawa 82a8f5
  (JCOEFPTR coef_block, FAST_FLOAT *divisors, FAST_FLOAT *workspace);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
EXTERN(void) jsimd_quantize_float_sse2
shun-iwasawa 82a8f5
  (JCOEFPTR coef_block, FAST_FLOAT *divisors, FAST_FLOAT *workspace);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
EXTERN(void) jsimd_quantize_float_dspr2
shun-iwasawa 82a8f5
  (JCOEFPTR coef_block, FAST_FLOAT *divisors, FAST_FLOAT *workspace);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
/* Scaled Inverse DCT */
shun-iwasawa 82a8f5
EXTERN(void) jsimd_idct_2x2_mmx
shun-iwasawa 82a8f5
  (void *dct_table, JCOEFPTR coef_block, JSAMPARRAY output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_col);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_idct_4x4_mmx
shun-iwasawa 82a8f5
  (void *dct_table, JCOEFPTR coef_block, JSAMPARRAY output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_col);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
extern const int jconst_idct_red_sse2[];
shun-iwasawa 82a8f5
EXTERN(void) jsimd_idct_2x2_sse2
shun-iwasawa 82a8f5
  (void *dct_table, JCOEFPTR coef_block, JSAMPARRAY output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_col);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_idct_4x4_sse2
shun-iwasawa 82a8f5
  (void *dct_table, JCOEFPTR coef_block, JSAMPARRAY output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_col);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
EXTERN(void) jsimd_idct_2x2_neon
shun-iwasawa 82a8f5
  (void *dct_table, JCOEFPTR coef_block, JSAMPARRAY output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_col);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_idct_4x4_neon
shun-iwasawa 82a8f5
  (void *dct_table, JCOEFPTR coef_block, JSAMPARRAY output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_col);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
EXTERN(void) jsimd_idct_2x2_dspr2
shun-iwasawa 82a8f5
  (void *dct_table, JCOEFPTR coef_block, JSAMPARRAY output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_col);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_idct_4x4_dspr2
shun-iwasawa 82a8f5
  (void *dct_table, JCOEFPTR coef_block, JSAMPARRAY output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_col, int *workspace);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_idct_6x6_dspr2
shun-iwasawa 82a8f5
  (void *dct_table, JCOEFPTR coef_block, JSAMPARRAY output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_col);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_idct_12x12_pass1_dspr2
shun-iwasawa 82a8f5
  (JCOEFPTR coef_block, void *dct_table, int *workspace);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_idct_12x12_pass2_dspr2
shun-iwasawa 82a8f5
  (int *workspace, int *output);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
/* Accurate Integer Inverse DCT */
shun-iwasawa 82a8f5
EXTERN(void) jsimd_idct_islow_mmx
shun-iwasawa 82a8f5
  (void *dct_table, JCOEFPTR coef_block, JSAMPARRAY output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_col);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
extern const int jconst_idct_islow_sse2[];
shun-iwasawa 82a8f5
EXTERN(void) jsimd_idct_islow_sse2
shun-iwasawa 82a8f5
  (void *dct_table, JCOEFPTR coef_block, JSAMPARRAY output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_col);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
extern const int jconst_idct_islow_avx2[];
shun-iwasawa 82a8f5
EXTERN(void) jsimd_idct_islow_avx2
shun-iwasawa 82a8f5
  (void *dct_table, JCOEFPTR coef_block, JSAMPARRAY output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_col);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
EXTERN(void) jsimd_idct_islow_neon
shun-iwasawa 82a8f5
  (void *dct_table, JCOEFPTR coef_block, JSAMPARRAY output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_col);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
EXTERN(void) jsimd_idct_islow_dspr2
shun-iwasawa 82a8f5
  (void *dct_table, JCOEFPTR coef_block, int *output_buf, JSAMPLE *output_col);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
EXTERN(void) jsimd_idct_islow_mmi
shun-iwasawa 82a8f5
  (void *dct_table, JCOEFPTR coef_block, JSAMPARRAY output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_col);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
EXTERN(void) jsimd_idct_islow_altivec
shun-iwasawa 82a8f5
  (void *dct_table, JCOEFPTR coef_block, JSAMPARRAY output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_col);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
/* Fast Integer Inverse DCT */
shun-iwasawa 82a8f5
EXTERN(void) jsimd_idct_ifast_mmx
shun-iwasawa 82a8f5
  (void *dct_table, JCOEFPTR coef_block, JSAMPARRAY output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_col);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
extern const int jconst_idct_ifast_sse2[];
shun-iwasawa 82a8f5
EXTERN(void) jsimd_idct_ifast_sse2
shun-iwasawa 82a8f5
  (void *dct_table, JCOEFPTR coef_block, JSAMPARRAY output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_col);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
EXTERN(void) jsimd_idct_ifast_neon
shun-iwasawa 82a8f5
  (void *dct_table, JCOEFPTR coef_block, JSAMPARRAY output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_col);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
EXTERN(void) jsimd_idct_ifast_cols_dspr2
shun-iwasawa 82a8f5
  (JCOEF *inptr, IFAST_MULT_TYPE *quantptr, DCTELEM *wsptr,
shun-iwasawa 82a8f5
   const int *idct_coefs);
shun-iwasawa 82a8f5
EXTERN(void) jsimd_idct_ifast_rows_dspr2
shun-iwasawa 82a8f5
  (DCTELEM *wsptr, JSAMPARRAY output_buf, JDIMENSION output_col,
shun-iwasawa 82a8f5
   const int *idct_coefs);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
EXTERN(void) jsimd_idct_ifast_altivec
shun-iwasawa 82a8f5
  (void *dct_table, JCOEFPTR coef_block, JSAMPARRAY output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_col);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
/* Floating Point Inverse DCT */
shun-iwasawa 82a8f5
EXTERN(void) jsimd_idct_float_3dnow
shun-iwasawa 82a8f5
  (void *dct_table, JCOEFPTR coef_block, JSAMPARRAY output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_col);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
extern const int jconst_idct_float_sse[];
shun-iwasawa 82a8f5
EXTERN(void) jsimd_idct_float_sse
shun-iwasawa 82a8f5
  (void *dct_table, JCOEFPTR coef_block, JSAMPARRAY output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_col);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
extern const int jconst_idct_float_sse2[];
shun-iwasawa 82a8f5
EXTERN(void) jsimd_idct_float_sse2
shun-iwasawa 82a8f5
  (void *dct_table, JCOEFPTR coef_block, JSAMPARRAY output_buf,
shun-iwasawa 82a8f5
   JDIMENSION output_col);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
/* Huffman coding */
shun-iwasawa 82a8f5
extern const int jconst_huff_encode_one_block[];
shun-iwasawa 82a8f5
EXTERN(JOCTET *) jsimd_huff_encode_one_block_sse2
shun-iwasawa 82a8f5
  (void *state, JOCTET *buffer, JCOEFPTR block, int last_dc_val,
shun-iwasawa 82a8f5
   c_derived_tbl *dctbl, c_derived_tbl *actbl);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
EXTERN(JOCTET *) jsimd_huff_encode_one_block_neon
shun-iwasawa 82a8f5
  (void *state, JOCTET *buffer, JCOEFPTR block, int last_dc_val,
shun-iwasawa 82a8f5
   c_derived_tbl *dctbl, c_derived_tbl *actbl);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
EXTERN(JOCTET *) jsimd_huff_encode_one_block_neon_slowtbl
shun-iwasawa 82a8f5
  (void *state, JOCTET *buffer, JCOEFPTR block, int last_dc_val,
shun-iwasawa 82a8f5
   c_derived_tbl *dctbl, c_derived_tbl *actbl);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
/* Progressive Huffman encoding */
shun-iwasawa 82a8f5
EXTERN(void) jsimd_encode_mcu_AC_first_prepare_sse2
shun-iwasawa 82a8f5
  (const JCOEF *block, const int *jpeg_natural_order_start, int Sl, int Al,
shun-iwasawa 82a8f5
   JCOEF *values, size_t *zerobits);
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
EXTERN(int) jsimd_encode_mcu_AC_refine_prepare_sse2
shun-iwasawa 82a8f5
  (const JCOEF *block, const int *jpeg_natural_order_start, int Sl, int Al,
shun-iwasawa 82a8f5
   JCOEF *absvalues, size_t *bits);