Revision e11386c0 chunker_player/player_defines.h

View differences:

chunker_player/player_defines.h
1 1
#ifndef _CHUNKER_PLAYER_DEFINES_H
2 2
#define _CHUNKER_PLAYER_DEFINES_H
3 3

  
4

  
5 4
#include "codec_definitions.h"
6 5

  
7 6
#define PLAYER_FAIL_RETURN -1
......
15 14
#define AUDIO	1
16 15
#define VIDEO	2
17 16
#define QUEUE_MAX_GROW_FACTOR 20
18
#define LOSS_HISTORY_MAX_SIZE 400
19 17
#define CHANNEL_SCORE_HISTORY_SIZE 1000
20 18

  
21 19
#define FULLSCREEN_ICON_FILE "icons/fullscreen32.png"
22 20
#define NOFULLSCREEN_ICON_FILE "icons/nofullscreen32.png"
23 21
#define FULLSCREEN_HOVER_ICON_FILE "icons/fullscreen32.png"
24 22
#define NOFULLSCREEN_HOVER_ICON_FILE "icons/nofullscreen32.png"
23
#define AUDIO_ON_ICON_FILE "icons/audio_on.png"
24
#define AUDIO_OFF_ICON_FILE "icons/audio_off.png"
25 25

  
26 26
#define CHANNEL_UP_ICON_FILE "icons/up_16.png"
27 27
#define CHANNEL_DOWN_ICON_FILE "icons/down_16.png"
28 28

  
29
#define DEFAULT_CHANNEL_EXEC_PATH "../OfferStreamer/"
30
#define DEFAULT_CHANNEL_EXEC_NAME "offerstreamer-ml-monl-http"
29
#define DEFAULT_CHANNEL_EXEC_PATH "../Streamer/"
31 30
#define DEFAULT_CONF_FILENAME "channels.conf"
31
#define DEFAULT_PEEREXECNAME_FILENAME "peer_exec_name.conf"
32
#define DEFAULT_PEER_EXEC_NAME "winestreamer-ml-monl-http"
32 33

  
33 34
#define DEFAULT_WIDTH 704
34 35
#define DEFAULT_HEIGHT 576
35 36
#define DEFAULT_RATIO 1.22
36 37

  
37
#define BUTTONS_LAYER_OFFSET 10
38
#define BUTTONS_LAYER_OFFSET 20
38 39
#define BUTTONS_CONTAINER_HEIGHT 40
39 40
#define BUTTONS_CONTAINER_WIDTH 100
40 41

  
......
42 43
#define NO_FULLSCREEN_BUTTON_INDEX 1
43 44
#define CHANNEL_UP_BUTTON_INDEX 2
44 45
#define CHANNEL_DOWN_BUTTON_INDEX 3
46
#define AUDIO_OFF_BUTTON_INDEX 4
47
#define AUDIO_ON_BUTTON_INDEX 5
45 48

  
46
#define NBUTTONS 4
49
#define NBUTTONS 6
47 50
#define MAIN_FONT_FILE "mainfont.ttf"
48 51
#define MAIN_FONT_SIZE 18
49 52

  
50 53
#define STATS_FONT_FILE "stats_font.ttf"
51 54
#define STATS_FONT_SIZE 16
52
#define STATS_BOX_HEIGHT 10
55
#define STATS_BOX_HEIGHT 20
53 56

  
54 57
#define RESTORE_SCREEN_ON_ZAPPING
58
#define RESTART_FRAME_NUMBER_THRESHOLD 200
59

  
60
// how long (in seconds) is the statistics buffer
61
#define STATISTICS_WINDOW_SIZE 30
62

  
63
// milliseconds
64
#define STATS_THREAD_GRANULARITY 5
65
#define MAIN_STATS_WINDOW 1000
66
#define GUI_PRINTSTATS_INTERVAL 500
67
#define EVAL_QOE_INTERVAL 10000
68

  
69
#define MAX_FPS 50
70
#define QOE_REFERENCE_FRAME_WIDTH 352
71
#define QOE_REFERENCE_FRAME_HEIGHT 288
72

  
73
//~ #define SAVE_YUV
55 74

  
56 75
//#define DEBUG_AUDIO
57 76
//#define DEBUG_VIDEO
......
62 81
#define DEBUG_STATS_DEEP
63 82
//#define DEBUG_AUDIO_BUFFER
64 83
//#define DEBUG_CHUNKER
84
#define EMULATE_CHUNK_LOSS
65 85

  
86
#define VIDEO_DEINTERLACE
66 87

  
67 88
#endif // _CHUNKER_PLAYER_DEFINES_H

Also available in: Unified diff