[MPlayer-dev-eng] VIDIX on PPC (was: Re: [MPlayer-cvslog] CVS: main/vidix/drivers nvidia_vid.c, 1.24, 1.25)

Diego Biurrun diego at biurrun.de
Tue Sep 6 22:21:44 CEST 2005


Moving this thread to dev-eng where I believe it is more appropiate...

On Sat, Sep 03, 2005 at 12:45:20PM +0200, Sascha Sommer wrote:
> On Saturday 03 September 2005 12:27, Sascha Sommer CVS wrote:
> >
> > Modified Files:
> >  nvidia_vid.c
> > Log Message:
> > initial endianess fixes
> 
> Diego,
> can you test this when Reimars patches went in?

It's still not working quite correctly:

vidixlib: dlopen error: /usr/local/lib/libdha.so.1.0: undefined symbol: inb
vosub_vidix: Couldn't find working VIDIX driver
Error opening/initializing the selected video_out (-vo) device.

After applying the "patch" below, which you came up with on LinuxTag, I
get a little further, but MPlayer crashes in decode_video.

Diego


--- libdha/libdha.c	21 Jan 2005 21:36:30 -0000	1.13
+++ libdha/libdha.c	6 Sep 2005 20:10:32 -0000
@@ -162,7 +162,7 @@
 }
 
 #endif /* Generic mmap (not win32, nor os2) */
-
+#if 0
 unsigned char INPORT8(unsigned idx)
 {
   return inb(idx);
@@ -192,3 +192,4 @@
 {
   outl(idx,val);
 }
+#endif
--- libdha/libdha.h	31 Mar 2003 00:14:13 -0000	1.8
+++ libdha/libdha.h	6 Sep 2005 20:10:32 -0000
@@ -47,7 +47,7 @@
 	       Should return 0 if o'k or errno on error. */
 extern int enable_app_io( void );
 extern int disable_app_io( void );
-
+#if 0
 extern unsigned char  INPORT8(unsigned idx);
 extern unsigned short INPORT16(unsigned idx);
 extern unsigned       INPORT32(unsigned idx);
@@ -56,7 +56,7 @@
 extern void          OUTPORT16(unsigned idx,unsigned short val);
 extern void          OUTPORT32(unsigned idx,unsigned val);
 #define OUTPORT(idx,val) OUTPORT32(idx,val)
-
+#endif
 extern void *  map_phys_mem(unsigned long base, unsigned long size);
 extern void    unmap_phys_mem(void *ptr, unsigned long size);
 




More information about the MPlayer-dev-eng mailing list