1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-01 12:22:22 +00:00
Commit Graph

28863 Commits

Author SHA1 Message Date
reimar
2a57385958 Remove apparently unneeded CODEC_FLAG_EMU_EDGE for XvMC
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28594 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-15 15:24:32 +00:00
bircoph
496b348cad Remove trailing whitespaces.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28593 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-15 14:48:30 +00:00
bircoph
9c4a64857b Synced with r28201.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28592 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-15 14:46:32 +00:00
reimar
c618bdde05 Extend get_buffer to handle the XvMC case and remove mc_get_buffer
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28591 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-15 14:10:47 +00:00
reimar
5d21955bb1 Unset MP_IMGFLAG_IN_USE in release_buffer.
This is only needed for MPI_IMGTYPE_NUMBERED support and will probably
first be used for VDPAU, but it is still "the right thing to do".


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28590 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-15 13:24:17 +00:00
reimar
9275737b40 Merge two checks for mpi != NULL
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28589 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-15 13:17:04 +00:00
reimar
eee0fbd3af Make the default release_buffer work for XvMC, use it and remove mc_release_buffer
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28588 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-15 13:14:17 +00:00
reimar
d1e711b21b Get rid of mc_render_slice and use the generic draw_slice instead.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28587 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-15 13:04:57 +00:00
bircoph
a81bf56e8d Update info about contributions.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28586 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-15 12:19:36 +00:00
zuxy
c39bb23833 Fix a regression caused by r17933; RealMedia index tables could never be printed.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28585 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-15 11:01:26 +00:00
zuxy
ce07cc3b5e Support seek in multirate RealMedia files.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28584 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-15 10:50:26 +00:00
iive
c97692ac9d Reflect the change of xvmc struct name.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28583 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-15 08:46:18 +00:00
reimar
b012d635ee WMVA works with VDPAU, too
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28582 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-15 08:12:12 +00:00
reimar
078091e5de Move direct-rendering hack from vo_xvmc to vf_vo, so it does not need to
be duplicated for other systems like VDPAU or VAAPI.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28581 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-15 08:07:36 +00:00
reimar
f8b220a35c Sync fourccs for ffvc1vdpau
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28580 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-15 07:54:25 +00:00
reimar
720feba142 Sync fourcc list for ffmpeg12vdpau
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28579 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-15 07:53:21 +00:00
iive
d999d7652d Now xvmc struct uses magic_id field
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28578 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-15 02:38:20 +00:00
iive
ebe578fc77 Remove display_flag remains as the member has been removed from the xvmc struct.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28577 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-15 02:08:45 +00:00
bircoph
939108d83e Get rid of the trailing whitespaces.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28576 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-15 00:53:02 +00:00
bircoph
c834659ba7 'Capitalize' mplayer -> MPlayer when used as a project name.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28575 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-15 00:51:47 +00:00
bircoph
405639e666 Some more trailing whitespaces.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28574 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-15 00:46:09 +00:00
bircoph
b290c1eae6 Get rid of trailing whitespaces.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28573 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-15 00:44:53 +00:00
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
Uoti Urpala
738f66b1bc Merge svn changes up to r28549 2009-02-13 03:52:51 +02: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