Commit Graph

234 Commits

Author SHA1 Message Date
Johns 752ee356fa Poll input buffers, if display buffers are full. 2012-05-13 18:33:24 +02:00
Johns 541754a619 Support display with non-square pixels. 2012-05-10 16:03:56 +02:00
durchflieger aca508114b Adds VDR DFAtmo Plugin support. 2012-04-30 14:47:08 +02:00
Johns 6dd7c2680a Skip audio sync while trick play. 2012-04-26 15:33:51 +02:00
Johns 47d840bbff Force black picture after start or suspend. 2012-04-22 21:01:34 +02:00
Johns e30e1e5aad Handle jump in stream like stream start. 2012-04-21 12:59:04 +02:00
Johns 53f22a2ed2 Made showing black picture configurable. 2012-04-20 15:40:14 +02:00
Johns 44ca71fedb Adds audio normalize support. 2012-04-19 16:01:20 +02:00
Johns 8039e8ae04 New audio filters next part. 2012-04-19 00:47:34 +02:00
Johns 79e78bf235 Show black picture, if no video stream available.
New audio ring code.
New audio filters (first part).
2012-04-17 16:45:27 +02:00
Johns 2ffcb874bb Adds show cursor on mouse move + hide after 200ms. 2012-04-14 21:58:14 +02:00
Johns 09d8588588 Fix buf: VDPAU looses preemption callback. 2012-04-12 15:38:22 +02:00
Johns aeae505bd4 Adds Hot-key support for 4:3 zoom modes. 2012-04-11 12:15:12 +02:00
CafeDelMar ac2e10a308 Cutting pixels configured for each resolution. 2012-04-05 22:51:20 +02:00
Johns 9165052d5e Fix gcc error bug (also for VA-API). 2012-04-03 16:36:06 +02:00
Johns 7f8110557f Fix gcc error bug. 2012-03-31 23:20:06 +02:00
Johns c9b344a3fd Audio/Video sync rewrite.
Trick-speed support moved to video module.
Reduce video messages.
2012-03-31 21:27:54 +02:00
Johns b41f934c37 Faster VdpauBlackSurface version. 2012-03-30 17:19:31 +02:00
Johns 6058f3da56 Fix bug: VideoSetPts wrong position. 2012-03-30 16:04:25 +02:00
CafeDelMar 689d75b808 Add VideoSkipPixels support. 2012-03-26 20:49:18 +02:00
Johns 7b570c507c Cleanups. 2012-03-12 17:58:19 +01:00
Johns f59425ac57 AudioGetDelay returns signed value and cleanups. 2012-03-10 15:00:58 +01:00
Johns 7d3f4f4434 Disable and reenable screen saver and DPMS. 2012-03-08 15:25:10 +01:00
Johns acc35fe30c Video cleanup.
Add noop video output module.
Move VideoThread check into lock/unlock functions.
Add support for choosing video output module.
2012-03-07 15:31:43 +01:00
Johns 226760490b VADisplayAttribDirectSurface removed. 2012-03-06 16:56:26 +01:00
Johns 340816d763 Make soft start sync setup menu configurable. 2012-03-06 12:16:47 +01:00
Johns 181a0bb372 Move grab unsupported warning to low-level. 2012-03-05 20:10:23 +01:00
Johns 4cc98d7937 Move time-stamp printing to misc.h. 2012-03-05 17:34:10 +01:00
Johns b0d9f41020 Rewrote video/audio start code. 2012-03-02 18:16:20 +01:00
Johns 51eb720265 VideoSetFullscreen needs X11 connection. 2012-02-26 20:54:31 +01:00
Johns 668a6ec277 Support configuration and set of video background. 2012-02-24 15:15:50 +01:00
Johns 67e571f02b Survive lost X11 display. 2012-02-23 17:57:21 +01:00
Johns 7382bd60ff VA-API branch staging support. 2012-02-22 16:50:35 +01:00
Johns 73b93f1aba Makes A/V sync info time configurable. 2012-02-22 16:32:40 +01:00
Johns 6ce760ccd8 60Hz display mode configurable with setup.conf. 2012-02-22 15:06:05 +01:00
Johns 5d8dea1b6b New audio PES handling.
New easier and more flexible audio PES packet parser, which includes own
codec parser.
Removed av_parser use.
Reduced audio buffer time, faster channel switch.
New audio transport stream parser (not enabled as default).
2012-02-21 20:55:28 +01:00
Johns 1f232db5b4 Nicer debug output when clock out of range. 2012-02-19 22:45:29 +01:00
Johns 09cfab3856 Add posibility to disable repeat pict warning. 2012-02-16 21:55:14 +01:00
Johns 346953d209 Fix message, if no hq scaling is supported. 2012-02-16 09:58:13 +01:00
Johns 8dd95dab5e VDPAU: Enable inverse telecine configuration. 2012-02-14 22:29:17 +01:00
Johns 6736db082e Fix bug: used frame-> instead of video_ctx->. 2012-02-14 14:46:49 +01:00
FireFly 56edfd4f54 Fix bug: unscaled jpeg includes PNG header. 2012-02-13 20:15:25 +01:00
Johns a98a4adc7e Studio levels could be configured in setup menu. 2012-02-13 14:13:24 +01:00
Johns f872f54e2a Window defaults to fullscreen without geometry. 2012-02-13 14:00:53 +01:00
Johns f28a737a9a VDPAU: support for studio levels added. 2012-02-10 15:47:52 +01:00
Johns 19cec561ba Fix bug #876: Keypad not working. 2012-02-10 10:43:31 +01:00
Johns d8f63adaad Software deinterlacer (config/skip chroma deint):
Add support for skip chroma deinterlace to software deinterlacer.
Type of software deinterlacer now configurable from setup menu.
2012-02-09 21:22:42 +01:00
Johns bc50f37c4d Spatial deinterlacer for VA-API. 2012-02-07 18:18:13 +01:00
Johns 00cafd18ed Release Version 0.4.6. 2012-02-02 23:32:51 +01:00
Johns ab4e89132e Auto-crop improvement and nicer a-v sync display. 2012-02-02 16:01:38 +01:00
Johns 91dbe46786 Add A-V info output and compile time option. 2012-02-01 23:12:45 +01:00
Johns a7389111ff Fix bug: VA-API intel software decoder broken. 2012-02-01 18:36:24 +01:00
Johns 27e9a88e2f Video updates and bug fix.
Check if surface is ready in VaapiGetSurface.
Set PTS/DTS only in the first split video packet.
Add support for 4:3 output modes.
Quicker auto-crop after channel switch.
Add auto-crop support for Intel VA-API backend.
Fix bug: Auto-Crop logo skip didn't use displayed width.
2012-02-01 16:50:48 +01:00
Johns bd84e3f3b9 Workaround for mpeg2 FFMpeg+VA-API+Intel GPU hung. 2012-01-31 20:45:09 +01:00
Johns 364cc04736 Fix bug: Only black picture with VA-API hw decoder. 2012-01-30 23:09:53 +01:00
Johns dab31e2367 Finished rewrite of video code, to support modules. 2012-01-30 15:58:21 +01:00
Johns e613ff1f7e Add aspect change support to software decoder path 2012-01-29 23:57:22 +01:00
Johns 1886b745e5 Repair software decoder with vaapi vdpau backend. 2012-01-29 19:28:46 +01:00
Johns 422c378a5e Add workaround for Intel VA-API MPEG GPU hung. 2012-01-29 11:28:10 +01:00
Johns 60a7c36fa6 Add configurable skip lines at video top + bottom. 2012-01-28 01:44:50 +01:00
Johns 4d74ed1bfc Add auto-crop tolerance configuration. 2012-01-27 23:49:05 +01:00
Johns c3b924a239 Reduces audio latency, increases audio buffer time. 2012-01-27 23:33:10 +01:00
Johns f8d198636b Video bug fix.
Made video_test working again.
Disabled VA-API Intel vaAssociateSubpicture workaround.
Fix bug: Must release lock for VideoPollEvent.
Allow faster video and audio sync.
Fix bug: Software decoder use vaPutImage with Intel backend.
Fix bug: Artefacts are shown after mpeg2 channel switch.
Fix bug: VideoReleaseSurface called after VideoExit.
2012-01-27 21:08:37 +01:00
Johns 9063b4e3ff Add VDPAU display preemption support. 2012-01-25 15:31:49 +01:00
m.Rcu 2dff69dc14 Add support for grab jpeg image. 2012-01-24 22:40:06 +01:00
Johns 5668fa22d2 Video cleanup.
More functions uses new module interface.
Fix bug: VaapiOsdExit doesn't deassociate osd surface.
Fix bug: First OSD can show random pixels.
2012-01-24 22:25:33 +01:00
Johns 6ca4d3c44f Fix dead-lock in VdpauExit. 2012-01-24 10:02:39 +01:00
Johns 2ac2eb39c6 Workaround for dead-lock in VdpauExit. 2012-01-24 00:32:07 +01:00
Johns 5f43803236 VDPAU: Add primitive software scaler to grab image 2012-01-23 20:04:15 +01:00
Johns 993d831190 VA-API: Add auto-crop support. 2012-01-23 15:40:59 +01:00
Johns 9546233175 Suspend can close and open video and audio device. 2012-01-22 20:49:43 +01:00
Johns 98d2e0f728 Cleanups and Codec..Del.. prototypes. 2012-01-22 17:07:08 +01:00
Johns bc8a13e1ef Call VdpauMixerSetup only, if mixer setup. 2012-01-21 21:56:19 +01:00
Johns fa27a1c73a Release Version 0.4.0. 2012-01-21 15:56:45 +01:00
Johns e32857a27a VDPAU: Add screenshot support. 2012-01-20 21:46:22 +01:00
Johns 0422b6aa5a VDPAU: Add auto-crop support. 2012-01-20 15:33:37 +01:00
Johns eb024558de VDPAU: Changed OSD alpha calculation. 2012-01-19 22:58:02 +01:00
Johns 1593d5dd83 Fix bug: Used VideoSharpen for denoise settings.
Instant update deinterlace/... configuration changes.
2012-01-19 21:28:38 +01:00
Johns 87f7aa63cc Release Version 0.3.5. 2012-01-19 16:01:05 +01:00
Johns c6e66e0787 OSD improvements:
Use OSD size equal to video window.
Update only dirty area(s) of OSD.
Show/mix only used area of OSD.
Fix bug: vpdau use previous resolution for deint, ...
2012-01-18 15:15:37 +01:00
Johns 19d4eeed82 Little speed improved Intel VA-API deinterlace. 2012-01-17 18:53:53 +01:00
Johns 9f668c4750 Fix software deinterlace with VA-API. 2012-01-17 17:41:24 +01:00
Johns 2cacdc6c90 Debug, if vaapi putsurface is too slow. 2012-01-16 23:54:48 +01:00
Johns 6efe558f78 Fix bug: transposed digits 567 should be 576. 2012-01-16 20:20:01 +01:00
Johns 80100299f3 Disable VA-API if init fails. 2012-01-16 17:05:22 +01:00
Johns 81d7ef9755 Support xcb_ewmh.h for xcb-util <0.3.8. 2012-01-13 17:20:43 +01:00
Johns 7f7de8678f Add support for fullscreen mode. 2012-01-13 16:31:29 +01:00
Johns 92bb00c410 Add vaapi color space conversion. 2012-01-13 12:28:56 +01:00
Johns d3b98b90f4 Fix bug: devision by zero in ...UpdateOutput, 2012-01-13 10:04:26 +01:00
Johns 788636ee6b Destroy vdpau surface only, when initialized. 2012-01-13 00:58:30 +01:00
Johns 8e53cbd4a9 VAAPI: Instant use new deinterlace configuration. 2012-01-12 23:07:06 +01:00
Christian Ruppert 712b2e0de1 Patch collection from Christian Ruppert.
Move objects before $LIBS to avoid link failures with --as-needed.
Do not override CFLAGS for video test.
Rearrange *FLAGS incl. some minor fixes.
Don't override VDRDIR, LIBDIR and TMPDIR in makefile.
Don't abuse LDFLAGS in makefile.
Define CC in makefile.
Include GL/gl.h for the GL_COLOR_BUFFER_BIT definition.
VideoInit() needs an argument.
2012-01-10 22:48:42 +01:00
Johns 960cd27ab5 Add support for close and resize x11 window. 2012-01-10 15:53:54 +01:00
Johns 96eefca699 Video improvements.
Fix generate of video output from StillPicture.
Add support for resolution dependend video parameterts (Deinterlace,
Scaling, Denoise, Sharpen, ...).
2012-01-09 17:03:04 +01:00
Johns f6df79e8e6 Improved replay of recordings. 2012-01-08 21:46:00 +01:00
Johns fd60c3c132 Support yaepghd video output position change.
And code and comments cleanups.
2012-01-07 22:36:06 +01:00
Johns d6e2d04505 Fix compiler error with -DDEBUG. 2012-01-07 03:13:33 +01:00
Johns cb2314837c uwm window manager hide cursor workaround. 2012-01-06 15:37:21 +01:00
Johns 820c246148 Fix bug: old surface stay in video ringbuffer. 2012-01-05 22:55:57 +01:00
Johns 8dda2a0b8a Show transparent cursor to hide cursor. 2012-01-05 22:33:14 +01:00
Johns 761c06eac1 Add color standard support to vdpau. 2012-01-05 20:24:18 +01:00
Johns 0776bc5ee4 VDPAU improvements.
Add denoise, sharpness, skip chroma deinterlace support.
Show OSD only if something is to display, improves performance.
Add deinterlace mode with only 4 surfaces.
2012-01-05 17:20:44 +01:00
Johns 0f449c2394 Remove warnings, reduce debug informations. 2012-01-04 16:58:35 +01:00
Johns 0d63fac2e8 Use only the needed number of surfaces.
Fix problem with video-xvba and too many surfaces used.
Prepare new audio driver "oss".
2011-12-31 18:55:07 +01:00
Johns c8c760a069 Make pthread_setname_np optional for older glibc. 2011-12-31 17:28:58 +01:00
Johns 0c7170989d Remove warning, when building without vdpau. 2011-12-30 21:50:58 +01:00
Johns 12bfab3f10 Name threads for easier debugging. 2011-12-30 16:47:57 +01:00
Johns bded2ae5df Prepared vdpau noise reduction support. 2011-12-29 19:45:00 +01:00
Johns 1f2d1d235e Vpdau displays black, when no video available. 2011-12-29 17:47:21 +01:00
Johns 23300b0383 Add missing VdpauDecoderDestroy. 2011-12-29 00:55:57 +01:00
Johns a5c28b9fe2 Fix bug: swapped end and start. 2011-12-25 17:23:29 +01:00
Johns 10ab0274ab Show time used for VdpDecoderRender. 2011-12-25 11:50:17 +01:00
Johns 63d18ea488 Fix bug: wrong aspect video size calculation. 2011-12-25 11:35:18 +01:00
Johns 58800f57f6 Wrong decoder->SurfaceField again. 2011-12-23 20:51:02 +01:00
Johns d574fbe8b3 Remove interlaced_frame debug, it can't be used. 2011-12-23 20:31:52 +01:00
Johns 06fddc206e Initial vdpau hw decoder support. 2011-12-23 19:33:30 +01:00
Johns 1e18da47f7 Fix uninitialized 'filled'. 2011-12-23 00:14:50 +01:00
Johns ba50ea7123 Fix vdpau hangup when switching none/interlaced. 2011-12-23 00:09:59 +01:00
Johns 7057c188d8 Cleanup on destroy decoder. 2011-12-22 23:05:22 +01:00
Johns 9f637f986e Add video/audio sync to vdpau. 2011-12-22 22:20:52 +01:00
Johns 18e9e2f69e Initial vdpau osd support. 2011-12-22 21:25:38 +01:00
Johns afd7dfe402 Initial vdpau support. 2011-12-22 18:01:17 +01:00
Johns 37192d5b53 Reorder pts. 2011-12-20 15:05:35 +01:00
Johns 36b285b5f7 Audio/video sync improvements.
Configurable audio delay.
Use monotonic pts.
Support old libav or ffmpeg libraries.
2011-12-19 17:11:25 +01:00
Johns de6776a885 Support xcb_set_wm_protocols for xcb-util <0.3.8. 2011-12-16 10:14:53 +01:00
Johns 3da81fdfcc New video/audio sync code. 2011-12-15 22:45:55 +01:00
Johns 5ca9bedda8 Initial support of replay. 2011-12-14 18:01:03 +01:00
Johns a38cf3d9ae Add vaSyncSurface for new surface displayed.
Intel 1080i needs sync to have frame decoded.
Nvidia drops frames, if always synced.
2011-12-13 18:06:25 +01:00
Johns 61cbb31d3d Workaround for 1080i with intel driver 1.0.15. 2011-12-13 17:23:06 +01:00
Johns fa970400f1 DisplayFrame displays now only a single frame. 2011-12-12 17:04:41 +01:00
Johns 8853c06375 Add guards against cleanup errors. 2011-12-11 19:45:21 +01:00
Johns 749b0d6721 Video enhancements.
Pass PTS to video codec.
Flush audio buffer on channel change.
Sync audio + video stream.
Add workaround for Intel VA-API driver that forgets OSD position/size.
2011-12-10 00:15:38 +01:00
Johns fc2580dc2a Use old aspect-ratio, make thread joinable. 2011-12-08 17:38:39 +01:00
Johns ce97b938ca C part of the plugin. 2011-12-07 15:05:38 +01:00