Commit Graph

505 Commits

Author SHA1 Message Date
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
diego 82f319af62 Change a bunch of X11-specific preprocessor directives.
Switch from a HAVE_ prefix to a CONFIG_ prefix.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27409 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-04 06:16:23 +00:00
michael 0589f47239 Remove -std=gnu99/gnu89/default dialect linux define, as it violates the
C standard.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27282 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-15 00:21:32 +00:00
ben f3a13413c9 cosmetic: be consistent
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27119 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-20 20:38:15 +00:00
ben b40e5e88d5 remove useless typedef againstfor VDXContext
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27116 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-20 20:28:50 +00:00
ben b6697c56e6 cosmetic: give a coherent indentation
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27115 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-20 20:24:53 +00:00
ben 598f6c15b9 remove some useless functions from vidix api
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27114 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-20 20:21:31 +00:00
ben 3927b78660 remove useless 'else'
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27113 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-20 20:19:18 +00:00
ben 86d8472fb3 renamed vidixlib.c to vidix.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27112 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-20 20:17:38 +00:00
ben 144b0d05cd remove now useless vidixlib.h file
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27111 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-20 20:16:34 +00:00
ben c29c9e9054 move content of vidixlib.h into vidix.h
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27109 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-20 20:09:54 +00:00
ben 536096e938 cosmetic: give coherent indentation
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27108 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-20 20:07:36 +00:00
diego 1c54cec54a Add standard license headers.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27038 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-08 14:57:49 +00:00
diego 319097c5dc Add comments to a few #endif preprocessor directives.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27037 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-08 14:53:18 +00:00
diego 65371f38c9 Remove pointless and commented-out #ifdef.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27028 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-08 10:14:38 +00:00
diego 2515478aa6 Fix dhahelper.h #include paths.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27026 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-08 09:19:47 +00:00
ben 494da54eaf remove C++ inclusion guard from vidix headers
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27011 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-07 11:47:33 +00:00
diego d47186c5d8 Add default definition for SVGA device.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27010 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-07 11:45:25 +00:00
ben 6212ebbcae remove useless vidix versioning stuff
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27009 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-07 11:43:57 +00:00
ben b7391dde39 Drop some useless parameter from vidix init routine
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27007 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-07 10:56:42 +00:00
ben 8e717d77c7 vidix s3 headers was missing proper header
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27004 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-07 10:25:07 +00:00
diego a645f8ecd5 Remove unused variable, fixes the warning:
vidix/sysdep/pci_linux.c:71: warning: unused variable 'config_cmd'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27003 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-07 09:41:51 +00:00
diego 13d53795d9 Merge vidix/dhahelperwin/Makefile into top-level Makefile.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26935 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-30 20:09:31 +00:00
diego 5d87f6d9ca Merge vidix/dhahelper/Makefile into top-level Makefile.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26934 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-30 19:39:00 +00:00
diego f3617303c1 Rename kernelhelper to dhahelper, that name is more fitting.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26933 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-30 19:17:20 +00:00