Mercurial > mplayer.hg
annotate libmpcodecs/ve.c @ 13935:20d243a3c398
keep screensaver off when playing multiple files.
patch by rgselknospam (at) yahoo [dot] com.
author | reimar |
---|---|
date | Sun, 14 Nov 2004 11:36:40 +0000 |
parents | d198f255bee9 |
children | d7a2ffc6e694 |
rev | line source |
---|---|
5550 | 1 #include <stdio.h> |
2 #include <stdlib.h> | |
3 #include <string.h> | |
4 | |
5 #include "../config.h" | |
6 #include "../mp_msg.h" | |
7 | |
5607 | 8 #include "img_format.h" |
9 #include "mp_image.h" | |
5550 | 10 #include "vf.h" |
11 | |
12 extern vf_info_t ve_info_divx4; | |
13 extern vf_info_t ve_info_lavc; | |
14 extern vf_info_t ve_info_vfw; | |
11966 | 15 extern vf_info_t ve_info_raw; |
5577 | 16 extern vf_info_t ve_info_libdv; |
7456 | 17 extern vf_info_t ve_info_xvid; |
8471 | 18 extern vf_info_t ve_info_qtvideo; |
9520
2860f7c9d9ca
A new nuppel video encoder. Mainly for RT encoding on slow box.
albeu
parents:
8471
diff
changeset
|
19 extern vf_info_t ve_info_nuv; |
13166
d198f255bee9
x264 encoder support. Original patch send by Bernhard Rosenkraenzer <bero at arklinux dot org>, modifications by Loren Merritt <lorenm at u.washington dot edu>, Jeff Clagg <snacky at ikaruga.co dot uk> and me
iive
parents:
11966
diff
changeset
|
20 extern vf_info_t ve_info_x264; |
5550 | 21 |
22 static vf_info_t* encoder_list[]={ | |
23 #ifdef HAVE_DIVX4ENCORE | |
24 &ve_info_divx4, | |
25 #endif | |
26 #ifdef USE_LIBAVCODEC | |
27 &ve_info_lavc, | |
28 #endif | |
29 #ifdef USE_WIN32DLL | |
30 &ve_info_vfw, | |
8471 | 31 &ve_info_qtvideo, |
5550 | 32 #endif |
5577 | 33 #ifdef HAVE_LIBDV095 |
34 &ve_info_libdv, | |
35 #endif | |
11966 | 36 &ve_info_raw, |
11436 | 37 #if defined(HAVE_XVID3) || defined(HAVE_XVID4) |
7456 | 38 &ve_info_xvid, |
39 #endif | |
9520
2860f7c9d9ca
A new nuppel video encoder. Mainly for RT encoding on slow box.
albeu
parents:
8471
diff
changeset
|
40 &ve_info_nuv, |
13166
d198f255bee9
x264 encoder support. Original patch send by Bernhard Rosenkraenzer <bero at arklinux dot org>, modifications by Loren Merritt <lorenm at u.washington dot edu>, Jeff Clagg <snacky at ikaruga.co dot uk> and me
iive
parents:
11966
diff
changeset
|
41 #ifdef HAVE_X264 |
d198f255bee9
x264 encoder support. Original patch send by Bernhard Rosenkraenzer <bero at arklinux dot org>, modifications by Loren Merritt <lorenm at u.washington dot edu>, Jeff Clagg <snacky at ikaruga.co dot uk> and me
iive
parents:
11966
diff
changeset
|
42 &ve_info_x264, |
d198f255bee9
x264 encoder support. Original patch send by Bernhard Rosenkraenzer <bero at arklinux dot org>, modifications by Loren Merritt <lorenm at u.washington dot edu>, Jeff Clagg <snacky at ikaruga.co dot uk> and me
iive
parents:
11966
diff
changeset
|
43 #endif |
5550 | 44 NULL |
45 }; | |
46 | |
47 vf_instance_t* vf_open_encoder(vf_instance_t* next, char *name, char *args){ | |
9595 | 48 char* vf_args[] = { "_oldargs_", args, NULL }; |
49 return vf_open_plugin(encoder_list,next,name,vf_args); | |
5550 | 50 } |
51 |