Merge svn changes up to r28162

This commit is contained in:
Uoti Urpala 2008-12-19 00:29:24 +02:00
commit 71b25cca76
15 changed files with 123 additions and 45 deletions

View File

@ -1,4 +1,4 @@
.\" Synced with r28056
.\" Synced with r28126
.\" MPlayer (C) 2000-2008 MPlayer Team
.\" Ezt a man oldalt Gabucino, Diego Biurrun és Jonas Jermann készíti/készítette
.\" Karbantartó: Gabrov
@ -33,7 +33,7 @@
.\" Név
.\" --------------------------------------------------------------------------
.
.TH MPlayer 1 "2008. 12. 05." "MPlayer Project" "A film lejátszó"
.TH MPlayer 1 "2008. 12. 17." "MPlayer Project" "A film lejátszó"
.
.SH NÉV
mplayer \- film lejátszó
@ -3640,7 +3640,7 @@ haszn
direct rendering támogatását.
Az optimális sebességhez próbálj ki valami ehhez hasonlót
.br
\-vo gl:yuv=2:force\-pbo:ati\-hack \-dr \-noslices
\-vo gl:yuv=2:rectangle=2:force\-pbo:ati\-hack \-dr \-noslices
.br
A kód nagyon kevés ellenőrzést végez, így ha egy tulajdonság nem elérhető, az
azért lehet, mert a kártyád/OpenGL implementációd nem támogatja, akkor sem, ha
@ -3738,6 +3738,9 @@ be
A gamma külön állítható a vörös, zöld és kék színre.
A sebessége jobban függ a GPU memória sávszélességétől, mint a többi módszernél.
.RE
.IPs ycbcr
Használja a GL_MESA_ycbcr_texture bővítményt a YUV-RGB konverzióknál.
A legtöbb esetben ez valószínűleg lassabb, mint az RGB-be történő szoftveres konverzió.
.IPs lscale=<n>
Kiválasztja a használandó méretező függvényt a fényerősséghez.
Csak a 2-es, 3-as, 4-es és 6-os yuv módoknál helyes.
@ -3754,13 +3757,17 @@ Egy kicsit t
3: Ugyan az, mint az 1, de nem használ texturát.
Néhány kártyán gyorsabb lehet.
.br
4: Kísérleti életlenítő maszkot használ 3x3 támogatással és 0.5-ös erősséggel.
4: Kísérleti életlenítő maszkot használ 3x3 támogatással és az alapértelmezett 0.5-ös erősséggel
(lásd filter-strength).
.br
5: Kísérleti életlenítő maszkot használ 5x5 támogatással és 0.5-ös erősséggel.
5: Kísérleti életlenítő maszkot használ 5x5 támogatással és az alapértelmezett 0.5-ös erősséggel
(lásd filter-strength).
.RE
.IPs cscale=<n>
Kiválasztja a használandó méretező függvényt a színességhez.
A részletekért lásd a lscale-t.
.IPs filter-strength=<érték>
Beállítja a lscale/cscale szűrők erősségét, ahol ez támogatott.
.IPs customprog=<fájlnév>
Saját fragmentum programot tölt be a <fájlnév>-ből.
Lásd a TOOLS/edgedect.fp fájl példáért.
@ -4243,6 +4250,10 @@ Megadja a t
0-val nincs tömörítés, 9 a maximális tömörítés.
.IPs outdir=<könyvtárnév>
Megadja a könyvtárat, ahova a PNG fájlokat menteni kell (alapértelmezett: ./).
.IPs alpha (alapértelmezett: noalpha)
Alfa csatornás PNG fájlok létrehozása.
Ne feledd, hogy az MPlayer általában nem támogatja az alfát, ezért ez csak
néhány ritka esetben hasznos.
.RE
.PD 1
.

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- synced with r27867 -->
<!-- synced with r28148 -->
<chapter id="install">
<title>Telepítés</title>
@ -443,7 +443,7 @@ Ha inkább a külső függvénykönyvtárat használnád, telepítsd és add meg
FAAD2 binárisok nem tölthetőek le az audiocoding.com-ról, de (apt-)get-tel
telepítheted <ulink url="http://www.debian-multimedia.org/">Christian Marillat</ulink> Debian csomagjait,
vagy Mandrake/Mandriva RPM-et a <ulink url="http://plf.zarb.org">P.L.F</ulink>-ről,
Fedora RPM-et pedig a <ulink url="http://rpm.livna.org/">Livna</ulink>-ról.
Fedora/CentOS/RHEL RPM-et pedig az <ulink url="http://rpmfusion.org/">RPMFusion</ulink>-ról.
</para>
<para>
Ha úgy döntesz, hogy forrásból fordítasz, nem kell a teljes FAAD2 az AAC fájlok

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- synced with r26990 -->
<!-- synced with r28148 -->
<chapter id="ports" xreflabel="Ports">
<title>Portok</title>
@ -61,8 +61,8 @@ a bináris codec csomagokból, melyek akár az apt-get segítségével is telep
<para>
Dominik Mierzejewski tartja karban az <application>MPlayer</application>
hivatalos RPM csomagjait a Fedora Core-hoz. Elérhetőek
a <ulink url="http://rpm.livna.org/">Livna repository</ulink>-ban.
hivatalos RPM csomagjait a Fedora-hoz és CentOS/RHEL-hez. Elérhetőek
a <ulink url="http://rpmfusion.org/">RPMFusion repository</ulink>-ban.
</para>
<para>

