reimar
485b17cc7d
Do not assume that "long" is the size of a register.
...
Fixes aclib compilation on mingw64 (with --enable-runtime-cpudetection).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30177 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-03 09:20:01 +00:00
reimar
4a981bf09a
Also detect fontconfig when it requires -liconv
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30176 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-03 09:11:20 +00:00
reimar
ec0c6d2a91
Change fribidi check to also work without fribidi-config.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30175 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-03 01:00:21 +00:00
reimar
2e557e3b28
Add support for JPEG2000 via FFmpeg/OpenJPEG
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30174 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-03 00:58:56 +00:00
reimar
1d3fd9e1ea
Also support decoding of 8-bit-per-component dpx files.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30173 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-03 00:50:15 +00:00
stefano
e786fb79c5
Simplify usePal() macro, make it use av_pix_fmt_descriptors.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30172 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-03 00:22:49 +00:00
stefano
f192bfea2a
Simplify getSubSampleFactors(), make it use the values provided by
...
av_pix_fmt_descriptors().
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30171 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-03 00:09:24 +00:00
reimar
13fe3d4986
Mark AC3 as 16-bit format, this simplifies alignment calculation and fixes
...
hwac3 with ALSA reportedly broken by r29750.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30170 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-02 20:45:27 +00:00
reimar
12760fc513
Several hacks to fix compilation of tvi_dshow on MinGW64.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30169 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-02 17:41:11 +00:00
reimar
f4f37e555a
Fix typo in code disabling VIDIX on mingw64
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30168 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-02 16:55:41 +00:00
reimar
bb99b3f640
Disable vidix on 64 bit MinGW compiles, it seems to fail compiling and
...
certainly was never tested.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30167 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-02 16:47:26 +00:00
reimar
c1d166be18
Fix compilation if FreeType is not available, in particular do not try to build
...
libass and use the internal ass.h as a stub for structs needed for EOSD.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30166 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-01 18:51:59 +00:00
reimar
92cd6dc3e9
Simplify range-checking functions for subopt parsing.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30165 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-01 13:23:16 +00:00
reimar
f102ac7a8c
Fix function declarations to avoid casting function pointers.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30164 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-01 13:18:49 +00:00
reimar
5f684e1b32
Slightly generalize code to generate YUV->RGB conversion table and add
...
XYZ->RGB conversion as an example for that.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30163 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-01 12:54:09 +00:00
jrash
85344073fa
sync with en/mplayer.1 r30135
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30162 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-01 12:53:28 +00:00
reimar
6450271656
Make YUV->RGB conversion coefficients selectable for -vo gl.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30161 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-01 12:47:43 +00:00
reimar
17c214c820
Do not needlessly use the BP register in x86_64-specific code, there are
...
enough other registers available that are less likely to cause issues.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30160 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-01 09:46:24 +00:00
reimar
0eb6b9aa95
One more fix for -vf scale with alpha.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30159 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-01 01:25:35 +00:00
reimar
c0cae7b327
Also pass alpha plane to swscale, avoids crashes when converting between
...
YUV with alpha and some other format supporting alpha.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30158 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-01 01:06:34 +00:00
reimar
8afc25d710
Add support for YUV format with alpha and fix the codecs.conf entry for vp6a
...
to use it.
Fixes playback of samples in http://samples.mplayerhq.hu/FLV/flash_with_alpha/
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30157 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-31 23:45:07 +00:00
reimar
c07dec1a4a
Also pass the 4th plane for planar formats on to libavcodec.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30156 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-31 23:39:21 +00:00
reimar
0ff930da82
Try to put the list of output formats for vf_scale in a more sensible
...
order.
While the 16-bit yuv formats should not be preferred over the 8-bit ones,
it seems reasonable to probe them directly after the equivalent 8-bit formats.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30155 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-31 23:25:21 +00:00
reimar
a994808e31
Deduplicate the mp_image planes allocation code.
...
The code in vf.c and mp_image.c is almost the same, though the one in vf.c
is more up-to-date/has more bug fixes and thus is used as the basis
(which is why the diff is so big).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30154 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-31 23:09:35 +00:00
reimar
2150bddc74
Add support for FFmpeg's ffv210 codec.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30153 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-31 22:53:51 +00:00
reimar
a326622304
Add support for 16-bit per component YUV formats.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30152 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-31 22:53:25 +00:00
reimar
498ad7ba57
First steps to supporting different YUV->RGB conversion definitions.
...
The numbers are possibly still wrong though.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30151 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-31 19:59:58 +00:00
reimar
0ecf324ac5
Extract functions to generate yuv->rgb matrices and lookup tables into a
...
separate file.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30150 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-31 18:25:35 +00:00
reimar
c4c806a9d7
Put the colourspace-related variables into a separate struct to ease
...
extracting the code and sharing with other vos.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30149 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-31 18:07:37 +00:00
reimar
8fb7d45abd
Make code slightly more readable.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30148 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-31 16:47:53 +00:00
reimar
b78313acd8
Fix crash if http reply contains neither "Accept-Ranges" nor "Server" fields.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30147 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-31 16:46:44 +00:00
reimar
54e6b786f4
More readable fourcc for ffflac
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30146 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-31 11:29:21 +00:00
reimar
c97d19eb49
Add a hack for broken youtube servers not returning Accept-Ranges.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30145 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-30 20:50:03 +00:00
compn
e25e6ec309
add tm2x / tm2a binary decoder
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30144 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-30 19:37:19 +00:00
reimar
3daa4e73cc
Make the ffmpeg decoders for DTS and AC3 the default.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30143 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-30 19:30:06 +00:00
reimar
22c0b2ed57
Support 440P in scale filter.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30142 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-30 12:06:09 +00:00
reimar
1eb19f0a16
FFmpeg JPEG codecs can output 440p format.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30141 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-30 12:03:53 +00:00
reimar
cc46a64a26
Add support for 440p colorspace.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30140 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-30 12:03:17 +00:00
reimar
8e35068138
Support all planar YUV formats in OpenGL vos.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30139 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-30 11:32:24 +00:00
reimar
92f20f876f
Add a helper function to get the chroma scale shift and use to simplify mpi setup.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30138 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-30 11:08:44 +00:00
gpoirier
427039acff
sync w/r30135 (up to date at last!)
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30137 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-29 22:16:28 +00:00
diego
3e8f2815c1
cosmetics: tabs to spaces, K&R function declarations, cuddle else clauses
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30136 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-29 18:09:07 +00:00
compn
d47cd2aa67
change bandwidth value to bandwidth bytes
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30135 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-29 13:43:03 +00:00
cehoyos
ed4dbd3cbd
Do not use correct-pts for mpeg-ts and matroska: It breaks PAFF samples.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30134 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-28 13:49:08 +00:00
cehoyos
d79daa2736
Revert r30100: It breaks some mov and asf samples.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30133 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-28 13:39:26 +00:00
diego
f20cd805ec
Remove unused variable, fixes the warning:
...
libswscale/swscale_template.c:2575: warning: unused variable ‘srcFormat’
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30132 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-28 12:05:20 +00:00
compn
0c6287921f
add lavc yuv rawcodecs to codecs.conf
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30131 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-27 20:57:03 +00:00
reimar
ca2af2d0e7
Add support for parsing audio streams (though should be easy to extend to video)
...
via libavcodec.
Parsing can be done at the demuxer stage (currently disabled) or at the decoder
(ad_ffmpeg, enabled).
Should allow using the libavcodec AAC, DTS, ... decoders independent of container
format.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30130 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-27 15:28:01 +00:00
reimar
bcda7b2f99
Remove currently unneeded members accidentally added in the last revision.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30129 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-27 14:42:37 +00:00
reimar
52dab179cb
Introduce a sh_common struct that contains the parts in common by the audio, video
...
and sub "stream headers".
One reason for this is to help avoid/make more obvious things like members with
the same function but different name (extradata vs. codecdata etc.), or members
with the same name but different semantics (pts for audio vs. pts for video).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30128 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-27 14:40:56 +00:00