summaryrefslogtreecommitdiff
path: root/src/libspudec/xine_decoder.c
AgeCommit message (Collapse)Author
2004-04-09porting the rudimentary NAV timestamp handling from DXR3 SPU decoder makesMichael Roitzsch
the menu of "24" season 1 work correctly with software decoding; thanks to Bob "GnomeKing" for doing all the testing CVS patchset: 6362 CVS date: 2004/04/09 15:01:29
2004-03-03use the _x_abort() macro instead of abort, since it prints some debug infoMichael Roitzsch
before aborting CVS patchset: 6211 CVS date: 2004/03/03 20:09:11
2003-12-14API version bounceSiggi Langauf
CVS patchset: 5912 CVS date: 2003/12/14 22:13:22
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-26* new unscaled overlay feature (using XShape extension)Miguel Freitas
text subtitles may now be rendered at full screen resolution * load xine fonts on demand - faster startup note: support added to xv, xshm and vidix CVS patchset: 5780 CVS date: 2003/11/26 01:03:31
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-15- rename to overlay_managerMichael Roitzsch
- fix gcc3.3 warnings - try to set overlay event's object type properly CVS patchset: 5289 CVS date: 2003/08/15 14:36:55
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* when NOT using a standalone libdvdnav, we do NOT have to link the wholeMichael Roitzsch
libdvdnav into the spu decoder plugin statically, only nav_read.c is needed (read: revert to old linking behaviour for included libdvdnav) * beautification CVS patchset: 4724 CVS date: 2003/04/30 16:49:33
2003-04-29Update from the libdvdnav project.James Courtier-Dutton
CVS patchset: 4708 CVS date: 2003/04/29 15:58:27
2003-04-01Fix race condition, where spudec_reset is called and then a button update ↵James Courtier-Dutton
arrives from input_dvd.c before we have our this->menu_handle back. CVS patchset: 4527 CVS date: 2003/04/01 11:45:32
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-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-12-26- cleanup internal interfaces for rewiringMiguel Freitas
- fix UI_PLAYBACK_FINISHED rifle CVS patchset: 3686 CVS date: 2002/12/26 21:53:41
2002-12-21Fix memory leaksEwald Snel
CVS patchset: 3614 CVS date: 2002/12/21 16:35:46
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-26* remove what appears to be debug code messing up colors for some SPUsMichael Roitzsch
(thanks to James Slorach for providing the fix) * implement a draft of a reset() function that will hopefully bring the spu decoder into a safe state * handle broken SPUs more gracefully CVS patchset: 3377 CVS date: 2002/11/26 16:05:00
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-19spu and overlay cleanups, mostly cosmeticMiguel Freitas
CVS patchset: 3298 CVS date: 2002/11/19 00:45:41
2002-11-17cleanup: remove unused old event listener codeMichael Roitzsch
CVS patchset: 3276 CVS date: 2002/11/17 16:18:33
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-11-01Add stricter checking.James Courtier-Dutton
Try to remove SPU_WIPE bug. CVS patchset: 3122 CVS date: 2002/11/01 11:02:52
2002-10-27less noiseMichael Roitzsch
CVS patchset: 3051 CVS date: 2002/10/27 20:08:41
2002-10-26increased spu decoder API version numberMichael Roitzsch
CVS patchset: 3012 CVS date: 2002/10/26 16:13:16
2002-10-24Further changes to DVD code.James Courtier-Dutton
CVS patchset: 2981 CVS date: 2002/10/24 11:30:38
2002-10-23input_dvd.c now listens for keyboard events from xine-ui.James Courtier-Dutton
CVS patchset: 2962 CVS date: 2002/10/23 11:44:30
2002-10-21Enable DVD SPU subtitles.James Courtier-Dutton
CLUT and timing do not seem to be working well yet. CVS patchset: 2897 CVS date: 2002/10/21 12:10:58
2002-10-14Fix memory leak in libspudec.James Courtier-Dutton
Each time a dvd menu button was selected, we lost a few bytes. I recommend "memprof" for a quick and friendly memory leak tracker. CVS patchset: 2827 CVS date: 2002/10/14 14:00:19
2002-09-18why void *, it is a pci_t *Michael Roitzsch
CVS patchset: 2691 CVS date: 2002/09/18 15:39:51
2002-09-18Updating the DVD menu code to use better nav_pci information.James Courtier-Dutton
libspudec parses nav_pci info correctly. libdvdnav does not parse nav_pci info at all. CVS patchset: 2681 CVS date: 2002/09/18 04:20:09
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-05make all the plugin init functions staticMichael Roitzsch
(geez this was a job) CVS patchset: 2616 CVS date: 2002/09/05 20:44:38
2002-09-04merging in the new_api branch ... unfortunately video_out / vo_scale is ↵Guenter Bartsch
broken now ... matthias/miguel: please fix it :-) CVS patchset: 2606 CVS date: 2002/09/04 23:31:05
2002-09-01Improve a few debug print statements.James Courtier-Dutton
fix a wrong format statement. CVS patchset: 2577 CVS date: 2002/09/01 06:02:53
2002-07-06Button areas in the nav packets are in screen coordinated.Michael Roitzsch
Overlay clipping areas are in overlay coordinates. Therefore, up to now, the menu highlight positions were only correct, when the menu subpicture started at (0,0) on screen. Although this seems to be common, it is not necessarily true and I have dvds here, for which it is not. The fix is easy: Correctly convert the button areas to clipping areas by subtracting the subpictures display offset. CVS patchset: 2221 CVS date: 2002/07/06 16:36:43
2002-07-05Bump up version numbers due to changes in xine_tMichael Roitzsch
CVS patchset: 2214 CVS date: 2002/07/05 17:31:59
2002-06-12Remove no more needed XINE_LOGO.Daniel Caujolle-Bert
Internationalize all config related stuff. Fix not registered mrl ending in roq/film demuxer. Add bindtextdomain() calls in load_plugins (for audio/video out plugins). CVS patchset: 2066 CVS date: 2002/06/12 12:22:25
2002-05-25patch from Michael Roitzsch:Siggi Langauf
increased interface version numbers, to reflect the xine_t change CVS patchset: 1939 CVS date: 2002/05/25 19:19:16
2002-05-01big cleanup on plugin dispose handling, small improvements on version ↵Guenter Bartsch
handling for decoder plugins CVS patchset: 1824 CVS date: 2002/05/01 19:42:56
2002-04-24Some more adjustments to make dvd menus work better.James Courtier-Dutton
CVS patchset: 1774 CVS date: 2002/04/24 20:26:06
2002-04-24Some further improvements to dvd menu buttons.James Courtier-Dutton
CVS patchset: 1773 CVS date: 2002/04/24 13:42:17
2002-04-23Small improvement to menu highlights.James Courtier-Dutton
Once a menu has been activated, it will not move until the next menu appears. CVS patchset: 1769 CVS date: 2002/04/23 21:48:06
2002-04-23Moving more highlight handling to libspudec.James Courtier-Dutton
Remove some highlight code from xine-dvdnav. CVS patchset: 1768 CVS date: 2002/04/23 20:27:31
2002-04-23Increment audio/video/spu decoder and input plugin API version numberEwald Snel
- update dxr3 and xvid plugins to new interface (add dispose() functions) CVS patchset: 1766 CVS date: 2002/04/23 15:45:19
2002-04-23Fix memory leaks by disposing input, demux and decoder plugins at exitEwald Snel
- add dispose() function to all decoder plugin structures CVS patchset: 1763 CVS date: 2002/04/23 13:30:42
2002-04-09patch to fix libsputext on seeks by Zoltán BöszörményiMiguel Freitas
CVS patchset: 1703 CVS date: 2002/04/09 13:53:52
2002-04-06Cleaning up libspudecJames Courtier-Dutton
CVS patchset: 1687 CVS date: 2002/04/06 15:40:19
2002-03-25Re-organised libspudec to hopefully make it more readable.James Courtier-Dutton
CVS patchset: 1632 CVS date: 2002/03/25 13:57:25
2002-03-11metronom and demuxers should work again (although not all demuxers are fully ↵Guenter Bartsch
updated at this point). demux_qt can handle compressed audio, but is still unfinished. Yes, this _is_ the big metronom update, metronom now depends on disc_off information in discontinuities. CVS patchset: 1554 CVS date: 2002/03/11 12:31:24