1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-18 21:31:13 +00:00
Commit Graph

28738 Commits

Author SHA1 Message Date
bircoph
6c21a27dcf Fix r28506.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28572 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-15 00:33:25 +00:00
bircoph
b555976864 Sync with r28520, 100% done.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28571 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-15 00:01:54 +00:00
iive
22e11d3bfe Remove some xvmc field initializations. They are not used by
the libavcodec decoder. They are a copy of the queried surface
and are meaningful only for pixel format selection, not during decoding.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28570 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-14 23:31:24 +00:00
compn
27f2f8fdef timebomb made some swscale AltiVec fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28569 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-14 22:21:55 +00:00
bircoph
abec08dc01 Sync with r27979.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28568 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-14 20:53:29 +00:00
stefano
e45206dc2e Use sws_printVec2() instead of the deprecated sws_printVec().
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28567 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-14 20:18:50 +00:00
stefano
0137ac7075 Implement sws_printVec2() and deprecate sws_printVec().
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28566 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-14 20:14:28 +00:00
stefano
bf1bcca299 Document sws_normalizeVec().
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28565 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-14 19:37:13 +00:00
bircoph
4e2b81ce26 Sync with r27639.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28564 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-14 19:17:08 +00:00
bircoph
afe6497c9b Actually it is in sync with SVN HEAD.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28563 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-14 18:44:38 +00:00
reimar
e41470a32e Use fmt-conversion.h in vd_ffmpeg.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28562 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-14 17:58:33 +00:00
reimar
b8c7c3ff11 Create a fmt-conversion.c file so fmt-conversion.h can be included by multiple files.
Also restructure the code so it provides a pixfmt2imgfmt function, too.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28561 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-14 17:57:47 +00:00
reimar
c4854a0ead Consistently place whitespace around * ( ) and ,
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28560 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-14 17:43:06 +00:00
reimar
f2eb312f74 Remove useless break
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28559 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-14 17:30:41 +00:00
reimar
c81dd09974 Indentation and other whitespace fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28558 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-14 17:29:59 +00:00
diego
1538fddada Remove local copy of xvmc_render.h, it is now an installed header in FFmpeg.
Also adapt MPlayer to definition name changes in libavcodec/xvmc.h.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28557 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-14 17:18:55 +00:00
kostya
0605488897 Make hScale_altivec_real() trim its output like other implementations do
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28556 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-14 16:39:15 +00:00
kostya
919b7aef26 Some AltiVec functions in SwScaler produce different output than their
counterparts in pure C, so don't invoke them in bitexact mode.



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28555 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-14 16:37:39 +00:00
diego
3d7071594c partial update, patch by sevenfourk, sevenfourk gmail com
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28554 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-14 13:06:52 +00:00
diego
1147a78695 Replace fprintf call by mp_msg, fixes the warning:
In file included from libmpcodecs/vf_fspp.c:58:
libmpcodecs/mp_image.h: In function 'mp_image_setfmt':
libmpcodecs/mp_image.h:207: warning: implicit declaration of function 'please_use_av_log_instead_of_fprintf'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28553 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-14 11:43:14 +00:00
reimar
5da2252a2c Cosmetics: handle all special/compressed formats in a single if in mp_image_setfmt
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28552 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-14 08:37:29 +00:00
reimar
8c1978cc26 Add support for image formats and codecs used by VDPAU
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28551 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-14 08:29:45 +00:00
reimar
f78c49e030 Add MP_IMGTYPE_NUMBERED which gives access to the kind of mp_image_t that
are numbered and have a "in use" flag which is necessary for proper
buffer management as e.g. H.264 direct-rendering needs and is already used
successfully for the -vo vdpau work-in-progress.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28550 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-14 08:22:49 +00:00
reimar
9f8792e639 Fix typo in German message.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28549 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-12 20:22:02 +00:00
Gabrov
f99082455e synced with r28532
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28548 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-12 19:28:04 +00:00
reimar
dbc106f4da Remove now unused vo_calc_drwXY function.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28547 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-12 18:03:38 +00:00
reimar
694c3dc03f Add a calc_src_dst_rects that calculates from window size, panscan etc.
which part of the video source must be scaled onto which part of the window.
Direct3D and (future) VDPAU need this, for XvMC it makes it easier to add
cropping support and Xv is changed to keep the diff to XvMC small.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28546 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-12 17:40:53 +00:00
reimar
8c2821f32d 100l, removed a #ifdef the wrong way, CODEC_FLAG_NOT_TRUNCATED no longer exists,
so remove reference to it to fix compilation.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28545 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-12 16:58:47 +00:00
reimar
403de5ac6e Remove trailing whitespace from vd_ffmpeg.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28544 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-12 15:41:59 +00:00
reimar
9fc1c19f7a Replace tabs in vd_ffmpeg by 8 spaces to better match FFmpeg's coding style.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28543 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-12 15:39:32 +00:00
reimar
706f148b78 Remove several #ifdefs that check for libavcodec features from vd_ffmpeg.
They make no sense since only recent libavcodec versions are supported anyway.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28542 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-12 15:35:18 +00:00
reimar
36d0d92f21 Only set VO_EVENT_RESIZE if size actually changed, not if e.g. the window was
only moved to the foreground.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28541 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-12 12:43:14 +00:00
diego
62ca18ed47 Ignore errors from all rm commands in clean targets.
This way make will not stop on failure and remove as much as possible.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28540 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-12 12:32:16 +00:00
diego
802f91138e On clean/distclean, remove binaries with all types of executable suffixes.
This helps clean a tree completely before and after crosscompiling.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28539 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-12 12:17:50 +00:00
diego
1c8e4bfc9f Use addprefix and addsuffix functions to generate TOOLS variable.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28538 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-12 12:13:07 +00:00
stefano
379b176f25 Apply misc fixes for sws_getCachedContext() documentation.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28537 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-12 00:12:10 +00:00
stefano
7342791ae6 Bump micro version, related to r28491.
See the thread:
"[FFmpeg-devel] [PATCH] Explicitely declare {dst, src}Format sws_get*Context() params as enum PixelFormat".


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28536 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-12 00:07:44 +00:00
stefano
6185600f50 Document sws_getContext().
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28535 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-11 23:42:29 +00:00
diego
ceae4989a2 Port check for 10 assembler operands support from FFmpeg.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28534 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-11 23:11:06 +00:00
stefano
f9e26397b7 Document sws_getIdentityVec().
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28533 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-11 21:34:44 +00:00
diego
ddb3438718 Convert "advanced audio usage" into from a subsection to a chapter.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28532 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-11 16:47:57 +00:00
diego
07e3e99f15 Replace a mention of MPlayer by MEncoder in the MEncoder section.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28531 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-11 16:46:45 +00:00
diego
c4167a8ee8 Remove outdated FAQ entries.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28530 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-11 16:45:45 +00:00
diego
f46a19a93f Remove unnecessary _UWIN #define.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28529 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-11 00:38:42 +00:00
stefano
22131f75ee Move sws_getGaussianVec() documentation from swscale.c to swscale.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28528 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-10 23:45:50 +00:00
stefano
87befb386e Document sws_cloneVec().
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28527 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-10 23:43:08 +00:00
stefano
11827cc89f Fix typo: lenght -> length.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28526 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-10 23:40:58 +00:00
stefano
bea91aaf7b Document sws_scaleVec().
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28525 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-10 23:38:01 +00:00
stefano
6ea82ed46c Document sws_getConstVec().
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28524 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-10 23:32:16 +00:00
stefano
2bf95acee3 Move documentation of sws_getCachedContext() from swscale.c to
swscale.h.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28523 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-10 23:26:56 +00:00