Commit Graph

529 Commits

Author SHA1 Message Date
diego 8ba6b4eaf9 cosmetics: Remove pointless empty lines at EOF.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30675 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-20 21:02:49 +00:00
diego d306b727b1 Remove pointless '#if 1' preprocessor directives.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30654 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-19 10:22:29 +00:00
diego a450db36fd Add header file for sis_init_video_bridge() instead of forward declaring it.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30593 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-16 13:10:24 +00:00
diego aae2efd679 VIDIX: #include drivers.h in drivers.c.
This ensures that function declarations in both files always match.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30592 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-16 13:07:00 +00:00
diego cc7fdaf5c5 VIDIX: Mark some functions not used outside their files as static.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30591 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-16 13:04:00 +00:00
diego 3bc60fcf8e Add missing license headers.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30461 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-30 13:49:24 +00:00
diego 07f6ea12e6 cosmetics: Convert DOS linebreaks to Unix linebreaks.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30460 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-30 13:49:03 +00:00
diego c87749eae0 license header cosmetics
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30459 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-30 13:46:26 +00:00
reimar 0d17260656 Remove hackish and not actually working code to make vidix compile with
compilers without inline assembly.
Almost no OS provides inb() etc. in its libraries, and removing the
broken fallback code makes it compile on Solaris with Sun C compiler.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30293 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-12 20:20:49 +00:00
diego 01ced9c82c cosmetics: Break multiple statements on one line apart.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30215 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-04 21:10:15 +00:00
diego bf258cb675 Remove previous failed attempt at disabling that auto-generation of some C code.
This reverts the previous buggy commit, r30094.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30214 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-04 20:53:57 +00:00
diego 61f34a8101 Do not auto-generate the C code to handle PCI vendor and device names.
This part of the code does not change so there is no point in generating it.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30094 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-20 21:11:39 +00:00
diego d9ea2f0d0e Remove unused debugging output about total number of printed lines.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30092 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-20 19:56:18 +00:00
diego db1d7210db Employ slightly better variable names for output files.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30091 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-20 19:36:30 +00:00
diego 3a4525bfc2 Eliminate completely pointless print_includes function.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30090 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-20 19:32:25 +00:00
diego 48ed8799ac Do not autogenerate vidix/pci_names.h.
Its contents is always the same, so there is no point in generating it.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30088 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-20 17:49:07 +00:00
diego b252972ab4 Remove pointless return statements from functions that return nothing.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30084 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-20 17:09:20 +00:00
diego 7046f2cd16 Move code to write multiple inclusion guards to generated files into functions.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30083 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-20 17:01:47 +00:00
diego 884849df53 cosmetics: Use more consistent formatting style for generated files.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30080 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-20 15:16:34 +00:00
diego cccb6f6d7e cosmetics: Use a consistent formattting style; tabs to spaces.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30079 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-20 14:43:50 +00:00
diego c796878e40 Make vidix/pci_db2c.awk executable.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30047 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-16 23:44:26 +00:00
cehoyos 9aa17fbbb6 Update the SuperH VEU vidix driver with experimental support for VEU3F.
Patch by Magnus Damm, damm opensource se


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29990 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-10 23:22:19 +00:00
cehoyos 2a0af1ad5d Fix build on SuperH.
Patch by Magnus Damm, damm opensource se


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29989 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-10 23:20:09 +00:00
cehoyos e172569787 Update the SuperH VEU vidix driver with code that calls fsync() after each
frame to make sure the frame is flushed in case of deferred io.

