summaryrefslogtreecommitdiff
path: root/src/libspudec
AgeCommit message (Collapse)Author
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-06update nav_types.h to a modified version of nav_types.h from current libdvdreadMichael Roitzsch
CVS patchset: 4347 CVS date: 2003/03/06 23:12:13
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-20Michael's num_buttons patchSiggi Langauf
(menu detection by number of SPU buttons) CVS patchset: 4220 CVS date: 2003/02/20 18:09:09
2003-02-17remove old FIXMEMichael Roitzsch
CVS patchset: 4184 CVS date: 2003/02/17 15:39:17
2003-02-12malloc.h is deprecated on FreeBSD and apparently unneeded on gnu/linuxHeiko Schaefer
CVS patchset: 4139 CVS date: 2003/02/12 17:29:30
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-22Developers can now run "make" in their work area (e.g. src/libffmpeg) and itStephen Torri
will build all dependent parts (e.g. libxine.la). The directory must still be prepared by running autogen.sh. CVS patchset: 3331 CVS date: 2002/11/22 05:25:14
2002-11-20the last patch moved the command parsing too far, forced_display is updatedMichael Roitzsch
inside spudec_do_commands, so it has to come before the check for it CVS patchset: 3317 CVS date: 2002/11/20 14:00:34
2002-11-20this should fix the various overlay problems: we should not parse commands ofMichael Roitzsch
SPUs we are going to drop because of wrong channel later, so move the parsing after the drop checking (and remove the birdcage hack) CVS patchset: 3315 CVS date: 2002/11/20 13:49:05
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-19Added some test code in, to help us with highlight problems with some DVDs.James Courtier-Dutton
Specifically the BIRDCAGE. CVS patchset: 3304 CVS date: 2002/11/19 13:31:03
2002-11-19spu and overlay cleanups, mostly cosmeticMiguel Freitas
CVS patchset: 3298 CVS date: 2002/11/19 00:45:41
2002-11-18the new metronom discontinuity handling allows for some cleanupMichael Roitzsch
(some time guessing code should be obsolete now) just tested quickly, but DVD menus and SPUs seem to work fine CVS patchset: 3294 CVS date: 2002/11/18 13:42:50
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-28Build all xine plugin modules with "-export-symbols-regex xine_plugin_info",Juergen Keil
to get a minimal dynamic linker symbol table CVS patchset: 3073 CVS date: 2002/10/28 13:30:58
2002-10-27less noiseMichael Roitzsch
CVS patchset: 3051 CVS date: 2002/10/27 20:08:41
2002-10-26fix event sendingMichael Roitzsch
CVS patchset: 3021 CVS date: 2002/10/26 20:52:42
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-23Help with ansi comments.James Courtier-Dutton
CVS patchset: 2966 CVS date: 2002/10/23 12:59:56
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-17move open_plugin function (used to create new plugin instances) from the ↵Michael Roitzsch
plugin info struct to the plugin class struct small nerby change in libffmpeg decoder plugin: access to video_out/audio_out in decoders should now be done via the appropriate members in xine_stream_t CVS patchset: 2843 CVS date: 2002/10/17 17:43:41
2002-10-14introduction of xine_stream_t and async xine events - all still in developementGuenter Bartsch
CVS patchset: 2828 CVS date: 2002/10/14 15:46:48
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-30Fixes and performance improvements to the alphablend.c code.James Courtier-Dutton
The fixes involved getting blend_rgb16 to correctly handle different colours in the highlight area and general overlay area. Another fix involved fixing the overlay scaling function so that it scales in the same proportion as the yuv2rgb code. Currently, blend_yuv has not been updated. blend_rgb16 has been improved. blend_rgb24 and blend_rgb32 have not been changed and will probably not work now. The performance improvements are due to two things: - 1) Special detection of overlays without any buttons/clip areas. This is detected by ensuring overl->clip_top = -1 when no button is present. 2) Reorganise the blending code so that for each time round the loop, the fewest possible IF statements are executed. So, for overlays without any buttons, not checks for the clip area is done. For overlay with buttons, state is kept as to whether we are above, to the left, inside or to the right or below the clip area, thus saving having to do IF statements each time round the loop to find out where we are. CVS patchset: 2762 CVS date: 2002/09/30 05:16:45
2002-09-19Updated cvscompile.sh to look for configure.acStephen Torri
Replaced configure.in with configure.ac Remove acconfig.h (Unnecessary with autoconf 2.52 or above) Updated configure.ac to remove deprecated macros, upgraded AC_DEFINE to include comments, merged in acconfig.h. Combined libxine and libxineutils into one library. libxineutils is created but not installed. Its statically linked into libxine. Advanced libxine version from 0.2.0 to 1.0.0 Removed references for skins. Plugins now installed to <libdir>/xine/plugins/$XINE_MAJOR.$XINE_MORE. $XINE_SUB Xine-config updated for new location of plugins Sorted file lists in Makefile.am to make them more readable. TODO: remove skins references from xine-config CVS patchset: 2705 CVS date: 2002/09/19 06:01:18
2002-09-19Update configure.in for new libdvdnav version.James Courtier-Dutton
Get DVD support to compile. FIXME: We need to sort out the nav_types.h include file. Basically, Which version of it should we use ? CVS patchset: 2704 CVS date: 2002/09/19 05:01:57
2002-09-18dxr3 worksMichael Roitzsch
CVS patchset: 2693 CVS date: 2002/09/18 15:42:56
2002-09-18why void *, it is a pci_t *Michael Roitzsch
CVS patchset: 2691 CVS date: 2002/09/18 15:39:51
2002-09-18Try to get xine-lib to compile.James Courtier-Dutton
CVS patchset: 2682 CVS date: 2002/09/18 06:42:23
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-23don't always check these assertions, becauseMichael Roitzsch
- libdvdread already checks them - at least one (really broken) dvd I have here doesn't like them CVS patchset: 2342 CVS date: 2002/07/23 10:03:23
2002-07-20don't be too rude with bad dvds:Michael Roitzsch
don't abort on broken spu control sequences, skip them instead CVS patchset: 2328 CVS date: 2002/07/20 16:28:14
2002-07-19fix some menu highlights not disappearing on menu leaveMichael Roitzsch
CVS patchset: 2320 CVS date: 2002/07/19 17:16:39
2002-07-06whoops, spelling errorMichael Roitzsch
CVS patchset: 2222 CVS date: 2002/07/06 16:38:30
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-23Let cvs ignore a lot of files that are built.Dennis Björklund
CVS patchset: 2138 CVS date: 2002/06/23 16:18:44
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