Statistics
| Branch: | Revision:

chunker-player / chunker_streamer / chunker_streamer.h @ e11386c0

History | View | Annotate | Download (742 Bytes)

1
#ifndef _CHUNKER_STREAMER_H
2
#define _CHUNKER_STREAMER_H
3

    
4
#include <libavcodec/avcodec.h>
5
#include <libavformat/avformat.h>
6

    
7
#include "streamer_commons.h"
8
#include "chunker_metadata.h"
9
#include "codec_definitions.h"
10
#include "frame.h"
11

    
12
int ChunkerStreamerTestMode;
13

    
14
#define STREAMER_MAX_VIDEO_BUFFER_SIZE 200000
15
#define STREAMER_MAX_AUDIO_BUFFER_SIZE 10000
16

    
17
#ifndef __WIN32__
18
#define DELETE_DIR(folder) {char command_name[255]; sprintf(command_name, "rm -fR %s", folder); system(command_name); }
19
#define CREATE_DIR(folder) {char command_name[255]; sprintf(command_name, "mkdir %s", folder); system(command_name); }
20
#endif
21

    
22
#define LOOP_MODE 1
23
#define YUV_RECORD_ENABLED
24
//~ #define STREAMER_X264_USE_SSIM
25
//~ #define VIDEO_DEINTERLACE
26

    
27
#endif