Patch by Magnus Damm, damm opensource se


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29988 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-10 23:16:08 +00:00
diego e5751ced4f Replace WORDS_BIGENDIAN by HAVE_BIGENDIAN in all internal code.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29443 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-07-26 19:53:00 +00:00
diego b91c49e4b0 Move some variable declarations up to avoid the warnings:
vidix/ivtv_vid.c: In function 'ivtv_probe':
vidix/ivtv_vid.c:305: warning: ISO C90 forbids mixed declarations and code
vidix/ivtv_vid.c: In function 'ivtv_query_fourcc':
vidix/ivtv_vid.c:405: warning: ISO C90 forbids mixed declarations and code


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29431 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-07-19 20:59:32 +00:00
bircoph 239f909df7 Revert whitespace removal for win-related code, because lack of ^M at
linebreaks may cause problems in win.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29308 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-13 19:44:44 +00:00
bircoph 6e695dc64f Remove all kind of trailing whitespaces from all MPlayer's files.
This affects all kind of spaces (' ',^I,^M,^L,...): actually
[:space:] regex character set.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29306 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-13 15:22:13 +00:00
diego 6e9cbdc104 whitespace cosmetics: Remove all trailing whitespace.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-13 02:58:57 +00:00
reynaldo e572539fcd Get rid of some more trailing whitespace
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29297 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-12 03:01:09 +00:00
diego d9ded9284c Add missing 'void' to parameterless function declarations.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29254 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-04 17:35:26 +00:00
diego 9133dff0b2 Fix warnings about undefined preprocessor directives.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28398 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-30 23:22:29 +00:00
diego 8d242b60e0 cosmetics: Remove pointless period after copyright statement non-sentences.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28342 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-19 17:12:43 +00:00
reimar 93d598c7b2 Lots and lots of #ifdef ARCH_... -> #if ARCH_...
and #ifdef HAVE_MMX etc -> #if HAVE_MMX.
There might be still more that need to be fixed.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28325 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-16 09:21:21 +00:00
diego 824abb5a65 Add missing 'void' keyword to parameterless function declarations.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28267 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-05 14:48:03 +00:00
diego 0864f92e7a Get rid of pointless 'extern' keywords.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28085 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-12-03 23:01:03 +00:00
diego 39f7129214 Use standard unsigned long type instead of u_long.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28053 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-30 13:37:42 +00:00
ranma 1ec2a1c33f pci.c includes dha.h, remove redundant MAX_* defines
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27798 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-18 16:07:47 +00:00
ranma a6b806a97a MAX_PCI_DEVICES 64 is not enough on my system (even though lspci only shows 25 devices), upped to 256
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27797 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-18 16:07:18 +00:00
diego 26b29f4f2d Replace all occurrences of '__volatile__' and '__volatile' by plain 'volatile'.
We were using an inconsistent mix of the three variants and 'volatile' should
be the most correct and portable variant.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27791 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-16 20:17:56 +00:00
diego 6b52a2e974 Change all occurrences of asm and __asm to __asm__, same as was done for FFmpeg.
Neither variant is valid C99 syntax, but __asm__ is the most portable variant.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27788 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-16 18:59:27 +00:00
diego 4d644f513c Replace preprocessor check for WIN32 with checks for __MINGW32__ and __CYGWIN__.
This avoids a pointless indirection that only obscures what is really done.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27761 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-13 16:23:55 +00:00
diego e00c1a9e6d Remove redundantly declared definitions FILE_ANY_ACCESS and CTL_CODE, fixes:
vidix/sysdep/libdha_win32.c:34:1: warning: "FILE_ANY_ACCESS" redefined
vidix/sysdep/libdha_win32.c:35:1: warning: "CTL_CODE" redefined


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27755 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-13 14:47:11 +00:00
diego 79e038985a Remove unused variables.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27751 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-12 22:12:24 +00:00
diego d4ea9155a7 Remove one more pointless and gcc-specific __attribute__ ((unused)).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27658 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-23 20:53:46 +00:00
diego fdb59804aa Restore function parameters mistakenly removed in previous commit.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27657 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-23 20:53:08 +00:00
diego 02eb69fc5c Remove pointless and gcc-specific __attribute__ ((unused)).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27656 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-23 20:38:30 +00:00
ben 8903c510f8 Add VIDIX driver for SuperH Mobile VEU hardware block.
Patch by Magnus Damm <magnus dot damm at gmail dot com>.



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27452 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-11 23:10:03 +00:00
ben f2918b9240 Add proper VIDIX support for SuperH architecture.
Patch by Magnus Damm <magnus dot damm at gmail dot com>.



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27451 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-11 23:04:03 +00:00
ben f56b633045 Add NV12 colorspace support to VIDIX driver.
patch by Magnus Damm <magnus dot damm at gmail dot com>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27430 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-07 12:28:28 +00:00