linux/drivers/media/usb/pvrusb2/pvrusb2-std.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 *
 *  Copyright (C) 2005 Mike Isely <[email protected]>
 */

#include "pvrusb2-std.h"
#include "pvrusb2-debug.h"
#include <asm/string.h>
#include <linux/slab.h>

struct std_name {};


#define CSTD_PAL

#define CSTD_NTSC

#define CSTD_ATSC

#define CSTD_SECAM

#define TSTD_B
#define TSTD_B1
#define TSTD_D
#define TSTD_D1
#define TSTD_G
#define TSTD_H
#define TSTD_I
#define TSTD_K
#define TSTD_K1
#define TSTD_L
#define TSTD_M
#define TSTD_N
#define TSTD_Nc
#define TSTD_60

#define CSTD_ALL

/* Mapping of standard bits to color system */
static const struct std_name std_groups[] =;

/* Mapping of standard bits to modulation system */
static const struct std_name std_items[] =;


// Search an array of std_name structures and return a pointer to the
// element with the matching name.
static const struct std_name *find_std_name(const struct std_name *arrPtr,
					    unsigned int arrSize,
					    const char *bufPtr,
					    unsigned int bufSize)
{}


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)
{}


// Template data for possible enumerated video standards.  Here we group
// standards which share common frame rates and resolution.
static struct v4l2_standard generic_standards[] =;

static struct v4l2_standard *match_std(v4l2_std_id id)
{}

static int pvr2_std_fill(struct v4l2_standard *std,v4l2_std_id id)
{}

/* These are special cases of combined standards that we should enumerate
   separately if the component pieces are present. */
static v4l2_std_id std_mixes[] =;

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

v4l2_std_id pvr2_std_get_usable(void)
{}