This describe GM8126 ioctl functions: source/dvr_enc_api.h File Reference

GM8126 DVR

source/dvr_enc_api.h File Reference

Go to the source code of this file.

Data Structures

struct  EncParam_Ext1_tag
 no longer used, replace by EncParam_Ext4 More...
struct  EncParam_Ext2_tag
 no longer used, replace by EncParam_Ext4 More...
struct  EncParam_Ext3_tag
 no longer used, replace by EncParam_Ext4 More...
struct  EncParam_Ext4_tag
 encode parameter extension More...
struct  EncParam_Ext5_tag
struct  EncParam_tag
 encode parameter More...
struct  snapshot_param_tag
 snapshot parameter More...
struct  ReproduceBitStream_tag
 dvr bit stream parameter, include main, sub1, sub2 bit-stream. More...
struct  dvr_enc_src_tag
 dvr encode source parameter More...
struct  dvr_enc_channel_param_tag
 dvr encode channel parameter. More...
struct  dvr_enc_queue_get_tag
 get dvr encode buffer More...
struct  dvr_enc_update_channel_param_tag
 update dvr encode channel parameter More...
struct  dvr_enc_control_tag
 dvr encode control parameter More...
struct  dvr_enc_copy_buf_tag

Defines

#define POLLIN_MAIN_BS   0x0001
#define POLLIN_SUB1_BS   (POLLIN_MAIN_BS << 1)
#define POLLIN_SUB2_BS   (POLLIN_MAIN_BS << 2)
#define POLLIN_SUB3_BS   (POLLIN_MAIN_BS << 3)
#define POLLIN_SUB4_BS   (POLLIN_MAIN_BS << 4)
#define POLLIN_SUB5_BS   (POLLIN_MAIN_BS << 5)
#define POLLIN_SUB6_BS   (POLLIN_MAIN_BS << 6)
#define POLLIN_SUB7_BS   (POLLIN_MAIN_BS << 7)
#define POLLIN_SUB8_BS   (POLLIN_MAIN_BS << 8)
#define POLLIN_SNAP_BS   (1 << DVR_ENC_REPD_BT_NUM)
#define DVR_ENC_MAGIC   0x1689
#define DVR_ENC_MAGIC_SHIFT   16
#define DVR_ENC_MAGIC_ADD_VAL(val)   ((DVR_ENC_MAGIC << DVR_ENC_MAGIC_SHIFT)|(val))
#define DVR_ENC_CHECK_MAGIC(v)   (((v)>>DVR_ENC_MAGIC_SHIFT)==DVR_ENC_MAGIC)
#define DVR_ENC_GET_VALUE(v)   ((v)&((1<<DVR_ENC_MAGIC_SHIFT)-1))
#define DVR_ENC_ENHANCE_H264_RATECONTROL   1
#define DVR_ENC_MJPEG_FUNCTION   (1 << 1)
#define DVR_ENC_H264_WATERMARK   (1 << 2)
#define DVR_ENC_ROI_POS   (1 << 3)
#define DVR_ENC_ROI_ALL   (1 << 4)
#define DVR_ENC_EBST_ENABLE   0x55887799
#define DVR_ENC_EBST_DISABLE   0x0

Typedefs

typedef enum dvr_enc_src_type_tag dvr_enc_src_type
typedef struct EncParam_Ext1_tag EncParam_Ext1
typedef struct EncParam_Ext2_tag EncParam_Ext2
typedef struct EncParam_Ext3_tag EncParam_Ext3
typedef struct EncParam_Ext4_tag EncParam_Ext4
typedef struct EncParam_Ext5_tag EncParam_Ext5
typedef struct EncParam_tag EncParam
typedef struct snapshot_param_tag snapshot_param
typedef struct
ReproduceBitStream_tag 
ReproduceBitStream
typedef struct dvr_enc_src_tag dvr_enc_src_param
typedef struct
dvr_enc_channel_param_tag 
dvr_enc_channel_param
typedef enum
dvr_enc_channel_param_name_tag 
dvr_enc_channel_param_name
typedef struct
dvr_enc_queue_get_tag 
dvr_enc_queue_get
typedef struct
dvr_enc_update_channel_param_tag 
dvr_enc_update_channel_param
typedef struct dvr_enc_control_tag dvr_enc_control
typedef struct dvr_enc_copy_buf_tag dvr_enc_copy_buf

Enumerations

enum  dvr_enc_src_type_tag { ENC_TYPE_FROM_CAPTURE = 0, ENC_TYPE_FROM_CASCADE, ENC_TYPE_FROM_BUFFER, ENC_SRC_TYPE_COUNT }
enum  dvr_enc_channel_param_name_tag { ENC_PARAM_SRC_DIM, ENC_PARAM_DST_WIN }
enum  dvr_enc_ctrl_cmd {
  ENC_START, ENC_STOP, ENC_SNAP, ENC_UPDATE,
  ENC_RAW
}

