Commit Graph
28466 Commits
Author SHA1 Message Date
diego cd6eb04525 Add config.h #include for ARCH_X86 definition.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28500 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-09 18:04:19 +00:00
diego cfb5bf7d3e Add #undefs to reenable system functions that are normally forbidden in other
parts of FFmpeg but OK in this test program. Fixes the build.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28499 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-09 18:01:36 +00:00
diego 60ae9c5895 Drop DECLARE_ALIGNED from extern declarations. It creates trouble when
swscale_internal.h is #included without HAVE_AV_CONFIG_H defined.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28498 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-09 17:53:33 +00:00
reimar a93f56abeb Use SetErrorMode so Windows will not show all kinds of error dialogs
we do not want.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28497 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-09 15:43:51 +00:00
kostya ab3f56987f Prefix visible YUV2RGB functions with sws_
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28496 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-09 14:31:53 +00:00
kostya c5bf12666b Give better name to Inverse_Table_6_9
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28495 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-09 14:17:30 +00:00
diego ce1a533059 Remove file name from file headers.
It provides no useful information and breaks on renames.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28494 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-09 11:19:19 +00:00
diego 4f4c060802 Print information about detected CPU in verbose mode only.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28493 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-09 00:29:26 +00:00
stefano 45a1edd1df Drop the deprecated sws_scale_ordered() at the next major version
bump.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28492 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-08 23:06:05 +00:00
stefano f6ff53adcc Replace int type with enum PixelFormat for the dstFormat/srcFormat
params of the sws_getContext() and sws_getCachedContext()
declarations, consistent with the implementation.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28491 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-08 23:02:06 +00:00
stefano 78a33f99f4 Fix a typo: lumaSarpen -> lumaSharpen.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28490 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-08 22:50:57 +00:00
diego 883133fe45 cosmetics: Remove leading underscore from all def_ variables.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28489 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-08 22:49:52 +00:00
diego a760f58636 Add CONFIG_LIBAMR_NB_FIXED #define for FFmpeg to config.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28488 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-08 21:57:14 +00:00
diego 94a8f89c57 CONFIG_LIBAMR_NB/WB should be 0/1 #defines.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28487 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-08 21:56:18 +00:00
diego 03c3ed9b81 Fix FFmpeg decoder info fields to be consistent.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28486 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-08 21:45:32 +00:00
diego 021d1c446c cosmetics: Drop redundant "decoder" from codec info fields.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28485 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-08 21:42:48 +00:00
Gabrov ca36b4993b synced with r28432
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28484 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-08 11:07:16 +00:00
diego 49f88ad861 Conditionally compile aclib.c instead of placing #ifdef around its content.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28483 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-08 03:42:00 +00:00
diego d365ca2eab Add CONFIG_LIBVORBIS #define for FFmpeg to config.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28482 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-08 03:39:07 +00:00
diego befc528297 Add standard license headers, unify header formatting.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28481 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-08 03:27:30 +00:00
diego 95c44000d7 Give _XOPEN_SOURCE #define an explicit 600 value. Fixes build on Open Solaris.
patch by Imran Syed, freakabcd gmail com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28480 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-07 17:34:45 +00:00
diego 481d68007e Sync with latest FFmpeg changes.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28479 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-07 15:40:07 +00:00
diego 38daeba8f8 Add config.h/config.mak bzlib variables missed in last commit.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28478 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-07 15:36:50 +00:00
diego ba38cd7c0e Add bzlib check for FFmpeg.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28477 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-07 15:33:10 +00:00
diego 19e71dbc54 Fix a couple of unused variable warnings through the av_unused attribute.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28476 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-07 15:29:22 +00:00
diego 2817da6233 Convert CONFIG_ZLIB into a 0/1 option.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28475 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-07 15:23:55 +00:00
diego 66ae932317 Add READ_CACHE_TRACE #define for libdvdnav.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28474 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-07 15:19:43 +00:00
eugeni 98c80613c6 In case of several \move or \pos in one line, prefer the first one.
Patch by Grigori G, greg at chown ath cx.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28473 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-07 01:13:11 +00:00
eugeni 4fdc9591b4 Add stubs for a few unimplemented tags.
Patch by Grigori G, greg at chown ath cx.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28472 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-07 01:13:07 +00:00
eugeni 94ea507ec2 Allow \be with arguments other than 0 or 1. Implement \blur.
Patch by Grigori G, greg at chown ath cx.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28471 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-07 01:13:02 +00:00
gpoirier 4e553a8764 sync w/r28415
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28470 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-05 19:45:13 +00:00
gogothebee ff0c8c1e35 Avoid message spam during video adapter uncooperative state.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28469 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-05 09:07:58 +00:00
gogothebee 680578839d Unify info/error messages to a common style:
<vo_direct3d> in the beginning, "." at the end.
Shorter/more descriptive sentences.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28468 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-05 09:06:09 +00:00
diego 086b1c8a15 Print an error message when given insufficient parameters.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28467 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-04 19:17:03 +00:00
diego d00d9a57f8 cosmetics: Regroup some FFmpeg config.h options.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28466 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-04 19:08:44 +00:00
diego 9ec12d04bd Add proper check for arpa/inet.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28465 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-04 19:04:22 +00:00
diego 57f3f10ad0 cosmetics: Remove stray tab.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28464 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-04 18:34:39 +00:00
diego 4bfd1ebc96 We use libdvdcss 1.2.10, not 1.2.9.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28463 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-04 18:32:32 +00:00
diego 8b2dc616eb Do not hardcode HAVE_DOS_PATHS, set it by OS instead.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28462 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-04 18:22:28 +00:00
compn 09bf506c34 add automatic hw acceleration for vo gl entry
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28461 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-03 12:20:18 +00:00
reimar 25f5652082 Hack: fix MINGW compilation by hard-coding HAVE_ARPA_INET_H
to 0 if __MINGW32__ is defined.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28460 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-03 12:17:49 +00:00
reimar 406a602ecc Add [gl] in front of vo_gl message
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28459 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-03 11:47:07 +00:00
reimar 9b8170ca54 Latest 9.1 ATI drivers finally fixed PBOs, thus do not need ati-hack and are much
faster without it. Change autodetection accordingly.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28458 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-03 11:46:31 +00:00
reimar 0fcb101267 Add checks that a D3D device is available before attempting rendering.
We may have lost the device e.g. because it became uncooperative e.g.
when using remote desktop or Vista's UAC is activated.
Patch by Georgi Petrov [gogothebee gmail com]


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28457 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-03 11:00:09 +00:00
reimar cd8ef8a8f6 Remove the Present call after adapter reinitialization, it can not work anyway
since no video frame is uploaded to the new context yet.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28456 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-03 10:54:27 +00:00
reimar 3819692fda swab() needs _XOPEN_SOURCE to be defined.
Fixes two implicit declaration warnings.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28455 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-03 10:39:56 +00:00
reimar 680eb1a1e4 Cosmetics: remove empty line, improve some messages.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28454 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-03 10:21:17 +00:00
reimar fbac650de3 Whitespace/comment typo cosmetics.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28453 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-03 10:17:14 +00:00
reimar af87ab3afd Check for change_d3d_backbuffer failure.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28452 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-03 10:16:03 +00:00
reimar ad8c8f6f28 Fix several return values
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28451 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-03 10:14:44 +00:00