annotate libdha/README @ 11350:007ec48cf146

Current mplayer (mine is mplayer-1.0-pre1cvs20031001) cannot play mms stream with multibyte characters in the url. There is a bug in string_utf16() of libmpdemux/asf_mmst_streaming.c: the url encoding code is written for single-byte character only. It just fill a zero byte between every two adjacent bytes of the url string. This is wrong when the url string contains multi-byte characters. My patch is in the attachment, and has been tested working. It uses iconv() to convert the url's encoding to utf-16 correctly. So can this patch be accepted and commit into CVS? patch by Wang WenRui <wangwr@mail.ustc.edu.cn>
author attila
date Sat, 01 Nov 2003 14:43:28 +0000
parents 50ec8b9699c4
children 57c11c567f77
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
8507
3f9940a98d7f updated
alex
parents: 4475
diff changeset
1 lidbha - Direct Hardware Access library
3f9940a98d7f updated
alex
parents: 4475
diff changeset
2 =======================================
3f9940a98d7f updated
alex
parents: 4475
diff changeset
3
3f9940a98d7f updated
alex
parents: 4475
diff changeset
4 This library was designed for providing direct hardware access under different
3f9940a98d7f updated
alex
parents: 4475
diff changeset
5 OS'es and architectures, so it's platform- and os-independent.
3f9940a98d7f updated
alex
parents: 4475
diff changeset
6
8508
50ec8b9699c4 ooh. many mistakes
alex
parents: 8507
diff changeset
7 The main project on the top of libdha is Vidix. It provides userspace
50ec8b9699c4 ooh. many mistakes
alex
parents: 8507
diff changeset
8 video drivers for Matrox, Ati, 3Dlabs, Trident (and it's still evolving).
3973
138800dfbe22 preliminary support of direct hardware access
nick
parents:
diff changeset
9
8508
50ec8b9699c4 ooh. many mistakes
alex
parents: 8507
diff changeset
10 For the full list of supported OS'es read the sources, anyway here's a 'reported
50ec8b9699c4 ooh. many mistakes
alex
parents: 8507
diff changeset
11 as working' list (these platforms are used daily):
8507
3f9940a98d7f updated
alex
parents: 4475
diff changeset
12 Linux/x86
3f9940a98d7f updated
alex
parents: 4475
diff changeset
13 FreeBSD/x86
3f9940a98d7f updated
alex
parents: 4475
diff changeset
14 NetBSD/x86
3f9940a98d7f updated
alex
parents: 4475
diff changeset
15 Linux/PPC
3973
138800dfbe22 preliminary support of direct hardware access
nick
parents:
diff changeset
16
8507
3f9940a98d7f updated
alex
parents: 4475
diff changeset
17 There are different ways to access the hardware, normally only ROOT can do that.
3f9940a98d7f updated
alex
parents: 4475
diff changeset
18 With root privileges libdha will finely run, but there are some others ways
3f9940a98d7f updated
alex
parents: 4475
diff changeset
19 to use it as a normal user:
8508
50ec8b9699c4 ooh. many mistakes
alex
parents: 8507
diff changeset
20 1, set the SUID bit on the binary (in this way it runs with root priviliges)
8507
3f9940a98d7f updated
alex
parents: 4475
diff changeset
21 2, use svgalib kernel helper
3f9940a98d7f updated
alex
parents: 4475
diff changeset
22 3, use dhahelper (not yet finished)
3f9940a98d7f updated
alex
parents: 4475
diff changeset
23
8508
50ec8b9699c4 ooh. many mistakes
alex
parents: 8507
diff changeset
24 The library is based on XFree86 and gfxdump (a utility from the GATOS project)
8507
3f9940a98d7f updated
alex
parents: 4475
diff changeset
25 sources.
3f9940a98d7f updated
alex
parents: 4475
diff changeset
26
3f9940a98d7f updated
alex
parents: 4475
diff changeset
27 Original import and design by Nick Kurshev and Alex Beregszaszi.
3f9940a98d7f updated
alex
parents: 4475
diff changeset
28 Current maintenance and dhahelper by Alex Beregszaszi.
3f9940a98d7f updated
alex
parents: 4475
diff changeset
29 Svgalib kernelhelper support by Matan Ziv-Av.
3f9940a98d7f updated
alex
parents: 4475
diff changeset
30 (for the e-mail addresses see the AUTHORS file in MPlayer)