view vidix/README.dha @ 37159:d4fbf2eb4a04

Ensure up-to-dateness of global_sub information upon request. Some demuxers (like mpg) can detect subtitles only while playing, which is the reason why MPlayer always - indirectly - calls update_global_sub_size() prior to dealing with subtitles. Functions mpctx_get_global_sub_size() and mpctx_get_global_sub_pos(), however, merely return last determined values, thus missing information that may have been arisen after MPlayer has checked last for subtitles (when playback started). Merge the two mpctx_get_global_sub_*() functions into one for easier handling. Retrieve global_sub pos by a mp_property_do("sub") command which performs the necessary update of both global_sub variables, pos and size. Reported by Lode Leroy, lode.leroy gmail com.
author ib
date Sun, 17 Aug 2014 18:06:56 +0000
parents 73714a7a98cf
children
line wrap: on
line source

lidbha - Direct Hardware Access library
=======================================

This library was designed for providing direct hardware access under different
OS'es and architectures, so it's platform- and os-independent.

The main project on the top of libdha is Vidix. It provides userspace
video drivers for Matrox, Ati, 3Dlabs, Trident (and it's still evolving).

For the full list of supported OS'es read the sources, anyway here's a 'reported
as working' list (these platforms are used daily):
 Linux/x86
 FreeBSD/x86
 NetBSD/x86
 Linux/PPC

There are different ways to access the hardware, normally only ROOT can do that.
With root privileges libdha will run fine, but there are some others ways
to use it as a normal user:
1, set the SUID bit on the binary (in this way it runs with root privileges)
2, use svgalib kernel helper (please read the comment in the Makefile)
3, use dhahelper (not yet finished)

The library is based on XFree86 and gfxdump (a utility from the GATOS project)
sources.

Original import and design by Nick Kurshev and Alex Beregszaszi.
Current maintenance and dhahelper by Alex Beregszaszi.
Svgalib kernelhelper support by Matan Ziv-Av.
(for the e-mail addresses see the AUTHORS file in MPlayer)