1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-27 09:32:40 +00:00
Commit Graph

30620 Commits

Author SHA1 Message Date
stefano
c60f68724c Remove duplicated or pointless newlines.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30361 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-17 23:17:47 +00:00
stefano
aadf8843d7 Factorize error message logging, log it if the converter cannot be
set.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30360 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-17 23:07:37 +00:00
stefano
6db184bb80 Reindent after the last commit.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30359 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-17 23:02:20 +00:00
stefano
3c54865aea Make the pal2rgbWrapper set and use the converter in pal2rgbWrapper
only if the input format is paletted.

Fix potential crashes/weirdness if the input format is non-paletted.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30358 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-17 23:00:01 +00:00
mru
1a8479b95e Remove double const
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30357 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-17 19:26:35 +00:00
stefano
acd1a4075d Factorize error message logging in rgb2rgbWrapper().
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30356 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-17 15:11:25 +00:00
reimar
1a5841fbbb Add a proper header for our strsep implementation so strsep will
not be used without a declaration, causing issues on 64 bit systems.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30355 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-17 15:08:31 +00:00
reimar
ed03545c3c Reuse the fmt-conversion code instead of duplicating the functionality.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30354 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-17 14:58:44 +00:00
reimar
89d8ae77a8 Add big- and little-endian variants of the 15 and 16 bit RGB/BGR formats.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30353 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-17 14:54:38 +00:00
reimar
aedf40e334 Do not depend on PIX_FMT_RGB32 which is (currently?) not part of the public API.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30352 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-17 14:53:12 +00:00
reimar
2f7f6fdb9d More format support in fmt-conversion.c: split RGB32 and BGR32
into ARGB, BGRA, ABGR, RGBA.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30351 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-17 14:40:44 +00:00
mru
1d08d54a97 Reindent
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30350 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-17 14:25:19 +00:00
mru
9c1aafc17c Remove inline from initFilter()
It makes no sense having that function inlined.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30349 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-17 14:25:17 +00:00
reimar
8afef4e19c Hack to avoid a GUID_NULL clash on 64 bit MinGW.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30348 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-17 13:28:29 +00:00
reimar
77af8d0859 Add hack to fix tvi_dshow compilation with 64-bit MinGW
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30347 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-17 13:18:59 +00:00
reimar
33809543d8 Mention systems that have received major build fixes recently in the Changelog.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30346 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-17 12:32:25 +00:00
reimar
535803c310 Set ASFLAGS and HAVE_VFP_ARGS needed to compile for ARM with VFP/NEON support.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30345 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-17 12:27:54 +00:00
reimar
28aa29222e Also try linking against dxguid for SDL test.
Some broken SDL versions need it even though sdl-config does include it.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30344 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-17 11:49:33 +00:00
reimar
8277134a67 Change GUID declarations in vo_directx to be static.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30343 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-17 11:43:55 +00:00
reimar
abf7e21e79 Change GUID declarations in tvi_dshow so they are not exported and thus
will not cause clashes.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30342 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-17 11:41:54 +00:00
stefano
f9569e1114 Add a const qualifier in a cast, fix the gcc warning:
swscale.c: In function ‘sws_scale’:
swscale.c:2968: warning: cast discards qualifiers from pointer target type


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30341 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-17 00:26:29 +00:00
stefano
21a572c8de Add a const qualifier in a cast, fix the gcc warning:
swscale.c: In function ‘planarCopy’:
swscale.c:2256: warning: cast discards qualifiers from pointer target type


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30340 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-17 00:21:50 +00:00
reimar
452993b4eb Allow anything starting with "arm" to be used as --target for ARM CPUs
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30339 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-16 23:22:43 +00:00
stefano
d11d2ab242 Fix typo, "get rid off" -> "get rid of".
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30338 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-16 22:49:00 +00:00
reimar
35c0d80e2f Mention levelconv -vo gl suboption in Changelog.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30337 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-16 20:04:34 +00:00
reimar
d568153204 Document levelconv -vo gl suboption.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30336 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-16 20:03:35 +00:00
reimar
cbd5caef0e Add support for adjustable TV <-> PC level conversion.
This could also be done by modifying contrast and brightness, but
this seems a bit more flexible and easier to use.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30335 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-16 19:59:31 +00:00
stefano
68544d15da Revert r30331, which broke compilation.
swScale_C is not templated if any optimization is to be used and
!runtime_cpudetect.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30334 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-16 19:51:26 +00:00
stefano
e1a3ac7fb2 Prefer enum PixelFormat to int as the parameter type of
fmt_depth(fmt).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30333 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-16 19:32:58 +00:00
stefano
ae2e7d7298 Declare with av_unused the variable alpMmxFilter, fix the gcc warning:
swscale_template.c: In function ‘swScale_C’:
swscale_template.c:2580: warning: unused variable ‘alpMmxFilter’
swscale_template.c: In function ‘sws_init_swScale_C’:


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30332 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-16 19:22:30 +00:00
stefano
5cd08a9945 Factorize the code which calls the non optimized C functions in
getSwsFunc().


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30331 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-16 19:19:54 +00:00
stefano
5ffab28a7c Prefer "to %s%s" over "to%s %s", slightly more readable.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30330 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-16 19:14:29 +00:00
stefano
d77dc477c5 Simplify code in sws_getContext() which logs if the destination format
support dithering, remove the const char *dither variable and use a
literal string instead.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30329 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-16 19:11:03 +00:00
ramiro
3c8de6d006 Document some of SwsContext.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30328 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-16 19:04:55 +00:00
ramiro
14fe9544f9 Reuse h{lum,chr}Filter{,Pos} variables for MMX2 fast_bilinear horizontal scaler.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30327 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-16 18:39:06 +00:00
stefano
5d8bd54019 Factorize code which logs the source and destination formats in
sws_getContext().


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30326 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-16 18:36:21 +00:00
reimar
f65ce5d163 Manually add --nxcompat --no-seh --dynamicbase to linker flags if available,
works around binutils' policy of making exploits as easy as possible by default.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30325 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-16 16:39:46 +00:00
reimar
cd2dbe5939 Fix struct addrinfo check, its definition might not allow actually allocating it.
Fixes MinGW64 compilation.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30324 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-16 16:22:57 +00:00
reimar
a12d96e87e Fix sockaddr_storage check to work with winsock/MinGW
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30323 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-16 16:16:50 +00:00
reimar
5f5462c0ec Add HAVE_FAST_CLZ define and set it to 0 to keep the status quo for now.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30322 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-16 15:21:36 +00:00
reimar
b18ddf9807 HAVE_INLINE_ASM for FFmpeg should be one since we only support
compilers that can do inline asm.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30321 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-16 15:20:26 +00:00
reimar
ee2a738ff8 Document some of the ext_stub magic.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30320 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-16 15:04:17 +00:00
reimar
e09b799ade 100l, forgot to change the "magic" value in the stub also in the place replacing it.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30319 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-16 15:02:49 +00:00
compn
8568e701ea add AV1x, AVup and VDTZ fourcc to ffrawuyvy and VDTZ to rawuyvy
change ffsipr to working (and first choice by default) in codecs.conf


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30318 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-16 13:59:59 +00:00
stefano
4644bd6293 Simplify reset_ptr(): employ usePal() macro rather than enumerating
all the paletted formats.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30317 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-16 11:08:16 +00:00
Gabrov
f7c5fa6a14 synced with r30311
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30316 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-16 10:48:23 +00:00
mru
93710d64bb Add symbol versioning for shared libraries
Based on patch by Reinhard Tartler <siretart tauware de>

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30315 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-16 04:48:55 +00:00
reimar
3abd3dcf57 We only need to disable seeking back in ad_ffmpeg when we actually _use_
a parser, not when just needs_parsing is set.
Fixes playback of e.g. ADPCM in AVI like http://samples.mplayerhq.hu/avi/imaadpcm.avi


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30314 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-15 21:01:31 +00:00
ramiro
87e34c3f3f Don't initialize normal horizontal filter if MMX2 filter is used.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30313 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-15 19:50:59 +00:00
reimar
1c6c7706ec -demuxer rawaudio data will often need parsing (e.g. when it is used for raw
AC3 instead of libavformat), so set needs_parsing.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30312 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-15 19:01:03 +00:00