Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
ctsrc.h File Reference
#include "ctresource.h"
#include "ctimap.h"
#include <linux/spinlock.h>
#include <linux/list.h>

Go to the source code of this file.

Data Structures

struct  src
 
struct  src_rsc_ops
 
struct  src_desc
 
struct  src_mgr
 
struct  srcimp
 
struct  srcimp_rsc_ops
 
struct  srcimp_desc
 
struct  srcimp_mgr
 

Macros

#define SRC_STATE_OFF   0x0
 
#define SRC_STATE_INIT   0x4
 
#define SRC_STATE_RUN   0x5
 
#define SRC_SF_U8   0x0
 
#define SRC_SF_S16   0x1
 
#define SRC_SF_S24   0x2
 
#define SRC_SF_S32   0x3
 
#define SRC_SF_F32   0x4
 

Enumerations

enum  SRCMODE { MEMRD, MEMWR, ARCRW, NUM_SRCMODES }
 

Functions

int src_mgr_create (void *hw, struct src_mgr **rsrc_mgr)
 
int src_mgr_destroy (struct src_mgr *src_mgr)
 
int srcimp_mgr_create (void *hw, struct srcimp_mgr **rsrc_mgr)
 
int srcimp_mgr_destroy (struct srcimp_mgr *srcimp_mgr)
 

Macro Definition Documentation

#define SRC_SF_F32   0x4

Definition at line 35 of file ctsrc.h.

#define SRC_SF_S16   0x1

Definition at line 32 of file ctsrc.h.

#define SRC_SF_S24   0x2

Definition at line 33 of file ctsrc.h.

#define SRC_SF_S32   0x3

Definition at line 34 of file ctsrc.h.

#define SRC_SF_U8   0x0

Definition at line 31 of file ctsrc.h.

#define SRC_STATE_INIT   0x4

Definition at line 28 of file ctsrc.h.

#define SRC_STATE_OFF   0x0

Copyright (C) 2008, Creative Technology Ltd. All Rights Reserved.

This source file is released under GPL v2 license (no other versions). See the COPYING file included in the main directory of this source distribution for the license terms and conditions.

ctsrc.h

This file contains the definition of the Sample Rate Convertor resource management object.

Liu Chun May 13 2008

Definition at line 27 of file ctsrc.h.

#define SRC_STATE_RUN   0x5

Definition at line 29 of file ctsrc.h.

Enumeration Type Documentation

enum SRCMODE
Enumerator:
MEMRD 
MEMWR 
ARCRW 
NUM_SRCMODES 

Definition at line 38 of file ctsrc.h.

Function Documentation

int src_mgr_create ( void hw,
struct src_mgr **  rsrc_mgr 
)

Definition at line 546 of file ctsrc.c.

int src_mgr_destroy ( struct src_mgr src_mgr)

Definition at line 585 of file ctsrc.c.

int srcimp_mgr_create ( void hw,
struct srcimp_mgr **  rsrc_mgr 
)

Definition at line 828 of file ctsrc.c.

int srcimp_mgr_destroy ( struct srcimp_mgr srcimp_mgr)

Definition at line 872 of file ctsrc.c.