summaryrefslogtreecommitdiff
path: root/src/video_out
AgeCommit message (Collapse)Author
2010-01-21Backport YUV build optimisation.Darren Salt
2010-01-21Fix width and padding bugs in opengl fragprog rendererEddie Goodall
There's a rendering bug when using the opengl fragment program if the width of the video is not a multiple of 16. U and V channels will have padding on each row because they always have pitches which are a multiple of 8, glTexSubImage2D will copy the padding data to the texture and the U & V channels will be skewed. The same also applies to the Y channel when width is not a multiple of 8. Fixed by passing pitch to glTexSubImage2D instead of width. The U & V channels also have to be outlined in grey on the texture and if there's padding then we need to add the line on the right to every frame before calling glTexSubImage. It also looks like the location of the V channel in the texture was off by one pixel in the call to glProgramEnvParameter4fARB. --HG-- extra : rebase_source : 1984e493f77e80081e55b7c3b816d3baea965e4e
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".
2009-01-17Avoid libtool running ldconfig (where not needed) at install time.Darren Salt
2009-01-12Fix build of directx VO plugin.František Dvořák
Update for build with newer mingw compilation tools.
2009-01-04Introduce XVMC_LOCKDISPLAY_SAFE to solve deadlocks in certain xxmc ↵Reinhard Nißl
implementations. Some implementations are buggy and lock resources (for example the display or internal data structures) in different order, which results in deadlocks. As XVMC_LOCKDISPLAY_SAFE is not defined by default, most API functions will now be guarded by a LockDisplay()/UnlockDisplay() pair, which imposes a lock order at least for the resource display and hence avoids those deadlocks. (transplanted from 580a2a9148618131cedfbc9058ac7979ca16f69b) --HG-- extra : transplant_source : X%0A%2A%91Ha%811%CE%DF%BC%90X%ACyy%CA%16%F6%9B
2008-11-19Support XINE_GUI_SEND_DRAWABLE_CHANGED in DirectX video driverMatthias Ringwald
On XINE_GUI_SEND_DRAWABLE_CHANGED, the clipping area is adjusted to the new HWND and the frame shown again. This allows to switch the window where the video is shown at runtime, simliar to the X11 drivers.
2008-11-17Fix video out for directx that support YV12 or YUV2Matthias Ringwald
The lPitch setting of the offscreen buffer was not taken into account, which let to a garbled image if the video card driver did support YV12 or YUV2 color formats. This patch fixes bug #72.
2008-12-28Report when defaulting due to the requested Xv port type not being available.Darren Salt
2008-12-28Add support for Xv "blitter" adaptors.Darren Salt
These are known to be present in some nvidia graphics hardware.
2008-12-28Fix up Xv textured video selection for use with drivers for nvidia gfx hw.Darren Salt
These drivers use "NV* Video Texture" instead of "* Textured Video".
2008-12-28Centralise some Xv-related static string array declarations.Darren Salt
2008-12-28Fix xcbxv Xv port fallback (was failing to find an Xv port).Darren Salt
2008-09-17Mingw+MSys: NLS support, --enable-stdcall-fixupCarlo Bramini
It was not possible to compile some parts of XINE-LIB with NLS enabled. It's also a good idea to explicitely enable --enable-stdcall-fixup for solving a huge amount of warnings. Attached patch fixes these problems.
2008-12-27Recognise XV_BICUBIC for xf86-video-ati 6.9.1.Darren Salt
2008-12-27Recognise XV_VSYNC == XV_SYNC_TO_BLANK for xf86-video-ati 6.9.1.Darren Salt
2008-12-27Clean up Xv attribute-setting functions; fix a related off-by-one (xcbxv).Darren Salt
--HG-- extra : transplant_source : %A0%EE%CC%FA%D3%AF2%8B%96%1F%B1%8E%00%01%96%8E%9E%AC%93Y
2008-12-20Remove format warning.Diego E. 'Flameeyes' Pettenò
2008-12-20Remove unused variable.Diego E. 'Flameeyes' Pettenò
2008-11-20Some warning fixes: XINE_FORMAT_SCANF, statics in headers, consts, ...František Dvořák
Add warning flags to the DEBUG_CFLAGS too.
2008-11-20Fix using of the pointers, leak fixes in configfile.František Dvořák
2008-11-18Fix of the two opened CACA windows in cacaxine (xine-ui).František Dvořák
There is needed some ui<->lib interaction: used caca display is optionally delivered from ui to the caca vo plugin.
2008-10-30Create secondary buffer with correct pixelformatMatthias Ringwald
If neither YV12 nor YUV2 format is supported by DirectX, a secondary buffer with the same pixelformat as the primary buffer is used. However, the pixel format of the primary was not passed to CreateSurface, instead a 16 bit pixelformat was created, which is the reason why the video was broken on 24bit or 32bit desktops. --HG-- extra : transplant_source : %A6-%ADwyY%EE%C8%26%E2%5E%2A%83%0A%0B/%CBM%23%0F
2008-10-19Pass native HWND through xine to SDLMatthias Ringwald
To place SDL output inside an existing window, the SDL_WINDOWID environement variable has to be set. This was done by the SDL video out pluging if HAVE_X11 was defined, but not for WIN32, where it works as well. --HG-- extra : transplant_source : E%169%A2%B4%93%3CY%07%A9%9F%1C%E0%B8-%14m4%A2%11
2008-11-07voraw minor fixChristophe Thommeret
let raw video out plugin handle cropping. --HG-- extra : transplant_source : %F3l%EFUI%28%2C%A0%0C%3E%AD%EA%EC%80%D1%9A%C0/%20%E5
2008-08-13Merge.Darren Salt
2008-08-13Apply the deinterlacer size fix to the XCB Xv plugin.Darren Salt
2008-08-08video_out_opengl: Actually bail out if no display found.Matthias Hopf
2008-08-08Merge.Matthias Hopf
2008-08-01video_out_opengl: Activate only if visual is direct rendering capableMatthias Hopf
2008-07-23Xv deinterlacing was looking at the input image size, not the output image size.Simon Farnsworth
This works fine on some chipsets, but on others, it causes image corruption.
2008-03-10Add Xv port selection by type (overlay or textured video).Darren Salt
This uses the adapter names reported by the X 2D graphics driver. (Transplanted from 8c06e053c6dbb2f31c004f6eb615ebbf3f67d667)
2008-02-25When auto-detecting Xv ports, prefer port nos. >= configured.Darren Salt
(Transplanted from f03669a2395d97a3e40615db1089af084a69d299)
2008-02-02Move more shared Xv config desc. & help strings; add new location to POTFILES.Darren Salt
(Transplanted from 574fefcee8b1b6456fd8dc9c06191cf4622f07eb)
2008-02-02Handle invalid port nos. properly (avoids a possible xcbxv segfault).Darren Salt
(Transplanted from 378582ca7b95e634cb0b04b714df0170b60688b3)
2008-02-02Convert the XxMC plugin to use the new header file.Darren Salt
Also, a few trivial constness cleanups. (Transplanted from 3ede88232fd45bca91eb0b1cfa2d70de040cadb8)
2008-02-02XvMC plugin uses the new header; use config_help; small var/struct cleanup.Darren Salt
- Removed display in open_plugin(); - Converted adaptor_{info,num} in xvmc_class_t into locals in open_plugin(). Also, a few trivial constness cleanups. (Not fully tested; XvMC doesn't work for me. (Transplanted from 234c8a2131e9a19d52414733dfc2bf93beb80af0)
2008-02-02Convert the plain Xv plugins to use the new header file.Darren Salt
Also, a few trivial constness cleanups. (Transplanted from 83c85e349d6d09b06faa6d34c090038d7bd1ac81)
2008-02-02Add a header file for some strings shared between the Xv-using plugins.Darren Salt
(Transplanted from 39cc466bebc1f98bb20411351fd4c671ad1e190d)
2008-02-01Port Xv port selection to xxmc.Darren Salt
(Transplanted from ec0d80a280e90494306023b66e5917209b2c4155)
2008-02-01Add Xv port selection to the XCB xv plugin.Darren Salt
(Transplanted from b2dd043f187b6332248fd58410ffebf7e7727aeb)
2008-02-01Fallback to auto-detect when the specified Xv port is unavailable or unusable.Darren Salt
(Transplanted from 649b3a6f755edaed6edc44e95b13cf2a84d19a57)
2008-02-01patch adding video.device.xv_port optionJean-Yves Lefort
The attached patch allows to specify the Xv port to use (needed with some nvidia twinview configurations). (Transplanted from 307aa599ccb0e496638738accbdb85b493904e18)
2008-05-23Remove MIN/MAX macro definitions on unit.Diego 'Flameeyes' Pettenò
Now that the macro are either imported from the system or defined by configure. don't define them in every source file.
2008-05-09Use size_t to keep the value returned by strlen().Diego 'Flameeyes' Pettenò
When using a variable to store the result of strlen(), make sure its type is size_t just like the function returns, rather than using a smaller type like int. --HG-- extra : transplant_source : %B0%D5%3B%D7%1Dy%0A%7E%7D%7C%023%08%B2%CE%D3t%0B3%D7
2008-05-09Merge.Darren Salt
2008-05-09Fix compilation failure (capitalisation).Darren Salt
2008-05-09Fix compilation failure (extra "(").Darren Salt
2008-05-09Avoid loop for common memory operations (zeroing, copying, moving).Diego 'Flameeyes' Pettenò
Use the proper function for common memory operations (memset() for zeroing, memcpy() for copying, memmove() for moving), instead of looping through arrays. By extension, remove loops to reset arrays when they were allocated with calloc() and thus already zeroed.