- #define STRSIZE 128
- // define Video flag to tell whether the value has been changed or not
- #define PICTURE_WIDTH 0x00000001
- #define PICTURE_HEIGTH 0x00000002
- #define FRAME_RATE 0x00000004
- #define BIT_RATE 0x00000008
- #define I_INTERVAL 0x00000010
- #define P_INTERVAL 0x00000020
- #define VIDEO_INPUT 0x00000040
- #define VIDEO_MODE 0x00000080
- #define VIDEO_BRIGHTNESS 0x00000100
- #define VIDEO_HUE 0x00000200
- #define VIDEO_CONTRAST 0x00000400
- #define VIDEO_SATURATION 0x00000800
- #define VIDEO_ALGORITHM 0x00001000
- #define VIDEO_SIZE 0x00002000
- #define PICWIDTH_DEFAULT 352
- #define PICHEIGTH_DEFAULT 240
- #define FRAMERATE_DEFAULT VF_FLAG_VID_2997
- #define BITRATE_DEFAULT 1152000
- #define IINTERVAL_DEFAULT 15
- #define PINTERVAL_DEFAULT 3
- #define XOFFSET_DEFAULT 0
- #define YOFFSET_DEFAULT 0
- #define BRIGHTNESS_DEFAULT 50
- #define BRIGHTNESS_MIN 0
- #define BRIGHTNESS_MAX 100
- #define CONTRAST_DEFAULT 100
- #define CONTRAST_MIN 0
- #define CONTRAST_MAX 200
- #define HUE_DEFAULT 90
- #define HUE_MIN 0
- #define HUE_MAX 180
- #define SATURATION_DEFAULT 100
- #define SATURATION_MIN 0
- #define SATURATION_MAX 200
- #define LAYER_DEFAULT VF_FLAG_AUD_LAYER2
- #define CHANNEL_DEFAULT VF_FLAG_AUD_2CHANNEL
- #define ENCALGO_DEFAULT VF_FLAG_AUD_MPEG
- #define DECALGO_DEFAULT VF_FLAG_AUD_NONE
- #define MODE_DEFAULT VF_FLAG_AUD_STEREO
- #define VIDEO_ALGORITHM_DEFAULT VF_FLAG_VID_MPEG
- #define SIZE_SIF 1
- #define SIZE_QSIF 2
- #define SIZE_CIF 3
- #define SIZE_QCIF 4
- #define MPEG_VIDEO_SIZE_DEFAULT SIZE_SIF
- #define H261_VIDEO_SIZE_DEFAULT SIZE_CIF
- #define TIMESLIDER_MIN 1
- #define TIMESLIDER_MAX 10000
- #define FRAME_RATE_12012 12012
- #define FRAME_RATE_14400 14400
- #define FRAME_RATE_15000 15000
- #define FRAME_RATE_15015 15015
- #define FRAME_RATE_2997 "29.970"
- #define FRAME_RATE_25 "25.000"
- #define FRAME_RATE_24 "24.000"
- #define FRAME_RATE_2394 "23.940"
- // define Audio flag to tell whether the value has been changed or not
- #define AUDIO_SAMPLERATE 0x00000001
- #define AUDIO_BITRATE 0x00000002
- #define AUDIO_VOLUME 0x00000004
- #define AUDIO_INPUTMODE 0x00000008
- #define AUDIO_GAIN 0x00000010
- #define AUDIO_ENCALGO 0x00000020
- #define AUDIO_DECALGO 0x00000040
- #define AUDIO_LAYER 0x00000080
- #define AUDIO_CHANNEL 0x00000100
- #define VOLUME_MIN 0
- #define VOLUME_MAX 100
- #define VOLUME_DEFAULT 100
- #define SAMPLE_RATE_DEFAULT 0 // 44100
- #define BIT_RATE_DEFAULT 11 // 192000
- #define BIT_RATE_DEFAULT_MONO 10 // 192000
- #define BIT_RATE_DEFAULT_STEREO 7 // 224000
- #define GAIN_MIN 0
- #define GAIN_MAX 100
- #define GAIN_DEFAULT 0
- #define VF_SYSTEM_PKTON 1
- #define VF_SYSTEM_PKTOFF 0
- // define SYSTEM flag to tell whether the value has been changed or not
- //#define SYSTEM_STREAMTYPE 0x00000001
- #define BITSTREAM_DEFAULT VF_FLAG_MPGSYS
- #define LIVEVIEW_MODE 0
- #define PLAY_MODE 1
- #define PLAY_PAUSE_MODE 2
- #define RECORD_MODE 3
- //define mute state
- #define AUDIO_MUTE 1
- #define AUDIO_UNMUTE 2
- #define AUDIO_AUTOMUTE 3