30 lines
686 B
C
30 lines
686 B
C
#ifndef RM_FORMAT_H
|
|
#define RM_FORMAT_H
|
|
|
|
#if !defined(BBEXTRACT)
|
|
#include "../rm_include.h"
|
|
#endif
|
|
|
|
typedef struct _VideoPreInfo {
|
|
|
|
bool bDuration;
|
|
unsigned int duration;
|
|
#if (CHECK_VIDEO_BITRATE)
|
|
bool bMOVSize;
|
|
unsigned int movSize;
|
|
#endif
|
|
unsigned int width;
|
|
unsigned int height;
|
|
} VideoPreInfo;
|
|
|
|
|
|
typedef enum {
|
|
VideoReadSensor = 0, // 센서 데이터 읽어 오기
|
|
VideoReadDuration = 1, // 재생시간만 확인
|
|
#if (CHECK_VIDEO_BITRATE)
|
|
VideoReadMOVSize = 2, // duration + 'mov' 크기 확인 (후방카메라 연결되지 않은경우 확인)
|
|
#endif
|
|
} VideoReadMode;
|
|
|
|
#endif // RM_FORMAT_H
|