summaryrefslogtreecommitdiff
path: root/src/video_out/video_out_xshm.c
AgeCommit message (Collapse)Author
2003-12-14API version bounceSiggi Langauf
CVS patchset: 5912 CVS date: 2003/12/14 22:13:22
2003-12-13fix few memleaksDaniel Caujolle-Bert
CVS patchset: 5898 CVS date: 2003/12/13 00:55:11
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-26xprintf clean pass. xprintf now log into new XINE_LOG_TRACE log buffer. ↵Daniel Caujolle-Bert
scratch buffer enhancement (thanks Thibaut for the malloc tips), enlarge log buffer from 25 lines (very useless), to 150 (better). CVS patchset: 5801 CVS date: 2003/11/26 23:44:08
2003-11-26lprintf cleanup, pass I.Daniel Caujolle-Bert
CVS patchset: 5796 CVS date: 2003/11/26 19:43:26
2003-11-26fix x11osd bugs with fullscreen changingMiguel Freitas
CVS patchset: 5789 CVS date: 2003/11/26 18:36:34
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-11-11rename internal API function (_x_<function>).Daniel Caujolle-Bert
CVS patchset: 5721 CVS date: 2003/11/11 18:44:50
2003-10-24fix network lockupDaniel Caujolle-Bert
CVS patchset: 5588 CVS date: 2003/10/24 22:34:50
2003-10-23cleanup in video_out.hMichael Roitzsch
* some obsolete VO_CAP_* constants removed * VO_ZOOM_* constants replaced by their XINE_VO_ZOOM_* equivalents from xine.h * moved some bits around * proc_frame() needs only one parameter: the frame * renamed copy_called to proc_called * changed logic in video_out.c to call proc_* functions a bit (call proc_frame() first, then call proc_slice() if proc_frame() has not set proc_called, this allows video out plugins to have both hooks called) CVS patchset: 5576 CVS date: 2003/10/23 15:17:06
2003-10-22Replace copy member in vo_frame_t with proc_frame and proc_slice. Increase ↵Robin KAY
video_out API version to 18. CVS patchset: 5574 CVS date: 2003/10/22 20:38:09
2003-10-18Re-add COMPLETION gui_data_exchange() support, removed by //error//.Daniel Caujolle-Bert
CVS patchset: 5539 CVS date: 2003/10/18 23:01:21
2003-10-18cleanups, xlock fixesDaniel Caujolle-Bert
CVS patchset: 5537 CVS date: 2003/10/18 20:40:25
2003-10-06- add XvMC supportMiguel Freitas
- bump vo and post interface versions obs: video_out_xvmc.c needs some more work, see todo. CVS patchset: 5459 CVS date: 2003/10/06 21:52:42
2003-08-04support for arbitrary aspect ratiosMiguel Freitas
patch by Philip Jgenstedt CVS patchset: 5243 CVS date: 2003/08/04 03:47:09
2003-05-31update video out api to allow better frame management (explicit locking)Miguel Freitas
img->displayed is obsolete now, drivers should use img->free. CVS patchset: 4994 CVS date: 2003/05/31 18:33:28
2003-05-26- quieter adpcm plugin and xshm oneBastien Nocera
CVS patchset: 4942 CVS date: 2003/05/26 11:33:01
2003-04-16die completion events, die die dieMiguel Freitas
i fell stupid: how didn't i realized before that handling completion events was not needed? the only trick is to call XSync after drawing! this not only improves smoothness and schedulability issues but also moves the frame dropping to video_out.c were they can be accounted properly. not to mention it makes frontend programming a lot easier. CVS patchset: 4621 CVS date: 2003/04/16 11:30:13
2003-03-06steps toward muting xine's console output by defaultGuenter Bartsch
CVS patchset: 4345 CVS date: 2003/03/06 16:49:30
2003-02-22- we need to init X thread safe libraries, the front-end might not haveBastien Nocera
CVS patchset: 4255 CVS date: 2003/02/22 16:56:01
2003-02-03Fix default contrast and saturation settings for XShm driverEwald Snel
CVS patchset: 4101 CVS date: 2003/02/03 17:24:47
2003-02-03i guess i've finally made a breakthrought on completion event handling!Miguel Freitas
add fallback code to get the event directly from XLib in case the gui has not forwarded it yet. this may happen when gui is busy redrawing menus, for example. it should also improve xine robustness to scheduler issues. now we can have smooth playback even if xine-ui hasn't being scheduled in time. CVS patchset: 4098 CVS date: 2003/02/03 00:24:13
2003-02-02Fix brightness, saturation control for MMX yuv2rgb using the XShm driverEwald Snel
TODO: don't use globals, fix contrast, fix non-MMX yuv2rgb CVS patchset: 4089 CVS date: 2003/02/02 13:38:24
2003-02-02Add support for brightness, saturation, contrast (not functional yet)Ewald Snel
CVS patchset: 4088 CVS date: 2003/02/02 12:44:03
2003-02-02Fix memory leak in XShm driverEwald Snel
CVS patchset: 4085 CVS date: 2003/02/02 11:21:34
2003-01-24Fix yuv2rgb scaling, any destination size supported nowEwald Snel
This also allows for true bilinear filtering, which looks much better than the current 'horizontal filtering only' (TODO) CVS patchset: 4001 CVS date: 2003/01/24 17:04:37
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-12-20Check for changes in the global vo_scale's gui_pixel_aspect, and update theJuergen Keil
frame's vo_scale.gui_pixel_aspect. The real value of gui_pixel_aspect is determined when the first frame is about to be drawn to the screen. Before we draw the first frame of a clip, several frames could be prepared for a certain width/height/ratio_code/... but using vo_scale's default gui_pixel_aspect of 1.0. The change makes sure that all frames will be updated to use the monitor's correct gui_pixel_aspect value, once we know it. Before this change I've observed cases where xine tried to resize the video window all the time while playing a clip, due to different gui_pixel_aspect values stored in the video frames. CVS patchset: 3594 CVS date: 2002/12/20 14:25:13
2002-12-07All gui_data_exchange containing X calls may xlocked/xunlocked. Don't forgetDaniel Caujolle-Bert
to xfreeing gc before creating a new one. CVS patchset: 3459 CVS date: 2002/12/07 23:00:07
2002-12-06- update api version, adding new "copy_called" flag.Miguel Freitas
CVS patchset: 3434 CVS date: 2002/12/06 01:33:00
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-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-10-22First attempt at re-enabling the XShm pluginJuergen Keil
CVS patchset: 2934 CVS date: 2002/10/22 16:42:24
2002-10-13yuv2rgb_mlib needs an even YUV2 width. It was segfaulting on Solaris SPARC withJuergen Keil
MediaLib. CVS patchset: 2826 CVS date: 2002/10/13 17:24:29
2002-10-04bounds check in frame_copy fixing segfaultsMichael Roitzsch
patch by Howdy Pierce CVS patchset: 2782 CVS date: 2002/10/04 13:36:56
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-16A bit of info regarding wrong bpp depths.James Courtier-Dutton
CVS patchset: 2670 CVS date: 2002/09/16 11:35:25
2002-09-08XShm is backMichael Roitzsch
CVS patchset: 2629 CVS date: 2002/09/08 22:10:29
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-08-28enforce scaling_disabledMiguel Freitas
CVS patchset: 2541 CVS date: 2002/08/28 14:20:09
2002-08-15patch - save old XErrorHandler by Mark ThomasMiguel Freitas
CVS patchset: 2461 CVS date: 2002/08/15 18:24:14
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
2002-08-10syncing my local tree:Miguel Freitas
- removes w32codec syncshutdown hack - vo_driver api changed to support drivers with persistent overlays. that will break binary compatibility xine-lib/xine-ui (xine-ui needs to be recompiled). in order to keep binary compatibility overlay_begin/overlay_end must be added after redraw_needed. - video_overlay cleanups - fix a hard to trigger condition where redraw wouldn't happen (freeing handles) CVS patchset: 2427 CVS date: 2002/08/10 21:25:20
2002-07-30- video out fixes (never trigged deadlocks and erroneous flush of overlayMiguel Freitas
events) - duplicate_frame is now internal use only (api function deprecated) - special case for redrawing screen in paused mode (due overlay changes, resize, window movement, brightness adjusting etc) - xshm brightness may be adjusted with video paused CVS patchset: 2363 CVS date: 2002/07/30 00:26:45
2002-07-20Update entire video window, not just output area, on X11 Expose eventsEwald Snel
- fixes problem with xine aRts plugin (popup menus remain visible) CVS patchset: 2331 CVS date: 2002/07/20 21:46:05
2002-07-16Fix unresolved symbols and replace duplicate code in video output pluginsEwald Snel
CVS patchset: 2295 CVS date: 2002/07/16 19:33:36
2002-07-15Add 'pitch' support to video decoders (pitch != width)Ewald Snel
CVS patchset: 2282 CVS date: 2002/07/15 21:42:33
2002-07-10handle freshly introduced pan&scan aspect like anamorphic aspectMichael Roitzsch
CVS patchset: 2247 CVS date: 2002/07/10 14:04:41
2002-06-200.9.11xine-0_9_11-release0.9.11Siggi Langauf
CVS patchset: 2107 CVS date: 2002/06/20 17:46:58