pure sdk for main
This commit is contained in:
@@ -0,0 +1,69 @@
|
||||
#ifndef __SPOOK_CONFGIG_H__
|
||||
#define __SPOOK_CONFGIG_H__
|
||||
|
||||
//#include <board_config.h>
|
||||
|
||||
#define FRAME_HEAP 20
|
||||
#define SPOOK_MAX_FRAME_SIZE 0/*352*288*3*/
|
||||
#define SPOOK_PORT 7070
|
||||
|
||||
//#define JPEG_ENCODER_NAME "jpeg_dvp"
|
||||
//#define JPEG_ENCODER2_NAME "jpeg_usb"
|
||||
|
||||
#define FILE_JPEG_ENCODER_NAME "jpeg_file"
|
||||
|
||||
#define JPEG_FRAMEINC 1
|
||||
|
||||
#define AUDIO_ENCODER_NAME "audio"
|
||||
#define FILE_AUDIO_ENCODER_NAME "audio"
|
||||
|
||||
|
||||
#define EXCHANGER_SLOT_SIZE 16
|
||||
|
||||
//#define RTSP_LIVE_PATH "/webcam" /* /webcam */
|
||||
//#define RTSP_LIVE_USB_PATH "/webcam2" /* /webcam */
|
||||
#define RTSP_WEB_PATH "/file" /* /webcam */
|
||||
|
||||
|
||||
//#define RTSP_LIVE_TRACK "jpeg_dvp"
|
||||
//#define RTSP_LIVE2_TRACK "jpeg_usb"
|
||||
#define RTSP_WEBFILE_TRACK "jpeg_file"
|
||||
|
||||
|
||||
#define RTSP_LIVE_AUDIO_TRACK "audio"
|
||||
#define RTSP_WEBFILE_AUDIO_TRACK "audio_file"
|
||||
|
||||
|
||||
|
||||
#define HTTP_PATTH "/webcam" /* /webcam */
|
||||
#define HTTP_INPUT_NAME "jpeg"
|
||||
#define HTTP_MODE "stream"
|
||||
|
||||
|
||||
#define JPEG_FIFO_SIZE 3
|
||||
|
||||
#define SCAN_DATA_OFFSET 0x253//0X265
|
||||
|
||||
#define MAX_DATA_PACKET_SIZE 1440
|
||||
|
||||
#define SPOOK_CACHE_BUF_LEN 1600
|
||||
extern unsigned int live_buf_cache[SPOOK_CACHE_BUF_LEN/4];
|
||||
|
||||
|
||||
|
||||
typedef struct
|
||||
{
|
||||
const char* sema_name; //sema name
|
||||
const char* rtp_video_name; //rtp流名字
|
||||
const char* audio_name;
|
||||
const char* thread_name;
|
||||
const char* stream_name;
|
||||
const char *jpg_name;
|
||||
const char* path;
|
||||
}rtp_name;
|
||||
|
||||
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user