Statistics
| Branch: | Revision:

chunker-player / chunker_streamer / chunker_streamer.h @ 5beb161d

History | View | Annotate | Download (990 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
#ifdef __LINUX__
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
#else
21
#define DELETE_DIR(folder) {char command_name[255]; sprintf(command_name, "rd /S /Q %s", folder); system(command_name); }
22
#define CREATE_DIR(folder) {char command_name[255]; sprintf(command_name, "mkdir %s", folder); system(command_name); }
23
#endif
24

    
25
#define LOOP_MODE 1
26
#define YUV_RECORD_ENABLED
27
//~ #define STREAMER_X264_USE_SSIM
28
//~ #define VIDEO_DEINTERLACE
29

    
30
#endif