summaryrefslogtreecommitdiff
path: root/src/dxr3/dxr3_decode_spu.c
AgeCommit message (Collapse)Author
2008-05-07xine_xmalloc() deprecation: replace its use with static and non-zero size.Diego 'Flameeyes' Pettenò
The xine_xmalloc() function is going to be deprecated, as its behaviour is rarely needed as such, and it's thus misused. With this, almost all uses of xine_xmalloc() with static size (for instance the value returned by sizeof()) or with a size that is guaranteed not to be zero (like strlen()+1) are replaced with calls to either calloc(1, ...) or malloc(). malloc() is used whenever the allocated memory is going to be immediately overwritten, while calloc() is used in every other case, as it sets the whole memory area to zero. --HG-- extra : transplant_source : %8F%98%EC%02%1E%83%F0s%06X%83C%205Y%80%B12%CC%E1
2007-11-10Delete most of the CVS $Id$/$Log$ lines.Darren Salt
--HG-- extra : transplant_source : %E0%D0%C5%8B%BEU%DD%24%5D7%1F%ADV%AD%EB%23%CBU%80%EB
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.
2006-07-10Implement visibility support, available on GCC 4.0 and later and on some 3.4 ↵Diego 'Flameeyes' Pettenò
(through backports), to avoid exporting unneeded internal symbols, making plugins' loading faster and use of internal copies of libraries more solid. It should automatically fall back to the old way in GCCs that does not support -fvisibility=hidden, but has to be tested carefully. No issues were found in the months of testing in Gentoo, but this requires special attention anyway. CVS patchset: 8101 CVS date: 2006/07/10 22:08:12
2006-06-18Misc warnings fixes.Diego 'Flameeyes' Pettenò
CVS patchset: 8055 CVS date: 2006/06/18 20:29:03
2006-06-02Various static/const fixes from Gentoo.Darren Salt
CVS patchset: 8009 CVS date: 2006/06/02 22:18:56
2006-05-03Make various arrays and structures (mainly xine_plugin_info) const.Darren Salt
(Diego Pettenò) CVS patchset: 7985 CVS date: 2006/05/03 19:46:06
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
2004-10-08fix a long-standing DXR3 DVD problem: forced subtitles were not handled ↵Michael Roitzsch
correctly When forced subtitles are enabled, only those subtitles of a subtitle stream with a special flag set should be displayed. The designers of the SPU format decided to be funny and placed this flag near the end of a SPU. With the DXR3, it can therefore happen that you already wrote half the SPU to the card, because it spans across multiple buffers, when you finally notice that you are not supposed to show this one at all. For that reason, the DXR3 had used a different filtering, which worked most of the time, but was, in the end, wrong. Now I found a way to invalidate a SPU after it had already been partly written to the card, so we can do things the right way. This finally fixes missing subtitles with "The Lord of the Rings - The Two Towers". CVS patchset: 7021 CVS date: 2004/10/08 20:39:51
2004-08-19check for NAV updates earlier and thus more often;Michael Roitzsch
fixes initially missing menu highlight in "Chicago" RC2 CVS patchset: 6899 CVS date: 2004/08/19 10:35:32
2004-07-20small DXR3 code cleanup:Michael Roitzsch
* make some helper functions non-inline that Bastien had to move because of their inlining (I realized that some helpers are a bit too large for inlining, so they might worsen the I-cache usage.) * properly use logging macros in all DXR3 code * prepare SPU decoder for new (and hopefully correct) SPU forcing; this should fix some longstanding DXR3 SPU problems, but the code needs more testing so it is disabled for now CVS patchset: 6824 CVS date: 2004/07/20 16:37:44
2004-07-11- Fix build with inline functions on GCC 3.4.0Bastien Nocera
dxr3_scr.c: In function `dxr3_scr_set_speed': dxr3_scr.c:52: sorry, unimplemented: inlining failed in call to 'dxr3_mvcommand': function body not available dxr3_scr.c:220: sorry, unimplemented: called from here CVS patchset: 6788 CVS date: 2004/07/11 11:47:10
2004-06-21removing unused SPU_DVD_SUBTYPE_SUBP_CONTROL and the stream_filter stuffMichael Roitzsch
in SPU decoders which is obsoleted by that removal CVS patchset: 6726 CVS date: 2004/06/21 16:19:40
2004-04-10improving config help stringsMichael Roitzsch
and dropping support for em8300 drivers older than 0.12.0 (this is older than two years) CVS patchset: 6380 CVS date: 2004/04/10 15:29:57
2004-03-31poor-man's version of handling NAV presentation timestampsMichael Roitzsch
(first DVD of "24" season 1 should work with the DXR3 now) CVS patchset: 6324 CVS date: 2004/03/31 16:18:16
2003-12-14API version bounceSiggi Langauf
CVS patchset: 5912 CVS date: 2003/12/14 22:13:22
2003-12-08no menu button does not need abort()ingMichael Roitzsch
CVS patchset: 5867 CVS date: 2003/12/08 11:38:26
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-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-11-12better use saturation to convert an illegal button number to a legal oneMichael Roitzsch
CVS patchset: 5724 CVS date: 2003/11/12 17:52:59
2003-11-09if we are trying to activate a menu with an invalid button,Michael Roitzsch
fall back to button 1 CVS patchset: 5716 CVS date: 2003/11/09 21:49:36
2003-10-23I should have seen this coming...Michael Roitzsch
The changes to the video API of course require the video/spu decoder and post plugin APIs to be increased as well. CVS patchset: 5579 CVS date: 2003/10/23 20:12:33
2003-08-05- adapt dxr3 code to new float aspects, use separate pan&scan flagging toMichael Roitzsch
handle pan&scan information independently from the aspect - proper DVD button group handling in dxr3 spu decoder CVS patchset: 5248 CVS date: 2003/08/05 15:07:42
2003-05-03as announced on xine-devel:Michael Roitzsch
* I change the SPU decoder API to make it look less DVD specific * adapt all related files * increase SPU decoder API version * include DVDNAV_CFLAGS locally where needed CVS patchset: 4755 CVS date: 2003/05/03 14:24:06
2003-04-30* include nav_read.c for builds with included libdvdnavMichael Roitzsch
* link correctly for standalone libdvdnav CVS patchset: 4725 CVS date: 2003/04/30 16:51:55
2003-03-08first step towards fixing the DVD menu highlighting problemsMichael Roitzsch
The problem arises because of inconsistent usage of libdvdread's functions regarding NAV packet reading: libspudec and the dxr3 spu decoder use some of these functions, but they used to have private copies of the relevant files of libdvdread. These do not work any more now, since the internal layout of NAV packets in libdvdread changed lately. So we should always use the functions from current libdvdread. Please note that highlights might not work yet. The next step will be to sync libdvdnav. Stay tuned. CVS patchset: 4371 CVS date: 2003/03/08 14:11:52
2003-03-07I mixed up #ifdef and #ifMichael Roitzsch
CVS patchset: 4362 CVS date: 2003/03/07 17:07:14
2003-02-25this is unneeded, got_spu_packet always returns a vptsMichael Roitzsch
CVS patchset: 4286 CVS date: 2003/02/25 14:33:40
2003-01-13non-dxr3-users should not see the dxr3 config tabMichael Roitzsch
CVS patchset: 3903 CVS date: 2003/01/13 18:09:54
2003-01-02make Carsten happy: remove pending SPUs on disposeMichael Roitzsch
CVS patchset: 3751 CVS date: 2003/01/02 12:00:52
2002-12-21- add buf->decoder_info_ptr: portability for systems where pointer hasMiguel Freitas
different sizeof than integer. - add extra_info structure to pass informations from input/demuxers down to the output frame. this can be used, for example, to pass the frame number of a frame (when known by decoder). also, immediate benefict is that we now have a slider which really shows the current position of the playing stream. new fields can be added to extra_info keeping binary compatibility - bumpy everybody's api versions CVS patchset: 3603 CVS date: 2002/12/21 12:56:44
2002-11-21bring dxr3 spu decoder up to the latest interfaceMichael Roitzsch
(The dxr3 spu encoder works so good, that I almost did not realize that all these SPUs I saw on my TV where decoded by libspudec and reencoded by the dxr3 video out. :) CVS patchset: 3328 CVS date: 2002/11/21 21:39:43
2002-11-20engine modifications to allow post plugin layer:Michael Roitzsch
* new public output interface xine_{audio,video}_port_t instead of xine_{ao,vo}_driver_t, old names kept as aliases for compatibility * modified the engine to allow multiple streams per output * renaming of some internal structures according to public changes * moving SCR out of per-stream-metronom into a global metronom_clock_t residing in xine_t and therefore easily available to the output layer * adapting all available plugins (note to external projects: the compiler will help you a lot, if a plugin compiles, it is adapted, because all changes add new parameters to some functions) * bump up all interface versions because of xine_t and xine_stream_t changes CVS patchset: 3312 CVS date: 2002/11/20 11:57:38
2002-11-15cleaning up spu types. now avi subtitles may be enabled again.Miguel Freitas
(+ missed ffmpeg/dv patch) CVS patchset: 3263 CVS date: 2002/11/15 00:20:31
2002-10-26forgot to copy the nav packetMichael Roitzsch
CVS patchset: 3020 CVS date: 2002/10/26 20:52:08
2002-10-26handle all events in the queue, not just the first oneMichael Roitzsch
(I start to like the new events mechanism) CVS patchset: 3016 CVS date: 2002/10/26 20:12:59
2002-10-26bump up version numbers to actually use dxr3 pluginsMichael Roitzsch
CVS patchset: 3013 CVS date: 2002/10/26 16:14:27
2002-10-26- dxr3 adapted to new API (compiles, but untested)Michael Roitzsch
- use vo_scale helper for video_out_dxr3 (overlay display is now pixel aspect corrected) - some additional dxr3 fixes, especially overlay (menus & overlay, forgotten brightness/constrast/saturation setting ...) CVS patchset: 3010 CVS date: 2002/10/26 14:35:04
2002-09-27fix deadlock in concurrent access (dvd spus vs. osd overlays) on spuMichael Roitzsch
device CVS patchset: 2752 CVS date: 2002/09/27 13:07:43
2002-09-18adapt dxr3 to spu decoder API changeMichael Roitzsch
CVS patchset: 2692 CVS date: 2002/09/18 15:42:10
2002-09-05remove plugin's private priority and interface membersMichael Roitzsch
adapt some more decoders CVS patchset: 2618 CVS date: 2002/09/05 22:18:50
2002-09-05dxr3 adapted to new api, should at least compile nowMichael Roitzsch
CVS patchset: 2612 CVS date: 2002/09/05 12:52:24
2002-08-28fix some button areasMichael Roitzsch
special features like the Matrix White Rabbit should work with dxr3 now CVS patchset: 2542 CVS date: 2002/08/28 15:46:55
2002-08-17finally (nearly) full overlay functionality for the dxr3 by doing spuMichael Roitzsch
encoding to place overlays over mpeg playback CVS patchset: 2469 CVS date: 2002/08/17 14:30:09
2002-07-21handle forced menu buttonsMichael Roitzsch
CVS patchset: 2334 CVS date: 2002/07/21 10:02:35
2002-07-17button filtering addedMichael Roitzsch
CVS patchset: 2301 CVS date: 2002/07/17 14:59:18
2002-07-16remove deprecated eventsMichael Roitzsch
CVS patchset: 2290 CVS date: 2002/07/16 16:19:58
2002-07-10* handle aspect special buffer to force aspect ratioMichael Roitzsch
* detect pan&scan material and tell spu decoder about it * handle pan&scan in the dxr3 video out CVS patchset: 2249 CVS date: 2002/07/10 14:09:55
2002-07-08rename the dxr3 vo_types to something more usefulMichael Roitzsch
we should now have correct menu highlight placements on 16:9 tv if only I had such a thingy to test ;) CVS patchset: 2232 CVS date: 2002/07/08 19:52:01