Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
m2m-deinterlace.c File Reference
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/interrupt.h>
#include <linux/dmaengine.h>
#include <linux/platform_device.h>
#include <media/v4l2-mem2mem.h>
#include <media/v4l2-device.h>
#include <media/v4l2-ioctl.h>
#include <media/videobuf2-dma-contig.h>

Go to the source code of this file.

Data Structures

struct  deinterlace_fmt
 
struct  deinterlace_q_data
 
struct  deinterlace_dev
 
struct  deinterlace_ctx
 
struct  vb2_dc_conf
 

Macros

#define MEM2MEM_TEST_MODULE_NAME   "mem2mem-deinterlace"
 
#define MEM2MEM_CAPTURE   (1 << 0)
 
#define MEM2MEM_OUTPUT   (1 << 1)
 
#define MEM2MEM_NAME   "m2m-deinterlace"
 
#define dprintk(dev, fmt, arg...)   v4l2_dbg(1, debug, &dev->v4l2_dev, "%s: " fmt, __func__, ## arg)
 
#define NUM_FORMATS   ARRAY_SIZE(formats)
 

Enumerations

enum  { V4L2_M2M_SRC = 0, V4L2_M2M_DST = 1 }
 
enum  {
  YUV420_DMA_Y_ODD, YUV420_DMA_Y_EVEN, YUV420_DMA_U_ODD, YUV420_DMA_U_EVEN,
  YUV420_DMA_V_ODD, YUV420_DMA_V_EVEN, YUV420_DMA_Y_ODD_DOUBLING, YUV420_DMA_U_ODD_DOUBLING,
  YUV420_DMA_V_ODD_DOUBLING, YUYV_DMA_ODD, YUYV_DMA_EVEN, YUYV_DMA_EVEN_DOUBLING
}
 

Functions

 MODULE_DESCRIPTION ("mem2mem device which supports deinterlacing using dmaengine")
 
 MODULE_AUTHOR ("Javier Martin <[email protected]")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_VERSION ("0.0.1")
 
 module_param (debug, bool, 0644)
 
 module_init (deinterlace_init)
 
 module_exit (deinterlace_exit)
 

Macro Definition Documentation

#define dprintk (   dev,
  fmt,
  arg... 
)    v4l2_dbg(1, debug, &dev->v4l2_dev, "%s: " fmt, __func__, ## arg)

Definition at line 40 of file m2m-deinterlace.c.

#define MEM2MEM_CAPTURE   (1 << 0)

Definition at line 35 of file m2m-deinterlace.c.

#define MEM2MEM_NAME   "m2m-deinterlace"

Definition at line 38 of file m2m-deinterlace.c.

#define MEM2MEM_OUTPUT   (1 << 1)

Definition at line 36 of file m2m-deinterlace.c.

#define MEM2MEM_TEST_MODULE_NAME   "mem2mem-deinterlace"

Definition at line 24 of file m2m-deinterlace.c.

#define NUM_FORMATS   ARRAY_SIZE(formats)

Definition at line 63 of file m2m-deinterlace.c.

Enumeration Type Documentation

anonymous enum
Enumerator:
V4L2_M2M_SRC 
V4L2_M2M_DST 

Definition at line 74 of file m2m-deinterlace.c.

anonymous enum
Enumerator:
YUV420_DMA_Y_ODD 
YUV420_DMA_Y_EVEN 
YUV420_DMA_U_ODD 
YUV420_DMA_U_EVEN 
YUV420_DMA_V_ODD 
YUV420_DMA_V_EVEN 
YUV420_DMA_Y_ODD_DOUBLING 
YUV420_DMA_U_ODD_DOUBLING 
YUV420_DMA_V_ODD_DOUBLING 
YUYV_DMA_ODD 
YUYV_DMA_EVEN 
YUYV_DMA_EVEN_DOUBLING 

Definition at line 79 of file m2m-deinterlace.c.

Function Documentation

MODULE_AUTHOR ( )
MODULE_DESCRIPTION ( "mem2mem device which supports deinterlacing using dmaengine"  )
module_exit ( deinterlace_exit  )
module_init ( deinterlace_init  )
MODULE_LICENSE ( "GPL"  )
module_param ( debug  ,
bool  ,
0644   
)
MODULE_VERSION ( "0.0.1"  )