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

66 Commits

Author SHA1 Message Date
cboesch
fe3c4810e1 cleanup: remove NULL checks before free() all over the code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32624 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-11-14 13:11:20 +02:00
Uoti Urpala
b0986b3760 Merge svn changes up to r30463
Note that r30455 is wrong, that commit does not in fact change the
default behavior as claimed in the commit message. It only breaks
"-af-adv force=0", which was already pretty much useless though.
2010-03-09 18:59:15 +02:00
diego
23db422c3d Add missing license headers to all files in the libmpcodecs directory.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30463 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-30 16:57:40 +00:00
Uoti Urpala
0eb321bf2c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
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
Uoti Urpala
cf9edda1d3 Merge svn changes up to r29117 2009-04-01 02:43:47 +03: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
Uoti Urpala
79e1aa7cc7 Merge svn changes up to r28341
Conflicts:
	configure
	libmpcodecs/native/rtjpegn.c
2009-01-19 00:04:43 +02: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
Uoti Urpala
0301309425 Merge svn changes up to 27824
Conflicts:
	cfg-common-opts.h
	libmpcodecs/dec_video.c
	libmpcodecs/vd.c
	libvo/x11_common.h
	mplayer.c
	stream/cache2.c
2008-10-25 05:12:34 +03: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
Uoti Urpala
259ea9d703 Merge svn changes up to r27573
Conflicts:
	libmpcodecs/vd_ffmpeg.c
2008-09-10 23:59:08 +03: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
Uoti Urpala
267a3f4c9c Merge svn changes up to r26680
Conflicts:

	Makefile
	configure
	osdep/timer-darwin.c
2008-05-07 13:15:37 +03: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
Uoti Urpala
31db39d8ec Make video decoder description structs const
This makes the per-decoder struct vd_functions and its ->info
struct constants. Same for the mpcodecs_vd_drivers[] table of
pointers to those structs.
2008-04-25 07:16:32 +03:00
Uoti Urpala
7dc4226348 Move vd_use_slices to options struct 2008-04-25 07:15:07 +03: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