1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-22 15:56:59 +00:00
Commit Graph

1567 Commits

Author SHA1 Message Date
michael
14ddfdddf8 vertical scaler with accurate rounding, some people on doom9 can see +-1 errors
the +-1 issue is limited to >2tap vertical filters, so bilinear upscale was unaffected
the new code is sometime faster sometimes slower but the difference is significant (~20%) so its optional and enabled with arnd=1


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19177 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-24 10:36:06 +00:00
gpoirier
a759a80397 in some cases, vf_bmovl produces junk due to source and
destination stride mismatch. The attached patch fixes it by replacing
memcpy with memcpy_pic.
Patch by Jindrich Makovicka
Original thread:
Date: Jul 12, 2006 6:35 PM
Subject: [MPlayer-dev-eng] [PATCH] vf_bmovl: respect destination stride


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19171 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-23 14:35:04 +00:00
gpoirier
e746e16d88 -vf pp7 overblurs still parts of the image, which
have qp=1, and qp becomes zero after the >> 1. Modifying the threshold
table for qp=0 so it copies the qp=1 case seems to fix the problem.
Patch by Jindrich Makovicka % makovick AH gmail P com %
Original thread:
Date: Jul 22, 2006 2:55 PM
Subject: [MPlayer-dev-eng] [PATCH] -vf pp7 artifacting in still MPEG2 images


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19170 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-23 13:38:20 +00:00
nicodvb
6ca4f9ea81 in decode_audio() memset(0) unused memory in buf before returning
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19164 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-23 08:35:18 +00:00
nicodvb
be75a5f7d7 don't do the work of mp_get_mp3_header() and, as a side effect, prevent a deadlock due to a missed cnt++
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19163 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-23 07:52:51 +00:00
nicodvb
f87e61e782 the value returned by decode_audio() must be the amount of _decoded_ bytes (finally it's beginning t work: no more toomanypackets... message)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19162 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-22 22:14:14 +00:00
ben
b1b0d86c7e moved mpeg_packetizer helpers to libmpdemux
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19146 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-19 22:13:50 +00:00
ben
5e2623cb49 new mpeg helpers to build and send mpeg 1/2 ps/pes packets (used by some vo drivers)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19141 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-19 21:46:06 +00:00
rtogni
c885bca73c Quit on eof, was broken by r17150
Noticed by LR hephooey  gmail com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19140 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-19 18:20:25 +00:00
rfelker
beb4f8e000 old 10l: do not try to compile mmx code if we do not have mmx
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19135 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-19 04:54:27 +00:00
lorenm
e08fe8174f sync to x264 r537 (api change)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19130 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-18 01:28:56 +00:00
nicodvb
9059d9f95e prevent buffer underflow; the code is still incorrect and leads to desync but at least it doesn't crash
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19125 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-16 16:34:05 +00:00
reynaldo
d427579f79 marks several read-only string parameters and function return-values which can only be used read-only as const. Patch by Stefan Huehner, stefan _AT huener-org
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19113 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-16 01:20:30 +00:00
reynaldo
58ed2c3fe0 marks several read-only string parameters which aren't modified inside the called function as const. Patch by Stefan Huehner, stefan AT huehner-org
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19109 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-15 16:03:12 +00:00
ivo
b6fa4fa203 print frame type and keep track of last encountered keyframe
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19101 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-15 10:35:22 +00:00
ivo
761c684fc8 new black frame detection filter
by Brian J. Murrell, Julian Hall and me.



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19099 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-15 09:18:44 +00:00
diego
f89a7da604 Remove support for obsolete and non-free divx4/odivx libraries.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19087 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-14 17:14:16 +00:00
diego
b5de6c39e6 Remove #if LIBAVCODEC_BUILD >= XXX and #if LIBAVFORMAT_BUILD >= XXX jungle.
It served no apparent purpose anymore.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19078 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-13 23:02:03 +00:00
reynaldo
c0c641f0e3 marks several function without a prototype which arent used outside its sourcefile as static, Patch by Stefan Huehner - stefan AT huehner-org
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19071 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-13 20:59:18 +00:00
reynaldo
d8c03e95a5 drops casts from void * on malloc/calloc, leftover on libmpcodecs
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19070 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-13 20:23:34 +00:00
diego
f7d4dd174b OPTFLAGS already includes EXTRA_INC.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19042 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-12 17:58:07 +00:00
rfelker
9335d08615 c++ decls, 100000000000l to whoever broke my code like this..
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18991 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-10 02:54:43 +00:00
reynaldo
4728357b58 Marks several string parameters as const when they are not modified in the function, Patch by Stefan Huehner, stefan AT huehner-org
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18985 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-09 17:45:36 +00:00
diego
e364249f21 Remove unused variables, patch by Stefan Huehner, stefan ##at## huehner org.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18981 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-09 16:01:36 +00:00
diego
a356cbcc01 Remove unused variables, patch by Stefan Huehner stefan at huehner org.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18963 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-08 17:28:36 +00:00
eugeni
e15ae9a600 Initial libass release (without mencoder support).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18942 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-07 18:26:51 +00:00
uau
e2727ec797 Add a new video pts tracking mode, enabled by option -correct-pts.
This mode has the following differences:
- Video timing is correct for streams with B frames, at least with some
  demuxers.
- Video filters can modify frame timestamps and insert new frames, and
  removing frames is handled better than before.
- Some things are known to break, it's not usable as the default yet.

Things should work as before when the -correct-pts option is not used.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18922 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-06 06:58:17 +00:00
reynaldo
132173bbf0 get_path as const, patch by Stefan Huehner, stefan AT huehner-org
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18894 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-03 23:27:37 +00:00
reynaldo
3afd65b3af rm unnecesary casts from void* - part 3
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18884 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-02 08:17:07 +00:00
diego
d4d3146c8a postprocess.h was moved to libpostproc years ago..
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18867 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-30 12:38:22 +00:00
lucabe
cc30aae17b Move postproc ---> libswscale
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18866 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-30 12:00:31 +00:00
reynaldo
a97779a3de correct handling of sgi compressed images on amd64, patch by Paul-Francois Fontigny - pff AT filmik-be
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18860 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-30 03:18:12 +00:00
reimar
1f3936ab24 Avoid crash in uninit-without-config case
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18825 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-26 17:01:07 +00:00
uau
c22ccbb864 Revert Michael's VFCTRL_FLIP_PAGE changes ("svn merge -r 18781:18779 .")
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18782 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-21 23:50:23 +00:00
michael
a8d08eee90 intercept VFCTRL_FLIP_PAGE if needed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18781 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-21 20:52:07 +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
diego
1f5613892e Comment #ifdef #endif jungle.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18771 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-21 11:59:07 +00:00
diego
7f70c8316b Comment some #endif directives to avoid confusion.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18769 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-21 10:53:20 +00:00
diego
1127c1e91d Remove separation between Win32 DLL and DirectShow support in the build system.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18768 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-21 09:45:17 +00:00
michael
1bb2f978aa avcodec_close()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18755 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-19 09:15:46 +00:00
lucabe
f4091e4791 Software Scaler headers usage cleanup
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18749 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-18 10:59:23 +00:00
rathann
d686f4e3cf sync with liba52 0.7.4, patch by Emanuele Giaquinta >emanuele.giaquinta ! gmail * com<
part 1: functional changes


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18723 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-15 22:58:06 +00:00
diego
6bd15c6929 typo noticed by Alexander Monakov monoid$$at$$fds-net$$dot$$ru
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18687 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-12 15:19:58 +00:00
michael
790e5ae5b4 better spatial interpolation
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18658 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-09 10:29:35 +00:00
michael
6df3281fb8 filter left & right edges too (yeah the code is lame i know...)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18649 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-08 12:30:53 +00:00
michael
f4957d7a26 improved mc+src merge code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18648 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-08 10:36:35 +00:00
gpoirier
92ae184367 fixes the infinite loop which occurs when there is a decode error in a frame.
Patch by Bryan Alton < balton AH eircom POIS net >
Original thread:
Date: Jun 6, 2006 10:52 AM
Subject: [MPlayer-dev-eng] [PATCH] fix for faad2 infinite loop after 
decoding error


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18645 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-08 06:56:13 +00:00
nicodvb
224da24ca9 vf_mcdeint should be compiled in #ifdef USE_LIBAVCODEC_DSPUTIL, not #ifdef USE_LIBAVCODEC
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18636 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-07 22:14:00 +00:00
michael
e4c69a6919 make spatial interlacing check optional
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18627 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-07 17:21:45 +00:00
michael
81d95fdb6d simplify
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18626 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-07 16:46:52 +00:00