View File

@ -356,7 +356,7 @@ SRCS_COMMON-$(LIBMPEG2) += libmpcodecs/vd_libmpeg2.c \
libmpeg2/slice.c
SRCS_COMMON-$(LIBMPEG2)-$(ARCH_ALPHA) += libmpeg2/idct_alpha.c \
libmpeg2/motion_comp_alpha.c
SRCS_COMMON-$(LIBMPEG2)-$(ARCH_ARMV4L) += libmpeg2/motion_comp_arm.c \
SRCS_COMMON-$(LIBMPEG2)-$(ARCH_ARM) += libmpeg2/motion_comp_arm.c \
libmpeg2/motion_comp_arm_s.S
SRCS_COMMON-$(LIBMPEG2)-$(HAVE_ALTIVEC) += libmpeg2/idct_altivec.c \
libmpeg2/motion_comp_altivec.c
@ -726,7 +726,7 @@ DIRS = . \
libass \
ffmpeg/libavcodec \
ffmpeg/libavcodec/alpha \
ffmpeg/libavcodec/armv4l \
ffmpeg/libavcodec/arm \
ffmpeg/libavcodec/bfin \
ffmpeg/libavcodec/i386 \
ffmpeg/libavcodec/mlib \

12
configure vendored
View File

@ -1681,7 +1681,7 @@ EOF
fi
_arch_all='X86 X86_32 X86_64 IA64 SPARC ARM ARMV4L SH POWERPC PPC ALPHA SGI_MIPS PA_RISC S390 S390X VAX BFIN XTENSA GENERIC'
_arch_all='X86 X86_32 X86_64 IA64 SPARC ARM SH POWERPC PPC ALPHA SGI_MIPS PA_RISC S390 S390X VAX BFIN XTENSA GENERIC'
case "$host_arch" in
i[3-9]86|x86|x86pc|k5|k6|k6-2|k6-3|pentium*|athlon*|i586-i686)
_arch='X86 X86_32'
@ -2028,8 +2028,8 @@ EOF
;;
arm|armv4l|armv5tel)
_arch='ARM ARMV4L'
_target_arch='ARCH_ARMV4L = yes'
_arch='ARM'
_target_arch='ARCH_ARM = yes'
iproc='arm'
;;
@ -4120,12 +4120,12 @@ EOF
done
fi
if test "$_xvmc" = yes ; then
_def_xvmc='#define HAVE_XVMC 1'
_def_xvmc='#define CONFIG_XVMC 1'
_libs_mplayer="$_libs_mplayer -lXvMC -l$_xvmclib"
_vomodules="xvmc $_vomodules"
_res_comment="using $_xvmclib"
else
_def_xvmc='#undef HAVE_XVMC'
_def_xvmc='#undef CONFIG_XVMC'
_novomodules="xvmc $_novomodules"
_libavdecoders=`echo $_libavdecoders | sed -e s/MPEG_XVMC_DECODER// `
fi
@ -7984,7 +7984,6 @@ GUI_GTK = $_gui_gtk
GUI_WIN32 = $_gui_win32
HAVE_POSIX_SELECT = $_posix_select
HAVE_SYS_MMAN_H = $_mman
HAVE_XVMC = $_xvmc
IVTV = $_ivtv
JACK = $_jack
JOYSTICK = $_joystick
@ -8139,6 +8138,7 @@ CONFIG_MUXERS=$_mencoder
CONFIG_POSTPROC = yes
# Prevent building libavcodec/imgresample.c with conflicting symbols
CONFIG_SWSCALE=yes
CONFIG_XVMC=$_xvmc
CONFIG_ZLIB=$_zlib
HAVE_PTHREADS = $_pthreads

