summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-03-29Reorder to fill hole.Diego 'Flameeyes' Pettenò
CVS patchset: 8770 CVS date: 2007/03/29 18:58:21
2007-03-29Reorder fields, use a bitmask to reduce the size, and change width and ↵Diego 'Flameeyes' Pettenò
height to uint16_t (they are read as 12-bit values). CVS patchset: 8769 CVS date: 2007/03/29 18:52:45
2007-03-29A little more reordering sparing a 4 bytes hole.Diego 'Flameeyes' Pettenò
CVS patchset: 8768 CVS date: 2007/03/29 18:41:02
2007-03-29Replace obsolete macros (processing done by autoupdate).Darren Salt
Some tests were rearranged (AC_TRY_LINK moved out of AC_TRY_RUN cross-compilation case, with arrangements to maintain the semantics) to avoid autoupdate errors. Factored out common (duplicate) code in aa.m4. Tested with autoconf 2.61; needs testing with 2.60. CVS patchset: 8767 CVS date: 2007/03/29 18:23:36
2007-03-29Create and initialise the mpeg parser only when actually needed, and dispose ↵Diego 'Flameeyes' Pettenò
it on instance disposal. CVS patchset: 8766 CVS date: 2007/03/29 18:00:23
2007-03-29Add a dispose function to clean the allocated buffer.Diego 'Flameeyes' Pettenò
CVS patchset: 8765 CVS date: 2007/03/29 17:59:35
2007-03-29Collapse seven integers used as boolean into 1-bit fields. Helps also ↵Diego 'Flameeyes' Pettenò
reducing the holes. CVS patchset: 8764 CVS date: 2007/03/29 17:48:34
2007-03-29Allocate chunk_buffer when initialising the parser, rather than having it ↵Diego 'Flameeyes' Pettenò
inline the ff_video_decoder_t struct. CVS patchset: 8763 CVS date: 2007/03/29 17:31:43
2007-03-29A little more reodering, and convert a few more fields to 1-bit flags.Diego 'Flameeyes' Pettenò
CVS patchset: 8762 CVS date: 2007/03/29 17:11:36
2007-03-29Reorder fields to remove a 4+4 bytes holes.Diego 'Flameeyes' Pettenò
CVS patchset: 8761 CVS date: 2007/03/29 17:03:06
2007-03-29Remove unused bytes_per_sec attribute on demux_ra_t. Move block_align and ↵Diego 'Flameeyes' Pettenò
make seek_flag a 1-bit field. This reduces as much as possible the padding. Note that block_align should remain on the same cacheline as the fifo pointers, as it's used at every chunk, while the rest of the fields are used only when seeking. CVS patchset: 8760 CVS date: 2007/03/29 17:00:32
2007-03-29Move streaminfo at the end of the structure to avoid padding.Diego 'Flameeyes' Pettenò
CVS patchset: 8759 CVS date: 2007/03/29 16:52:23
2007-03-29Reorder demux_tta_t structure so that all the important pointers and ↵Diego 'Flameeyes' Pettenò
variables fall into the same cacheline, while the header can simply remain on a different one, as it's needed only at the begin of the encoding. CVS patchset: 8758 CVS date: 2007/03/29 16:46:23
2007-03-29Disable logging that I've left enabled by mistake.Diego 'Flameeyes' Pettenò
CVS patchset: 8757 CVS date: 2007/03/29 16:32:12
2007-03-29Bitrate has to be 32-bit, or it overruns.Diego 'Flameeyes' Pettenò
CVS patchset: 8756 CVS date: 2007/03/29 16:21:48
2007-03-29Code cleanup: don't export all the bits read in the header to the whole ↵Diego 'Flameeyes' Pettenò
plugin, only a subset of the information is needed, so hide the rest in an anonymous structure inside the parsing function. This reduces the header structure size to 24 rather than 40 (of the version already reduced by using bitmasks) and allows it to stay in a single cacheline. Also, don't consider those flags that we don't use; leave the code in place so that if they need to be parsed in the future they can, but under #if 0 so that it's not compiled. Move the tables for mp3's magic constants inside the parsing function, to hide them from the global namespace, and resize them to use uint16_t rather than int. Use memcpy rather than copying the bytes one by one for the xing header. CVS patchset: 8755 CVS date: 2007/03/29 16:01:30
2007-03-26More bitmasks, this might be interesting, as it reduces the size quite a ↵Diego 'Flameeyes' Pettenò
bit, padding or no padding. CVS patchset: 8754 CVS date: 2007/03/26 21:52:12
2007-03-26Optimise the demux_mpeg_pes_t structure a bit, instead of using two int32_t ↵Diego 'Flameeyes' Pettenò
as boolean, and one int for just two LSBs, use a 1/1/2 bitmask, saves 11 bytes of memory (and probably also cpu instructions as there is almost no arithmetic done with it, but just logic that can be easily used bitwise. CVS patchset: 8753 CVS date: 2007/03/26 21:18:52
2007-03-26Add support for H.264 video stream in PES packets. Patch by Reinhard Nissl.Diego 'Flameeyes' Pettenò
CVS patchset: 8752 CVS date: 2007/03/26 21:06:32
2007-03-26Use AS_HELP_STRING instead of the deprecated AC_HELP_STRING.Darren Salt
CVS patchset: 8751 CVS date: 2007/03/26 14:21:10
2007-03-26Require at least autoconf 2.60 as we set on configure.ac.Diego 'Flameeyes' Pettenò
CVS patchset: 8750 CVS date: 2007/03/26 12:52:05
2007-03-26Send an event when the amp value or amp mute change. Patch by reinhard ↵Diego 'Flameeyes' Pettenò
Nissl. Also bump the libtool version info. CVS patchset: 8749 CVS date: 2007/03/26 11:48:00
2007-03-25Create at least a 1×1 shared image when the first frame is skipped (and ↵Diego 'Flameeyes' Pettenò
thus reported as 0×0), to avoid disabling shared memory for all others. Patch by Reinhard Nissl. CVS patchset: 8748 CVS date: 2007/03/25 23:13:53
2007-03-25Fix amp muting when level is still at 100. Patch by Reinhard Nissl.Diego 'Flameeyes' Pettenò
CVS patchset: 8747 CVS date: 2007/03/25 23:09:42
2007-03-25Fix messages for video out modules. Patch by Reinhard Nissl.Diego 'Flameeyes' Pettenò
CVS patchset: 8746 CVS date: 2007/03/25 23:07:23
2007-03-24Make sure that the big tables are both static and const, so that they don't ↵Diego 'Flameeyes' Pettenò
get loaded into shared memory for copy-on-write. CVS patchset: 8745 CVS date: 2007/03/24 03:14:15
2007-03-24Improve tests for visibility attribute support; Mach-O supports default ↵Diego 'Flameeyes' Pettenò
visibility but not protected (as the default is actually kinda like protected), thanks to Matt Messier in bug #1686194 for pointing me at that. CVS patchset: 8744 CVS date: 2007/03/24 02:36:52
2007-03-23Fix closing the vcd device if the disc is not a video CD.Darren Salt
libvcdinfo 0.7.23 closes the device in this case whereas the built-in version did not, and this was causing double frees due to my previous fix which addressed only the built-in version (which needs to be either updated to 0.7.23 or dropped). CVS patchset: 8743 CVS date: 2007/03/23 21:47:31
2007-03-22Instead of defining HAVE_ASMALIGN_POT during configure and then creating the ↵Diego 'Flameeyes' Pettenò
macro ASMALIGN(ZEROBITS) in ffmpeg's code, define it directly at configure, this way it can be used for the planar postplugin, that will then build with Apple's AS. CVS patchset: 8742 CVS date: 2007/03/22 23:32:05
2007-03-22Add the gas.m4 macro file, at least :)Diego 'Flameeyes' Pettenò
CVS patchset: 8741 CVS date: 2007/03/22 22:34:28
2007-03-22Move handling of Win32 codecs all in a single point of configure.ac rather ↵Diego 'Flameeyes' Pettenò
than split in two. Check for GNU as (macro adapted from libtool's check for GNU ld), as for instance Apple's assembler is not going to compile the Win32 wrappers. When GNU as is not found and user hasn't requested win32 codecs support explicitely, skip over it; if user requested win32 codecs and GNU as is not found, bail out. CVS patchset: 8740 CVS date: 2007/03/22 22:31:48
2007-03-22Fix crosscompile to use build and host definition from autoconf, rather than ↵Diego 'Flameeyes' Pettenò
using hacksaround. Also replace the whole pthread check with an improved macro originally written for XCB, this way it's not going to try linking the fake -lpthread on Darwin, and it also does not force a -I/usr/local/include on FreeBSD. The new macro respects the same variables set by ports, so that it's even more transparent to FreeBSD users. CVS patchset: 8739 CVS date: 2007/03/22 20:44:58
2007-03-22Try to reorganize the first tests so that the conditional macros are tested ↵Diego 'Flameeyes' Pettenò
together, and that the programs are checked. This way all the compilers and flags variables are grouped together on the --help output. CVS patchset: 8738 CVS date: 2007/03/22 18:21:16
2007-03-22Instead of rewriting the install and uninstall rules for headers, simply ↵Diego 'Flameeyes' Pettenò
change their class to xineinclude, and set xineincludedir in Makefile.common. CVS patchset: 8737 CVS date: 2007/03/22 17:37:17
2007-03-22As the code as it is requires autoconf 2.60, at least state it so. If we ↵Diego 'Flameeyes' Pettenò
decide to push back to support 2.59 again, then the AC_PREREQ should be changed too. Leaving 2.53 is out of question for sure. CVS patchset: 8736 CVS date: 2007/03/22 14:32:56
2007-03-20Missing 'test'.Darren Salt
CVS patchset: 8735 CVS date: 2007/03/20 14:10:49
2007-03-20Another couple of fixes for OSX support by Martin Aumueller, although Win32 ↵Diego 'Flameeyes' Pettenò
support seems to still not work there. CVS patchset: 8734 CVS date: 2007/03/20 01:40:34
2007-03-20We're building xine even when we're building the Mac OS X video helper.Diego 'Flameeyes' Pettenò
CVS patchset: 8733 CVS date: 2007/03/20 01:34:08
2007-03-20Oops, I copied it wrong from his paste, this should do it.Diego 'Flameeyes' Pettenò
CVS patchset: 8732 CVS date: 2007/03/20 01:25:03
2007-03-20On Darwin we also have to enable explicitly the text relocations. Thanks to ↵Diego 'Flameeyes' Pettenò
Emanuele Giaquinta for pointing me at the right LDFLAG. CVS patchset: 8731 CVS date: 2007/03/20 01:18:51
2007-03-20USE AC_PROG_OBJC to find the objective C compiler, rather than messing by hand.Diego 'Flameeyes' Pettenò
CVS patchset: 8730 CVS date: 2007/03/20 01:13:30
2007-03-20Fix Makefile so that the CPPFLAGS in AM_CPPFLAGS are not ingored for directx ↵Diego 'Flameeyes' Pettenò
and macosx plugins. Also pass the VISIBILITY_FLAG to the correct set of OBJCFLAGS variable (even if it's a moot point, OS X has no visibility support as it is). Patch by Martin Aumueller. CVS patchset: 8729 CVS date: 2007/03/20 00:47:04
2007-03-20There's no point in this.Diego 'Flameeyes' Pettenò
CVS patchset: 8728 CVS date: 2007/03/20 00:46:06
2007-03-20Add B2N macros for OSX. Patch by Martin Aumueller. Also add to the diff from ↵Diego 'Flameeyes' Pettenò
CVS as needs to be submitted. CVS patchset: 8727 CVS date: 2007/03/20 00:35:29
2007-03-20The AC_C_ATTRIBUTE_ALIGNED macro is broken, it always reports maximum ↵Diego 'Flameeyes' Pettenò
aligned available as 64 even on Darwin where the maximum is 16, as it does not use -Werror, and the wrong alignment is considered only a warning. Rewrite it as CC_ATTRIBUTE_ALIGNED (in attributes.m4, where other similar macros are located). Also reverse the order of the checks, so that the highest version is tried first; this way you can avoid five compile tests on systems where 64 is the highest alignment available. CVS patchset: 8726 CVS date: 2007/03/20 00:30:55
2007-03-20Fix typo.Diego 'Flameeyes' Pettenò
CVS patchset: 8725 CVS date: 2007/03/20 00:01:19
2007-03-19Define EXPORTED as a dummy value even when visibility attribute is not found.Diego 'Flameeyes' Pettenò
CVS patchset: 8724 CVS date: 2007/03/19 23:55:00
2007-03-19Don't assume that CoreAudio output is Big Endian (it is not on newer Mac ↵Diego 'Flameeyes' Pettenò
based on Intel CPUs). Patch by Martin Aumueller. CVS patchset: 8723 CVS date: 2007/03/19 23:48:58
2007-03-19Make CC_CHECK_CFLAGS report the name of the compiler, like AC_TRY_CFLAGS ↵Diego 'Flameeyes' Pettenò
used to. CVS patchset: 8722 CVS date: 2007/03/19 23:41:49
2007-03-19Use CC_CHECK_CFLAGS rather than AC_TRY_CFLAGS for checking the warnings to ↵Diego 'Flameeyes' Pettenò
enabled, as this one caches its tests, so a run using cached values will be faster. CVS patchset: 8721 CVS date: 2007/03/19 23:41:05