Commit Graph

55 Commits

Author SHA1 Message Date
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
reimar 22b2f80efb Use MP_MAX_PLANES as size of arrays passed to mpcodecs_draw_slice.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29098 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-29 14:15:09 +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 4722fa0b82 IWMMXT optimizations were removed from our internal libmpeg2 copy, so now
remove it from the library interface code as well.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27812 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-22 23:39:39 +00:00
diego 5c282f9a49 Remove version information from libmpeg2 vd_info_t struct.
It is available in other places and needs to be updated continuously.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27532 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-06 18:13:44 +00:00
diego 7e9a5ca50a Enable Alpha/ARM optimizations in libmpeg2.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26626 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-01 12:30:29 +00:00
diego fabb1b271a Backport SSE2-optimized IDCT routines from upstream libmpeg2.
Thanks to Alexander Strange for finding and fixing some bugs.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26425 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-12 22:42:00 +00:00
reimar 539ab7489e Avoid reinit of vo with the exactly same parameters over and over.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26009 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-16 14:31:34 +00:00
diego 835c654bb0 typo fix: inited --> initialized
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25994 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-14 14:23:55 +00:00
reimar 1233361b46 Avoid void * arithmetic
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23936 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-30 14:52:07 +00:00
henry d4f2e185b4 pass the interlacing info to the filter chain
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20655 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-04 07:08:54 +00:00
reimar 6083bf7270 Set mpi stride, mostly fixes http://samples.mplayerhq.hu/MPEG2/res_change_ffmpeg_aspect.ts
with e.g. -vo x11 and -vo gl (-vo xv was not affected).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20607 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-02 16:20:25 +00:00
diego 60f223f766 Move #ifdefs around complete files into the build system.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18774 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-21 14:49:09 +00:00
nicodvb 7c516063da moved code to set aspect ratio for mpeg12 away from video.c and into decoder files; A/R changes work correctly with -vc mpeg12
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18429 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-05-10 22:03:18 +00:00
uau 453747f9e5 Fix memory corruption in vd_libmpeg2
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18302 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-27 02:46:33 +00:00
diego 36e1974be0 Unify include path handling, -I.. is in CFLAGS.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17013 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-18 14:39:25 +00:00
henry 8b330187f6 reserve enough memory for image
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14076 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-01 09:35:31 +00:00
henry 3533bc959c fix segfault with (height|width)%6!=0
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14017 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-11-22 15:32:08 +00:00
henry c27c550353 1e6l fix (use 422P instead of UYVY)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14013 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-11-22 10:20:47 +00:00
henry a17f2fa7b4 libmpeg2 4:2:2 decoding
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13996 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-11-20 14:37:38 +00:00
henry 2f65cafa17 clenups
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13153 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-08-26 12:07:02 +00:00
faust3 3f14dd0269 some more segfault fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13151 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-08-26 10:34:20 +00:00
faust3 28ced008bc prevent libmpeg2 from freeing sh
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13140 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-08-25 16:29:21 +00:00
henry d0690e8d07 actually use the acceleration on SPARC
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13118 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-08-24 17:11:02 +00:00
henry fac93536f1 libmpeg2 B-frame fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13113 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-08-24 16:15:56 +00:00
henry 267c4e26d3 forgotten libmpeg2 postprocessing
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12936 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-08-02 13:09:17 +00:00
henry 943139cc78 Importing libmpeg2 from mpeg2dec-0.4.0b
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12933 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-08-02 11:26:43 +00:00
iive 2583016302 display height may be a lot smaller or larger than picture height, sample provided by winnicki
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12573 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-06-12 16:35:52 +00:00
attila 12882989fc skip null frames in mpeg files, patch by Zoltan Hidvegi <mplayer@hzoli.2y.net>
I have an mpeg2 avi (created with mencoder -oac copy -ovc copy from a
dvd) that has null frames, probably inserted by mencoder.  I can play
that with -vfm ffmpeg, but mplayer dump when played with the default
libmpeg2, the trivial patch below fixes that.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11081 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-10-11 11:21:54 +00:00
rfelker 48ecb3e717 clean up field flags:
1) cosmetic change, no reason these need to be mpeg2-specific
2) add a flag to tell when fields are ordered, so we don't have to
assume bff (which would usually be wrong) when field flags are not
available.
3) add other flags for future use :)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10664 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-18 14:49:06 +00:00
ranma 9f62dfb2c8 Add mpeg2_flags to mp_image_t, copy flags in vd_libmpeg2.c,
and add vf_softpulldown.c.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10511 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-03 12:09:58 +00:00
arpi 1e7ad12bf4 libmpeg2-altivec patch by Magnus Damm <damm@opensource.se>:
Make sure that altivec gets enabled in libmpeg2


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10268 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-06-09 12:10:42 +00:00
arpi 2f2918587f fixed mem corruption bugs
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10251 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-06-06 19:12:08 +00:00
alex 6bcef87206 too verbose
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9939 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-19 14:33:38 +00:00
michael 40a073bea4 passing qscale_type around so the pp code can fix the mpeg2 <<1 thing
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9926 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-18 13:18:59 +00:00
arpi dad8b4c2b5 w%8!=0 hack
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9920 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-15 19:02:00 +00:00
arpi 721a4640de Oops :)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9861 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-06 16:49:23 +00:00
arpi 61a122e96f Rewritten, to use new libmpeg2 0.3.1 API
based on work by Fabian Franz <FabianFranz@gmx.de>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9860 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-06 16:43:46 +00:00
arpi 94b6f5baba usage of libmpeg2, liba52, mp3lib & svq1 can be disabled
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8027 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-01 16:40:15 +00:00
michael ba80103442 passing picture_type (might be usefull for postprocessing)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7958 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-29 11:26:26 +00:00
arpi 539d77e892 10l. use mpcodecs_draw_slice, instead of libvo directly
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7757 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-16 19:26:30 +00:00
arpi 90398b7167 we don't need the 0x1FF hack any more
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7465 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-21 22:38:41 +00:00
arpi 1b667f61ba -afm/-vfm migration from ID (int) to NAME (string) - simplifies code and makes dlopen()'ing possible
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7181 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-30 21:44:20 +00:00
arpi c5b93b3e1e slices+field pictures fixed, initial sig11 workaround
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5676 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-18 15:03:08 +00:00
arpi 4efbbf02fa draw_slices with framedrop fixed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5614 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-14 01:21:13 +00:00
arpi 4a3916336d missing #ifdfe - 0.1l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5517 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-07 16:34:15 +00:00
arpi 2563ac95f0 quant_store moved to frame struct
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5516 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-07 16:32:54 +00:00
arpi eb72b1462d use -slices
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5486 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-04 00:03:44 +00:00
arpi 4cfb38c8a2 rewritten - it replaces libmpeg2/decode.c now
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5466 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-03 02:39:02 +00:00
iive c1205011cc ported back hack for interlaced mpeg2, without it mplayer draws whole frame for every field -100% slowdown
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5361 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-26 17:05:09 +00:00