1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-18 21:06:00 +00:00
Commit Graph

1609 Commits

Author SHA1 Message Date
rik
830063b190 Cosmetics and comments.
Patch by Karolina Lindqvist <karolina.lindqvist@kramnet.se>
"This is the whitespace patch for vf_zrmjpeg.c with doxygen comments that I
promised a while ago."

Some additional whitespace fixes by me, there are no functional changes.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19957 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-23 16:28:57 +00:00
rik
4bb03ad126 Patch by Karolina Lindqvist <karolina.lindqvist@kramnet.se>
"This patch is the MMX optimizations for the zrmjpeg filter, which is used by
the zr2 video output driver."

With some small changes by me:
- column width=80
- kept jpeg_enc_* functions static because they confuse the current vo_zr.c
- did not include jpeg_enc.h because jpeg_enc functions are still static


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19956 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-23 15:31:21 +00:00
diego
69f718e99a verbosity--;
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19950 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-23 10:42:03 +00:00
reimar
067c55bb46 Add forgotten emms which caused weird bugs like nan pts values.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19948 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-23 09:18:20 +00:00
reimar
9c4bdf068e Fix compilation if HAVE_MMX is defined but NAMED_ASM_ARGS isn't
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19929 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-22 09:33:30 +00:00
diego
33832856df Replace preprocessor hacks to work around compilers not supporting named
assembler arguments with a proper configure check.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19894 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-18 16:48:50 +00:00
lucabe
1f88518638 Use PIX_FMT_* instead of IMGFMT_* when calling sws_getContext()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19876 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-17 15:02:13 +00:00
ods15
62967911f0 conditional declerations are unnecessary
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19869 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-17 10:24:26 +00:00
eugeni
21faec3791 Add repeated screenshot mode to vf_screenshot.
It is triggered by "screenshot 1".


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19839 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-15 13:27:59 +00:00
lorenm
44a1a8ecb7 mmx implementation of yadif. 3.5x faster.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19836 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-14 04:00:49 +00:00
lorenm
4b28d2e4d4 cosmetics (indentation)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19835 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-14 03:59:48 +00:00
lorenm
b30e300dca cosmetics
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19834 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-14 03:59:28 +00:00
diego
e8dc2242b9 Add noglobal counterpart to the global flag.
patch by Jeff Clagg, snacky {at} ikaruga {dot} co {dot} uk


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19629 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-01 20:38:45 +00:00
rik
3d5fedd66a Patch from Karolina Lindqvist <karolina.lindqvist@kramnet.se>
"There is a bug in the zoran -vo zr driver, that makes the output garbled
always. It also probably affects the zrmjpeg filter.  This patch takes care of
the problem."

Patch tested and OK. And 10l to me, because this bug probably has existed for a
looong time.



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19625 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-01 18:49:40 +00:00
diego
66b1d0d001 The FSF changed postal address.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19620 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-01 12:11:11 +00:00
aurel
b127df8645 fix build failure when ASS is disabled
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19588 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-28 23:32:24 +00:00
michael
7f3113fab8 "global header" support, this is pretty much just copy and pasted code from
libavcodec/x264.c and libmpcodecs/ve_lavc.c, with it -ovc x264 can be used 
together with lavf to make working .psp files amongth other things
feel free to reverse, flame, ...


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19583 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-28 19:32:53 +00:00
eugeni
cc6a66766d Add EOSD support to vf_vo.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19582 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-28 19:10:11 +00:00
michael
86a3d94253 segfault fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19575 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-28 18:09:58 +00:00
eugeni
432868f92c Add -(no)ass-use-margins option.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19569 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-28 15:12:45 +00:00
eugeni
a7146f5551 Zero fill ass_settings_t before use.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19556 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-27 10:57:29 +00:00
eugeni
2ddfdc85b3 Add VFCTRL_DRAW_EOSD.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19527 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-24 22:10:43 +00:00
reimar
fa94660a60 A value of 2 is valid for noup, too
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19526 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-24 17:21:03 +00:00
eugeni
43a971a720 Simplify vf_ass initialization.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19523 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-24 15:36:20 +00:00
reimar
c8007742e7 Get rid of useless vf->priv casts
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19469 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-20 22:48:36 +00:00
diego
b02e7924b9 Move all internal -I parameters to the front of CFLAGS to avoid using external
header files that happen to have the same name as internal ones.
based on a patch by Vladislav Naumov, vladislav.naumov **at** gmail **dot** com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19426 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-17 17:19:56 +00:00
ivo
0242e630f9 display correct audio bitrate, samplerate and number of channels once
they are known for mplayer -identify



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19409 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-15 20:06:31 +00:00
ivo
f503cce428 display corrected aspect ratio for mplayer -identify
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19408 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-15 19:51:57 +00:00
gpoirier
6c1bca9b66 Set encoder's input format to "native endiannes", instead of little endian.
Original thread:
Date: Aug 9, 2006 11:55 PM
Subject: Re: [PATCH] bugfix: lame endianess for Solaris/SPARC

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19403 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-15 14:32:50 +00:00
uau
3b436fd963 Remove empty function that isn't used anywhere (and never has been??).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19399 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-14 17:55:38 +00:00
uau
77760ff64e Fix buffer size sanity check to match what is actually required.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19398 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-14 17:37:47 +00:00
uau
e9b1adff17 Change pcm decode_audio to return data based on minlen instead of maxlen
to avoid demuxing unnecessarily much at once.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19389 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-13 23:09:17 +00:00
diego
b89020afc8 Replace asmalign.h hack by ASMALIGN cpp macros from config.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19378 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-13 00:21:14 +00:00
michael
b85ad74dc9 pass average bitrate from encoder to (lavf) muxer
this fixes some problems with muxing mp4 files for the psp


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19366 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-10 21:48:41 +00:00
diego
4d82067c91 cosmetics: Rename some variables for consistency.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19354 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-07 08:57:43 +00:00
eugeni
d6f16f6889 "[ass] init" message looks better when it starts with the capital letter 'I'.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19347 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-06 18:02:42 +00:00
ben
d4b05b8312 fix a/v sync issues when using ad_hwmpa
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19292 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-01 18:44:31 +00:00
pacman
fafd27da46 Fix SVQ3 extradata handling so it works correctly with demux_lavf
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19284 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-31 22:26:25 +00:00
pacman
0265bf2065 Fix bogus pointer addition in the extraction of extradata from
BITMAPINFOHEADER.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19283 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-31 22:19:48 +00:00
ben
49867bd432 introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19277 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-31 17:39:17 +00:00
diego
e9e6d8b29e There is a reference to a file COPYRIGHT that we do not include, so paste
the contents of COPYRIGHT into the file header.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19269 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-30 22:17:25 +00:00
diego
22b5b6d0f5 Unify include paths in the build system, part I.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19195 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-27 10:08:17 +00:00
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