summaryrefslogtreecommitdiff
path: root/src/xine-engine/bswap.h
AgeCommit message (Collapse)Author
2009-11-30Trim trailing space & reduce space+tab.Darren Salt
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-06-16Rename the BE/LE/ME macros with a _X_ prefix, so they don't clash with ↵Diego 'Flameeyes' Pettenò
Solaris definitions.
2006-11-18Define "always_inline" as "inline". Fix building on FreeBSD.Diego 'Flameeyes' Pettenò
CVS patchset: 8381 CVS date: 2006/11/18 17:16:18
2006-11-08Cleanup bswap.h header by moving the part of the code borrowed from FFmpeg ↵Diego 'Flameeyes' Pettenò
(or the other way around) in ffmpeg_bswap.h header, and by updating them to the current version in their subversion repository (the header of the file remain the same). Add BE_24 and LE_24 functions, as they come handy when parsing FLAC files (will be used by the OggFlac demuxer as soon as it's ready. Don't special case x86 on the BE/ABE macros, should be pretty much the same performance but at least this way we don't have to check the code twice. CVS patchset: 8361 CVS date: 2006/11/08 22:47:44
2005-05-28**BUGFIX**Miguel Freitas
fix LE_64 and BE_64 macros on non-x86 arches try to make all these macros safer with extra typecasting thanks Diego 'Flameeyes' Petten CVS patchset: 7586 CVS date: 2005/05/28 23:17:57
2004-08-18Add standard macro for machine-endian fourccJames Stembridge
CVS patchset: 6893 CVS date: 2004/08/18 21:35:23
2004-05-09Add portable version of the bswap_64 macro.Robin KAY
CVS patchset: 6508 CVS date: 2004/05/09 22:05:34
2003-11-13define FOURCC only onceMarco Zuehlke
CVS patchset: 5729 CVS date: 2003/11/13 15:23:00
2003-10-08Adds LE_64, ME_64, BE_64...Thibaut Mattern
CVS patchset: 5477 CVS date: 2003/10/08 22:56:38
2003-09-14Add multi-buffering support to video_out_pgx64 (massive performance increase ↵Robin KAY
^_^). Remove assertions for alignment from bswap.h and allow unaligned accesses in XE_xx macros on IA32. Update ChangeLog. CVS patchset: 5380 CVS date: 2003/09/14 22:02:26
2003-02-28Xine assert() replacement:Stephen Torri
All assert() function calls, with exceptions of libdvdread and libdvdnav, have been replaced with XINE_ASSERT. Functionally XINE_ASSERT behaves just likes its predecesor but its adding the ability to print out a stack trace at the point where the assertion fails. So here are a few examples. assert (0); This use of assert was found in a couple locations most favorably being the default case of a switch statement. This was the only thing there. So if the switch statement was unable to find a match it would have defaulted to this and the user and the developers would be stuck wonder who died and where. So it has been replaced with XINE_ASSERT(0, "We have reach this point and don't have a default case"); It may seem a bit none descriptive but there is more going on behind the scene. In addition to checking a condition is true/false, in this case '0', the XINE_ASSERT prints out: <filename>:<function name>:<line number> - assertion '<assertion expression>' failed. <description> An example of this might be: input_dvd.c:open_plugin:1178 - assertion '0' failed. xine_malloc failed!!! You have run out of memory XINE_ASSERT and its helper function, print_trace, are found in src/xine-utils/xineutils.h CVS patchset: 4301 CVS date: 2003/02/28 02:51:47
2002-10-22Changed comments to standard /* ... */Stephen Torri
CVS patchset: 2915 CVS date: 2002/10/22 05:01:39
2002-10-21Fix bug with assert undefined when building in "make debug" mode.James Courtier-Dutton
CVS patchset: 2896 CVS date: 2002/10/21 07:00:19
2002-10-19Added AXE_xx macros and assertions for alignmentRobin KAY
CVS patchset: 2856 CVS date: 2002/10/19 01:29:43
2002-10-06Workaround for code generation bug in gcc on SPARC. Mike's endian macros now ↵Robin KAY
moved to bswap.h CVS patchset: 2794 CVS date: 2002/10/06 03:48:13
2001-11-25Some little cleanups.Daniel Caujolle-Bert
CVS patchset: 1109 CVS date: 2001/11/25 13:51:05
2001-08-17compile-fix for non-gnu systems (e.g. freebsd)Heiko Schaefer
CVS patchset: 441 CVS date: 2001/08/17 13:34:25