View File

@ -66,6 +66,15 @@ videocodec zmbv
dll "zmbv.dll"
out BGR24,BGR15,BGR8 query,flip
videocodec yuv8
info "YUV422 = Cb0 Y0 Cr0 Y1 Cb1 Y2 Cr1 Y3 (U Y V Y U Y V Y)"
status working
fourcc yuv8
driver vfwex
dll "kdvyuv8.dll" ; i wonder if this works with raw codecs?
out YV12,I420,UYVY
out BGR24,BGR15,BGR32
videocodec blackmagic
info "Blackmagic 10-bit"
status working
@ -417,7 +426,7 @@ videocodec ffqtrle
videocodec ffrpza
info "QuickTime Apple Video"
status working
fourcc rpza,azpr
fourcc rpza,azpr,RPZA,AZPR
driver ffmpeg
dll "rpza"
out BGR15
@ -495,6 +504,15 @@ videocodec msuscls
dll "SCLS.DLL"
out BGR32,BGR24,BGR16 flip
videocodec wincam
info "wincam screen capture codec"
comment "requires Zlib.dll"
status working
fourcc WCMV
driver vfw
dll "wcmv.dll" ; requires Zlib.dll
out BGR15 flip
videocodec cram
info "Microsoft Video 1"
comment "-vf palette required for 8bpp"
@ -703,6 +721,7 @@ videocodec ffdivx
fourcc AP41 div3 ; AngelPotion stuff
fourcc COL1,col1,COL0,col0 ; Cool codec (based on mpg4ds32.ax)
fourcc 3IVD,3ivd ; divxdoctored files (3ivx.com)
fourcc DVX3
driver ffmpeg
dll msmpeg4
out YV12,I420,IYUV
@ -804,7 +823,7 @@ videocodec ffodivx
fourcc FVFW,fvfw
fourcc FFDS
fourcc DCOD,MVXM,EM4A,PM4V
fourcc M4T3,DMK2,DIGI
fourcc M4T3,DMK2,DIGI,INMC
driver ffmpeg
dll mpeg4 ;opendivx
out YV12,I420,IYUV
@ -854,7 +873,7 @@ videocodec xvid
fourcc VIDM ; vidm 4.01 codec
fourcc FFDS
fourcc DCOD,MVXM,EM4A,PM4V
fourcc M4T3,DMK2,DIGI
fourcc M4T3,DMK2,DIGI,INMC
format 0x10000004 ; mpeg 4 es
driver xvid
out YV12
@ -1038,6 +1057,13 @@ videocodec ubmp4
out I420
out UYVY
videocodec geomp4
info "GeoVision Advanced MPEG-4"
status working
fourcc GMP4,GM40
driver vfw
dll "GXAMP4.dll"
out BGR24 flip
; MJPEG:
; Notes: m3jpeg+mjpeg are MMX optimized. avid is very stable but slow.
@ -1066,7 +1092,7 @@ videocodec ffmjpeg
fourcc LJPG ; lossless JPEG
fourcc dmb1 ; MJPEG by Matrox Rainbow Runner
fourcc MJLS ; JPEG-LS custom FOURCC for avi - encoder
fourcc MMJP
fourcc MMJP,QIVG
fourcc ACDV ; ACDSee jpeg
driver ffmpeg
dll mjpeg
@ -1776,6 +1802,14 @@ videocodec mwv1
dll "icmw_32.dll"
out BGR24,BGR15 flip
videocodec wavcvfw
info "centre for wavelets, approximation and infromation processing"
status working
fourcc wavc
driver vfw
dll "WavCWAIP.dll"
out BGR24 flip
videocodec asv2
info "ASUS V2"
status working
@ -1838,8 +1872,9 @@ videocodec vcr2
out YV12
out BGR24
videocodec CJPG
info "CJPG"
videocodec cjpg
info "Creative Labs Video Blaster Webcam"
comment "sequential jpeg files?"
status working
fourcc CJPG
driver vfw
@ -1848,6 +1883,24 @@ videocodec CJPG
out UYVY
out BGR24,BGR15
videocodec kensington
info "kensington webcam"
status working
fourcc AJPG,ABYR
fourcc LBYR,JBYR ; untested, creative labs cam
fourcc UV12 ; untested
driver vfw
dll "aoxdxipl.ax"
out BGR24 flip
videocodec xjpg
info "xiricam Veo PC Camera"
status working
fourcc XJPG
driver vfw
dll "camfc.dll"
out BGR24 flip
videocodec ffduck
info "Duck Truemotion1"
status working
@ -1899,6 +1952,14 @@ videocodec ffsp5x
dll "sp5x"
out YV12
videocodec sp6x
info "SP6x codec"
status buggy
fourcc SP60,SP61,SP62
driver vfw
dll "sp6x_32.dll"
out BGR24 flip
videocodec sp5x
info "SP5x codec - used by Aiptek MegaCam"
status working
@ -1972,6 +2033,15 @@ videocodec eyecon
dll "nub2.dll"
out YV12,YUY2
videocodec smsvvfw
info "WorldConnect Wavelet Video"
comment "found in visualmail videos"
status working
fourcc SMSV
driver vfw
dll "wv32vfw.dll"
out BGR24 flip
videocodec foxmotion
info "fox motion video"
status working

