Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
saa6752hs.c File Reference
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/string.h>
#include <linux/timer.h>
#include <linux/delay.h>
#include <linux/errno.h>
#include <linux/slab.h>
#include <linux/poll.h>
#include <linux/i2c.h>
#include <linux/types.h>
#include <linux/videodev2.h>
#include <media/v4l2-device.h>
#include <media/v4l2-common.h>
#include <media/v4l2-chip-ident.h>
#include <linux/init.h>
#include <linux/crc32.h>

Go to the source code of this file.

Data Structures

struct  saa6752hs_mpeg_params
 
struct  saa6752hs_state
 

Macros

#define MPEG_VIDEO_TARGET_BITRATE_MAX   27000
 
#define MPEG_VIDEO_MAX_BITRATE_MAX   27000
 
#define MPEG_TOTAL_TARGET_BITRATE_MAX   27000
 
#define MPEG_PID_MAX   ((1 << 14) - 1)
 

Enumerations

enum  saa6752hs_videoformat {
  SAA6752HS_VF_D1 = 0, SAA6752HS_VF_2_3_D1 = 1, SAA6752HS_VF_1_2_D1 = 2, SAA6752HS_VF_SIF = 3,
  SAA6752HS_VF_UNKNOWN
}
 
enum  saa6752hs_command {
  SAA6752HS_COMMAND_RESET = 0, SAA6752HS_COMMAND_STOP = 1, SAA6752HS_COMMAND_START = 2, SAA6752HS_COMMAND_PAUSE = 3,
  SAA6752HS_COMMAND_RECONFIGURE = 4, SAA6752HS_COMMAND_SLEEP = 5, SAA6752HS_COMMAND_RECONFIGURE_FORCE = 6, SAA6752HS_COMMAND_MAX
}
 

Functions

 MODULE_DESCRIPTION ("device driver for saa6752hs MPEG2 encoder")
 
 MODULE_AUTHOR ("Andrew de Quincey")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_DEVICE_TABLE (i2c, saa6752hs_id)
 
 module_i2c_driver (saa6752hs_driver)
 

Macro Definition Documentation

#define MPEG_PID_MAX   ((1 << 14) - 1)

Definition at line 45 of file saa6752hs.c.

#define MPEG_TOTAL_TARGET_BITRATE_MAX   27000

Definition at line 44 of file saa6752hs.c.

#define MPEG_VIDEO_MAX_BITRATE_MAX   27000

Definition at line 43 of file saa6752hs.c.

#define MPEG_VIDEO_TARGET_BITRATE_MAX   27000

Definition at line 42 of file saa6752hs.c.

Enumeration Type Documentation

Enumerator:
SAA6752HS_COMMAND_RESET 
SAA6752HS_COMMAND_STOP 
SAA6752HS_COMMAND_START 
SAA6752HS_COMMAND_PAUSE 
SAA6752HS_COMMAND_RECONFIGURE 
SAA6752HS_COMMAND_SLEEP 
SAA6752HS_COMMAND_RECONFIGURE_FORCE 
SAA6752HS_COMMAND_MAX 

Definition at line 103 of file saa6752hs.c.

Enumerator:
SAA6752HS_VF_D1 
SAA6752HS_VF_2_3_D1 
SAA6752HS_VF_1_2_D1 
SAA6752HS_VF_SIF 
SAA6752HS_VF_UNKNOWN 

Definition at line 52 of file saa6752hs.c.

Function Documentation

MODULE_AUTHOR ( "Andrew de Quincey"  )
MODULE_DESCRIPTION ( "device driver for saa6752hs MPEG2 encoder"  )
MODULE_DEVICE_TABLE ( i2c  ,
saa6752hs_id   
)
module_i2c_driver ( saa6752hs_driver  )
MODULE_LICENSE ( "GPL"  )