Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
videocodec.c File Reference
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/types.h>
#include <linux/slab.h>
#include "videocodec.h"

Go to the source code of this file.

Data Structures

struct  attached_list
 
struct  codec_list
 

Macros

#define VIDEOCODEC_VERSION   "v0.2"
 
#define dprintk(num, format, args...)
 

Functions

 module_param (debug, int, 0)
 
 MODULE_PARM_DESC (debug,"Debug level (0-4)")
 
struct videocodecvideocodec_attach (struct videocodec_master *master)
 
int videocodec_detach (struct videocodec *codec)
 
int videocodec_register (const struct videocodec *codec)
 
int videocodec_unregister (const struct videocodec *codec)
 
 EXPORT_SYMBOL (videocodec_attach)
 
 EXPORT_SYMBOL (videocodec_detach)
 
 EXPORT_SYMBOL (videocodec_register)
 
 EXPORT_SYMBOL (videocodec_unregister)
 
 module_init (videocodec_init)
 
 module_exit (videocodec_exit)
 
 MODULE_AUTHOR ("Wolfgang Scherr <scherr@net4you.at>")
 
 MODULE_DESCRIPTION ("Intermediate API module for video codecs "VIDEOCODEC_VERSION)
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define dprintk (   num,
  format,
  args... 
)
Value:
do { \
if (debug >= num) \
printk(format, ##args); \
} while (0)

Definition at line 52 of file videocodec.c.

#define VIDEOCODEC_VERSION   "v0.2"

Definition at line 30 of file videocodec.c.

Function Documentation

EXPORT_SYMBOL ( videocodec_attach  )
EXPORT_SYMBOL ( videocodec_detach  )
EXPORT_SYMBOL ( videocodec_register  )
EXPORT_SYMBOL ( videocodec_unregister  )
MODULE_AUTHOR ( "Wolfgang Scherr <scherr@net4you.at>"  )
MODULE_DESCRIPTION ( "Intermediate API module for video codecs "  VIDEOCODEC_VERSION)
module_exit ( videocodec_exit  )
module_init ( videocodec_init  )
MODULE_LICENSE ( "GPL"  )
module_param ( debug  ,
int  ,
 
)
MODULE_PARM_DESC ( debug  ,
"Debug level (0-4)"   
)
struct videocodec* videocodec_attach ( struct videocodec_master master)
read

Definition at line 77 of file videocodec.c.

int videocodec_detach ( struct videocodec codec)

Definition at line 169 of file videocodec.c.

int videocodec_register ( const struct videocodec codec)

Definition at line 234 of file videocodec.c.

int videocodec_unregister ( const struct videocodec codec)

Definition at line 269 of file videocodec.c.