View File

@ -3,7 +3,7 @@
//... Okay enough of the hw, now send the other two!
//
// Updated by: Gabrov <gabrov@freemail.hu>
// Sync'ed with help_mp-en.h r27967 (2008. 12. 05.)
// Sync'ed with help_mp-en.h r28122 (2008. 12. 17.)
// ========================= MPlayer help ===========================

View File

@ -120,6 +120,9 @@ static int control(int cmd, void *arg)
long get_vol, set_vol;
float f_multi;
if(ao_data.format == AF_FORMAT_AC3)
return CONTROL_TRUE;
if(mixer_channel) {
char *test_mix_index;
@ -138,9 +141,6 @@ static int control(int cmd, void *arg)
}
if(mixer_device) card = mixer_device;
if(ao_data.format == AF_FORMAT_AC3)
return CONTROL_TRUE;
//allocate simple id
snd_mixer_selem_id_alloca(&sid);

View File

@ -27,7 +27,7 @@ LIBVD_EXTERN(ffmpeg)
#include "libavcodec/avcodec.h"
#ifdef HAVE_XVMC
#ifdef CONFIG_XVMC
#include "xvmc_render.h"
#endif
@ -61,7 +61,7 @@ typedef struct {
static int get_buffer(AVCodecContext *avctx, AVFrame *pic);
static void release_buffer(AVCodecContext *avctx, AVFrame *pic);
#ifdef HAVE_XVMC
#ifdef CONFIG_XVMC
static enum PixelFormat get_format(struct AVCodecContext * avctx,
const enum PixelFormat * pix_fmt);
static int mc_get_buffer(AVCodecContext *avctx, AVFrame *pic);
@ -125,7 +125,7 @@ static int control(sh_video_t *sh,int cmd,void* arg,...){
if(avctx->pix_fmt==PIX_FMT_YUV420P) return CONTROL_TRUE;// u/v swap
if(avctx->pix_fmt==PIX_FMT_YUV422P && !ctx->do_dr1) return CONTROL_TRUE;// half stride
break;
#ifdef HAVE_XVMC
#ifdef CONFIG_XVMC
case IMGFMT_XVMC_IDCT_MPEG2:
case IMGFMT_XVMC_MOCO_MPEG2:
if(avctx->pix_fmt==PIX_FMT_XVMC_MPEG2_IDCT) return CONTROL_TRUE;
@ -233,7 +233,7 @@ static int init(sh_video_t *sh){
ctx->avctx = avcodec_alloc_context();
avctx = ctx->avctx;
#ifdef HAVE_XVMC
#ifdef CONFIG_XVMC
#ifdef CODEC_CAP_HWACCEL
if(lavc_codec->capabilities & CODEC_CAP_HWACCEL){
@ -250,7 +250,7 @@ static int init(sh_video_t *sh){
avctx->draw_horiz_band = mc_render_slice;
avctx->slice_flags=SLICE_FLAG_CODED_ORDER|SLICE_FLAG_ALLOW_FIELD;
}else
#endif /* HAVE_XVMC */
#endif /* CONFIG_XVMC */
if(ctx->do_dr1){
avctx->flags|= CODEC_FLAG_EMU_EDGE;
avctx->get_buffer= get_buffer;
@ -517,7 +517,7 @@ static int init_vo(sh_video_t *sh, enum PixelFormat pix_fmt){
case PIX_FMT_RGB565: ctx->best_csp=IMGFMT_BGR16;break; //4xm
case PIX_FMT_GRAY8: ctx->best_csp=IMGFMT_Y800;break; // gray jpeg
case PIX_FMT_PAL8: ctx->best_csp=IMGFMT_BGR8;break; //8bps,mrle,cram
#ifdef HAVE_XVMC
#ifdef CONFIG_XVMC
case PIX_FMT_XVMC_MPEG2_MC:ctx->best_csp=IMGFMT_XVMC_MOCO_MPEG2;break;
case PIX_FMT_XVMC_MPEG2_IDCT:ctx->best_csp=IMGFMT_XVMC_IDCT_MPEG2;break;
#endif
@ -895,7 +895,7 @@ static mp_image_t* decode(sh_video_t *sh,void* data,int len,int flags){
return mpi;
}
#ifdef HAVE_XVMC
#ifdef CONFIG_XVMC
static enum PixelFormat get_format(struct AVCodecContext * avctx,
const enum PixelFormat * fmt){
sh_video_t * sh = avctx->opaque;
@ -1055,4 +1055,4 @@ uint8_t *source[3]= {src->data[0], src->data[1], src->data[2]};
}
#endif // HAVE_XVMC
#endif /* CONFIG_XVMC */

View File

@ -213,7 +213,7 @@ const struct vo_driver *video_out_drivers[] =
#endif
&video_out_null,
// should not be auto-selected
#ifdef HAVE_XVMC
#ifdef CONFIG_XVMC
&video_out_xvmc,
#endif
&video_out_mpegpes,

View File

@ -37,6 +37,7 @@
#include "aspect.h"
#include "geometry.h"
#include "mp_fifo.h"
#include "sub.h"
#ifdef CONFIG_GUI
#include "gui/interface.h"

View File

@ -30,7 +30,7 @@
#include "m_option.h"
#include "mp_fifo.h"
#include "mpbswap.h"
#include "libvo/sub.h"
#include "sub.h"
#include "input/input.h"
#include "input/mouse.h"

View File

@ -29,12 +29,6 @@
#define attribute_used
#endif
/* Feel free to add more to the list, eg. a.out IMO */
#if defined(__CYGWIN__) || defined(__MINGW32__) || defined(__OS2__) || \
(defined(__OpenBSD__) && !defined(__ELF__)) || defined(__APPLE__)
#define MANGLE(a) "_" #a
#else
#define MANGLE(a) #a
#endif
#define MANGLE(a) EXTERN_PREFIX #a
#endif /* MPLAYER_MANGLE_H */

View File

@ -29,6 +29,7 @@
#define real float /* ugly - but only way */
#include "config.h"
#include "mangle.h"
#ifdef DCT36_OPTIMIZE_FOR_K7

View File

@ -3,6 +3,7 @@
* See ChangeLog of mpg123-0.59s-pre.1 for detail
* Applied to mplayer by Nick Kurshev <nickols_k@mail.ru>
*/
#include "config.h"
#include "mangle.h"
#define real float /* ugly - but only way */