Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
soc_mediabus.c File Reference
#include <linux/kernel.h>
#include <linux/module.h>
#include <media/v4l2-device.h>
#include <media/v4l2-mediabus.h>
#include <media/soc_mediabus.h>

Go to the source code of this file.

Functions

int soc_mbus_samples_per_pixel (const struct soc_mbus_pixelfmt *mf, unsigned int *numerator, unsigned int *denominator)
 
 EXPORT_SYMBOL (soc_mbus_samples_per_pixel)
 
s32 soc_mbus_bytes_per_line (u32 width, const struct soc_mbus_pixelfmt *mf)
 
 EXPORT_SYMBOL (soc_mbus_bytes_per_line)
 
s32 soc_mbus_image_size (const struct soc_mbus_pixelfmt *mf, u32 bytes_per_line, u32 height)
 
 EXPORT_SYMBOL (soc_mbus_image_size)
 
struct soc_mbus_pixelfmtsoc_mbus_find_fmtdesc (enum v4l2_mbus_pixelcode code, const struct soc_mbus_lookup *lookup, int n)
 
 EXPORT_SYMBOL (soc_mbus_find_fmtdesc)
 
struct soc_mbus_pixelfmtsoc_mbus_get_fmtdesc (enum v4l2_mbus_pixelcode code)
 
 EXPORT_SYMBOL (soc_mbus_get_fmtdesc)
 
unsigned int soc_mbus_config_compatible (const struct v4l2_mbus_config *cfg, unsigned int flags)
 
 EXPORT_SYMBOL (soc_mbus_config_compatible)
 
 module_init (soc_mbus_init)
 
 module_exit (soc_mbus_exit)
 
 MODULE_DESCRIPTION ("soc-camera media bus interface")
 
 MODULE_AUTHOR ("Guennadi Liakhovetski <[email protected]>")
 
 MODULE_LICENSE ("GPL v2")
 

Function Documentation

EXPORT_SYMBOL ( soc_mbus_samples_per_pixel  )
EXPORT_SYMBOL ( soc_mbus_bytes_per_line  )
EXPORT_SYMBOL ( soc_mbus_image_size  )
EXPORT_SYMBOL ( soc_mbus_find_fmtdesc  )
EXPORT_SYMBOL ( soc_mbus_get_fmtdesc  )
EXPORT_SYMBOL ( soc_mbus_config_compatible  )
MODULE_AUTHOR ( "Guennadi Liakhovetski <[email protected]>"  )
MODULE_DESCRIPTION ( "soc-camera media bus interface )
module_exit ( soc_mbus_exit  )
module_init ( soc_mbus_init  )
MODULE_LICENSE ( "GPL v2 )
s32 soc_mbus_bytes_per_line ( u32  width,
const struct soc_mbus_pixelfmt mf 
)

Definition at line 379 of file soc_mediabus.c.

unsigned int soc_mbus_config_compatible ( const struct v4l2_mbus_config cfg,
unsigned int  flags 
)

Definition at line 446 of file soc_mediabus.c.

struct soc_mbus_pixelfmt* soc_mbus_find_fmtdesc ( enum v4l2_mbus_pixelcode  code,
const struct soc_mbus_lookup *  lookup,
int  n 
)
read

Definition at line 424 of file soc_mediabus.c.

struct soc_mbus_pixelfmt* soc_mbus_get_fmtdesc ( enum v4l2_mbus_pixelcode  code)
read

Definition at line 439 of file soc_mediabus.c.

s32 soc_mbus_image_size ( const struct soc_mbus_pixelfmt mf,
u32  bytes_per_line,
u32  height 
)

Definition at line 403 of file soc_mediabus.c.

int soc_mbus_samples_per_pixel ( const struct soc_mbus_pixelfmt mf,
unsigned int numerator,
unsigned int denominator 
)

Definition at line 352 of file soc_mediabus.c.