summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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-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-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-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-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-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-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-19Cleanup block-based support in AC3 and DTS demuxers. Original patch by ↵Diego 'Flameeyes' Pettenò
Matthias Kretz. CVS patchset: 8713 CVS date: 2007/03/19 16:42:32
2007-03-18Added centre-cutout (4:3 in 16:9) to the expand plugin. Patch by Reinhard Nissl.Darren Salt
CVS patchset: 8712 CVS date: 2007/03/18 14:47:19
2007-03-17As 24-bit waves are reduced to 16-bit for output (most output plugins don't ↵Diego 'Flameeyes' Pettenò
support 24 bit output), reduce it accordingly. CVS patchset: 8710 CVS date: 2007/03/17 20:59:36
2007-03-17Use the Native Endian variants for 16 and 32 bit samples.Diego 'Flameeyes' Pettenò
CVS patchset: 8709 CVS date: 2007/03/17 20:57:59
2007-03-17Use memcmp to check for the WAV signature; use xine_xmalloc rather than ↵Diego 'Flameeyes' Pettenò
simply malloc. CVS patchset: 8708 CVS date: 2007/03/17 20:57:04
2007-03-17Avoid a possible floating-point exception when starting stream playback.Darren Salt
CVS patchset: 8707 CVS date: 2007/03/17 19:15:58
2007-03-17Some servers does not send a human-readable http status description, for ↵Diego 'Flameeyes' Pettenò
those, check only the status code. This fixes WikipediaWeekly podcasts for instance. CVS patchset: 8706 CVS date: 2007/03/17 16:47:16
2007-03-17Cleanup makefile, use the -Wl,-z,defs option if supported, use visibility ↵Diego 'Flameeyes' Pettenò
flag, removes three symbols from bitplane plugin. CVS patchset: 8705 CVS date: 2007/03/17 16:26:39
2007-03-17Pass the visibility flag when building the plugin.Diego 'Flameeyes' Pettenò
CVS patchset: 8704 CVS date: 2007/03/17 16:22:38
2007-03-17Merge the two real binary codecs plugins in a single plugin that handles ↵Diego 'Flameeyes' Pettenò
both audio and video. CVS patchset: 8703 CVS date: 2007/03/17 15:45:37
2007-03-17Simplfiy the Makefile.am, set AM_LDFLAGS rather than repeating it all over, ↵Diego 'Flameeyes' Pettenò
use -Wl,-z,defs if supported, pass libraries' CFLAGS variables only to the relevant demuxers, correctly pass AM_CFLAGS (VISIBILITY_FLAG) to the demuxers that also pass extra CFLAGS. CVS patchset: 8702 CVS date: 2007/03/17 15:17:24
2007-03-17When parsing flv metadata, do not assume that keywords are zero-terminated andClaudio Ciccani
compare the keyword's length too. CVS patchset: 8701 CVS date: 2007/03/17 11:29:43
2007-03-17Do not send duration extra info when framerate is not known.Claudio Ciccani
CVS patchset: 8700 CVS date: 2007/03/17 09:17:19
2007-03-17Cleanup wavpack plugin, include config.h when needed, declare ↵Diego 'Flameeyes' Pettenò
demuxer/decoder init functions in the combined_wavpack.h header. CVS patchset: 8699 CVS date: 2007/03/17 07:34:02
2007-03-17Clean up configure checks for OSS support. Check for the various soundcard.h ↵Diego 'Flameeyes' Pettenò
headers, and then include the best one that has been found on the system. Check for definition of SNDCTL_DSP_SETFRAGMENT in those headers. Check for the correct request parameter type for ioctl(), as also modern Linux uses unsigned long. Don't list all the big endian machines (as they aren't reliable to list anyway, some of them might work with both endians), use WORDS_BIGENDIAN instead. CVS patchset: 8697 CVS date: 2007/03/17 06:59:31
2007-03-17Instead of relying on FreeBSD being the only system not having __environ ↵Diego 'Flameeyes' Pettenò
stderr ___brk_addr and __ctype_b, look for them during ./configure stage. Also check for alternatives, and check for compiler's weak aliasing support only if it's actually going to be used. CVS patchset: 8696 CVS date: 2007/03/17 06:11:30
2007-03-17Boost the priority of the real audio decoder over FFmpeg's, as demux_real ↵Diego 'Flameeyes' Pettenò
does not provide a suitable extradata for FFmpeg. CVS patchset: 8695 CVS date: 2007/03/17 00:28:41
2007-03-16Import the changes for 64-bit safety from MPlayer, this way Real Video and ↵Diego 'Flameeyes' Pettenò
Real Audio binary codecs can be used on x86-64 and Alpha too. CVS patchset: 8693 CVS date: 2007/03/16 23:22:13
2007-03-16Remember to save before C-x v vDiego 'Flameeyes' Pettenò
CVS patchset: 8692 CVS date: 2007/03/16 22:54:56
2007-03-16Fix real audio codecs.Diego 'Flameeyes' Pettenò
CVS patchset: 8691 CVS date: 2007/03/16 22:54:06