Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
pvrusb2-std.c File Reference
#include "pvrusb2-std.h"
#include "pvrusb2-debug.h"
#include <asm/string.h>
#include <linux/slab.h>

Go to the source code of this file.

Data Structures

struct  std_name
 

Macros

#define CSTD_PAL
 
#define CSTD_NTSC
 
#define CSTD_ATSC
 
#define CSTD_SECAM
 
#define TSTD_B   (V4L2_STD_PAL_B|V4L2_STD_SECAM_B)
 
#define TSTD_B1   (V4L2_STD_PAL_B1)
 
#define TSTD_D   (V4L2_STD_PAL_D|V4L2_STD_SECAM_D)
 
#define TSTD_D1   (V4L2_STD_PAL_D1)
 
#define TSTD_G   (V4L2_STD_PAL_G|V4L2_STD_SECAM_G)
 
#define TSTD_H   (V4L2_STD_PAL_H|V4L2_STD_SECAM_H)
 
#define TSTD_I   (V4L2_STD_PAL_I)
 
#define TSTD_K   (V4L2_STD_PAL_K|V4L2_STD_SECAM_K)
 
#define TSTD_K1   (V4L2_STD_SECAM_K1)
 
#define TSTD_L   (V4L2_STD_SECAM_L)
 
#define TSTD_M   (V4L2_STD_PAL_M|V4L2_STD_NTSC_M)
 
#define TSTD_N   (V4L2_STD_PAL_N)
 
#define TSTD_Nc   (V4L2_STD_PAL_Nc)
 
#define TSTD_60   (V4L2_STD_PAL_60)
 
#define CSTD_ALL   (CSTD_PAL|CSTD_NTSC|CSTD_ATSC|CSTD_SECAM)
 

Functions

int pvr2_std_str_to_id (v4l2_std_id *idPtr, const char *bufPtr, unsigned int bufSize)
 
unsigned int pvr2_std_id_to_str (char *bufPtr, unsigned int bufSize, v4l2_std_id id)
 
struct v4l2_standardpvr2_std_create_enum (unsigned int *countptr, v4l2_std_id id)
 
v4l2_std_id pvr2_std_get_usable (void)
 

Macro Definition Documentation

#define CSTD_ALL   (CSTD_PAL|CSTD_NTSC|CSTD_ATSC|CSTD_SECAM)

Definition at line 81 of file pvrusb2-std.c.

#define CSTD_ATSC
Value:
V4L2_STD_ATSC_16_VSB)

Definition at line 52 of file pvrusb2-std.c.

#define CSTD_NTSC
Value:
V4L2_STD_NTSC_M_JP| \
V4L2_STD_NTSC_M_KR| \
V4L2_STD_NTSC_443)

Definition at line 46 of file pvrusb2-std.c.

#define CSTD_PAL
Value:
V4L2_STD_PAL_B1| \
V4L2_STD_PAL_G| \
V4L2_STD_PAL_H| \
V4L2_STD_PAL_I| \
V4L2_STD_PAL_D| \
V4L2_STD_PAL_D1| \
V4L2_STD_PAL_K| \
V4L2_STD_PAL_M| \
V4L2_STD_PAL_N| \
V4L2_STD_PAL_Nc| \
V4L2_STD_PAL_60)

Definition at line 32 of file pvrusb2-std.c.

#define CSTD_SECAM
Value:
V4L2_STD_SECAM_D| \
V4L2_STD_SECAM_G| \
V4L2_STD_SECAM_H| \
V4L2_STD_SECAM_K| \
V4L2_STD_SECAM_K1| \
V4L2_STD_SECAM_L| \
V4L2_STD_SECAM_LC)

Definition at line 56 of file pvrusb2-std.c.

#define TSTD_60   (V4L2_STD_PAL_60)

Definition at line 79 of file pvrusb2-std.c.

#define TSTD_B   (V4L2_STD_PAL_B|V4L2_STD_SECAM_B)

Definition at line 66 of file pvrusb2-std.c.

#define TSTD_B1   (V4L2_STD_PAL_B1)

Definition at line 67 of file pvrusb2-std.c.

#define TSTD_D   (V4L2_STD_PAL_D|V4L2_STD_SECAM_D)

Definition at line 68 of file pvrusb2-std.c.

#define TSTD_D1   (V4L2_STD_PAL_D1)

Definition at line 69 of file pvrusb2-std.c.

#define TSTD_G   (V4L2_STD_PAL_G|V4L2_STD_SECAM_G)

Definition at line 70 of file pvrusb2-std.c.

#define TSTD_H   (V4L2_STD_PAL_H|V4L2_STD_SECAM_H)

Definition at line 71 of file pvrusb2-std.c.

#define TSTD_I   (V4L2_STD_PAL_I)

Definition at line 72 of file pvrusb2-std.c.

#define TSTD_K   (V4L2_STD_PAL_K|V4L2_STD_SECAM_K)

Definition at line 73 of file pvrusb2-std.c.

#define TSTD_K1   (V4L2_STD_SECAM_K1)

Definition at line 74 of file pvrusb2-std.c.

#define TSTD_L   (V4L2_STD_SECAM_L)

Definition at line 75 of file pvrusb2-std.c.

#define TSTD_M   (V4L2_STD_PAL_M|V4L2_STD_NTSC_M)

Definition at line 76 of file pvrusb2-std.c.

#define TSTD_N   (V4L2_STD_PAL_N)

Definition at line 77 of file pvrusb2-std.c.

#define TSTD_Nc   (V4L2_STD_PAL_Nc)

Definition at line 78 of file pvrusb2-std.c.

Function Documentation

struct v4l2_standard* pvr2_std_create_enum ( unsigned int countptr,
v4l2_std_id  id 
)
read

Definition at line 319 of file pvrusb2-std.c.

v4l2_std_id pvr2_std_get_usable ( void  )

Definition at line 397 of file pvrusb2-std.c.

unsigned int pvr2_std_id_to_str ( char bufPtr,
unsigned int  bufSize,
v4l2_std_id  id 
)

Definition at line 186 of file pvrusb2-std.c.

int pvr2_std_str_to_id ( v4l2_std_id idPtr,
const char bufPtr,
unsigned int  bufSize 
)

Definition at line 134 of file pvrusb2-std.c.