summaryrefslogtreecommitdiff
path: root/src/xine-utils/xineutils.h
AgeCommit message (Collapse)Author
2003-12-26Win32 mega update:František Dvořák
- external ffmpeg (with some patches) built by MINGW works, wow! - cleanups (only one definition file for all plugins) - working release build target Notes to hybrid MINGW/MSVC build: - CVS version of ffmpeg is compiled by MINGW (small patch for compilation ffmpeg under MINGW, second for disabling flush because it crashes under windows) - libxine + xineui compiled by MSVC, additional patch into header files of ffmpeg is needed - export all data with '__declspec(dllimport)' CVS patchset: 5951 CVS date: 2003/12/26 18:37:58
2003-12-21if gcc knows that xine_xmalloc() behaves like malloc(), some moreMichael Roitzsch
aliasing assumptions can be made (malloc()-returned pointers never alias anything), which can leed to further optimizations CVS patchset: 5933 CVS date: 2003/12/21 14:14:39
2003-12-13Update win32 MSVC build:František Dvořák
* internal names cleanup * http input plugin uses http_helper.c * fix change in audio_directx * MSVC stoped compile xineui because of 'this', mysterious * change non-constand array lengths to malloc/free, it good for such old compilers as my MSVC 6.0 * change lprintf macro for MSVC to compile again (I don't know, how use variable number of macro arguments in MSVC...) * merge compiling of xine-utils and xine-engine CVS patchset: 5902 CVS date: 2003/12/13 11:35:07
2003-12-13no need to mallocing (and never freeing) for putenv() calls.Daniel Caujolle-Bert
CVS patchset: 5900 CVS date: 2003/12/13 01:47:35
2003-12-08use __XINE_FUNCTION__Daniel Caujolle-Bert
CVS patchset: 5872 CVS date: 2003/12/08 12:37:25
2003-12-08_x_assert: printout format like assert(), _x_abort: print file/line/func ↵Daniel Caujolle-Bert
before aborting (useful to trace abort()s). CVS patchset: 5870 CVS date: 2003/12/08 12:36:02
2003-12-07get rid of XINE_{ASSERT,ABORT} and useless xine_print_trace (useless). ↵Daniel Caujolle-Bert
Replace XINE_ASSERT by _x_assert, which works exaclty as assert, except that it still warns with NDEBUG defined (but don't abort). Fix missuning of assert(0), which isn't safe, abort is abort, assert is for debugging purpose only, so all assert(0) has been converted to abort() alls. In osd_preload_fonts(): alloc needed memory chunk. Define NDEBUG in CFLAGS, for non DEBUG build only. CVS patchset: 5860 CVS date: 2003/12/07 15:34:29
2003-12-06getting the spelling really rightMichael Roitzsch
CVS patchset: 5854 CVS date: 2003/12/06 18:15:56
2003-12-06reading through Daniel's huge patch was quite tiresome, but it was not ↵Michael Roitzsch
worthless: * fixing some lprintf's * fixing one printf -> xprintf * adding patch to diff_to_ffmpeg_cvs * small addition to xineutils.h (some gcc magic for future optimizations) CVS patchset: 5853 CVS date: 2003/12/06 18:11:53
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-12-04some const correctnessJames Stembridge
CVS patchset: 5841 CVS date: 2003/12/04 22:15:25
2003-11-26xprintf clean pass. xprintf now log into new XINE_LOG_TRACE log buffer. ↵Daniel Caujolle-Bert
scratch buffer enhancement (thanks Thibaut for the malloc tips), enlarge log buffer from 25 lines (very useless), to 150 (better). CVS patchset: 5801 CVS date: 2003/11/26 23:44:08
2003-11-26Win32 MSVC stuff:František Dvořák
piece of patch of previous win32 update sputext demuxer - latin1 subtitles work mpeg_pes demuxer - it's compiled fine with MSVC and it seems it works CVS patchset: 5799 CVS date: 2003/11/26 21:28:47
2003-11-11rename internal API function (_x_<function>).Daniel Caujolle-Bert
CVS patchset: 5721 CVS date: 2003/11/11 18:44:50
2003-11-04Final patches for compiling xine under MSVC:František Dvořák
- basename() is added to xine-utils, if it isn't found by configure - macros with variable number of arguments are simplified to ignore additional arguments (only for MSVC), lprintf macro simplified with full functionality - minor update for building a52, some preparation for ffmpeg CVS patchset: 5687 CVS date: 2003/11/04 14:38:26
2003-11-01assuming Miguel's consent I commit his profiling macrosMichael Roitzsch
(they are not used anywhere, but are very helpful, if you quickly want to measure, how much time a function takes) CVS patchset: 5666 CVS date: 2003/11/01 17:25:49
2003-11-01back out brightness patchMike Melanson
CVS patchset: 5659 CVS date: 2003/11/01 01:25:44
2003-10-30brighten up the converted RGB videoMike Melanson
CVS patchset: 5642 CVS date: 2003/10/30 06:04:31
2003-08-25AMD64 support patch by Adrian SchroeterMichael Roitzsch
CVS patchset: 5308 CVS date: 2003/08/25 14:32:37
2003-07-19print at least a short note on XINE_ABORT in non-debug modeMichael Roitzsch
CVS patchset: 5183 CVS date: 2003/07/19 11:50:33
2003-07-16more cleanup; remove unused variables; use lprintfMarco Zuehlke
CVS patchset: 5168 CVS date: 2003/07/16 14:14:17
2003-07-12- adding support for the Intel compiler iccMichael Roitzsch
- general multipass compilation make targets CVS patchset: 5149 CVS date: 2003/07/12 12:31:13
2003-07-12add yuy2_to_yv12 conversionMiguel Freitas
CVS patchset: 5146 CVS date: 2003/07/12 03:10:15
2003-06-20the new logging macros, for details see README.loggingMarco Zuehlke
CVS patchset: 5077 CVS date: 2003/06/20 20:57:28
2003-06-13Make deinterlacer plugin compile on Solaris. Remove defunct code from ↵Robin KAY
xine-utils. CVS patchset: 5040 CVS date: 2003/06/13 23:05:35
2003-06-03progressive_frame flag may be used to select how to convert yv12->yuy2Miguel Freitas
CVS patchset: 5003 CVS date: 2003/06/03 03:33:15
2003-05-31provide yv12 to yuy2 conversionMiguel Freitas
CVS patchset: 4993 CVS date: 2003/05/31 13:54:27
2003-05-20public header cleanup:Michael Roitzsch
* regulate mutual inclusion based on XINE_COMPILE * src/xine-engine/spu_decoder.h was unused -> make it the spu decoder API header and remove src/libspudec/spu_decoder_api.h * mark some xine_stream_t members as unused for next cleanup CVS patchset: 4883 CVS date: 2003/05/20 13:50:55
2003-04-22Additional changes for win32/msvc port; This is my first real commit so ↵Tim Champagne
please be gentle with me; Everything builds except for the win32 ui CVS patchset: 4650 CVS date: 2003/04/22 23:30:29
2003-04-20merging in win32 portGuenter Bartsch
CVS patchset: 4643 CVS date: 2003/04/20 21:13:21
2003-03-25only abort() in DEBUG versionsHeiko Schaefer
CVS patchset: 4483 CVS date: 2003/03/25 21:26:01
2003-03-07ok, lets try to not break the frontends...Miguel Freitas
CVS patchset: 4364 CVS date: 2003/03/07 19:58:32
2003-03-05The 'inline' keyword is not standard ANSI-C and not always available.Ewald Snel
Use it for xine compilation only. CVS patchset: 4339 CVS date: 2003/03/05 17:13:09
2003-03-04forgot the declaration of the xine_print_trace() functionMichael Roitzsch
CVS patchset: 4329 CVS date: 2003/03/04 08:31:57
2003-03-03Bring back the 'exp' in the output for failed assertions. The expressionJuergen Keil
is passed as an additional string argument now, so % characters in the expression are harmless. This version of the XINE_ASSERT macro seems to work with gcc 2.95 as well. Defining NDEBUG removes the XINE_ASSERT code. CVS patchset: 4328 CVS date: 2003/03/03 18:10:30
2003-03-03implementing the backtrace function in the header results in the code being ↵Michael Roitzsch
included in every single plugin (possibly multiple times due to inlining) -> move the code to libxineutil seems more sensible CVS patchset: 4327 CVS date: 2003/03/03 17:29:07
2003-03-02definitely stop warningsDaniel Caujolle-Bert
CVS patchset: 4324 CVS date: 2003/03/02 18:11:37
2003-03-02fix multiple definition (me) and unused warning (not me ;) )Daniel Caujolle-Bert
CVS patchset: 4323 CVS date: 2003/03/02 17:28:55
2003-03-02err, i never see such thingDaniel Caujolle-Bert
CVS patchset: 4322 CVS date: 2003/03/02 17:23:03
2003-03-02one day in the world thing will be checked before commitedDaniel Caujolle-Bert
CVS patchset: 4321 CVS date: 2003/03/02 17:13:03
2003-03-01Add a special version of XINE_ASSERT for gcc-2.95.x.Juergen Keil
The gcc-2.95.3 pre-processor has serious problems with this macro, it mangles the ", __LINE__, ##args" part CVS patchset: 4314 CVS date: 2003/03/01 14:35:54
2003-02-28Put the functionality of XINE_ASSERT within an do {} while(0)Stephen Torri
CVS patchset: 4310 CVS date: 2003/02/28 22:34:24
2003-02-28Add some autoconf checks for execinfo.h and the backtrace() functionJuergen Keil
CVS patchset: 4308 CVS date: 2003/02/28 21:57:17
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
2003-02-02added YUV411P -> YV12 converterMike Melanson
CVS patchset: 4083 CVS date: 2003/02/02 06:07:20
2002-12-31Undo previous patch to fix compilation of xine-ui on SolarisEwald Snel
CVS patchset: 3736 CVS date: 2002/12/31 19:30:53
2002-12-30Fix compilation of external modulesEwald Snel
CVS patchset: 3732 CVS date: 2002/12/30 20:53:05
2002-12-22Make xine-lib compile with the SunPro compilerRobin KAY
CVS patchset: 3623 CVS date: 2002/12/22 00:35:04
2002-12-15Introducing an implementation of dynamic buffer especially usefulStefan Holst
for network input plugins to prevent buffer overflows. All the new functions were prefixed by "xine_buffer". CVS patchset: 3532 CVS date: 2002/12/15 01:47:59
2002-12-04modified YUV9 -> YV12 converterMike Melanson
CVS patchset: 3423 CVS date: 2002/12/04 05:33:40