123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872 |
- /*
- * simd/jsimd.h
- *
- * Copyright 2009 Pierre Ossman <ossman@cendio.se> for Cendio AB
- * Copyright (C) 2011, 2014-2016, D. R. Commander.
- * Copyright (C) 2013-2014, MIPS Technologies, Inc., California.
- * Copyright (C) 2014, Linaro Limited.
- * Copyright (C) 2015-2016, Matthieu Darbois.
- *
- * Based on the x86 SIMD extension for IJG JPEG library,
- * Copyright (C) 1999-2006, MIYASAKA Masaru.
- * For conditions of distribution and use, see copyright notice in jsimdext.inc
- *
- */
- /* Bitmask for supported acceleration methods */
- #define JSIMD_NONE 0x00
- #define JSIMD_MMX 0x01
- #define JSIMD_3DNOW 0x02
- #define JSIMD_SSE 0x04
- #define JSIMD_SSE2 0x08
- #define JSIMD_ARM_NEON 0x10
- #define JSIMD_MIPS_DSPR2 0x20
- #define JSIMD_ALTIVEC 0x40
- /* SIMD Ext: retrieve SIMD/CPU information */
- EXTERN(unsigned int) jpeg_simd_cpu_support (void);
- /* RGB & extended RGB --> YCC Colorspace Conversion */
- EXTERN(void) jsimd_rgb_ycc_convert_mmx
- (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
- JDIMENSION output_row, int num_rows);
- EXTERN(void) jsimd_extrgb_ycc_convert_mmx
- (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
- JDIMENSION output_row, int num_rows);
- EXTERN(void) jsimd_extrgbx_ycc_convert_mmx
- (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
- JDIMENSION output_row, int num_rows);
- EXTERN(void) jsimd_extbgr_ycc_convert_mmx
- (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
- JDIMENSION output_row, int num_rows);
- EXTERN(void) jsimd_extbgrx_ycc_convert_mmx
- (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
- JDIMENSION output_row, int num_rows);
- EXTERN(void) jsimd_extxbgr_ycc_convert_mmx
- (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
- JDIMENSION output_row, int num_rows);
- EXTERN(void) jsimd_extxrgb_ycc_convert_mmx
- (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
- JDIMENSION output_row, int num_rows);
- extern const int jconst_rgb_ycc_convert_sse2[];
- EXTERN(void) jsimd_rgb_ycc_convert_sse2
- (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
- JDIMENSION output_row, int num_rows);
- EXTERN(void) jsimd_extrgb_ycc_convert_sse2
- (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
- JDIMENSION output_row, int num_rows);
- EXTERN(void) jsimd_extrgbx_ycc_convert_sse2
- (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
- JDIMENSION output_row, int num_rows);
- EXTERN(void) jsimd_extbgr_ycc_convert_sse2
- (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
- JDIMENSION output_row, int num_rows);
- EXTERN(void) jsimd_extbgrx_ycc_convert_sse2
- (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
- JDIMENSION output_row, int num_rows);
- EXTERN(void) jsimd_extxbgr_ycc_convert_sse2
- (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
- JDIMENSION output_row, int num_rows);
- EXTERN(void) jsimd_extxrgb_ycc_convert_sse2
- (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
- JDIMENSION output_row, int num_rows);
- EXTERN(void) jsimd_rgb_ycc_convert_neon
- (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
- JDIMENSION output_row, int num_rows);
- EXTERN(void) jsimd_extrgb_ycc_convert_neon
- (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
- JDIMENSION output_row, int num_rows);
- EXTERN(void) jsimd_extrgbx_ycc_convert_neon
- (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
- JDIMENSION output_row, int num_rows);
- EXTERN(void) jsimd_extbgr_ycc_convert_neon
- (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
- JDIMENSION output_row, int num_rows);
- EXTERN(void) jsimd_extbgrx_ycc_convert_neon
- (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
- JDIMENSION output_row, int num_rows);
- EXTERN(void) jsimd_extxbgr_ycc_convert_neon
- (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
- JDIMENSION output_row, int num_rows);
- EXTERN(void) jsimd_extxrgb_ycc_convert_neon
- (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
- JDIMENSION output_row, int num_rows);
- EXTERN(void) jsimd_extrgb_ycc_convert_neon_slowld3
- (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
- JDIMENSION output_row, int num_rows);
- EXTERN(void) jsimd_extbgr_ycc_convert_neon_slowld3
- (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
- JDIMENSION output_row, int num_rows);
- EXTERN(void) jsimd_rgb_ycc_convert_mips_dspr2
- (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
- JDIMENSION output_row, int num_rows);
- EXTERN(void) jsimd_extrgb_ycc_convert_mips_dspr2
- (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
- JDIMENSION output_row, int num_rows);
- EXTERN(void) jsimd_extrgbx_ycc_convert_mips_dspr2
- (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
- JDIMENSION output_row, int num_rows);
- EXTERN(void) jsimd_extbgr_ycc_convert_mips_dspr2
- (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
- JDIMENSION output_row, int num_rows);
- EXTERN(void) jsimd_extbgrx_ycc_convert_mips_dspr2
- (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
- JDIMENSION output_row, int num_rows);
- EXTERN(void) jsimd_extxbgr_ycc_convert_mips_dspr2
- (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
- JDIMENSION output_row, int num_rows);
- EXTERN(void) jsimd_extxrgb_ycc_convert_mips_dspr2
- (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
- JDIMENSION output_row, int num_rows);
- EXTERN(void) jsimd_rgb_ycc_convert_altivec
- (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
- JDIMENSION output_row, int num_rows);
- EXTERN(void) jsimd_extrgb_ycc_convert_altivec
- (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
- JDIMENSION output_row, int num_rows);
- EXTERN(void) jsimd_extrgbx_ycc_convert_altivec
- (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
- JDIMENSION output_row, int num_rows);
- EXTERN(void) jsimd_extbgr_ycc_convert_altivec
- (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
- JDIMENSION output_row, int num_rows);
- EXTERN(void) jsimd_extbgrx_ycc_convert_altivec
- (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
- JDIMENSION output_row, int num_rows);
- EXTERN(void) jsimd_extxbgr_ycc_convert_altivec
- (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
- JDIMENSION output_row, int num_rows);
- EXTERN(void) jsimd_extxrgb_ycc_convert_altivec
- (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
- JDIMENSION output_row, int num_rows);
- /* RGB & extended RGB --> Grayscale Colorspace Conversion */
- EXTERN(void) jsimd_rgb_gray_convert_mmx
- (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
- JDIMENSION output_row, int num_rows);
- EXTERN(void) jsimd_extrgb_gray_convert_mmx
- (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
- JDIMENSION output_row, int num_rows);
- EXTERN(void) jsimd_extrgbx_gray_convert_mmx
- (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
- JDIMENSION output_row, int num_rows);
- EXTERN(void) jsimd_extbgr_gray_convert_mmx
- (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
- JDIMENSION output_row, int num_rows);
- EXTERN(void) jsimd_extbgrx_gray_convert_mmx
- (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
- JDIMENSION output_row, int num_rows);
- EXTERN(void) jsimd_extxbgr_gray_convert_mmx
- (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
- JDIMENSION output_row, int num_rows);
- EXTERN(void) jsimd_extxrgb_gray_convert_mmx
- (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
- JDIMENSION output_row, int num_rows);
- extern const int jconst_rgb_gray_convert_sse2[];
- EXTERN(void) jsimd_rgb_gray_convert_sse2
- (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
- JDIMENSION output_row, int num_rows);
- EXTERN(void) jsimd_extrgb_gray_convert_sse2
- (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
- JDIMENSION output_row, int num_rows);
- EXTERN(void) jsimd_extrgbx_gray_convert_sse2
- (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
- JDIMENSION output_row, int num_rows);
- EXTERN(void) jsimd_extbgr_gray_convert_sse2
- (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
- JDIMENSION output_row, int num_rows);
- EXTERN(void) jsimd_extbgrx_gray_convert_sse2
- (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
- JDIMENSION output_row, int num_rows);
- EXTERN(void) jsimd_extxbgr_gray_convert_sse2
- (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
- JDIMENSION output_row, int num_rows);
- EXTERN(void) jsimd_extxrgb_gray_convert_sse2
- (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
- JDIMENSION output_row, int num_rows);
- EXTERN(void) jsimd_rgb_gray_convert_mips_dspr2
- (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
- JDIMENSION output_row, int num_rows);
- EXTERN(void) jsimd_extrgb_gray_convert_mips_dspr2
- (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
- JDIMENSION output_row, int num_rows);
- EXTERN(void) jsimd_extrgbx_gray_convert_mips_dspr2
- (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
- JDIMENSION output_row, int num_rows);
- EXTERN(void) jsimd_extbgr_gray_convert_mips_dspr2
- (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
- JDIMENSION output_row, int num_rows);
- EXTERN(void) jsimd_extbgrx_gray_convert_mips_dspr2
- (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
- JDIMENSION output_row, int num_rows);
- EXTERN(void) jsimd_extxbgr_gray_convert_mips_dspr2
- (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
- JDIMENSION output_row, int num_rows);
- EXTERN(void) jsimd_extxrgb_gray_convert_mips_dspr2
- (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
- JDIMENSION output_row, int num_rows);
- EXTERN(void) jsimd_rgb_gray_convert_altivec
- (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
- JDIMENSION output_row, int num_rows);
- EXTERN(void) jsimd_extrgb_gray_convert_altivec
- (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
- JDIMENSION output_row, int num_rows);
- EXTERN(void) jsimd_extrgbx_gray_convert_altivec
- (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
- JDIMENSION output_row, int num_rows);
- EXTERN(void) jsimd_extbgr_gray_convert_altivec
- (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
- JDIMENSION output_row, int num_rows);
- EXTERN(void) jsimd_extbgrx_gray_convert_altivec
- (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
- JDIMENSION output_row, int num_rows);
- EXTERN(void) jsimd_extxbgr_gray_convert_altivec
- (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
- JDIMENSION output_row, int num_rows);
- EXTERN(void) jsimd_extxrgb_gray_convert_altivec
- (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
- JDIMENSION output_row, int num_rows);
- /* YCC --> RGB & extended RGB Colorspace Conversion */
- EXTERN(void) jsimd_ycc_rgb_convert_mmx
- (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
- JSAMPARRAY output_buf, int num_rows);
- EXTERN(void) jsimd_ycc_extrgb_convert_mmx
- (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
- JSAMPARRAY output_buf, int num_rows);
- EXTERN(void) jsimd_ycc_extrgbx_convert_mmx
- (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
- JSAMPARRAY output_buf, int num_rows);
- EXTERN(void) jsimd_ycc_extbgr_convert_mmx
- (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
- JSAMPARRAY output_buf, int num_rows);
- EXTERN(void) jsimd_ycc_extbgrx_convert_mmx
- (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
- JSAMPARRAY output_buf, int num_rows);
- EXTERN(void) jsimd_ycc_extxbgr_convert_mmx
- (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
- JSAMPARRAY output_buf, int num_rows);
- EXTERN(void) jsimd_ycc_extxrgb_convert_mmx
- (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
- JSAMPARRAY output_buf, int num_rows);
- extern const int jconst_ycc_rgb_convert_sse2[];
- EXTERN(void) jsimd_ycc_rgb_convert_sse2
- (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
- JSAMPARRAY output_buf, int num_rows);
- EXTERN(void) jsimd_ycc_extrgb_convert_sse2
- (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
- JSAMPARRAY output_buf, int num_rows);
- EXTERN(void) jsimd_ycc_extrgbx_convert_sse2
- (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
- JSAMPARRAY output_buf, int num_rows);
- EXTERN(void) jsimd_ycc_extbgr_convert_sse2
- (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
- JSAMPARRAY output_buf, int num_rows);
- EXTERN(void) jsimd_ycc_extbgrx_convert_sse2
- (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
- JSAMPARRAY output_buf, int num_rows);
- EXTERN(void) jsimd_ycc_extxbgr_convert_sse2
- (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
- JSAMPARRAY output_buf, int num_rows);
- EXTERN(void) jsimd_ycc_extxrgb_convert_sse2
- (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
- JSAMPARRAY output_buf, int num_rows);
- EXTERN(void) jsimd_ycc_rgb_convert_neon
- (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
- JSAMPARRAY output_buf, int num_rows);
- EXTERN(void) jsimd_ycc_extrgb_convert_neon
- (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
- JSAMPARRAY output_buf, int num_rows);
- EXTERN(void) jsimd_ycc_extrgbx_convert_neon
- (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
- JSAMPARRAY output_buf, int num_rows);
- EXTERN(void) jsimd_ycc_extbgr_convert_neon
- (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
- JSAMPARRAY output_buf, int num_rows);
- EXTERN(void) jsimd_ycc_extbgrx_convert_neon
- (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
- JSAMPARRAY output_buf, int num_rows);
- EXTERN(void) jsimd_ycc_extxbgr_convert_neon
- (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
- JSAMPARRAY output_buf, int num_rows);
- EXTERN(void) jsimd_ycc_extxrgb_convert_neon
- (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
- JSAMPARRAY output_buf, int num_rows);
- EXTERN(void) jsimd_ycc_rgb565_convert_neon
- (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
- JSAMPARRAY output_buf, int num_rows);
- EXTERN(void) jsimd_ycc_extrgb_convert_neon_slowst3
- (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
- JSAMPARRAY output_buf, int num_rows);
- EXTERN(void) jsimd_ycc_extbgr_convert_neon_slowst3
- (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
- JSAMPARRAY output_buf, int num_rows);
- EXTERN(void) jsimd_ycc_rgb_convert_mips_dspr2
- (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
- JSAMPARRAY output_buf, int num_rows);
- EXTERN(void) jsimd_ycc_extrgb_convert_mips_dspr2
- (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
- JSAMPARRAY output_buf, int num_rows);
- EXTERN(void) jsimd_ycc_extrgbx_convert_mips_dspr2
- (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
- JSAMPARRAY output_buf, int num_rows);
- EXTERN(void) jsimd_ycc_extbgr_convert_mips_dspr2
- (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
- JSAMPARRAY output_buf, int num_rows);
- EXTERN(void) jsimd_ycc_extbgrx_convert_mips_dspr2
- (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
- JSAMPARRAY output_buf, int num_rows);
- EXTERN(void) jsimd_ycc_extxbgr_convert_mips_dspr2
- (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
- JSAMPARRAY output_buf, int num_rows);
- EXTERN(void) jsimd_ycc_extxrgb_convert_mips_dspr2
- (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
- JSAMPARRAY output_buf, int num_rows);
- EXTERN(void) jsimd_ycc_rgb_convert_altivec
- (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
- JSAMPARRAY output_buf, int num_rows);
- EXTERN(void) jsimd_ycc_extrgb_convert_altivec
- (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
- JSAMPARRAY output_buf, int num_rows);
- EXTERN(void) jsimd_ycc_extrgbx_convert_altivec
- (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
- JSAMPARRAY output_buf, int num_rows);
- EXTERN(void) jsimd_ycc_extbgr_convert_altivec
- (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
- JSAMPARRAY output_buf, int num_rows);
- EXTERN(void) jsimd_ycc_extbgrx_convert_altivec
- (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
- JSAMPARRAY output_buf, int num_rows);
- EXTERN(void) jsimd_ycc_extxbgr_convert_altivec
- (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
- JSAMPARRAY output_buf, int num_rows);
- EXTERN(void) jsimd_ycc_extxrgb_convert_altivec
- (JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
- JSAMPARRAY output_buf, int num_rows);
- /* NULL Colorspace Conversion */
- EXTERN(void) jsimd_c_null_convert_mips_dspr2
- (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
- JDIMENSION output_row, int num_rows, int num_components);
- /* h2v1 Downsampling */
- EXTERN(void) jsimd_h2v1_downsample_mmx
- (JDIMENSION image_width, int max_v_samp_factor,
- JDIMENSION v_samp_factor, JDIMENSION width_blocks,
- JSAMPARRAY input_data, JSAMPARRAY output_data);
- EXTERN(void) jsimd_h2v1_downsample_sse2
- (JDIMENSION image_width, int max_v_samp_factor,
- JDIMENSION v_samp_factor, JDIMENSION width_blocks,
- JSAMPARRAY input_data, JSAMPARRAY output_data);
- EXTERN(void) jsimd_h2v1_downsample_neon
- (JDIMENSION image_width, int max_v_samp_factor,
- JDIMENSION v_samp_factor, JDIMENSION width_blocks,
- JSAMPARRAY input_data, JSAMPARRAY output_data);
- EXTERN(void) jsimd_h2v1_downsample_mips_dspr2
- (JDIMENSION image_width, int max_v_samp_factor,
- JDIMENSION v_samp_factor, JDIMENSION width_blocks,
- JSAMPARRAY input_data, JSAMPARRAY output_data);
- EXTERN(void) jsimd_h2v1_downsample_altivec
- (JDIMENSION image_width, int max_v_samp_factor,
- JDIMENSION v_samp_factor, JDIMENSION width_blocks,
- JSAMPARRAY input_data, JSAMPARRAY output_data);
- /* h2v2 Downsampling */
- EXTERN(void) jsimd_h2v2_downsample_mmx
- (JDIMENSION image_width, int max_v_samp_factor,
- JDIMENSION v_samp_factor, JDIMENSION width_blocks,
- JSAMPARRAY input_data, JSAMPARRAY output_data);
- EXTERN(void) jsimd_h2v2_downsample_sse2
- (JDIMENSION image_width, int max_v_samp_factor,
- JDIMENSION v_samp_factor, JDIMENSION width_blocks,
- JSAMPARRAY input_data, JSAMPARRAY output_data);
- EXTERN(void) jsimd_h2v2_downsample_neon
- (JDIMENSION image_width, int max_v_samp_factor,
- JDIMENSION v_samp_factor, JDIMENSION width_blocks,
- JSAMPARRAY input_data, JSAMPARRAY output_data);
- EXTERN(void) jsimd_h2v2_downsample_mips_dspr2
- (JDIMENSION image_width, int max_v_samp_factor,
- JDIMENSION v_samp_factor, JDIMENSION width_blocks,
- JSAMPARRAY input_data, JSAMPARRAY output_data);
- EXTERN(void) jsimd_h2v2_downsample_altivec
- (JDIMENSION image_width, int max_v_samp_factor,
- JDIMENSION v_samp_factor, JDIMENSION width_blocks,
- JSAMPARRAY input_data, JSAMPARRAY output_data);
- /* h2v2 Smooth Downsampling */
- EXTERN(void) jsimd_h2v2_smooth_downsample_mips_dspr2
- (JSAMPARRAY input_data, JSAMPARRAY output_data,
- JDIMENSION v_samp_factor, int max_v_samp_factor,
- int smoothing_factor, JDIMENSION width_blocks,
- JDIMENSION image_width);
- /* Upsampling */
- EXTERN(void) jsimd_h2v1_upsample_mmx
- (int max_v_samp_factor, JDIMENSION output_width, JSAMPARRAY input_data,
- JSAMPARRAY *output_data_ptr);
- EXTERN(void) jsimd_h2v2_upsample_mmx
- (int max_v_samp_factor, JDIMENSION output_width, JSAMPARRAY input_data,
- JSAMPARRAY *output_data_ptr);
- EXTERN(void) jsimd_h2v1_upsample_sse2
- (int max_v_samp_factor, JDIMENSION output_width, JSAMPARRAY input_data,
- JSAMPARRAY *output_data_ptr);
- EXTERN(void) jsimd_h2v2_upsample_sse2
- (int max_v_samp_factor, JDIMENSION output_width, JSAMPARRAY input_data,
- JSAMPARRAY *output_data_ptr);
- EXTERN(void) jsimd_h2v1_upsample_mips_dspr2
- (int max_v_samp_factor, JDIMENSION output_width, JSAMPARRAY input_data,
- JSAMPARRAY *output_data_ptr);
- EXTERN(void) jsimd_h2v2_upsample_mips_dspr2
- (int max_v_samp_factor, JDIMENSION output_width, JSAMPARRAY input_data,
- JSAMPARRAY *output_data_ptr);
- EXTERN(void) jsimd_int_upsample_mips_dspr2
- (UINT8 h_expand, UINT8 v_expand, JSAMPARRAY input_data,
- JSAMPARRAY *output_data_ptr, JDIMENSION output_width,
- int max_v_samp_factor);
- EXTERN(void) jsimd_h2v1_upsample_altivec
- (int max_v_samp_factor, JDIMENSION output_width, JSAMPARRAY input_data,
- JSAMPARRAY *output_data_ptr);
- EXTERN(void) jsimd_h2v2_upsample_altivec
- (int max_v_samp_factor, JDIMENSION output_width, JSAMPARRAY input_data,
- JSAMPARRAY *output_data_ptr);
- /* Fancy Upsampling */
- EXTERN(void) jsimd_h2v1_fancy_upsample_mmx
- (int max_v_samp_factor, JDIMENSION downsampled_width,
- JSAMPARRAY input_data, JSAMPARRAY *output_data_ptr);
- EXTERN(void) jsimd_h2v2_fancy_upsample_mmx
- (int max_v_samp_factor, JDIMENSION downsampled_width,
- JSAMPARRAY input_data, JSAMPARRAY *output_data_ptr);
- extern const int jconst_fancy_upsample_sse2[];
- EXTERN(void) jsimd_h2v1_fancy_upsample_sse2
- (int max_v_samp_factor, JDIMENSION downsampled_width,
- JSAMPARRAY input_data, JSAMPARRAY *output_data_ptr);
- EXTERN(void) jsimd_h2v2_fancy_upsample_sse2
- (int max_v_samp_factor, JDIMENSION downsampled_width,
- JSAMPARRAY input_data, JSAMPARRAY *output_data_ptr);
- EXTERN(void) jsimd_h2v1_fancy_upsample_neon
- (int max_v_samp_factor, JDIMENSION downsampled_width,
- JSAMPARRAY input_data, JSAMPARRAY *output_data_ptr);
- EXTERN(void) jsimd_h2v1_fancy_upsample_mips_dspr2
- (int max_v_samp_factor, JDIMENSION downsampled_width,
- JSAMPARRAY input_data, JSAMPARRAY *output_data_ptr);
- EXTERN(void) jsimd_h2v2_fancy_upsample_mips_dspr2
- (int max_v_samp_factor, JDIMENSION downsampled_width,
- JSAMPARRAY input_data, JSAMPARRAY *output_data_ptr);
- EXTERN(void) jsimd_h2v1_fancy_upsample_altivec
- (int max_v_samp_factor, JDIMENSION downsampled_width,
- JSAMPARRAY input_data, JSAMPARRAY *output_data_ptr);
- EXTERN(void) jsimd_h2v2_fancy_upsample_altivec
- (int max_v_samp_factor, JDIMENSION downsampled_width,
- JSAMPARRAY input_data, JSAMPARRAY *output_data_ptr);
- /* Merged Upsampling */
- EXTERN(void) jsimd_h2v1_merged_upsample_mmx
- (JDIMENSION output_width, JSAMPIMAGE input_buf,
- JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf);
- EXTERN(void) jsimd_h2v1_extrgb_merged_upsample_mmx
- (JDIMENSION output_width, JSAMPIMAGE input_buf,
- JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf);
- EXTERN(void) jsimd_h2v1_extrgbx_merged_upsample_mmx
- (JDIMENSION output_width, JSAMPIMAGE input_buf,
- JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf);
- EXTERN(void) jsimd_h2v1_extbgr_merged_upsample_mmx
- (JDIMENSION output_width, JSAMPIMAGE input_buf,
- JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf);
- EXTERN(void) jsimd_h2v1_extbgrx_merged_upsample_mmx
- (JDIMENSION output_width, JSAMPIMAGE input_buf,
- JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf);
- EXTERN(void) jsimd_h2v1_extxbgr_merged_upsample_mmx
- (JDIMENSION output_width, JSAMPIMAGE input_buf,
- JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf);
- EXTERN(void) jsimd_h2v1_extxrgb_merged_upsample_mmx
- (JDIMENSION output_width, JSAMPIMAGE input_buf,
- JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf);
- EXTERN(void) jsimd_h2v2_merged_upsample_mmx
- (JDIMENSION output_width, JSAMPIMAGE input_buf,
- JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf);
- EXTERN(void) jsimd_h2v2_extrgb_merged_upsample_mmx
- (JDIMENSION output_width, JSAMPIMAGE input_buf,
- JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf);
- EXTERN(void) jsimd_h2v2_extrgbx_merged_upsample_mmx
- (JDIMENSION output_width, JSAMPIMAGE input_buf,
- JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf);
- EXTERN(void) jsimd_h2v2_extbgr_merged_upsample_mmx
- (JDIMENSION output_width, JSAMPIMAGE input_buf,
- JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf);
- EXTERN(void) jsimd_h2v2_extbgrx_merged_upsample_mmx
- (JDIMENSION output_width, JSAMPIMAGE input_buf,
- JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf);
- EXTERN(void) jsimd_h2v2_extxbgr_merged_upsample_mmx
- (JDIMENSION output_width, JSAMPIMAGE input_buf,
- JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf);
- EXTERN(void) jsimd_h2v2_extxrgb_merged_upsample_mmx
- (JDIMENSION output_width, JSAMPIMAGE input_buf,
- JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf);
- extern const int jconst_merged_upsample_sse2[];
- EXTERN(void) jsimd_h2v1_merged_upsample_sse2
- (JDIMENSION output_width, JSAMPIMAGE input_buf,
- JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf);
- EXTERN(void) jsimd_h2v1_extrgb_merged_upsample_sse2
- (JDIMENSION output_width, JSAMPIMAGE input_buf,
- JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf);
- EXTERN(void) jsimd_h2v1_extrgbx_merged_upsample_sse2
- (JDIMENSION output_width, JSAMPIMAGE input_buf,
- JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf);
- EXTERN(void) jsimd_h2v1_extbgr_merged_upsample_sse2
- (JDIMENSION output_width, JSAMPIMAGE input_buf,
- JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf);
- EXTERN(void) jsimd_h2v1_extbgrx_merged_upsample_sse2
- (JDIMENSION output_width, JSAMPIMAGE input_buf,
- JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf);
- EXTERN(void) jsimd_h2v1_extxbgr_merged_upsample_sse2
- (JDIMENSION output_width, JSAMPIMAGE input_buf,
- JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf);
- EXTERN(void) jsimd_h2v1_extxrgb_merged_upsample_sse2
- (JDIMENSION output_width, JSAMPIMAGE input_buf,
- JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf);
- EXTERN(void) jsimd_h2v2_merged_upsample_sse2
- (JDIMENSION output_width, JSAMPIMAGE input_buf,
- JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf);
- EXTERN(void) jsimd_h2v2_extrgb_merged_upsample_sse2
- (JDIMENSION output_width, JSAMPIMAGE input_buf,
- JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf);
- EXTERN(void) jsimd_h2v2_extrgbx_merged_upsample_sse2
- (JDIMENSION output_width, JSAMPIMAGE input_buf,
- JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf);
- EXTERN(void) jsimd_h2v2_extbgr_merged_upsample_sse2
- (JDIMENSION output_width, JSAMPIMAGE input_buf,
- JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf);
- EXTERN(void) jsimd_h2v2_extbgrx_merged_upsample_sse2
- (JDIMENSION output_width, JSAMPIMAGE input_buf,
- JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf);
- EXTERN(void) jsimd_h2v2_extxbgr_merged_upsample_sse2
- (JDIMENSION output_width, JSAMPIMAGE input_buf,
- JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf);
- EXTERN(void) jsimd_h2v2_extxrgb_merged_upsample_sse2
- (JDIMENSION output_width, JSAMPIMAGE input_buf,
- JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf);
- EXTERN(void) jsimd_h2v1_merged_upsample_mips_dspr2
- (JDIMENSION output_width, JSAMPIMAGE input_buf,
- JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf, JSAMPLE* range);
- EXTERN(void) jsimd_h2v1_extrgb_merged_upsample_mips_dspr2
- (JDIMENSION output_width, JSAMPIMAGE input_buf,
- JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf, JSAMPLE* range);
- EXTERN(void) jsimd_h2v1_extrgbx_merged_upsample_mips_dspr2
- (JDIMENSION output_width, JSAMPIMAGE input_buf,
- JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf, JSAMPLE* range);
- EXTERN(void) jsimd_h2v1_extbgr_merged_upsample_mips_dspr2
- (JDIMENSION output_width, JSAMPIMAGE input_buf,
- JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf, JSAMPLE* range);
- EXTERN(void) jsimd_h2v1_extbgrx_merged_upsample_mips_dspr2
- (JDIMENSION output_width, JSAMPIMAGE input_buf,
- JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf, JSAMPLE* range);
- EXTERN(void) jsimd_h2v1_extxbgr_merged_upsample_mips_dspr2
- (JDIMENSION output_width, JSAMPIMAGE input_buf,
- JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf, JSAMPLE* range);
- EXTERN(void) jsimd_h2v1_extxrgb_merged_upsample_mips_dspr2
- (JDIMENSION output_width, JSAMPIMAGE input_buf,
- JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf, JSAMPLE* range);
- EXTERN(void) jsimd_h2v2_merged_upsample_mips_dspr2
- (JDIMENSION output_width, JSAMPIMAGE input_buf,
- JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf, JSAMPLE* range);
- EXTERN(void) jsimd_h2v2_extrgb_merged_upsample_mips_dspr2
- (JDIMENSION output_width, JSAMPIMAGE input_buf,
- JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf, JSAMPLE* range);
- EXTERN(void) jsimd_h2v2_extrgbx_merged_upsample_mips_dspr2
- (JDIMENSION output_width, JSAMPIMAGE input_buf,
- JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf, JSAMPLE* range);
- EXTERN(void) jsimd_h2v2_extbgr_merged_upsample_mips_dspr2
- (JDIMENSION output_width, JSAMPIMAGE input_buf,
- JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf, JSAMPLE* range);
- EXTERN(void) jsimd_h2v2_extbgrx_merged_upsample_mips_dspr2
- (JDIMENSION output_width, JSAMPIMAGE input_buf,
- JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf, JSAMPLE* range);
- EXTERN(void) jsimd_h2v2_extxbgr_merged_upsample_mips_dspr2
- (JDIMENSION output_width, JSAMPIMAGE input_buf,
- JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf, JSAMPLE* range);
- EXTERN(void) jsimd_h2v2_extxrgb_merged_upsample_mips_dspr2
- (JDIMENSION output_width, JSAMPIMAGE input_buf,
- JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf, JSAMPLE* range);
- EXTERN(void) jsimd_h2v1_merged_upsample_altivec
- (JDIMENSION output_width, JSAMPIMAGE input_buf,
- JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf);
- EXTERN(void) jsimd_h2v1_extrgb_merged_upsample_altivec
- (JDIMENSION output_width, JSAMPIMAGE input_buf,
- JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf);
- EXTERN(void) jsimd_h2v1_extrgbx_merged_upsample_altivec
- (JDIMENSION output_width, JSAMPIMAGE input_buf,
- JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf);
- EXTERN(void) jsimd_h2v1_extbgr_merged_upsample_altivec
- (JDIMENSION output_width, JSAMPIMAGE input_buf,
- JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf);
- EXTERN(void) jsimd_h2v1_extbgrx_merged_upsample_altivec
- (JDIMENSION output_width, JSAMPIMAGE input_buf,
- JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf);
- EXTERN(void) jsimd_h2v1_extxbgr_merged_upsample_altivec
- (JDIMENSION output_width, JSAMPIMAGE input_buf,
- JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf);
- EXTERN(void) jsimd_h2v1_extxrgb_merged_upsample_altivec
- (JDIMENSION output_width, JSAMPIMAGE input_buf,
- JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf);
- EXTERN(void) jsimd_h2v2_merged_upsample_altivec
- (JDIMENSION output_width, JSAMPIMAGE input_buf,
- JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf);
- EXTERN(void) jsimd_h2v2_extrgb_merged_upsample_altivec
- (JDIMENSION output_width, JSAMPIMAGE input_buf,
- JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf);
- EXTERN(void) jsimd_h2v2_extrgbx_merged_upsample_altivec
- (JDIMENSION output_width, JSAMPIMAGE input_buf,
- JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf);
- EXTERN(void) jsimd_h2v2_extbgr_merged_upsample_altivec
- (JDIMENSION output_width, JSAMPIMAGE input_buf,
- JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf);
- EXTERN(void) jsimd_h2v2_extbgrx_merged_upsample_altivec
- (JDIMENSION output_width, JSAMPIMAGE input_buf,
- JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf);
- EXTERN(void) jsimd_h2v2_extxbgr_merged_upsample_altivec
- (JDIMENSION output_width, JSAMPIMAGE input_buf,
- JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf);
- EXTERN(void) jsimd_h2v2_extxrgb_merged_upsample_altivec
- (JDIMENSION output_width, JSAMPIMAGE input_buf,
- JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf);
- /* Sample Conversion */
- EXTERN(void) jsimd_convsamp_mmx
- (JSAMPARRAY sample_data, JDIMENSION start_col, DCTELEM *workspace);
- EXTERN(void) jsimd_convsamp_sse2
- (JSAMPARRAY sample_data, JDIMENSION start_col, DCTELEM *workspace);
- EXTERN(void) jsimd_convsamp_neon
- (JSAMPARRAY sample_data, JDIMENSION start_col, DCTELEM *workspace);
- EXTERN(void) jsimd_convsamp_mips_dspr2
- (JSAMPARRAY sample_data, JDIMENSION start_col, DCTELEM *workspace);
- EXTERN(void) jsimd_convsamp_altivec
- (JSAMPARRAY sample_data, JDIMENSION start_col, DCTELEM *workspace);
- /* Floating Point Sample Conversion */
- EXTERN(void) jsimd_convsamp_float_3dnow
- (JSAMPARRAY sample_data, JDIMENSION start_col, FAST_FLOAT *workspace);
- EXTERN(void) jsimd_convsamp_float_sse
- (JSAMPARRAY sample_data, JDIMENSION start_col, FAST_FLOAT *workspace);
- EXTERN(void) jsimd_convsamp_float_sse2
- (JSAMPARRAY sample_data, JDIMENSION start_col, FAST_FLOAT *workspace);
- EXTERN(void) jsimd_convsamp_float_mips_dspr2
- (JSAMPARRAY sample_data, JDIMENSION start_col, FAST_FLOAT *workspace);
- /* Slow Integer Forward DCT */
- EXTERN(void) jsimd_fdct_islow_mmx (DCTELEM *data);
- extern const int jconst_fdct_islow_sse2[];
- EXTERN(void) jsimd_fdct_islow_sse2 (DCTELEM *data);
- EXTERN(void) jsimd_fdct_islow_neon (DCTELEM *data);
- EXTERN(void) jsimd_fdct_islow_mips_dspr2 (DCTELEM *data);
- EXTERN(void) jsimd_fdct_islow_altivec (DCTELEM *data);
- /* Fast Integer Forward DCT */
- EXTERN(void) jsimd_fdct_ifast_mmx (DCTELEM *data);
- extern const int jconst_fdct_ifast_sse2[];
- EXTERN(void) jsimd_fdct_ifast_sse2 (DCTELEM *data);
- EXTERN(void) jsimd_fdct_ifast_neon (DCTELEM *data);
- EXTERN(void) jsimd_fdct_ifast_mips_dspr2 (DCTELEM *data);
- EXTERN(void) jsimd_fdct_ifast_altivec (DCTELEM *data);
- /* Floating Point Forward DCT */
- EXTERN(void) jsimd_fdct_float_3dnow (FAST_FLOAT *data);
- extern const int jconst_fdct_float_sse[];
- EXTERN(void) jsimd_fdct_float_sse (FAST_FLOAT *data);
- /* Quantization */
- EXTERN(void) jsimd_quantize_mmx
- (JCOEFPTR coef_block, DCTELEM *divisors, DCTELEM *workspace);
- EXTERN(void) jsimd_quantize_sse2
- (JCOEFPTR coef_block, DCTELEM *divisors, DCTELEM *workspace);
- EXTERN(void) jsimd_quantize_neon
- (JCOEFPTR coef_block, DCTELEM *divisors, DCTELEM *workspace);
- EXTERN(void) jsimd_quantize_mips_dspr2
- (JCOEFPTR coef_block, DCTELEM *divisors, DCTELEM *workspace);
- EXTERN(void) jsimd_quantize_altivec
- (JCOEFPTR coef_block, DCTELEM *divisors, DCTELEM *workspace);
- /* Floating Point Quantization */
- EXTERN(void) jsimd_quantize_float_3dnow
- (JCOEFPTR coef_block, FAST_FLOAT *divisors, FAST_FLOAT *workspace);
- EXTERN(void) jsimd_quantize_float_sse
- (JCOEFPTR coef_block, FAST_FLOAT *divisors, FAST_FLOAT *workspace);
- EXTERN(void) jsimd_quantize_float_sse2
- (JCOEFPTR coef_block, FAST_FLOAT *divisors, FAST_FLOAT *workspace);
- EXTERN(void) jsimd_quantize_float_mips_dspr2
- (JCOEFPTR coef_block, FAST_FLOAT *divisors, FAST_FLOAT *workspace);
- /* Scaled Inverse DCT */
- EXTERN(void) jsimd_idct_2x2_mmx
- (void *dct_table, JCOEFPTR coef_block, JSAMPARRAY output_buf,
- JDIMENSION output_col);
- EXTERN(void) jsimd_idct_4x4_mmx
- (void *dct_table, JCOEFPTR coef_block, JSAMPARRAY output_buf,
- JDIMENSION output_col);
- extern const int jconst_idct_red_sse2[];
- EXTERN(void) jsimd_idct_2x2_sse2
- (void *dct_table, JCOEFPTR coef_block, JSAMPARRAY output_buf,
- JDIMENSION output_col);
- EXTERN(void) jsimd_idct_4x4_sse2
- (void *dct_table, JCOEFPTR coef_block, JSAMPARRAY output_buf,
- JDIMENSION output_col);
- EXTERN(void) jsimd_idct_2x2_neon
- (void *dct_table, JCOEFPTR coef_block, JSAMPARRAY output_buf,
- JDIMENSION output_col);
- EXTERN(void) jsimd_idct_4x4_neon
- (void *dct_table, JCOEFPTR coef_block, JSAMPARRAY output_buf,
- JDIMENSION output_col);
- EXTERN(void) jsimd_idct_2x2_mips_dspr2
- (void *dct_table, JCOEFPTR coef_block, JSAMPARRAY output_buf,
- JDIMENSION output_col);
- EXTERN(void) jsimd_idct_4x4_mips_dspr2
- (void *dct_table, JCOEFPTR coef_block, JSAMPARRAY output_buf,
- JDIMENSION output_col, int *workspace);
- EXTERN(void) jsimd_idct_6x6_mips_dspr2
- (void *dct_table, JCOEFPTR coef_block, JSAMPARRAY output_buf,
- JDIMENSION output_col);
- EXTERN(void) jsimd_idct_12x12_pass1_mips_dspr2
- (JCOEFPTR coef_block, void *dct_table, int *workspace);
- EXTERN(void) jsimd_idct_12x12_pass2_mips_dspr2
- (int *workspace, int *output);
- /* Slow Integer Inverse DCT */
- EXTERN(void) jsimd_idct_islow_mmx
- (void *dct_table, JCOEFPTR coef_block, JSAMPARRAY output_buf,
- JDIMENSION output_col);
- extern const int jconst_idct_islow_sse2[];
- EXTERN(void) jsimd_idct_islow_sse2
- (void *dct_table, JCOEFPTR coef_block, JSAMPARRAY output_buf,
- JDIMENSION output_col);
- EXTERN(void) jsimd_idct_islow_neon
- (void *dct_table, JCOEFPTR coef_block, JSAMPARRAY output_buf,
- JDIMENSION output_col);
- EXTERN(void) jsimd_idct_islow_mips_dspr2
- (void *dct_table, JCOEFPTR coef_block, int *output_buf,
- JSAMPLE *output_col);
- EXTERN(void) jsimd_idct_islow_altivec
- (void *dct_table, JCOEFPTR coef_block, JSAMPARRAY output_buf,
- JDIMENSION output_col);
- /* Fast Integer Inverse DCT */
- EXTERN(void) jsimd_idct_ifast_mmx
- (void *dct_table, JCOEFPTR coef_block, JSAMPARRAY output_buf,
- JDIMENSION output_col);
- extern const int jconst_idct_ifast_sse2[];
- EXTERN(void) jsimd_idct_ifast_sse2
- (void *dct_table, JCOEFPTR coef_block, JSAMPARRAY output_buf,
- JDIMENSION output_col);
- EXTERN(void) jsimd_idct_ifast_neon
- (void *dct_table, JCOEFPTR coef_block, JSAMPARRAY output_buf,
- JDIMENSION output_col);
- EXTERN(void) jsimd_idct_ifast_cols_mips_dspr2
- (JCOEF *inptr, IFAST_MULT_TYPE *quantptr, DCTELEM *wsptr,
- const int *idct_coefs);
- EXTERN(void) jsimd_idct_ifast_rows_mips_dspr2
- (DCTELEM *wsptr, JSAMPARRAY output_buf, JDIMENSION output_col,
- const int *idct_coefs);
- EXTERN(void) jsimd_idct_ifast_altivec
- (void *dct_table, JCOEFPTR coef_block, JSAMPARRAY output_buf,
- JDIMENSION output_col);
- /* Floating Point Inverse DCT */
- EXTERN(void) jsimd_idct_float_3dnow
- (void *dct_table, JCOEFPTR coef_block, JSAMPARRAY output_buf,
- JDIMENSION output_col);
- extern const int jconst_idct_float_sse[];
- EXTERN(void) jsimd_idct_float_sse
- (void *dct_table, JCOEFPTR coef_block, JSAMPARRAY output_buf,
- JDIMENSION output_col);
- extern const int jconst_idct_float_sse2[];
- EXTERN(void) jsimd_idct_float_sse2
- (void *dct_table, JCOEFPTR coef_block, JSAMPARRAY output_buf,
- JDIMENSION output_col);
- /* Huffman coding */
- extern const int jconst_huff_encode_one_block[];
- EXTERN(JOCTET*) jsimd_huff_encode_one_block_sse2
- (void *state, JOCTET *buffer, JCOEFPTR block, int last_dc_val,
- c_derived_tbl *dctbl, c_derived_tbl *actbl);
- EXTERN(JOCTET*) jsimd_huff_encode_one_block_neon
- (void *state, JOCTET *buffer, JCOEFPTR block, int last_dc_val,
- c_derived_tbl *dctbl, c_derived_tbl *actbl);
- EXTERN(JOCTET*) jsimd_huff_encode_one_block_neon_slowtbl
- (void *state, JOCTET *buffer, JCOEFPTR block, int last_dc_val,
- c_derived_tbl *dctbl, c_derived_tbl *actbl);
|