summaryrefslogtreecommitdiff
path: root/src/xine-engine/vo_scale.c
AgeCommit message (Collapse)Author
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-11-25make guenter happy: raise the expertise level of the position entriesMichael Roitzsch
CVS patchset: 3366 CVS date: 2002/11/25 16:56:06
2002-11-24wtf happened to those black bars ?\!? :>Guenter Bartsch
CVS patchset: 3355 CVS date: 2002/11/24 16:18:34
2002-11-22when the image does not fit the viewport and black bars need to be added, theirMichael Roitzsch
size ratio and therefore the position of the image is now configurable (I remembered my arts lessons at school where the teacher told us that images look more pleasing when the lower border is twice the size of the upper and set the default accordingly. ;) CVS patchset: 3337 CVS date: 2002/11/22 18:06:09
2002-10-24proper rounding for video scalingMichael Roitzsch
CVS patchset: 2989 CVS date: 2002/10/24 16:43:07
2002-09-29make xine less hysterical when it encounters this corner caseMike Melanson
CVS patchset: 2759 CVS date: 2002/09/29 01:01:58
2002-09-17be a bit more tolerantMichael Roitzsch
CVS patchset: 2678 CVS date: 2002/09/17 10:32:45
2002-09-16don't distortMichael Roitzsch
CVS patchset: 2672 CVS date: 2002/09/16 13:17:49
2002-09-15Memory leak fixes, using a slightly modified version of the patch fromJames Courtier-Dutton
ewald@rambo.its.tudelft.nl CVS patchset: 2666 CVS date: 2002/09/15 11:35:08
2002-09-13duplicating behaviour of XShm fixes the bug James discoveredMichael Roitzsch
(some values in vo_scale being 0) CVS patchset: 2661 CVS date: 2002/09/13 19:57:13
2002-09-10Fix a segfault in XV output.James Courtier-Dutton
redraw is being called too early. CVS patchset: 2645 CVS date: 2002/09/10 14:06:33
2002-09-08copy & paste at the wrong placeMichael Roitzsch
CVS patchset: 2628 CVS date: 2002/09/08 16:52:57
2002-09-08- reorder XINE_VO_ASPECT_* constants so they match the order in the oldMichael Roitzsch
api (benefit: no remapping is required between dvd's and xine's aspect codes) - implement new scaling semantics as intended by Matthias Hopf CVS patchset: 2627 CVS date: 2002/09/08 16:20:09
2002-09-05XV Video out at least loads now and we see the xine logo again.James Courtier-Dutton
The DVD plugin now loads, but audio and spu info is lost. What happened to xine_get_spu_channel and xine_get_audio_channel? CVS patchset: 2607 CVS date: 2002/09/05 05:51:14
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-08-28enforce scaling_disabledMiguel Freitas
CVS patchset: 2541 CVS date: 2002/08/28 14:20:09
2002-08-16- syncfb simplified with helper functions (obs: i enabled zoom since it ↵Miguel Freitas
seemed to work in my computer. to disable it again just change vo_scale_init parameter) - some vidix files missing from my last update - vo_scale must set displayed_xxx even without zoom support CVS patchset: 2467 CVS date: 2002/08/16 22:51:39
2002-08-16- simplify sdl video driver with scaling helperMiguel Freitas
- bugfixes CVS patchset: 2464 CVS date: 2002/08/16 21:10:02
2002-08-15- reimplement independent x/y zooming.Miguel Freitas
- new helper module (vo_scale.c) with all common scaling code of video out drivers. it should greatly simplify drivers development by removing the boring frame/window calculation, aspect ratio, zooming etc. obs: not completely tested, may contain bugs and break things. also only xshm and xv have being simplified so far, others will follow shortly. CVS patchset: 2455 CVS date: 2002/08/15 03:12:24