diego
e20855c92e
Remove unnecessary dsputil.h #include, fixes the warnings:
...
In file included from vf_uspp.c:33:
../libavcodec/dsputil.h: In function 'copy_block2':
../libavcodec/dsputil.h:675: warning: implicit declaration of function 'AV_WN16'
../libavcodec/dsputil.h:675: warning: implicit declaration of function 'AV_RN16'
../libavcodec/dsputil.h: In function 'copy_block4':
../libavcodec/dsputil.h:686: warning: implicit declaration of function 'AV_WN32'
../libavcodec/dsputil.h:686: warning: implicit declaration of function 'AV_RN32'
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25001 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-09 15:39:08 +00:00
diego
16ad1ac3be
#include libavcodec/eval.h instead of manually declaring ff_eval.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25000 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-09 14:12:19 +00:00
rfelker
ca60f3fe0f
const fix
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24999 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-09 12:52:50 +00:00
rfelker
6ae8dd0e1d
ack, can't believe i wrote this crap with void pointer arithmetic
...
gimme some cola!!!
since the code was disabled and tests had shown it was slower,
i'm just removing it rather than fixing it.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24998 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-09 12:51:43 +00:00
rfelker
f713cb0faf
begin moving const filter data to .text/.rodata sections
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24997 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-09 06:58:32 +00:00
rfelker
549d3be0c7
stage 1 of applying const to vf structs
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24996 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-09 06:57:24 +00:00
rfelker
f754ec02e5
vf_screenshot does not depend on libpng; it uses libavcodec now
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24995 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-09 06:52:33 +00:00
reimar
fb366fbf03
Simplify decode_audio function a bit.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24989 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-08 18:14:49 +00:00
reimar
c849b6683a
Remove a check+abort, this case should never happen anyway, and if it does
...
the most likely result is a NULL dereference which isn't much worse.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24946 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-03 10:20:00 +00:00
uau
6338c068a2
Simplify init_audio_filters() arguments
...
Remove the following arguments as redundant: in_channels, in_format,
out_minsize, out_maxsize. The first two always equal fields of the
sh_audio_t struct given as the first argument to the function. The
last two are unused after the allocation of sh_audio->a_out_buffer
was changed to be done on demand.
After the out_minsize and out_maxsize arguments are removed the
function preinit_audio_filters() is identical to init_audio_filters(),
so remove it and use the latter instead.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24922 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-01 06:52:28 +00:00
uau
2d44426648
audio: simplify buffer allocation code
...
Remove the code allocating sh_audio->a_out_buffer from
init_audio_filters() and let the buffer be allocated by the new
dynamic allocation code.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24921 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-01 06:52:23 +00:00
uau
1844e1dd0c
Change decode_audio() interface
...
Rewrite decode_audio to better deal with filters that handle input in
large blocks. It now always places output in sh_audio->a_out_buffer
(which was always given as a parameter before) and reallocates the
buffer if needed. After the changes filters can return arbitrarily
large blocks of data without some of it being lost. The new version
also allows simplifying some code.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24920 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-01 06:52:19 +00:00
uau
3e8ab86642
Replace hopefully unreachable code with abort()
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24914 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-01 06:51:53 +00:00
uau
9e796deb33
dec_audio.c: Make some functions static
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24913 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-01 06:51:49 +00:00
uau
244bd237fb
Simplify audio buffer allocation logic
...
Remove code that set sh_audio->a_out_buffer to equal
sh_audio->a_buffer between the calls to init_best_audio_codec and
init_audio_filters. Nothing uses the buffer between those calls.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24912 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-01 06:51:44 +00:00
uau
8338fa9ecf
Reindent dec_audio.c
...
Also remove some commented out code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24911 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-01 06:51:38 +00:00
diego
625098b0ac
Comment out uninit function, its use is commented out. Fixes warning:
...
vf_yuvcsp.c:66: warning: 'uninit' defined but not used
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24895 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-30 15:31:45 +00:00
diego
f468804293
Remove commented-out and unused fmt_list array.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24894 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-30 15:27:13 +00:00
diego
80e1a70e8a
Remove unused fmt_list array, fixes the warnings:
...
vf_ow.c:296: warning: 'fmt_list' defined but not used
vf_spp.c:544: warning: 'fmt_list' defined but not used
vf_uspp.c:334: warning: 'fmt_list' defined but not used
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24893 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-30 15:24:09 +00:00
diego
4e39ea3dfe
Remove unused functions, fixes the warnings:
...
vf_2xsai.c:80: warning: 'GetResult1' defined but not used
vf_2xsai.c💯 warning: 'GetResult2' defined but not used
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24891 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-30 09:10:01 +00:00
rtogni
ec70a0fbbd
Change the frame format passed to lavc realvideo decoders to adapt for
...
the changes in r10825.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24882 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-28 22:32:20 +00:00
diego
6f88dd80a7
fix warning:
...
vf_ow.c: In function 'filter':
vf_ow.c:168: warning: unused variable 'sum'
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24836 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-22 16:37:51 +00:00
reimar
bcc10e0961
Check ICDecompressGetFormatSize to avoid crashes.
...
Based on patch by Gianluigi Tiesi (mplayer netfarm it).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24829 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-21 13:15:48 +00:00
rfelker
d32ae85e1c
reminder that this filter has broken global vars
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24813 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-19 12:33:21 +00:00
zuxy
4ba5898840
Remove unused static function get_image().
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24799 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-17 14:06:44 +00:00
compn
c040ef5660
Add Coinitialize function to vfw encoder and win32 loader.
...
Fixes crash when trying to load vp7vfw.dll in vfw2menc.
Patch by Gianluigi Tiesi mplayer___netfarm.it
http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/2007-September/054136.html
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24798 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-17 05:14:21 +00:00
zuxy
f53d4bcb3e
Reorder #includes to get rid of the FIXME
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24766 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-12 03:17:43 +00:00
zuxy
c212ce53e6
Remove unnecessary #include <malloc.h>
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24765 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-12 03:14:11 +00:00
zuxy
1c6f85026a
Silence a gcc warning: "wrong type argument to increment".
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24763 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-11 09:47:03 +00:00
reimar
b5df36517b
Make vf_screenshot use the libavcodec PNG encoder
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24759 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-09 12:46:10 +00:00
rtogni
b8c80f6477
Fix output channle ordering
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24721 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-07 15:06:53 +00:00
rtogni
84747029e6
Typo
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24713 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-06 13:45:14 +00:00
michael
79c7b5f23f
change double arrays to float (this should be accurate enough)
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24700 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-04 12:44:16 +00:00
michael
cabd86df24
fix infinite loop
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24699 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-04 12:32:54 +00:00
michael
f761edd20b
overcomplete wavelet denoiser
...
not optimized at all but much cleaner than uspp
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24697 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-03 23:50:54 +00:00
rtogni
6d5e4cc2ca
Disable direct rendering for ROQ video, the buffer management used by
...
the codec is not compatible with MPlayer idea of reget_buffer
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24676 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-30 20:02:57 +00:00
iive
944b5d2acd
Define profiles_t as const to fix a warning. Prevent profiles[] from been exported.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24649 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-28 21:06:45 +00:00
diego
81cebd7e45
Disable unused query_format functions for now until they are
...
investigated and properly used/fixed.
Fixes warnings:
vf_softskip.c:50: warning: 'query_format' defined but not used
vf_tfields.c:433: warning: 'query_format' defined but not used
vf_telecine.c:91: warning: 'query_format' defined but not used
vf_telecine.c:105: warning: 'config' defined but not used
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24625 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-26 23:00:43 +00:00
diego
65a43f35ed
Disable buggy unused function via #if 0, blessed by Rich.
...
Fixes warning:
vf_pullup.c: At top level:
vf_pullup.c:82: warning: 'get_image' defined but not used
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24623 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-26 22:48:59 +00:00
diego
6e0510ff84
Remove unused crappy hash_pic function, blessed by Rich.
...
Fixes warning:
vf_detc.c:57: warning: 'hash_pic' defined but not used
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24622 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-26 22:43:38 +00:00
diego
04586de1dd
MPEG-2 blocks at qp 1 get overfiltered by spp, apparently because "qp>>1" turns
...
it into 0, which causes an integer overflow later. Clip qp at 1 to avoid this.
patch by Alexander Strange, astrange ithinksw com
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24572 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-18 14:08:08 +00:00
diego
1660e3c123
Replace stdint.h #include by functionally equivalent inttypes.h.
...
The use of inttypes.h is more common throughout MPlayer and stdint.h
can create problems on obscure systems like HP-UX, see Bugzilla #831 .
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24565 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-18 09:30:42 +00:00
reimar
ca7b84e869
Make vd_ffmpeg work with lavf demuxer also for RealVideo.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24543 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-16 11:52:05 +00:00
reimar
af7f992651
Copy AC-3 bsmod field into IEC data-type field as required by the specs
...
Is not known to make any difference in practice (yet?).
Patch by Ulion (ulion2002 gmail com) minus a cast that seemed unnecessary
(beat me if I was wrong ;-) )
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24529 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-15 16:39:39 +00:00
reimar
d46f568fb4
Handle swab when input length is odd (treat it as if there was an additional
...
0 byte)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24528 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-15 16:30:39 +00:00
reimar
502368c206
Fix off-by-one error if fsize is odd (does handling that case even make sense?)
...
and remove a TODO comment that no longer applies.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24456 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-14 12:52:13 +00:00
reimar
73acce23fd
Mark DTS tables as const
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24455 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-14 12:47:15 +00:00
reimar
2be7f28a86
Fix 10l typo in syncword
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24454 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-14 12:39:02 +00:00
reimar
c3d320c6ac
Improved comments, based on patches by Ulion [ulion2002 gmail com]
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24453 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-14 08:56:04 +00:00
reimar
cb9466a0b3
Simplify and fix big-endian hwac3 header generation code.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24452 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-14 08:54:06 +00:00
reimar
62e3a9e6a6
Deobfuscate: use IMGFMT_RGB_DEPTH and IMGFMT_IS_BGR
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24451 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-13 18:36:04 +00:00
diego
80c3412309
warning fix:
...
libmpcodecs/vf_divtc.c:206: warning: 'cmp' defined but not used
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24380 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-09 09:59:50 +00:00
diego
7bfa03ac43
warning fix:
...
libmpcodecs/ae_lavc.c:135: warning: 'lavc_find_atag' defined but not used
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24379 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-09 09:57:36 +00:00
gpoirier
a7aae21ad0
Add a check for c->head being NULL in pullup_free_context().
...
This fixes crashes when an invalid filter chain is built
Patch by Alexander Strange % astrange A ithinksw P com %
Original thread:
date: Sep 7, 2007 8:47 PM
subject: [MPlayer-dev-eng] [PATCH] crash in pullup with invalid filters
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24370 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-08 14:43:10 +00:00
reimar
cd4c2fdfb4
Support lowdelay flag
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24349 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-06 08:57:50 +00:00
diego
efb632ebcb
warnig fix (blessed by Rich):
...
pullup.c:223: warning: 'qpcomb_y' defined but not used
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24339 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-04 12:54:45 +00:00
nicodvb
1dbfe77925
added .stream_aspect to st_video_t: if non-zero and if not specified otherwise
...
by the user the video pipeline will use it as current aspect ratio
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24319 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-01 15:54:45 +00:00
iive
e371194632
Remove imported rational calculation code and use the original one from avutil.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24315 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-01 10:50:36 +00:00
diego
90aa63e2fd
Remove pointless #ifdef HAVE_XVMC within get_format(), all of the function
...
is protected by that #ifdef.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24274 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-28 17:38:08 +00:00
diego
89855e1022
warning fix:
...
vd_ffmpeg.c: At top level:
vd_ffmpeg.c:915: warning: 'get_format' defined but not used
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24273 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-28 17:36:04 +00:00
diego
2c74f01a5f
warning fix:
...
vf_scale.c:359:92: warning: trigraph ??) ignored, use -trigraphs to enable
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24269 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-28 17:06:00 +00:00
diego
a2c5abc3d2
cosmetics: Add some explanatory comments to #endif directives.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24268 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-28 17:02:19 +00:00
diego
37fe15b1c8
warning fix:
...
ve_qtvideo.c: At top level:
ve_qtvideo.c:109: warning: 'decompressor' defined but not used
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24267 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-28 16:59:24 +00:00
reimar
bf61021b10
Add code to clear left and right borders not only top and bottom.
...
Patch by Tomas Janousek (tomi nomi cz) with small modifications by me.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24263 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-28 13:54:27 +00:00
diego
84157efa5a
Clean up the way get_path is handled: Compile get_path.c to an object to link
...
against instead of directly #including the C file and replace the many extern
declarations by a proper header file.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24262 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-28 11:20:24 +00:00
reimar
949880a056
Set sample_rate and bit_rate from sh_audio as fallback in case sh_audio->wf
...
is not available.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24246 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-27 15:51:04 +00:00
diego
b9fc895dc1
warning fix:
...
pullup.c: In function 'decide_frame_length':
pullup.c:569: warning: unused variable 'f3'
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24196 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-25 17:15:05 +00:00
diego
5dc65565ca
Remove redundant variable declaration.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24168 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-25 12:19:16 +00:00
diego
2322b23431
Remove redundant variable declaration.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24166 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-25 12:10:33 +00:00
diego
8d7d86bafc
Remove redundant variable declaration.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24163 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-25 11:59:28 +00:00
diego
4ea8b17121
Fix some unused variable warnings.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24162 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-25 09:46:47 +00:00
diego
ed6463333f
Fix unused variable warning.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24145 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-25 00:23:38 +00:00
diego
54c3a567e3
Fix unused variable warning.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24140 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-24 11:18:07 +00:00
diego
9fdcecc029
Remove unused variable.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24139 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-24 11:16:32 +00:00
reimar
b7ce6217d6
Use new request_channels
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24128 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-23 20:29:57 +00:00
reimar
b284631167
Runtime-patching for windows to fix crash with drv43260.dll
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24107 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-20 16:17:13 +00:00
cehoyos
0132ac3f9d
printf in mp_image.h was changed to fprintf in r17972.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24040 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-08 23:28:29 +00:00
michael
16be45ef4a
make x264 work again after the h264-libx264 renaming
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24024 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-07 18:48:13 +00:00
cehoyos
f2dee327b2
Move alloc_mpi and copy_mpi from libmenu/vf_menu.c to libmpcodecs/mp_image.c.
...
Patch by Attila Ötvös.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24014 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-04 22:12:49 +00:00
uau
3d0271ef40
Revert setting audio output channel count for FFmpeg
...
The FFmpeg API needs to be fixed before this can be done sanely.
ffdca wants the desired output channel count to be set in
avctx->channels. Unfortunately it also completely fails if the requested
number of channels is not available rather than returning a different
amount (if 6 channels are requested we'd probably rather use stereo than
fail completely).
ffvorbis ignores caller-set values in avctx->channels. It writes the
channel count there once during init. This means the caller can only
set the count before init because later there would be no indication
whether the channel count in avctx reflects real output.
ffwma requires the caller to supply the encoded channel count
in avctx->channels during init or it fails. So it is not possible to
set a different number of desired output channels there before init
either.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23998 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-02 21:54:14 +00:00
reimar
c16275939d
Set lavc_context->channels before opening the codec, it is sufficient to
...
select the desired number of codecs for ffdca and does not break other codecs
like ffvorbis that do not (re)set the channel number during decode.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23994 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-01 23:36:40 +00:00
michael
2fe0411b9a
allow to specify the audio bitrate in bits (some codecs need that ...)
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23977 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-31 17:51:39 +00:00
michael
96f2f7d45f
make timestamps out of hot air
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23974 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-31 17:12:28 +00:00
michael
e5935e91ce
make a few more parameters accessable from mplayer
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23973 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-31 17:09:54 +00:00
reimar
aac28cfe4c
Move extern int audio_output_channels; to ad_internal.h
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23938 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-30 15:23:25 +00:00
reimar
80e0ec3e10
Indicate desired number of output channels to ffmpeg audio decoder.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23937 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-30 15:19:35 +00:00
reimar
1233361b46
Avoid void * arithmetic
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23936 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-30 14:52:07 +00:00
reimar
1a82dd2267
Use goto instead of useless recursion that might fill up the stack
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23932 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-30 13:48:08 +00:00
reimar
f100b100aa
Do not use a return value for a void function
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23931 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-30 13:46:53 +00:00
rtogni
d900e7dc5d
Compilation fix workaround for dca.h conflict (it exists in libavcodec
...
and newest versions of libdca)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23851 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-23 22:24:12 +00:00
rtogni
a57509942b
DTS decoding via libdca
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23841 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-22 16:24:25 +00:00
diego
cd1f6674cd
Put a compilation fix bandaid in place for the png.h issue.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23802 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-17 10:56:16 +00:00
iive
71f9c4b48b
Print the number of the Unknow color format,
...
so verbose debug output could be a little more useful.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23770 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-11 21:30:16 +00:00
lorenm
cd134c85ad
remove unused variables
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23768 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-11 18:08:01 +00:00
diego
b000a6a519
ISO8859-1 --> UTF-8
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23754 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-09 19:50:36 +00:00
diego
3e9e4acd8d
Do not use leading underscores in multiple inclusion guards, they are reserved.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23709 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-02 22:34:45 +00:00
reimar
ad164e04ee
Get rid of my_memcpy_pic code duplication in many filters.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23686 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-28 11:24:12 +00:00
reimar
483d313ee4
config.h must be included before other headers
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23660 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-24 17:39:54 +00:00
reimar
d0d23a71da
Make sure we always have a swab() prototype when we use it,
...
even if we use our osdep/swab.c emulation
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23658 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-24 15:25:32 +00:00
reimar
e64f93b9a3
Remove unused (static) function prototype.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23653 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-24 14:09:53 +00:00
reimar
aebfefd111
Move variable into the block where it actually used
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23651 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-24 14:04:48 +00:00
reimar
9ed550b3ee
Remove unused query_format function in vf_harddup.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23645 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-24 13:01:22 +00:00
reimar
ce4d47e879
Avoid more void * arithmetic
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23642 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-24 12:32:33 +00:00
reimar
6b7e82c9eb
100l, fix compile error in r23498 due to bad copy in paste
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23499 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-07 20:01:05 +00:00
reimar
34af64d86b
RGB8/BGR8 IMGFMTs are paletted in case of swscale input.
...
Actually they are also for output, but swscale does not support PIX_FMT_PAL8 output.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23498 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-07 19:11:25 +00:00
reimar
5bddf1de61
Do not use fast_memcpy when data is read again immediately afterwards.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23477 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-05 15:09:51 +00:00
reimar
5d02058b47
Do not use fast_memcpy for small size copy, esp. when the size is constant
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23476 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-05 15:09:49 +00:00
reimar
6a09e8e2ed
Replace implicit use of fast_memcpy via macro by explicit use to allow
...
for future optimization.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23475 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-05 14:27:54 +00:00
reimar
ac87b4a173
Use avcodec_decode_audio2 in ad_ffmpeg.c
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23474 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-05 14:12:37 +00:00
voroshil
cc5ea363f8
mjpeg support for v4l2 tv:// driver
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23441 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-01 17:29:35 +00:00
diego
5edd9af248
Remove some unused variables, patch by timwoj ieee org.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23399 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-28 08:42:35 +00:00
diego
1fdbab9197
Move variable declaration into conditional to avoid an unused variable warning.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23398 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-28 08:18:23 +00:00
diego
fb70c99bcc
Remove unused variables.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23397 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-28 08:12:41 +00:00
reimar
f05afe18ee
Removed useless fastmemcpy.h includes in video decoders
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23393 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-27 20:45:34 +00:00
reimar
13fa313b55
Remove useless fastmemcpy.h include for filters that do not even do any memcpy.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23391 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-27 20:36:04 +00:00
rik
76f47eebd9
compilation fix: ff_ _encode added and temporarily disabled mjpeg_write_tables
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23387 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-27 08:44:27 +00:00
corey
f58a3d0fda
Pass imgfmt from lavc encoder to lavf muxer (this is needed for dv).
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23327 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-17 00:16:51 +00:00
reimar
974fc343bd
Include string.h for memcpy, fastmemcpy.h alone is not enough.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23323 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-16 21:45:46 +00:00
reimar
92b7c0aae0
Make vd_raw VDCTRL_QUERY_FORMAT simpler to understand
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23316 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-14 18:21:39 +00:00
corey
3bfd50bdd8
Add DV fourcc.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23306 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-13 17:51:17 +00:00
diego
851b1e6351
Fix "inline keyword not at beginning of declaration" warning.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23237 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-05 12:45:32 +00:00
cehoyos
cce240cd0c
add "level" as lavc option
...
Patch by Gustavo Sverzut Barbieri, barbieri ! gmail x com
reference:
Subject: [MPlayer-dev-eng] [PATCH] add "level" as option to lavc (aka
Mencoder generating PS3 playable h264 videos)
Date: 2007-05-03 13:56 +200
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23227 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-03 17:05:39 +00:00
reimar
bd14c1d8c1
Remove unused variable,
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23170 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-29 10:18:39 +00:00
eugeni
c67220c86f
Add -ass-hinting option for setting font hinting method.
...
It is possible to separately configure hinting for scaled and unscaled osd.
The default is native hinter for unscaled osd (only vo_gl at this point),
no hinting for vf_ass.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23152 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-27 14:25:36 +00:00
diego
05c7a055e8
Simplify preprocessor directives: There is a general variable for
...
static/shared FFmpeg libraries now.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23139 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-26 15:10:07 +00:00
diego
736bf391de
Add config.h variables for static FFmpeg libraries.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23137 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-26 13:20:18 +00:00
diego
49b64742ed
Add general variables for either static or shared FFmpeg libraries.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23119 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-26 11:22:22 +00:00
diego
167bafa26f
cosmetics: Rename Makefile variable CONFIG_ASS --> ASS.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23111 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-25 08:38:04 +00:00
diego
5a8c8aadef
cosmetics: Remove CONFIG_ prefix from FFmpeg library Makefile variables.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23110 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-25 08:35:35 +00:00
diego
5c9abf7f9f
Gui --> gui
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23095 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-23 07:42:42 +00:00
lorenm
a5de25b252
support format=y8 with -ovc raw
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22976 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-11 20:28:44 +00:00
uau
208d4343ef
"()" to "(void)" function param list fixes
...
patch from Stefan Huehner, stefan huehner org
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22904 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-01 21:59:54 +00:00
iive
7bdf397b38
Fix double close() in ve_vfw.c
...
trivial patch by Gianluigi Tiesi <mplayer netfarm it>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22817 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-24 22:01:20 +00:00
diego
770377ece9
cosmetics: Merge #ifdefs for better readability.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22787 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-23 13:31:08 +00:00
cehoyos
90a29e3ade
allows to de- and reactivate kerndeint on the fly
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22775 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-22 10:06:34 +00:00
diego
653d16096e
Conditionally compile vf_bmovl.c instead of enclosing all of the file
...
in #ifdef HAVE_POSIX_SELECT.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22770 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-21 08:29:46 +00:00
diego
d6a63f429f
Invert logic for HAVE_NO_POSIX_SELECT to HAVE_POSIX_SELECT to be in line
...
with the other HAVE_ #defines throughout the codebase.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22769 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-21 08:24:20 +00:00
diego
5f6965df5d
Move libav* include CFLAGS to mpcommon.mak instead of duplicating them.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22735 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-18 22:49:37 +00:00
diego
20d778b3fa
Add explicit location for headers from the libmpdemux/ directory.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22619 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-15 17:51:32 +00:00
diego
6b14d50848
Add explicit location for headers from the stream/ directory.
...
Now for the encoding-related files as well.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22618 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-15 17:30:55 +00:00
diego
c0a30e606f
Add explicit location for headers from the stream/ directory.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22617 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-15 17:10:36 +00:00
diego
5f92d26132
Use explicit header location, don't use CFLAGS for simple subdirectories.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22605 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-15 12:08:11 +00:00
diego
6222e5c9de
Include loader/ prefix in #include path everywhere.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22595 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-15 08:29:24 +00:00
diego
5519d98983
cosmetics: Fix indentation, reorder some lines for consistency.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22549 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-13 21:55:23 +00:00
diego
60b39e2786
Give more descriptive names to the source and library variables and split
...
between common, MPlayer-specific and MEncoder-specific parts.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22546 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-13 12:10:57 +00:00
diego
4a75f5849f
Source files should not contain non-ASCII characters.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22525 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-12 15:52:34 +00:00
uau
a4c58e8f87
Allow demuxers to return packets with no pts in -correct-pts mode
...
as long as there are enough pts values for frames that the decoder
returns.
This should allow passing NAL units individually.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22516 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-11 17:30:44 +00:00
uau
e2e3c839e7
Reindent messy functions before working on them
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22515 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-11 17:30:43 +00:00
gpoirier
306f6243fd
Fix ratio aspect on Matroska files, broken with recent 'spect change in DVB' patch
...
patch by Carl Eugen Hoyos % cehoyos A ag P or P at %
Original thread:
Subj: [MPlayer-dev-eng] [PATCH] Fix aspect in mkv
Date: 03/05/2007 02:01 PM
Bug report report:
http://lists.mplayerhq.hu/pipermail/mplayer-users/2007-March/065823.html
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22484 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-07 09:19:36 +00:00
reimar
fa4f66ca08
Discard earlier failure in building filter chain when trying a new codec.
...
Avoids an incorrect "FATAL: Could not initialize video filters (-vf) or video output (-vo)."
message in some rare cases.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22423 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-03 16:59:39 +00:00