Define Documentation

#define POLLIN_SUB1_BS   (POLLIN_MAIN_BS << 1)
Examples:
capture_raw.c, roi.c, sub-bitstream-record.c, and update-record-setting.c.

Definition at line 366 of file dvr_enc_api.h.

#define POLLIN_SUB2_BS   (POLLIN_MAIN_BS << 2)
Examples:
sub-bitstream-record.c, and update-record-setting.c.

Definition at line 367 of file dvr_enc_api.h.

#define POLLIN_SUB3_BS   (POLLIN_MAIN_BS << 3)

Definition at line 368 of file dvr_enc_api.h.

#define POLLIN_SUB4_BS   (POLLIN_MAIN_BS << 4)

Definition at line 369 of file dvr_enc_api.h.

#define POLLIN_SUB5_BS   (POLLIN_MAIN_BS << 5)

Definition at line 370 of file dvr_enc_api.h.

#define POLLIN_SUB6_BS   (POLLIN_MAIN_BS << 6)

Definition at line 371 of file dvr_enc_api.h.

#define POLLIN_SUB7_BS   (POLLIN_MAIN_BS << 7)

Definition at line 372 of file dvr_enc_api.h.

#define POLLIN_SUB8_BS   (POLLIN_MAIN_BS << 8)

Definition at line 373 of file dvr_enc_api.h.

#define POLLIN_SNAP_BS   (1 << DVR_ENC_REPD_BT_NUM)
Examples:
motion-detection-mpeg4.c, motion-detection.c, and snapshot.c.

Definition at line 374 of file dvr_enc_api.h.

#define DVR_ENC_MAGIC   0x1689

Definition at line 376 of file dvr_enc_api.h.

#define DVR_ENC_MAGIC_SHIFT   16

Definition at line 377 of file dvr_enc_api.h.

#define DVR_ENC_MAGIC_ADD_VAL (   val  )     ((DVR_ENC_MAGIC << DVR_ENC_MAGIC_SHIFT)|(val))
#define DVR_ENC_CHECK_MAGIC (   v  )     (((v)>>DVR_ENC_MAGIC_SHIFT)==DVR_ENC_MAGIC)

Definition at line 380 of file dvr_enc_api.h.

#define DVR_ENC_GET_VALUE (   v  )     ((v)&((1<<DVR_ENC_MAGIC_SHIFT)-1))

Definition at line 381 of file dvr_enc_api.h.

#define DVR_ENC_ENHANCE_H264_RATECONTROL   1

Definition at line 382 of file dvr_enc_api.h.

#define DVR_ENC_MJPEG_FUNCTION   (1 << 1)

Definition at line 383 of file dvr_enc_api.h.

#define DVR_ENC_H264_WATERMARK   (1 << 2)

Definition at line 384 of file dvr_enc_api.h.

#define DVR_ENC_ROI_POS   (1 << 3)

Definition at line 385 of file dvr_enc_api.h.

#define DVR_ENC_ROI_ALL   (1 << 4)

Definition at line 386 of file dvr_enc_api.h.

#define DVR_ENC_EBST_ENABLE   0x55887799
Examples:
sub-bitstream-record.c, and update-record-setting.c.

Definition at line 389 of file dvr_enc_api.h.

#define DVR_ENC_EBST_DISABLE   0x0

Definition at line 390 of file dvr_enc_api.h.


Typedef Documentation

no longer used, replace by EncParam_Ext4

no longer used, replace by EncParam_Ext4

no longer used, replace by EncParam_Ext4

encode parameter extension

typedef struct EncParam_tag EncParam

encode parameter

snapshot parameter

dvr bit stream parameter, include main, sub1, sub2 bit-stream.

dvr encode source parameter

dvr encode channel parameter.

get dvr encode buffer

update dvr encode channel parameter

dvr encode control parameter


Enumeration Type Documentation

Enumerator:
ENC_TYPE_FROM_CAPTURE 
ENC_TYPE_FROM_CASCADE 
ENC_TYPE_FROM_BUFFER 
ENC_SRC_TYPE_COUNT 

Definition at line 8 of file dvr_enc_api.h.

Enumerator:
ENC_PARAM_SRC_DIM 
ENC_PARAM_DST_WIN 

Definition at line 269 of file dvr_enc_api.h.

Enumerator:
ENC_START 
ENC_STOP 
ENC_SNAP 
ENC_UPDATE 
ENC_RAW 

Definition at line 287 of file dvr_enc_api.h.

Generated on Wed Jun 15 2011 15:51:00 for This describe GM8126 ioctl functions by  doxygen 1.7.1