comparison mencoder.c @ 7451:8669e56d2d98

some mpcodecs option declaration moved to cfg-*, as aren;t used by mencoder/mplayer core
author arpi
date Fri, 20 Sep 2002 18:54:22 +0000
parents e5e2243a3adb
children c65cb0d256c3
comparison
equal deleted inserted replaced
7450:9720e88cd0bc 7451:8669e56d2d98
87 static int has_audio=1; 87 static int has_audio=1;
88 char *audio_codec=NULL; // override audio codec 88 char *audio_codec=NULL; // override audio codec
89 char *video_codec=NULL; // override video codec 89 char *video_codec=NULL; // override video codec
90 char* audio_fm=NULL; // override audio codec family 90 char* audio_fm=NULL; // override audio codec family
91 char* video_fm=NULL; // override video codec family 91 char* video_fm=NULL; // override video codec family
92
93 // libvo opts: (defiend at libmpcodecs/vd.c)
94 extern int screen_size_xy;
95 extern float movie_aspect;
96 extern int softzoom;
97 extern int flip;
98
99 92
100 int out_audio_codec=-1; 93 int out_audio_codec=-1;
101 int out_video_codec=-1; 94 int out_video_codec=-1;
102 95
103 // audio stream skip/resync functions requires only for seeking. 96 // audio stream skip/resync functions requires only for seeking.
207 200
208 static char *seek_to_sec=NULL; 201 static char *seek_to_sec=NULL;
209 static off_t seek_to_byte=0; 202 static off_t seek_to_byte=0;
210 203
211 static int parse_end_at(struct config *conf, const char* param); 204 static int parse_end_at(struct config *conf, const char* param);
212 static uint8_t* flip_upside_down(uint8_t* dst, const uint8_t* src, int width, int height); 205 //static uint8_t* flip_upside_down(uint8_t* dst, const uint8_t* src, int width, int height);
213 206
214 #include "get_path.c" 207 #include "get_path.c"
215 208
216 #include "cfg-mplayer-def.h" 209 #include "cfg-mplayer-def.h"
217 #include "cfg-mencoder.h" 210 #include "cfg-mencoder.h"
1302 return ERR_FUNC_ERR; 1295 return ERR_FUNC_ERR;
1303 1296
1304 return 1; 1297 return 1;
1305 } 1298 }
1306 1299
1300 #if 0
1307 /* Flip the image in src and store the result in dst. src and dst may overlap. 1301 /* Flip the image in src and store the result in dst. src and dst may overlap.
1308 width is the size of each line in bytes. */ 1302 width is the size of each line in bytes. */
1309 static uint8_t* flip_upside_down(uint8_t* dst, const uint8_t* src, int width, 1303 static uint8_t* flip_upside_down(uint8_t* dst, const uint8_t* src, int width,
1310 int height) 1304 int height)
1311 { 1305 {
1319 } 1313 }
1320 1314
1321 free(tmp); 1315 free(tmp);
1322 return dst; 1316 return dst;
1323 } 1317 }
1324 1318 #endif