summaryrefslogtreecommitdiff
path: root/src/xine-engine/video_overlay.c
AgeCommit message (Collapse)Author
2009-11-30Trim trailing space & reduce space+tab.Darren Salt
2009-01-18Remove '#include "config.h"' from all public header files.Darren Salt
This requires that many other files include config.h themselves. Also convert <config.h> to "config.h".
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.
2007-07-12Fix memory leak in video_overlay.cSimon Farnsworth
When running DVB subtitles for a long period of time (over 24 hours), we noticed a slow leak of memory. This patch removes one cause of leakage for us.
2007-04-18Alphablending optimizations:Petri Hintukainen
- validate palette alpha values in overlay manager (one check / overlay / palette index) instead of checking every alpha value twice for every blended pixel in every frame - remove unneeded calculations - approximiate expensive integer divisions with multiplication and shift
2007-04-07video_overlay_s uses C's inheritance-like definition, so the first field has ↵Diego 'Flameeyes' Pettenò
to be video_overlay.
2007-04-04Reorder and pack the structures that are defined inside compilation units ↵nopadding_no_abi_changeDiego 'Flameeyes' Pettenò
instead of headers (and thus are not part of public ABI).
2006-09-26Avoid crashing when handle somehow ends up being less than zero.Diego 'Flameeyes' Pettenò
CVS patchset: 8282 CVS date: 2006/09/26 00:28:14
2006-04-051) various warning fixesFrantišek Dvořák
2) [coverity] fixes: - 279 (w32): test should be on input parametr type, not typeW - 267 (aout): can be ignored but there was warning anyway - 234 (w32): missing free on error & exit - 152 (w32): missing free on error & exit - 148 (w32): fixed bound of static array in test - 101 (ffdec): defense code when avodec_encode_video will fail (just defense to the future, should never happen with current ffmpeg in xine) - 98, 99 (w32): check negative handle by _x_assert (it's used as index to array) - 90 (w32): negate pointer check (+added check for size) - 89 (w32): added NULL and size check CVS patchset: 7959 CVS date: 2006/04/05 22:12:17
2005-09-25move alphablend to coreMiguel Freitas
CVS patchset: 7745 CVS date: 2005/09/25 00:44:04
2005-09-24- rename all clip_top, clip_left, clip_color... to hili_xxxx. thatMiguel Freitas
"clip" thing has caused too much confusion already since these variables define a highlight area. - add overlay offset support to video_out.c/alphablend/vo drivers - use overlay offset to implement proper croping of frames when vo driver doesn't support it - add clipping checks to alphablend to avoid buffer overflow, buffer "underflow" and wrapping. - increase vo api number - note: dxr3 support is incomplete about overlay offset CVS patchset: 7739 CVS date: 2005/09/24 19:08:26
2004-12-08fix race reported by ReinhardMiguel Freitas
CVS patchset: 7204 CVS date: 2004/12/08 18:18:23
2004-11-24use the internal freeing function, because it saves code and does proper lockingMichael Roitzsch
CVS patchset: 7155 CVS date: 2004/11/24 15:45:58
2004-03-29destroy the mutexes properlyMichael Roitzsch
CVS patchset: 6318 CVS date: 2004/03/29 19:50:58
2003-12-09update copyright year (and we have to do it again in 3 weeks... ;-) )Daniel Caujolle-Bert
CVS patchset: 5879 CVS date: 2003/12/09 00:02:28
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-11rename internal API function (_x_<function>).Daniel Caujolle-Bert
CVS patchset: 5721 CVS date: 2003/11/11 18:44:50
2003-08-25Reduce GCC verbosity (various prototype declaration fixes). ffmpeg, wine and ↵Daniel Caujolle-Bert
fft*post are untouched (fft: for now). CVS patchset: 5310 CVS date: 2003/08/25 21:51:37
2003-08-15I am using the latest internal API increase to rename video_overlay_instace toMichael Roitzsch
video_overlay_manager, because a) this thing is called "overlay manager" by everyone b) the term "instance" is misleading, since it suggests that you would not share the outcome of a get_instance() with others CVS patchset: 5288 CVS date: 2003/08/15 14:35:09
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-23fix some DVD menus where highlights would not be shownMichael Roitzsch
the PTS matching done in overlay manager (and which fails in these menus) seems to be unnecessary - I watch all my DVDs with the DXR3 plugins and they do not do such a matching and always show the highlights nicely CVS patchset: 4471 CVS date: 2003/03/23 15:01:45
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-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-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-01Update a comment.James Courtier-Dutton
CVS patchset: 2576 CVS date: 2002/09/01 05:52:15
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-06-26no output to stderrMichael Roitzsch
CVS patchset: 2164 CVS date: 2002/06/26 12:33:31
2002-04-23Fix osd memory leaks (unprocessed events and unfreed overlay objects)Ewald Snel
CVS patchset: 1761 CVS date: 2002/04/23 13:14:34
2002-04-09Introducing steps towards a menu api in video_overlay.cJames Courtier-Dutton
First step here is make libspudec use different calls to video_overlay than osd, so changes can be made to menu handling without effecting osd too much. CVS patchset: 1702 CVS date: 2002/04/09 13:20:43
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-21- only draw still frame/logo if neededMiguel Freitas
- fix syncfb driver CVS patchset: 1605 CVS date: 2002/03/21 16:21:01
2002-03-14- make libsputext work againMiguel Freitas
- update osd & video_overlay to use 64-bits pts CVS patchset: 1569 CVS date: 2002/03/14 13:57:15
2002-03-14Ewald Snel's latest memory leak fixesMiguel Freitas
CVS patchset: 1567 CVS date: 2002/03/14 04:31:49
2002-01-15Beginning of overlay highlights correction work.James Courtier-Dutton
XV colours look good, XShm colours do not. CVS patchset: 1411 CVS date: 2002/01/15 20:22:43
2002-01-07Fix menu button colours on RGB displays like XShm.James Courtier-Dutton
CVS patchset: 1365 CVS date: 2002/01/07 16:57:48
2002-01-06Hide menu overlays between menus.James Courtier-Dutton
CVS patchset: 1359 CVS date: 2002/01/06 19:48:16
2002-01-06Menu button events now filtered based on PTS comparison.James Courtier-Dutton
One must remember to put PTS values (different from VPTS) in SPU_SHOW events. CVS patchset: 1358 CVS date: 2002/01/06 19:18:27
2002-01-05Added EVENT_FREE_HANDLE to video_overlay events.James Courtier-Dutton
CVS patchset: 1341 CVS date: 2002/01/05 19:09:55
2002-01-05Fix NAV packet demux.James Courtier-Dutton
CVS patchset: 1340 CVS date: 2002/01/05 18:14:27
2001-12-16fix for clipping box not being cleared when menu changesMiguel Freitas
CVS patchset: 1258 CVS date: 2001/12/16 20:46:17
2001-12-09Fix segfault if button event is sent before an SPU is present.James Courtier-Dutton
CVS patchset: 1197 CVS date: 2001/12/09 18:36:48
2001-12-01please don't commit modules with enable log outputGuenter Bartsch
CVS patchset: 1155 CVS date: 2001/12/01 23:13:12
2001-11-30More updates for menus.James Courtier-Dutton
CVS patchset: 1145 CVS date: 2001/11/30 19:31:55
2001-11-30Improve button highlights.James Courtier-Dutton
CVS patchset: 1144 CVS date: 2001/11/30 17:35:32
2001-11-30Fix a seg fault in hide_menu event.James Courtier-Dutton
CVS patchset: 1143 CVS date: 2001/11/30 16:19:58
2001-11-29fix event orderingMiguel Freitas
CVS patchset: 1138 CVS date: 2001/11/29 16:31:47
2001-11-28* OSD (On Screen Display) for rendering text and graphics into overlaysMiguel Freitas
* reworked spu and overlay manager (multiple overlays supported) CVS patchset: 1126 CVS date: 2001/11/28 22:19:10