summaryrefslogtreecommitdiff
path: root/src/xine-utils/memcpy.c
AgeCommit message (Collapse)Author
2014-05-19NetBSD does not support CLOCK_THREAD_CPUTIME_IDThomas Klausner
2014-03-10Silence compiler warnings on register_enum () arg #4.Torsten Jager
Making them all "const char * const *" did work too (even with Kaffeine build/run), but that would be an API change.
2013-10-14Copyright year update by hg log info #2.Torsten Jager
2013-09-18Put vzeroupper in the right place, ref. patch as sent to xine-devel.Darren Salt
2013-09-17Emit vzeroupper after avx memcpyRoland Scheidegger
Emitting vzeroupper is necessary to avoid avx<->sse transition penalties (when using avx-256 instructions). This didn't really matter much in the past, since other code wasn't using avx, hence there was just a penalty once afterwards when sse code was executed. However, there's code in ffmpeg which mixes avx-128 and sse a lot, and each time this happens there's a huge penalty. This causes in particular ff_deblock_v_luma_8_avx to slow down by a factor of 50 or so which makes the whole decoding about twice as slow (might be dependent on the h264 stream or maybe ffmpeg version too, since ffmpeg will also emit vzeroupper when using avx-256 hence not doing it here might not always be an issue, but in the case I was seeing nothing else used avx-256).
2013-09-13Copyright year update by hg log infoTorsten Jager
script execution time: 55"
2012-07-16Added configure check for AVX assembler supportPetri Hintukainen
2012-07-12avx memcpyPetri Hintukainen
2012-07-12sanity check for memcpy method config valuePetri Hintukainen
2012-05-29Removed extra semicolonCarlo Bramini
2012-01-10Include xine_private.h to get xine_probe_fast_memcpy() definitionPetri Hintukainen
2011-12-10Merge from 1.1.Darren Salt
--HG-- rename : src/liba52/xine_a52_decoder.c => src/audio_dec/xine_a52_decoder.c rename : src/libspudvb/xine_spudvb_decoder.c => src/spu_dec/spudvb_decoder.c rename : src/libxinevdec/image.c => src/video_dec/image.c
2011-11-25Fixed using uninitialized variable (segfault in memcpy.c)Petri Hintukainen
2011-11-18Use POSIX timers where available for determining which memcpy method to use.Darren Salt
2011-03-20Merge from 1.1.Darren Salt
--HG-- rename : src/libxineadec/gsm610/Makefile.am => contrib/gsm610/Makefile.am rename : src/libxineadec/nosefart/diff_to_nosefart_cvs.patch => contrib/nosefart/diff_to_nosefart_cvs.patch rename : src/libxineadec/nosefart/nes6502.c => contrib/nosefart/nes6502.c rename : src/libxineadec/nosefart/nes6502.h => contrib/nosefart/nes6502.h rename : src/libxineadec/nosefart/nes_apu.c => contrib/nosefart/nes_apu.c rename : src/libxineadec/nosefart/nes_apu.h => contrib/nosefart/nes_apu.h rename : src/libxineadec/nosefart/nsf.c => contrib/nosefart/nsf.c rename : src/libxineadec/nosefart/nsf.h => contrib/nosefart/nsf.h rename : src/libxineadec/nosefart/types.h => contrib/nosefart/types.h rename : src/libxineadec/nosefart/version.h => contrib/nosefart/version.h rename : doc/faq/faq.sgml => doc/faq/faq.docbook rename : src/libsputext/demux_sputext.c => src/spu_dec/sputext_demuxer.c rename : src/libxinevdec/image.c => src/video_dec/image.c
2010-10-30Try to meassure memcpy method speed by clock() when times() not available.František Dvořák
2010-10-23mingw32-w64 port: integer sizes portabilityFrantišek Dvořák
- use type of enough size for pointer types (uintptr_t) - fixes "Unhandled exception" in memcpy code
2009-11-30Trim trailing space & reduce space+tab.Darren Salt
2009-11-30Trim trailing space & reduce space+tab.Darren Salt
2008-01-03Make memcpy_method a static constant structure, and replace the name string ↵Diego 'Flameeyes' Pettenò
with an array of characters. Move timing results to a different static array, to reduce the amount of data that would go to .data section.
2008-01-02The name of the memcpy method is constant.Diego 'Flameeyes' Pettenò
Changing this to a character array increase code size, has to be evaluated.
2007-12-19Update all the code to the new headers layout.Diego 'Flameeyes' Pettenò
2007-11-09Merge FSF address changes from 1.1 branch.Diego 'Flameeyes' Pettenò
--HG-- rename : src/combined/decoder_flac.c => src/combined/flac_decoder.c rename : src/combined/demux_flac.c => src/combined/flac_demuxer.c rename : src/libxineadec/nsf.c => src/combined/nsf_decoder.c rename : src/demuxers/demux_nsf.c => src/combined/nsf_demuxer.c rename : src/combined/combined_wavpack.c => src/combined/wavpack_combined.c rename : src/combined/combined_wavpack.h => src/combined/wavpack_combined.h rename : src/combined/decoder_wavpack.c => src/combined/wavpack_decoder.c rename : src/combined/demux_wavpack.c => src/combined/wavpack_demuxer.c rename : src/demuxers/demux_ogg.c => src/combined/xine_ogg_demuxer.c rename : src/libxineadec/xine_speex_decoder.c => src/combined/xine_speex_decoder.c rename : src/libxinevdec/xine_theora_decoder.c => src/combined/xine_theora_decoder.c rename : src/libxineadec/xine_vorbis_decoder.c => src/combined/xine_vorbis_decoder.c rename : src/liba52/xine_a52_decoder.c => src/libxineadec/xine_a52_decoder.c rename : src/libdts/xine_dts_decoder.c => src/libxineadec/xine_dts_decoder.c rename : src/libfaad/xine_faad_decoder.c => src/libxineadec/xine_faad_decoder.c rename : src/libmusepack/xine_musepack_decoder.c => src/libxineadec/xine_musepack_decoder.c
2007-11-09Update FSF address on non-contributed code and COPYING files.Diego 'Flameeyes' Pettenò
For contributed code, leave whatever the version we last synced for is using to make simpler future syncs.
2007-04-14Mark string arrays as arrays of constant pointers, and do the same for ↵Diego 'Flameeyes' Pettenò
memcpy structures. When array of constant pointers are used for register enum configurations, this creates more warnings because of pointer mismatches; I'd consider casting them, but not yet. In the memcpy_method array, mark the parts that are constant at build time as const so to try reducing the overhead.
2007-02-20const++Diego 'Flameeyes' Pettenò
CVS patchset: 8609 CVS date: 2007/02/20 00:36:08
2006-10-16Fixed several warnings (but warnings due to APIs not solved).František Dvořák
CVS patchset: 8344 CVS date: 2006/10/16 22:18:24
2006-08-08emms not needed for sseMiguel Freitas
CVS patchset: 8169 CVS date: 2006/08/08 03:50:21
2006-02-04Enable AMD64 mmx/sse support in some plugins (tvtime, libmpeg2, goom...)Miguel Freitas
patch by dani3l CVS patchset: 7867 CVS date: 2006/02/04 14:06:29
2005-11-28*BUGFIX*František Dvořák
Improved cross-compiling: detect and precedence of the host-specific libs W32dll: enabled by platforms as originaly, user can override it Fixed shell errors in the Makefile of the hackersguide Detect the place of SDL header independently on platform Fixed spelling in CDDA, include the header sys/param.h if available Fixed format strings (fix warnings (or even bugs) on Gentoo/FreeBSD) CVS patchset: 7815 CVS date: 2005/11/28 12:24:56
2005-05-07*BUGFIX*František Dvořák
gcc4 patches from Dams Nadé (livna.org) and Keenan Pepper. CVS patchset: 7527 CVS date: 2005/05/07 09:11:37
2004-12-20remove all local names beginning with double underscore, because C99Michael Roitzsch
reserves these names for use by the C implementation CVS patchset: 7288 CVS date: 2004/12/20 21:22:18
2004-12-12huge patch ahead: reorganizing config entries with automatic conversionMichael Roitzsch
and backwards compatible translation Sorry, I got a litte tired proof-reading the patch, so their might be bugs lurking around. I will give it some further examination and (as necessary) fixing tomorrow. CVS patchset: 7233 CVS date: 2004/12/12 22:00:47
2004-08-27MINGW32 port. Engine library and most of plugins compiles now.František Dvořák
List of some changes: - replaced some _MSC_VER by more common WIN32 - define INTLDIR, remove -static flag for included intl - shared more common CFLAGS with DEBUG_CFLAGS - use WIN32_CFLAGS for all building - separate some flags into THREAD_CFLAGS_CONFIG, THREAD_CFLAGS_CONFIG and ZLIB_LIB_CONFIG for public xine-config, automatically use internal libs if necessary - don't warn about missing X for mingw and cygwin - libw32dll disabled for WIN32 (making native loader would be interesting, or porting wine code to Windows? :->) - DVB and RTP disabled for WIN32, not ported yet - fix build and fix a warning in cdda - fix build for nosefart and libfaad - implement configure option --disable-freetype - sync libxine.pc and xine-config.in - add -liberty to goom under WIN32 - move original build files from included phread and zlib into archives and replace them by autotools CVS patchset: 6910 CVS date: 2004/08/27 19:33:17
2004-06-04Remove GNUism.Robin KAY
CVS patchset: 6636 CVS date: 2004/06/04 00:58:19
2004-06-01applied patches from Daniel Mack for recognizing darwin as a host, andConrad Parker
patching some xine-util ppc-specific routines for OS X. CVS patchset: 6623 CVS date: 2004/06/01 13:13:15
2004-04-26help strings added for all remaining config entries (so I hope)Michael Roitzsch
please everybody watch out for spelling (and other) errors CVS patchset: 6442 CVS date: 2004/04/26 17:50:06
2004-04-25addeed ppcasm_cacheable_memcpy fix from David Woodhouse <dwmw2@infradead.org>Manfred Tremmel
CVS patchset: 6436 CVS date: 2004/04/25 17:43:58
2003-12-09update copyright year (and we have to do it again in 3 weeks... ;-) )Daniel Caujolle-Bert
CVS patchset: 5879 CVS date: 2003/12/09 00:02:28
2003-12-05cleanup phase II. use xprintf when it's relevant, use xine_xmalloc when it's ↵Daniel Caujolle-Bert
relevant too. Small other little fix (can't remember). Change few internal function prototype because it xine_t pointer need to be used if some xine's internal sections. NOTE: libdvd{nav,read} is still too noisy, i will take a look to made it quit, without invasive changes. To be continued... CVS patchset: 5844 CVS date: 2003/12/05 15:54:56
2003-11-26lprintf cleanup, pass I.Daniel Caujolle-Bert
CVS patchset: 5796 CVS date: 2003/11/26 19:43:26
2003-09-16Quit being trigger happy when commiting.Stephen Torri
CVS patchset: 5391 CVS date: 2003/09/16 02:08:03
2003-09-16Removed header that providing nothing needed to the build.Stephen Torri
Definition of unsigned long long was replaced with uint64_t. The declaration of 'unsigned long long' is a new feature in C99. Since not all the features of C99 are supported in gcc and the ccc compiler a simple type change cleared the message. CVS patchset: 5390 CVS date: 2003/09/16 02:07:18
2003-08-25AMD64 support patch by Adrian SchroeterMichael Roitzsch
CVS patchset: 5308 CVS date: 2003/08/25 14:32:37
2003-07-27- removed xine-engine/locale.c as it is unused, fix static functions in theBastien Nocera
engine and the utils, removed unused variables CVS patchset: 5219 CVS date: 2003/07/27 12:47:23
2003-04-20merging in win32 portGuenter Bartsch
CVS patchset: 4643 CVS date: 2003/04/20 21:13:21
2003-01-09memcpy tweaking by Jonathan BrownHeiko Schaefer
CVS patchset: 3848 CVS date: 2003/01/09 19:28:43
2002-12-22Make xine-lib compile with the SunPro compilerRobin KAY
CVS patchset: 3623 CVS date: 2002/12/22 00:35:04
2002-12-13avoid rdtsc with old cpusMiguel Freitas
make sure pages are mapped CVS patchset: 3512 CVS date: 2002/12/13 19:41:04
2002-11-02Less verbosity.Daniel Caujolle-Bert
CVS patchset: 3138 CVS date: 2002/11/02 03:13:44