summaryrefslogtreecommitdiff
path: root/src/dxr3/video_out_dxr3.c
AgeCommit message (Collapse)Author
2011-10-10Fixed asprintf usagePetri Hintukainen
2011-10-03Prefix open_cloexec() and create_cloexec() with xine_, and add new ↵Chris Rankin
xine_socket_cloexec() function.
2011-10-01Add CLOEXEC flag to DXR3 plugin's descriptors.Chris Rankin
2010-02-12DXR3 compatibility fix for newer versions of the em8300 driver.Darren Salt
2009-11-30Trim trailing space & reduce space+tab.Darren Salt
2009-03-22change long-dead email addressmlampard-guest
2008-05-07Replace strn?cpy() + strn?cat() calls with a?sprintf().Diego 'Flameeyes' Pettenò
Instead of creating strings through a series os string copy and concatenations, use directly the appropriate printf-like function.
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-12-24Consistently use "colour", "colour key", "colour space" in output.Darren Salt
Some instances of "key colour" remain; ffmpeg is unmodified. This change has caused two strings with two translations to collide (the strings have become identical since some instances already used "colour"). I have therefore arbitrarily dropped the first of the differing translations, the one for the string at src/video_out/video_out_directfb.c:1365.
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-17Add EXPORTED tag to xine_plugin_info.Darren Salt
CVS patchset: 8132 CVS date: 2006/07/17 17:19:51
2006-06-18Misc warnings fixes.Diego 'Flameeyes' Pettenò
CVS patchset: 8055 CVS date: 2006/06/18 20:29:03
2006-06-17Fix strict aliasing rules breakages where possible, enable ↵Diego 'Flameeyes' Pettenò
-fno-strict-aliasing where the breakage is unresolvable, and not enable it globally (decreases performances). CVS patchset: 8048 CVS date: 2006/06/17 15:20:56
2006-06-0764-bit casting int<->pointer fixes.Darren Salt
CVS patchset: 8018 CVS date: 2006/06/07 22:52:29
2006-06-02Various static/const fixes from Gentoo.Darren Salt
CVS patchset: 8009 CVS date: 2006/06/02 22:18:56
2006-01-27Adapt the engine to the new list code.Thibaut Mattern
CVS patchset: 7848 CVS date: 2006/01/27 07:46:09
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-04-10Fixed plugin list array idThibaut Mattern
CVS patchset: 7454 CVS date: 2005/04/10 09:41:13
2005-04-10Used the new plugin list array.Thibaut Mattern
CVS patchset: 7453 CVS date: 2005/04/10 09:36:13
2005-01-18**BUGFIX**Michael Roitzsch
fix a typo, thanks to Anders Rune Jensen for the report CVS patchset: 7358 CVS date: 2005/01/18 21:33:33
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-07-20small DXR3 code cleanup:Michael Roitzsch
* make some helper functions non-inline that Bastien had to move because of their inlining (I realized that some helpers are a bit too large for inlining, so they might worsen the I-cache usage.) * properly use logging macros in all DXR3 code * prepare SPU decoder for new (and hopefully correct) SPU forcing; this should fix some longstanding DXR3 SPU problems, but the code needs more testing so it is disabled for now CVS patchset: 6824 CVS date: 2004/07/20 16:37:44
2004-06-13* trying to fix a longstanding problem: 4:3 progressive content on DXR3'sMichael Roitzsch
TV out results in the lower third of the image being shaky; this fix might raise other problems, but since we only play with the progressive flag, the worst that could happen is that the card gets the interlaced vs. progressive state wrong and this is almost never noticable on TV out * report codec information for dxr3 video decoder * while I am at it: small beautification to video_out_dxr3.c CVS patchset: 6685 CVS date: 2004/06/13 16:00:16
2004-04-15to emulate pan&scan in letterboxed overlay mode, we zoom the image horzontally,Michael Roitzsch
we have to compensate this distortion in the coordinate transformation to get accurate menu highlight areas CVS patchset: 6405 CVS date: 2004/04/15 14:42:35
2004-04-10improving config help stringsMichael Roitzsch
and dropping support for em8300 drivers older than 0.12.0 (this is older than two years) CVS patchset: 6380 CVS date: 2004/04/10 15:29:57
2004-03-31pan&scan support for the letterboxed overlay modeMichael Roitzsch
CVS patchset: 6325 CVS date: 2004/03/31 16:18:55
2004-02-20it's O_SYNC (thanks to Nicolas Boullis for the patch)Michael Roitzsch
CVS patchset: 6179 CVS date: 2004/02/20 18:16:52
2004-01-04The most important change is the smallest:Michael Roitzsch
* add a small delay before enabling zoom mode, since the card gets confused when we activate zoom mode before the first frame (that's also what the ChangeLog entry accounts for) Then some less important changes: * give a hint about sync mode to the SCR plugin to properly recover the mode when resuming from pause mode * refactor the enhanced mode handling out of the MPEG encoders into video out * inline some decoder functions, because they are only used once anyway * some additional cleanup CVS patchset: 5996 CVS date: 2004/01/04 22:26:28
2003-12-14API version bounceSiggi Langauf
CVS patchset: 5912 CVS date: 2003/12/14 22:13:22
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-29we actually want the device to block, when the dxr3 is fed upMichael Roitzsch
(this O_NONBLOCK must be an ancient relic, thanks to Anders Rune Jensen for finding it) CVS patchset: 5820 CVS date: 2003/11/29 19:35:39
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-26provide new video out propertiesMichael Roitzsch
CVS patchset: 5797 CVS date: 2003/11/26 20:30:36
2003-11-11rename internal API function (_x_<function>).Daniel Caujolle-Bert
CVS patchset: 5721 CVS date: 2003/11/11 18:44:50
2003-10-23today's evening DVD didn't work...Michael Roitzsch
CVS patchset: 5580 CVS date: 2003/10/23 21:01:44
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-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-09-13segfault fixMiguel Freitas
CVS patchset: 5362 CVS date: 2003/09/13 15:29:33
2003-09-11fix stuttering playback for some non-MPEG content with the dxr3:Michael Roitzsch
* move responsibility for the SCR plugin from the decoder to the video out * use the SCR for non-MPEG content as well * modify frames' vpts so they are sent earlier to the driver * tag the encoded MPEG stream by SETPTS ioctls to leave the final display scheduling to the card CVS patchset: 5354 CVS date: 2003/09/11 10:01:02
2003-08-12these tests are done more cenralized in video out nowMichael Roitzsch
CVS patchset: 5276 CVS date: 2003/08/12 13:54:21
2003-08-05- adapt dxr3 code to new float aspects, use separate pan&scan flagging toMichael Roitzsch
handle pan&scan information independently from the aspect - proper DVD button group handling in dxr3 spu decoder CVS patchset: 5248 CVS date: 2003/08/05 15:07: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-30skip encoding, when the device has been assigned to the dxr3 decoderMichael Roitzsch
(MPEG content coming in) CVS patchset: 4988 CVS date: 2003/05/30 14:29:02
2003-05-30fix race condition in dxr3 encododers:Michael Roitzsch
on_unneeded would be called from decoder's context while frames might still be around in the video_out context CVS patchset: 4987 CVS date: 2003/05/30 14:10:49
2003-05-25I will stop committing nonsense now...Michael Roitzsch
(this code is from some old encoder fiddling of mine) CVS patchset: 4936 CVS date: 2003/05/25 19:00:37