cehoyos
e9942166df
Teletext display does support font scaling via OSD font scaling, remove
...
TODO item.
Patch by Francesco Lavra, francescolavra interfree it
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29809 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-10-31 15:34:18 +00:00
cehoyos
631d5f1f84
Replace two more occurences of tvi_vbi with dec_teletext.
...
Patch by Francesco Lavra, francescolavra interfree it
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29808 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-10-31 15:30:56 +00:00
cehoyos
91943aa9fa
Remove incorrect comment.
...
Original patch by Francesco Lavra, francescolavra interfree it
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29807 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-10-31 15:28:28 +00:00
cehoyos
9df11ee8bf
Add MSGT_TELETEXT, rename TVI_CONTROL as VBI_CONTROL and fix some paths
...
in comments.
Based on a patch by Francesco Lavra, francescolavra interfree it
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29802 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-10-29 22:39:00 +00:00
cehoyos
a9474b0b39
Move teletext specific code from stream into libmpcodecs.
...
Patch by Francesco Lavra, francescolavra interfree it
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29801 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-10-29 22:13:04 +00:00
lorenm
e155d3d9f9
sync to x264-r1296
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29787 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-10-19 21:23:08 +00:00
diego
d87e0718d8
Add missing '#include "config.h"', the header uses HAVE_BIGENDIAN.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29783 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-10-19 09:50:51 +00:00
diego
f806e745e2
Mark some functions that do not need external visibility as static.
...
patch by Alexander Neumann, alexander bumpern de
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29744 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-09-30 23:47:00 +00:00
diego
4b3525f79f
Reduce console output verbosity: Move colorspace information to verbose mode.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29742 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-09-30 14:55:43 +00:00
reimar
3f9cacf5d5
Change type to avoid void * arithmetic.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29716 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-09-25 09:44:41 +00:00
reimar
101d331f62
Set codec_type and codec_id in codec context for lavc encoders.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29715 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-09-25 09:43:59 +00:00
reimar
4834e21162
Make sure avctx->codec_type and codec_id are set, since libavcodec
...
currently requires that.
That probably is an unintended API change and should be fixed/reverted
in lavc but it hurts little to workaround here.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29709 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-09-23 19:21:38 +00:00
reimar
de85aebe1e
Use x264_encoder_delayed_frames instead of the current hack to flush delayed
...
frames in VFCTRL_FLUSH_FRAMES.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29705 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-09-23 12:26:44 +00:00
lorenm
1893615656
sync to x264-r1260 (which changed api)
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29704 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-09-23 12:01:04 +00:00
reimar
ae72cfc729
Add several HAVE_EBX_AVAILABLE conditions where necessary
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29681 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-09-14 14:47:56 +00:00
reimar
061da8b24b
%lf is not a valid printf format specifier, use just %f instead.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29680 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-09-14 13:16:35 +00:00
reimar
d5d5bbbb35
Always keep a backup of the expand values from the command-line, so values
...
will be recalculated correctly e.g. after aspect change and -vf expand=aspect=4/3
command line.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29666 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-09-10 16:49:20 +00:00
reimar
b3237275e3
Reindent
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29554 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-26 19:06:14 +00:00
reimar
d66f6b4538
Retry deciding to get audio parameters several times on errors, this avoids
...
failing to init the decoder completely just because the first packet is broken.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29553 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-26 19:05:36 +00:00
tack
f89696a8e2
Fix incorrect channel ordering for lavc audio codecs (specifically ffac3,
...
ffdca, ffflac, ffaac, fftruehd). In the process, adds support for 32-bit
samples.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29533 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-18 22:24:36 +00:00
reimar
a3d39e2702
100l, fix compilation again and make codec-cfg.c use the predefined constants
...
instead of reimplementing the IMGFMT_RGB|bit_depth logic.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29500 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-12 01:03:21 +00:00
reimar
c9f520a3f9
1000l, RGB48BE does _not_ use 49 bit/pixel, probably fixes 48 bit PNG decoding.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29499 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-12 00:51:09 +00:00
cehoyos
b92666b582
Add IMGFMT_RGB48LE and IMGFMT_RGB48BE.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29486 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-11 17:51:11 +00:00
reimar
a04ec2484b
Add a giant hack to the x264 encoder module to ensure all delayed frames are
...
written on FLUSH_FRAMES, this is necessary since using multiple threads adds
an additional delay beyond the B-frame delay.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29480 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-07 09:07:02 +00:00
ben
d4419a7869
Replace macro: MAX -> FFMAX
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29479 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-06 20:04:19 +00:00
eugeni
9cd56d5e40
Fix stupid, off-by-one, mistakes in assert() expressions.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29448 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-07-27 19:39:23 +00:00
diego
e5751ced4f
Replace WORDS_BIGENDIAN by HAVE_BIGENDIAN in all internal code.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29443 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-07-26 19:53:00 +00:00
eugeni
bad51c711f
Make sure clip coordinates are inside the screen area.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29425 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-07-18 11:33:03 +00:00
lorenm
edad3fb8c2
20% faster hqdn3d on x86_64
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29414 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-07-07 02:49:26 +00:00
lorenm
88fc4806b9
new debanding filter
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29413 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-07-07 02:01:36 +00:00
gpoirier
17eaff1a38
replace "g" asm constraint by "erm" since "g" allows 64bit immediates while
...
the operator (cmp) using the "g"-constrained operand doesn't support 64bit
immediates.
Original thread:
date: Tue, Jun 2, 2009 at 11:31 AM
subject: [PATCH] Fix MPlayer to compile on Darwin/x86_86
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29352 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-07 14:42:43 +00:00
reimar
d90d9d3d22
Switch to avcodec_decode_video2 to allow a hack that makes PNG decode correctly
...
again instead of in CorePNG delta mode.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29340 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-01 22:25:10 +00:00
reimar
31f9de2546
Initialize local variable, avoids a possible crash due to using an
...
uninitialized variable as array index for mono files.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29339 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-01 10:43:41 +00: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
rik
1939b7e3f3
MPV_common_init balks if s->avctx->pix_fmt == PIX_FMT_NONE, so we set it correctly
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29286 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-09 21:37:07 +00:00
diego
d9ded9284c
Add missing 'void' to parameterless function declarations.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29254 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-04 17:35:26 +00:00
diego
aa169c6fe3
Replace glibc-specific __WORDSIZE preprocessor check with HAVE_FAST_64BIT.
...
The latter is properly set by configure.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29237 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-25 19:09:54 +00:00
diego
b8ef364ae0
Remove reference to outdated documentation file.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29209 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-20 15:24:47 +00:00
diego
7c0e777db0
Add algorithm flag (SWS_POINT) to sws_getContext call to avoid a crash.
...
patch by Alexander Strange, astrange ithinksw com
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29205 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-20 12:07:08 +00:00
rik
a0bd74f06d
follow renaming of pbBufPtr() to put_bits_ptr() by stefano
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29178 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-13 21:43:57 +00:00
diego
77546eb754
Fix E-AC-3 channel ordering. E-AC-3 needs to use the same ordering as AC-3,
...
not the standard ordering.
patch by Andrew de Quincey, adq_dvb lidskialf net
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29173 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-12 21:28:45 +00:00
diego
2e903f7c75
Remove unnecessary malloc.h #includes and related #ifdeffery.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29126 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-02 09:20:48 +00:00
reimar
49e2373fe7
Consistently use MP_MAX_PLANES as size for plane pointer/stride arrays in libmpcodecs.
...
This might avoid some issues since sws_scale in some cases assumes these
have at least 4 valid entries.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29103 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-29 14:46:59 +00: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
reimar
255bca1ecd
Use x86_reg instead of long in several video filters to fix compilation on MinGW64.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29077 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-27 20:34:55 +00:00
cehoyos
115bfb9762
Allow to use vdpau temporal deinterlacers with hardware accelerated decoding.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28991 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-18 17:02:29 +00:00
reimar
ad95e046c2
Support FFmpeg codecs that decode to other formats than S16.
...
Double format is currently not supported.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28990 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-18 12:50:17 +00:00
reimar
093fc5508b
Avoid ridiculously small decode_buffer_size (e.g. 4 with acodec=pcm_s16le)
...
that can make -oac lavc unusable.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28963 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-15 16:37:06 +00:00
diego
a21feef029
cosmetics: Remove file names from file header, it only causes trouble.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28959 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-15 12:45:16 +00:00
reimar
1f1b999cb9
Check for HAVE_EBX_AVAILABLE before enabling MMX code that needs the EBX register.
...
Makes things a bit simpler for everyone who insists on compiling MPlayer as PIE-code.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28942 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-13 17:12:40 +00:00
reimar
f9f40364d7
Use the same code as in vf_decimate to select diff_MMX
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28941 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-13 17:09:39 +00:00
reimar
2af2550175
Add missing ecx clobber in diff_MMX code (yes, that function is duplicated).
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28940 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-13 17:02:15 +00:00
reimar
8c5b570b50
Get rid of nuppelvideo.h and its ugly packed struct and instead write the
...
frame header directly in nuv encoder.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28914 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-09 15:01:12 +00:00
reimar
f10bffc6f8
Fix type of zlen, fixes crashes on 64 bit systems.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28912 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-09 14:40:55 +00:00
reimar
78383383f7
Do not calculate the same value twice
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28911 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-09 14:32:19 +00:00
reimar
c9872edafe
Allocate buffer for lzo compression correctly also for large frame sizes.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28910 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-09 14:30:41 +00:00
reimar
77195cf5c4
nuv encoder 64 bit fix: avoid using long/sizeof(long)
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28909 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-09 13:37:55 +00:00
reimar
276a73e2f2
Remove internal NuppelVideo decoder, the code in libavcodec can decode
...
those files and some more and is far more maintainable.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28888 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-08 13:32:42 +00:00
reimar
624d8ff171
Get rid of pointless debugging code
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28887 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-08 13:21:00 +00:00
reimar
7903f65ee8
Remove the grayscale and 4:2:2 RTjpeg code, it is neither used nor is there
...
anything special about to to justify preserving it for documentation purposes.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28886 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-08 13:17:18 +00:00
reimar
735c81a0f5
Remove colourspace-conversion stuff from rtjpeg, we have functions to do that
...
better and it doesn't belong in that file anyway.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28885 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-08 13:10:21 +00:00
reimar
6d367acbdd
Mark everything not used outside the file as "static"
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28884 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-08 13:08:22 +00:00
reimar
04702afb84
Remove functions not used by MPlayer from header
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28883 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-08 13:02:44 +00:00
reimar
8afafb8c2e
Remove useless "extern" in function declarations.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28882 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-08 12:57:53 +00:00
reimar
6cf4aafa36
Add some "const" to mpcodecs_vd_drivers
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28861 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-06 20:20:12 +00:00
reimar
3be5ebde87
Swap order of VFCTRL_DRAW_EOSD and VFCTRL_DRAW_OSD so that the EOSD is drawn
...
below the OSD and document possible issues when this is changed.
Patch by Uoti (though originally intended for a different issue) with extra comment by me.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28841 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-06 10:45:49 +00:00
reimar
0f43db1769
Add another hack to work-around the currently completely inconsistent way in
...
which libavcodec sets AVCodecContext::pix_fmt.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28801 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-03 13:38:33 +00:00
reimar
aacd081579
10l, replace a tab that slipped in.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28767 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-01 09:09:49 +00:00
reimar
1002389056
Create a set_format_params function that sets all the special options needed
...
for XvMC/VDPAU acceleration in a single place.
This should get closer to working with selecting acceleration via pix_fmt instead
of via a special codec for each method.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28766 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-01 09:03:01 +00:00
diego
35fc0ebf3f
Set time_base to 1/samplerate, like FFmpeg does, instead of leaving it at the
...
default 0/1. This is not required by a lot of codecs, but at least by libvorbis.
patch by Nicolas George, nicolas.george normalesup org
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28695 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-21 21:03:57 +00:00
diego
b92e910e7a
Remove unused and unreachable code hunk that was surrounded by a misspelled
...
preprocessor condition.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28663 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-19 10:06:43 +00:00
iive
c73f0e18bd
Return PIX_FMT_NONE if the video system refuses all other formats.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28662 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-19 09:21:46 +00:00
reimar
60fa5a134d
Add VOCAP_NOSLICES and use it to allow vo_vdpau to not support slices for
...
YV12 - since VDPAU only has functions to upload the full frame at once
there is no sense in supporting draw_slice for that.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28646 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-18 12:30:15 +00:00
reimar
0248741426
Handle mpcodecs_get_image returning NULL, FFmpeg most of the time handles
...
it correctly (VDPAU and probably H.264 currently don't, MPEG1/2 does etc.).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28643 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-18 07:52:17 +00:00
reimar
4f9a9ae44f
Make it possible for mpcodecs_get_image to return NULL as the
...
documentation says it should instead of crashing.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28638 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-17 19:01:29 +00:00
reimar
bdfef5ff39
Print an error and return NULL in vf_get_image if we try to allocate
...
a format with bpp == 0, since this can not work.
This way at least we crash earlier and print an error message.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28637 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-17 18:59:47 +00:00
reimar
8e5edec13e
Set avctx->opaque already at init instead of decode so it can be used in
...
get_format and get_buffer would not crash if called during avcodec_open.
Patch by Gwenole Beauchesne [gbeauchesne splitted-desktop com]
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28636 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-17 16:40:50 +00:00
diego
687655ff2f
cosmetics: Remove stray empty lines.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28630 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-17 11:29:43 +00:00
diego
be8c67909b
Convert HAVE_MALLOC_H into a 0/1 definition, fixes the warning:
...
mem.c:32:5: warning: "HAVE_MALLOC_H" is not defined
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28629 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-17 11:16:19 +00:00
diego
b14c70b8f5
Use FFmpeg instead of MPlayer MANGLE macro, they are equivalent in this
...
particular case. Avoids the warning:
In file included from libmpcodecs/vf_fspp.c:693:
./mangle.h:34:1: warning: "MANGLE" redefined
In file included from libmpcodecs/vf_fspp.c:46:
./libavutil/internal.h:113:1: warning: this is the location of the previous definition
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28624 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-17 03:20:40 +00:00
diego
53067187b8
Move FFmpeg #includes below all others so that they do not override
...
system functions and cause the warning:
In file included from libmpcodecs/vf_fspp.c:57:
libmpcodecs/mp_image.h: In function 'new_mp_image':
libmpcodecs/mp_image.h:214: warning: implicit declaration of function 'please_use_av_malloc'
libmpcodecs/mp_image.h: In function 'free_mp_image':
libmpcodecs/mp_image.h:226: warning: implicit declaration of function 'please_use_av_free'
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28623 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-17 03:15:10 +00:00
cehoyos
288f25d8d9
Fix #endif comment.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28619 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-16 23:56:19 +00:00
reimar
7e9fd9351c
Add support for VDPAU video out, including hardware decoding.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28617 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-16 20:58:13 +00:00
diego
a452d22384
The AV_XVMC_RENDER_MAGIC constant was renamed to AV_XVMC_ID in FFmpeg.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28608 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-15 22:02:24 +00:00
iive
33f7ff9403
Reflect ffmpeg change of xvmc struct field to xvmc_id.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28607 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-15 20:29:29 +00:00
diego
d274cbbbb5
The xvmc_pixfmt_render structure was renamed to xvmc_pix_fmt in FFmpeg.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28603 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-15 17:49:42 +00:00
diego
0c4e65f15a
The xmvc structure member magic_id was renamed to unique_id.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28601 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-15 17:35:24 +00:00
reimar
b2c338819e
Remove unnecessary #if around forward declaration.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28600 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-15 17:29:00 +00:00
reimar
de96ea2e01
Restructure get_format so it can easily be extended to handle VDPAU
...
and hardware-acceleration selected via get_format.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28599 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-15 17:23:05 +00:00
reimar
14b1991a42
Reuse the code for the general do_dr1 case to set get_buffer/release_buffer for XvMC.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28598 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-15 16:57:08 +00:00
reimar
c6ae3112f2
Use PIX_FMT_NONE instead of -1
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28595 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-15 15:27:12 +00:00
reimar
2a57385958
Remove apparently unneeded CODEC_FLAG_EMU_EDGE for XvMC
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28594 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-15 15:24:32 +00:00
reimar
c618bdde05
Extend get_buffer to handle the XvMC case and remove mc_get_buffer
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28591 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-15 14:10:47 +00:00
reimar
5d21955bb1
Unset MP_IMGFLAG_IN_USE in release_buffer.
...
This is only needed for MPI_IMGTYPE_NUMBERED support and will probably
first be used for VDPAU, but it is still "the right thing to do".
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28590 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-15 13:24:17 +00:00
reimar
9275737b40
Merge two checks for mpi != NULL
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28589 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-15 13:17:04 +00:00
reimar
eee0fbd3af
Make the default release_buffer work for XvMC, use it and remove mc_release_buffer
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28588 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-15 13:14:17 +00:00
reimar
d1e711b21b
Get rid of mc_render_slice and use the generic draw_slice instead.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28587 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-15 13:04:57 +00:00
iive
c97692ac9d
Reflect the change of xvmc struct name.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28583 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-15 08:46:18 +00:00
reimar
078091e5de
Move direct-rendering hack from vo_xvmc to vf_vo, so it does not need to
...
be duplicated for other systems like VDPAU or VAAPI.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28581 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-15 08:07:36 +00:00
iive
d999d7652d
Now xvmc struct uses magic_id field
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28578 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-15 02:38:20 +00:00
reimar
e41470a32e
Use fmt-conversion.h in vd_ffmpeg.c
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28562 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-14 17:58:33 +00:00
reimar
c4854a0ead
Consistently place whitespace around * ( ) and ,
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28560 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-14 17:43:06 +00:00
reimar
f2eb312f74
Remove useless break
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28559 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-14 17:30:41 +00:00
reimar
c81dd09974
Indentation and other whitespace fixes
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28558 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-14 17:29:59 +00:00
diego
1538fddada
Remove local copy of xvmc_render.h, it is now an installed header in FFmpeg.
...
Also adapt MPlayer to definition name changes in libavcodec/xvmc.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28557 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-14 17:18:55 +00:00
diego
1147a78695
Replace fprintf call by mp_msg, fixes the warning:
...
In file included from libmpcodecs/vf_fspp.c:58:
libmpcodecs/mp_image.h: In function 'mp_image_setfmt':
libmpcodecs/mp_image.h:207: warning: implicit declaration of function 'please_use_av_log_instead_of_fprintf'
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28553 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-14 11:43:14 +00:00
reimar
5da2252a2c
Cosmetics: handle all special/compressed formats in a single if in mp_image_setfmt
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28552 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-14 08:37:29 +00:00
reimar
8c1978cc26
Add support for image formats and codecs used by VDPAU
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28551 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-14 08:29:45 +00:00
reimar
f78c49e030
Add MP_IMGTYPE_NUMBERED which gives access to the kind of mp_image_t that
...
are numbered and have a "in use" flag which is necessary for proper
buffer management as e.g. H.264 direct-rendering needs and is already used
successfully for the -vo vdpau work-in-progress.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28550 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-14 08:22:49 +00:00
reimar
8c2821f32d
100l, removed a #ifdef the wrong way, CODEC_FLAG_NOT_TRUNCATED no longer exists,
...
so remove reference to it to fix compilation.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28545 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-12 16:58:47 +00:00
reimar
403de5ac6e
Remove trailing whitespace from vd_ffmpeg.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28544 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-12 15:41:59 +00:00
reimar
9fc1c19f7a
Replace tabs in vd_ffmpeg by 8 spaces to better match FFmpeg's coding style.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28543 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-12 15:39:32 +00:00
reimar
706f148b78
Remove several #ifdefs that check for libavcodec features from vd_ffmpeg.
...
They make no sense since only recent libavcodec versions are supported anyway.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28542 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-12 15:35:18 +00:00
aurel
de03d58545
change internal real video packetizing format to the more straight forward one
...
see [MPlayer-dev-eng] [PATCH] cleanup/uniformize real video packetizing
patch blessed by Roberto
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28503 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-09 22:00:57 +00:00
diego
95c44000d7
Give _XOPEN_SOURCE #define an explicit 600 value. Fixes build on Open Solaris.
...
patch by Imran Syed, freakabcd gmail com
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28480 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-07 17:34:45 +00:00
reimar
3819692fda
swab() needs _XOPEN_SOURCE to be defined.
...
Fixes two implicit declaration warnings.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28455 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-03 10:39:56 +00:00
reimar
a019ba3643
Rename lzo1x_decode -> av_lzo1x_decode, this was missed in the previous patch.
...
It currently works (though badly with missing prototype) but will break on
libavutil version bump.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28450 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-03 00:12:19 +00:00
diego
046cf63aff
FFmpeg sync: LZO_OUTPUT_PADDING --> AV_LZO_OUTPUT_PADDING
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28449 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-02 23:48:16 +00:00
reimar
75243478ce
Adapt to lzo changes in libavutil
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28448 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-02 20:22:36 +00:00
zuxy
edc3c57aee
Convert CONFIG_XVMC into a 0/1 definition.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28447 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-02 07:26:05 +00:00
diego
56d9a23ee9
Add support for libavcodec GMC flag, patch by Dave Baker, dbkr mxtelecom com.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28415 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-01 02:10:31 +00:00
diego
9fdb04a3d8
Update libavcodec 'aic' flag define to match current FFmpeg.
...
patch by Dave Baker, dbkr mxtelecom com
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28395 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-30 23:08:36 +00:00
reimar
9c116d24e6
Avoid a division by 0 when using -oac mp3lame but no audio data actually is encoded.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28382 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-28 12:46:05 +00:00
diego
eb4a4604c0
HAVE_3DNOW --> HAVE_AMD3DNOW
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28370 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-26 09:29:53 +00:00
diego
4a0bcc1319
Fix compilation after DECLARE_ASM_CONST/DECLARE_ALIGNED moving within FFmpeg.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28364 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-25 22:34:26 +00:00
diego
4ac4b493a9
Fix compilation after DECLARE_ASM_CONST/DECLARE_ALIGNED moving within FFmpeg.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28362 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-25 21:59:08 +00:00
gpoirier
0f224d32dc
revert #ifdef WORDS_BIGENDIAN => #if WORDS_BIGENDIAN changes from r28331
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28334 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-16 13:19:29 +00:00
gpoirier
707afbe9d6
Completely get rid of MMX define, use HAVE_MMX define instead.
...
Patch by Guillaume LECERF % foxcore A gmail P com %
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28333 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-16 12:37:56 +00:00
gpoirier
5538dcf03b
fix compilation on non x86 machines (PPC here)
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28331 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-16 10:07:14 +00:00
reimar
3983898734
Another missed #ifdef HAVE_MMX
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28328 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-16 09:35:05 +00:00
reimar
97df2f9162
More #ifdef HAVE_MMX etc. missed by earlier search.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28327 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-16 09:32:54 +00: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
diego
af6e5d6978
Fix two more instances of nonstandard license headers.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28262 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-05 11:06:28 +00:00
diego
339746a776
Sync with latest round of xvmc changes in FFmpeg.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28237 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-02 17:06:09 +00:00
diego
99fd037bd7
Avoid unused variable warning.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28233 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-02 12:53:05 +00:00
diego
4e13ef3aca
Reorder #includes and #ifdefs to avoid excessive #ifdeffery.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28232 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-02 12:48:11 +00:00
diego
c6c7538c54
Reorder #includes and #ifdefs to avoid warnings and excessive #ifdeffery.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28231 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-02 12:28:47 +00:00
reimar
5fcb179834
XVID profile array should be const, so it is in rodata
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28221 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-01 11:16:52 +00:00
reimar
17ea23ac74
Fix OSD flickering with filters that add frames (tfields, yadif) and
...
-correct-pts
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28211 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-12-30 10:40:26 +00:00
reimar
8385fa3dc6
Fix OSD flicker with tfields as well.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28210 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-12-30 10:38:39 +00:00
reimar
5904de25e3
Avoid flickering OSD with -vf yadif=1
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28209 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-12-30 10:38:29 +00:00
reimar
1b14e4f420
Fix imaadpcm extradata with lavc encoder.
...
The formula to calculate frame size was wrong, duplicated code from the encoder
and did not take endianness into account when writing the value into extradata.
Patch by Edouard Gomez [ed gomez (at) free fr].
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28167 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-12-20 10:18:15 +00:00
diego
93574faeee
xvmc is now a CONFIG_ option in FFmpeg.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28154 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-12-15 22:25:39 +00:00
diego
474d1dc364
Replace informal GPL notices by standard GPL headers.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28145 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-12-13 12:33:22 +00:00
diego
9fafed66bc
license header consistency cosmetics
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28144 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-12-13 12:31:07 +00:00
diego
39090878e5
Replace informal GPL notes by standard GPL header.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28140 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-12-13 12:13:48 +00:00
diego
0864f92e7a
Get rid of pointless 'extern' keywords.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28085 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-12-03 23:01:03 +00:00
diego
5351098826
Create a separate codecs.conf entry for Tremor and use it if MPlayer is
...
with Tremor support instead of libvorbis. Previously MPlayer would show
the same output on the console when decoding with libvorbis and Tremor.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28014 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-24 08:31:44 +00:00
diego
929dc9a8ac
cosmetics: Move up uninit() to avoid a forward declaration.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27983 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-23 12:01:48 +00:00
diego
0ad147ed5c
cosmetics: consistent function declarations.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27982 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-23 11:59:37 +00:00
diego
9e2505a3f5
cosmetics: Remove tabs and trailing whitespace.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27981 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-23 11:58:11 +00:00
reimar
7a3fc5ad5a
Use libavutil FFMIN etc. instead of defining our own variants.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27878 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-02 15:51:00 +00:00
reimar
9f7bae92df
Avoid pointless casting of void*
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27877 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-02 11:52:49 +00:00
diego
91c3f024a9
Fix smartblur filter crash due to missing default scaler choice;
...
set bicubic as the default scaler.
patch by Kurt Garloff, kurt garloff de
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27838 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-27 21:00:12 +00:00
uau
1a089681fc
vf_palette: Fix compilation after libswscale API changes
...
Patch from Guillaume Poirier. I didn't test the functionality of the
filter but at least it fixes compilation.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27822 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-25 00:07:59 +00: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
reimar
57281a3170
Use av_malloc/av_free for audio-related buffers to avoid crashes due to
...
insufficient alignment on systems without memalign.
http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/2008-October/058743.html
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27799 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-18 18:54:05 +00:00
diego
26b29f4f2d
Replace all occurrences of '__volatile__' and '__volatile' by plain 'volatile'.
...
We were using an inconsistent mix of the three variants and 'volatile' should
be the most correct and portable variant.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27791 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-16 20:17:56 +00:00
diego
6b52a2e974
Change all occurrences of asm and __asm to __asm__, same as was done for FFmpeg.
...
Neither variant is valid C99 syntax, but __asm__ is the most portable variant.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27788 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-16 18:59:27 +00:00
diego
af21f25f31
Move SCREEN_SIZE_X/Y definition to libmpcodecs/vd.c where it is used.
...
config.h should only contain option definitions, no logic.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27785 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-16 18:24:18 +00:00
diego
1a85bf593b
#include necessary libavcodec header and remove duplicated struct declaration.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27769 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-14 16:04:09 +00:00
diego
49faefb669
Remove useless '#undef realloc', realloc is not referenced anywhere near.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27767 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-14 09:04:40 +00:00
diego
b282622c71
Remove duplicate extern declaration, fixes the warning:
...
libmpcodecs/vf_zrmjpeg.c:73: warning: redundant redeclaration of 'avcodec_initialized'
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27766 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-14 08:56:48 +00:00
diego
b9ce738825
Remove unused variable ncomps.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27765 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-13 23:10:42 +00:00
ulion
78f37058ff
Fix channel order for ffmpeg flac codec.
...
This patch comes from Andrew de Quincey <adq_dvb at lidskialf dot net>.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27732 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-09 07:46:20 +00:00
diego
b9509b1795
Remove unnecessary HAVE_AV_CONFIG_H #define.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27726 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-07 08:25:47 +00:00
diego
526cfa28a2
Remove word size check and macro and use __WORDSIZE directly instead.
...
It has been done this way in libswscale for years without apparent ill effect.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27699 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-04 10:16:48 +00:00
rathann
a5e9a8d0ca
External liba52 support, part 2 of 2.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27620 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-15 16:32:31 +00:00
rathann
d977c6e812
External liba52 support part 1 of 2.
...
Conditionalize enabling of some the acceleration because
liba52-0.7.4 doesn't support all that MPlayer's included
copy does.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27619 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-15 16:30:24 +00:00
gpoirier
2bfa730214
fix compilation with lavc version > r15270
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27549 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-08 20:01:10 +00:00
uau
923f67082e
Fix compilation after libavcodec major version 52 changes
...
Some symbols were dropped or renamed, requiring corresponding changes
in MPlayer.
- Use AVCodecContext->bits_per_coded_sample instead of ->bits_per_sample.
- Use AVCodecContext->trellis instead of ->flags&CODEC_FLAG_TRELLIS_QUANT.
- Don't set AVCodecContext->rtp_mode (already marked unused before).
- Use ff_eval2() instead of ff_eval().
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27548 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-08 17:02:32 +00:00
diego
3311a2ae9c
Replace casual GPL notices by proper license headers.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27541 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-07 14:09:51 +00:00
diego
d5f550e257
Remove outdated URL from vd_info_t struct.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27533 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-06 18:16:39 +00: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
aurel
a5f69284d9
handle the lavfpref demuxer in the same way as the lavf one
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27489 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-27 11:31:53 +00:00
diego
3932c5e0b9
Remove unused static declarations, fixes the warnings:
...
libmpcodecs/vd_qtvideo.c:69: warning: 'ImageCodecDrawBand' defined but not used
libmpcodecs/vd_qtvideo.c:71: warning: 'ImageCodecEndBand' defined but not used
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27464 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-14 16:04:32 +00:00
diego
e0b1c9a6b7
Give a CONFIG_ prefix to preprocessor directives that lacked one and
...
change arbitrary prefixes to CONFIG_.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27429 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-07 12:20:50 +00:00
diego
473e2824cb
Rename all preprocessor directives related to Apple / Mac OS X.
...
Switch them from a HAVE_ to a CONFIG_ prefix.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27420 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-06 07:42:26 +00:00
diego
0a749ffdc5
Rename preprocessor directives related to image libraries.
...
Change a HAVE_ prefix to a CONFIG_ prefix.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27417 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-05 08:47:51 +00:00
diego
02135001b4
Change a bunch of video/audio-output-specific preprocessor directives from
...
a HAVE_ prefix to a CONFIG_ prefix.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27402 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-03 15:21:40 +00:00
compn
ded7033671
cosmetics: reindent after last commit
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27399 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-02 18:43:17 +00:00
compn
cae7631dbe
change ve_raw.c:set_format to not overwrite biCompression if force_fourcc is set.
...
fixes -ovc raw -ffourcc
patch by "Andrew Wason" rectalogic !@! rectalogic !.! com
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27398 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-02 18:41:43 +00:00
diego
96a506733d
Change a bunch of codec-specific preprocessor directives from a HAVE_
...
prefix to a CONFIG_ prefix.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27395 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-02 16:30:32 +00:00
diego
4b141479da
Start unifying names of internal preprocessor directives.
...
Replace all USE_ prefixes by CONFIG_ prefixes to indicate
options which are configurable.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27373 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-30 12:01:30 +00:00
diego
771cd67118
Use conditional compilation instead of an #ifdef around the whole file.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27371 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-30 10:26:23 +00:00
diego
fa164d8a94
Add Dirac video support via libdirac and libschroedinger in libavcodec.
...
patch by Anuradha Suraparaju, anuradha rd.bbc.co uk
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27339 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-22 22:58:51 +00:00
reimar
cf8d381255
Try to keep decoded audio buffer aligned.
...
Seems to be enough to avoid crashes (due to unaligned SSE2) with FFmpeg vorbis decoding for now.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27281 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-14 16:38:58 +00:00
reimar
422c92e314
Simplify and clamp coefficient index for MS ADPCM
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27270 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-12 10:08:40 +00:00
reimar
c83dca172f
100l, fix MS ADPCM decoding for e.g. http://samples.mplayerhq.hu/mov/qtaudio/surge-2-16-L-ms02.mov
...
First coefficient array must be unsigned to fit in 8 bits
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27269 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-12 09:23:14 +00:00
reimar
ed0edb61cb
Make really sure channels can only be 1 or 2 for imaadpcm
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27262 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-11 19:29:41 +00:00
reimar
ca588e6a9f
Simplify imaadpcm return statement
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27261 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-11 19:28:22 +00:00
reimar
792dc55d19
Check length of input buffer for msadpcm
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27260 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-11 19:27:35 +00:00
reimar
ffc22175d3
Add a comment on shift vs. division
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27259 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-11 19:00:49 +00:00
reimar
68e6f22bbc
Scale msadpcm coefficients to fit into 8 bits
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27258 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-11 18:59:03 +00:00
reimar
4366cc211c
Simplify ad_msadpmc.c: Use AV_RL16, merge sign extension into LE_16 read and
...
use (int16_t) to let the compiler do the sign extension.
Reduces code size on x86_64, gcc 4.3.1 by 248 bytes.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27257 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-11 18:51:12 +00:00
reimar
05deb158cf
Copy macro simplification from imaadpcm to msadpcm
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27256 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-11 18:36:21 +00:00
reimar
796e4a53ca
Remove useless comments from ad_msadpcm
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27255 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-11 18:14:16 +00:00
reimar
f5ead9d0ee
Make msadpcm arrays const
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27254 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-11 18:13:11 +00:00
reimar
0872673a5e
Remove unused macros
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27253 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-11 18:12:15 +00:00
reimar
57b3cfcea4
Explicitly include inttypes.h in ad_imaadpcm
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27252 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-11 18:10:06 +00:00