Commit Graph

1315 Commits

Author SHA1 Message Date
jkeil 8138cfbf18 Handle linux SMP machines (suggested by Martin Aumueller)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1315 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-13 09:20:13 +00:00
jkeil efd8217aca sh_audio->a_buffer is freed twice (here and in mplayer.c), can result to
malloc heap corruption.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1314 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-13 08:54:24 +00:00
jkeil 519437261e Fix two prototype warnings
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1313 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-13 08:51:50 +00:00
jkeil c6dd2c4dea Minor code cleanup from Vladimir Kushnir
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1312 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-13 08:44:51 +00:00
jkeil 0f2ba866cd Fix sys/mman.h header test for netbsd (may work no freebsd, too)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1311 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-12 16:11:55 +00:00
jkeil 45c97f8294 Add some preliminary support for non-x86 architectures to mplayer
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1310 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-12 15:35:52 +00:00
jkeil 82eac1391a Support playback of AFMT_S16_LE audio data on a big endian machine
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1309 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-12 15:30:15 +00:00
jkeil a26b39974f Add prototypes to wine/loader stuff, so that we can catch __stdcall function
attribute mismatch between caller/caller.  wine/loader is less sensitive to
optimization now.  (now that avifile-0.6 has the same patch installed, we're
a bit closer to their CVS tree)

Speed up win32 "QueryPerformanceFrequency" emulation on solaris.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1308 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-12 15:27:48 +00:00
jkeil 009d2b0dc7 yuv2rgb_mmx crashes with ffdivx codec, when we play back avi files that have
a frame width that is not an exact multiple of 8.

Testcase: 405.avi (356x240).  Playing on an MMX capable x86 system using the
x11 video-out driver results in a segfault.

The MMX routines convert image data in quantities of 8 pixels in each loop,
and the inner loop was not terminated in case there are only 1-7 pixels left,
producing too much RGB output.

For now, just ignore the last few pixels on each row, to avoid the segfaults.
(Gives a black vertical border on the right, if you play a video with
width%8 != 0)  A possible future enhancement would be, to add a second loop
to convert the last width%8 pixels to RGB using a byte loop.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1307 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-12 15:23:26 +00:00
jkeil 88b34d0d11 Use FOURCC macro to encode fcc values. Avoids accessing 32-bit data from
unaligned memory locations and improves portability


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1306 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-12 15:10:06 +00:00
jkeil 796cc66970 fix gcc-3.0 warning
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1305 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-12 15:08:02 +00:00
atmos4 80abe73d18 Changed sugnature.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1304 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-12 06:59:17 +00:00
atmos4 6e0c3925d7 Fixed a typo and wrong varname.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1303 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-10 13:24:59 +00:00
eyck cdae8067cd Removed untill I figure out why it doesen't work in certain circumstances.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1302 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-10 12:32:22 +00:00
nick 92dad1b1e0 Added nasm
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1301 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-10 06:10:38 +00:00
atmos4 7025bc212f As promised, -afm and -vfm to prefer audio/video driver family, -ac and -vc have higher precedence, so they can override -afm/-vfm.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1300 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-08 22:45:56 +00:00
gabucino 3f2ee853df *** empty log message ***
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1299 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-08 19:54:43 +00:00
arpi 728e7eba4c VfwEx support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1298 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-08 17:20:46 +00:00
arpi 4844ff55e5 mpeg2 timing & fps fix for ffmpeg12 codec
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1297 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-08 13:11:01 +00:00
arpi 0a6439a561 mpeg2 timing & fps fix for ffmpeg12 codec
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1296 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-08 12:34:08 +00:00
arpi a768ca2013 video decoder stuff
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1295 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-08 12:29:38 +00:00
arpi 818a39476f added new driver: null
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1294 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-08 12:24:49 +00:00
atmos4 b95a30c771 First few german docs by JAF <jaf.corporation at gmx.at> and me.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1293 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-08 08:57:34 +00:00
arpi 9a365d6426 video codec stuff moved to dec_video.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1292 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-08 00:21:20 +00:00
alex c4c7864848 no segfault if no glx present
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1291 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-07 20:53:01 +00:00
arpi 3cd2f6eb27 some code clanup (first step to libdemuxer)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1290 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-07 18:46:15 +00:00
arpi 1d2298b284 fix subdriver stuff
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1289 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-07 16:37:02 +00:00
gabucino ca25cabd08 *** empty log message ***
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1288 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-07 10:47:09 +00:00
atmos4 2465ba5a84 Replaced LGBs video codec forcing change with mine for audio and video codecs, which is IMHO more convenient cause codecs are selected by name instead of number, one unclearity is left to me, that's why audio_format is used once before codecs selection for MPEG_PS files, that's why I left -afm in for that one.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1287 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-07 09:53:47 +00:00
lgb 52430859d4 -vcodec option (maybe some other name would be better though) to select between driver types without editing codecs.conf. mplayer will default to normal codec search loop if it does not find codec for the specified driver type. config range checking for the parameter (an integer) should be cleaned, IMHO
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1286 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-06 21:17:22 +00:00
jkeil b5933be0d7 use -f test for file existance check
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1285 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-06 20:00:22 +00:00
jkeil 1ef62462ce My 2.10.1 gnu assembler doesn't like C comment syntax in assembler files. Use
"assembler" comment characters ('/') instead.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1284 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-06 12:08:32 +00:00
nick d0569bc2df Minor optimization
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1283 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-06 10:59:14 +00:00
jkeil 8ef288232c Ignore generated config.mak files in CVS
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1282 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-06 10:36:35 +00:00
gabucino 018b4df02f *** empty log message ***
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1281 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-06 07:35:13 +00:00
arpi 6ab8e6a5c1 ffmpeg support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1280 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-06 03:22:14 +00:00
arpi 9ba1292389 added Juanjo's H263+ patch, and ffmpeg native codecs
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1279 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-06 03:15:37 +00:00
nick 124de950d6 Slight otimization
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1278 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-05 09:44:18 +00:00
nick 225aeb5d31 One flaw is fixed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1277 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-04 20:54:09 +00:00
gabucino f03667bfb9 ICCCCMSFNSFN
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1276 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-04 20:18:24 +00:00
gabucino 250f3b965e -fsmode (again...)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1275 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-04 16:56:31 +00:00
gabucino ec03f8bfbc -fsmode
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1274 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-04 16:32:38 +00:00
jkeil 43cd93e267 rework autodetection of assembler used by gcc, the correct assembler is detected
now, in case the user has specified a certain version of the compiler with the
"-cc=..." option.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1273 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-04 10:45:20 +00:00
nick b5481a052f Finished 3dnow optimization (in scalar mode) and minor improvements
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1272 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-04 09:47:56 +00:00
nick cb2b871048 Minor cleanups
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1271 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-04 07:00:15 +00:00
arpi 6a2c5e6619 added vo_fsmode
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1270 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-03 23:46:24 +00:00
arpi 3153c13d94 extern vo_doublebuffering cleanup
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1269 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-03 23:45:49 +00:00
arpi 2756d4601f -fsmode
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1268 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-03 23:44:19 +00:00
arpi a879e01cb3 switch fullscreen method with -fsmode
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1267 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-03 23:23:55 +00:00
arpi 3f9a313700 switching double buffering at runtime with -double
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1266 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-03 23:22:29 +00:00