summaryrefslogtreecommitdiff
path: root/src/video_out/video_out_pgx64.c
AgeCommit message (Collapse)Author
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.
2006-07-10Implement visibility support, available on GCC 4.0 and later and on some 3.4 ↵Diego 'Flameeyes' Pettenò
(through backports), to avoid exporting unneeded internal symbols, making plugins' loading faster and use of internal copies of libraries more solid. It should automatically fall back to the old way in GCCs that does not support -fvisibility=hidden, but has to be tested carefully. No issues were found in the months of testing in Gentoo, but this requires special attention anyway. CVS patchset: 8101 CVS date: 2006/07/10 22:08:12
2006-06-02Various static/const fixes from Gentoo.Darren Salt
CVS patchset: 8009 CVS date: 2006/06/02 22:18:56
2006-05-03Make various arrays and structures (mainly xine_plugin_info) const.Darren Salt
(Diego Pettenò) CVS patchset: 7985 CVS date: 2006/05/03 19:46:06
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
2005-09-05Unified behavior of yuv2rgb brightness/contrast/saturation.Matthias Hopf
Nuked getting default value from additional config. CVS patchset: 7717 CVS date: 2005/09/05 14:56:31
2004-12-12huge patch ahead: reorganizing config entries with automatic conversionMichael Roitzsch
and backwards compatible translation Sorry, I got a litte tired proof-reading the patch, so their might be bugs lurking around. I will give it some further examination and (as necessary) fixing tomorrow. CVS patchset: 7233 CVS date: 2004/12/12 22:00:47
2004-11-24patch to further improve overlay blending and to elimiate static variablesMichael Roitzsch
in alphablend.c; XShm subtitles work now, Xv works as well, other output plugins untested CVS patchset: 7156 CVS date: 2004/11/24 16:11:02
2004-09-22- added cropping capability (thanks James Stembridge)Miguel Freitas
- some vo drivers support cropping natively. (only xv and xvmc have been tested) - add software crop fallback to video_out.c - skip yuv2rgb processing at xshm for not yet cropped frames (these frames are never shown) - libmpeg2 and ffmpeg now may use crop support - bump vo api. (changes to xvmc/xxmc will follow) CVS patchset: 6991 CVS date: 2004/09/22 20:29:13
2004-06-24this->buffers must be signed to hold a negative value on vram_alloc() ↵Robin KAY
failure. Must not set procs to NULL directly as this could occur in the window between the video out loop testing and calling them. Cleanup the code for handling insufficient video memory. CVS patchset: 6739 CVS date: 2004/06/24 13:06:57
2004-06-19Fix falling back from multi-buffering in video_out_pgx64. Add XVR100 to ↵Robin KAY
configure script status output. Add --disable-shm-default to README.solaris. CVS patchset: 6705 CVS date: 2004/06/19 14:51:31
2004-06-18Fix BadWindow error in video_out_pgx64 when the VIDEO_OVERLAY_WINDOW ↵Robin KAY
property refers to an invalid WID. Tweak the mmap(2)ing code. CVS patchset: 6698 CVS date: 2004/06/18 23:52:15
2004-06-01Add support for XVR-100 (Radeon-based) framebuffers to video_out_pgx64.Robin KAY
CVS patchset: 6626 CVS date: 2004/06/01 18:11:51
2004-05-25Use DGA to obtain the device path/file descriptor to the framebuffer rather ↵Robin KAY
than have it as config option. For video_out_pgx64 only, use window properties to prevent multiple xine instances from trying to use the hardware overlay. CVS patchset: 6591 CVS date: 2004/05/25 23:24:04
2004-05-23Fix detection of a partially obscured window.Robin KAY
CVS patchset: 6578 CVS date: 2004/05/23 15:11:34
2004-05-02too stupid to edit a file...Michael Roitzsch
CVS patchset: 6481 CVS date: 2004/05/02 20:13:23
2004-05-02these settings are not security critical => lower experience levelMichael Roitzsch
CVS patchset: 6480 CVS date: 2004/05/02 20:00:57
2004-04-29Lock display during DGA operations so the drawable can't change.Robin KAY
CVS patchset: 6460 CVS date: 2004/04/29 15:38:12
2004-04-28Prevent flickering when updating overlay registers.Robin KAY
CVS patchset: 6457 CVS date: 2004/04/28 21:01:28
2004-04-28Fix config help strings. video_out_pgx32 and video_out_pgx64 are not ↵Robin KAY
exploitable to write data to arbitary files as the ioctls would fail. CVS patchset: 6453 CVS date: 2004/04/28 00:14:13
2004-04-27Must not enable exclusive overlay when using chroma keying.Robin KAY
CVS patchset: 6450 CVS date: 2004/04/27 10:18:45
2004-04-26help strings added for all remaining config entries (so I hope)Michael Roitzsch
please everybody watch out for spelling (and other) errors CVS patchset: 6442 CVS date: 2004/04/26 17:50:06
2004-04-25Improved clipping performance in video_out_pgx32. video_out_pgx64 now uses ↵Robin KAY
the appropriate overlay type automatically. Misc changes. CVS patchset: 6434 CVS date: 2004/04/25 15:05:22
2004-04-16video_out_pgx32 now properly clips video output. video_out_pgx64 now ↵Robin KAY
disables overlay when fully occluded, fixed displaying some frames out of order when multi-buffering. Added missing X lock. Misc changes. CVS patchset: 6409 CVS date: 2004/04/16 12:16:50
2004-03-16Fix overlay display in video_out_pgx32. Minor cosmetic changes to both PGX32 ↵Robin KAY
and PGX64 plugins. CVS patchset: 6265 CVS date: 2004/03/16 00:32:22
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
2004-02-17PGX32 video output plugin added. More cosmetic changes to video_out_pgx64.Robin KAY
CVS patchset: 6171 CVS date: 2004/02/17 19:44:02
2004-02-16Disable syncfb plugin on platforms which don't have the kernel endpoint. ↵Robin KAY
Tweak pgx64 plugin, mainly cosmetic. CVS patchset: 6166 CVS date: 2004/02/16 23:17:05
2003-12-20Fixed bug; masking is not the same as saturating. Improved colour map ↵Robin KAY
handling. Remember to free colour map. CVS patchset: 5925 CVS date: 2003/12/20 01:45:11
2003-12-18Small cleanup. Changed colour mapping code to allocate read-only cells ↵Robin KAY
rather than use a standard colour map. CVS patchset: 5920 CVS date: 2003/12/18 00:30:19
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-11rename internal API function (_x_<function>).Daniel Caujolle-Bert
CVS patchset: 5721 CVS date: 2003/11/11 18:44:50
2003-11-01Exchange (void *) function casts for a less evil kind of (void *) cast. ↵Robin KAY
Check return values of memalign(3C). CVS patchset: 5664 CVS date: 2003/11/01 15:47:34
2003-10-24Fix pitch calculations for U and V lines.Robin KAY
CVS patchset: 5585 CVS date: 2003/10/24 07:10:36
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-19Refactor code. Rewrite chroma keying implementation.Robin KAY
CVS patchset: 5540 CVS date: 2003/10/19 03:12:47
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-10-05The height of the U and V buffers needs to rounded up for odd frame heights. ↵Robin KAY
This fixes the heap corruption and malloc(3C) has been switched back to memalign(3C). CVS patchset: 5449 CVS date: 2003/10/05 16:22:19
2003-10-04memalign(3C) changed to malloc(3C) as it caused core dumps. This may be ↵Robin KAY
indicative of heap corruption elsewhere. CVS patchset: 5440 CVS date: 2003/10/04 20:29:26
2003-10-03Fix multi-buffering when frame height is not a multiple of 16. Fix some off ↵Robin KAY
by one errors. Fix compiler warning. CVS patchset: 5430 CVS date: 2003/10/03 23:19:21
2003-09-21Add support for chroma keyed overlay graphics to video_out_pgx64 and fix ↵Robin KAY
various bugs. Fix incorrect colours when blending frame with a big-endian RGB pixel format. CVS patchset: 5406 CVS date: 2003/09/21 02:53:19
2003-09-14Add multi-buffering support to video_out_pgx64 (massive performance increase ↵Robin KAY
^_^). Remove assertions for alignment from bswap.h and allow unaligned accesses in XE_xx macros on IA32. Update ChangeLog. CVS patchset: 5380 CVS date: 2003/09/14 22:02:26
2003-08-12Mistakenly disabled some code I shouldn't have in the previous revision. Now ↵Robin KAY
fixed. CVS patchset: 5274 CVS date: 2003/08/12 00:43:48
2003-08-11Cleaned up code. Removed support for XINE_VISUAL_TYPE_FB. Added support for ↵Robin KAY
double buffering if sufficient video memory is available. CVS patchset: 5273 CVS date: 2003/08/11 22:19:33