GPAC
Open Source Multimedia Framework. For more information, check out http://gpac.wp.mines-telecom.fr
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups
isma_ea.c File Reference
#include <gpac/ismacryp.h>
#include <gpac/crypt.h>
#include <gpac/base_coding.h>
#include <gpac/download.h>
#include <gpac/internal/terminal_dev.h>
#include <gpac/modules/ipmp.h>
+ Include dependency graph for isma_ea.c:

Data Structures

struct  ISMAEAPriv
 

Macros

#define OMA_DRM_MP4MC
 

Enumerations

enum  { ISMAEA_STATE_ERROR, ISMAEA_STATE_SETUP, ISMAEA_STATE_PLAY }
 

Functions

static void ISMA_KMS_NetIO (void *cbck, GF_NETIO_Parameter *par)
 
static GF_Err ISMA_GetGPAC_KMS (ISMAEAPriv *priv, GF_Channel *ch, const char *kms_url)
 
static GF_Err ISMA_Setup (ISMAEAPriv *priv, GF_IPMPEvent *evt)
 
static GF_Err ISMA_Access (ISMAEAPriv *priv, GF_IPMPEvent *evt)
 
static GF_Err ISMA_ProcessData (ISMAEAPriv *priv, GF_IPMPEvent *evt)
 
static GF_Err OMA_DRM_Setup (ISMAEAPriv *priv, GF_IPMPEvent *evt)
 
static GF_Err CENC_Setup (ISMAEAPriv *priv, GF_IPMPEvent *evt)
 
static GF_Err CENC_Access (ISMAEAPriv *priv, GF_IPMPEvent *evt)
 
static GF_Err CENC_ProcessData (ISMAEAPriv *priv, GF_IPMPEvent *evt)
 
static GF_Err IPMP_Process (GF_IPMPTool *plug, GF_IPMPEvent *evt)
 
void DeleteIPMPTool (GF_IPMPTool *plug)
 
GF_IPMPTool * NewIPMPTool ()
 
const u32QueryInterfaces ()
 
GF_BaseInterfaceLoadInterface (u32 InterfaceType)
 
void ShutdownInterface (GF_BaseInterface *ifce)
 

Data Structure Documentation

struct ISMAEAPriv
+ Collaboration diagram for ISMAEAPriv:
Data Fields
GF_Crypt * crypt
char key[16]
char salt[8]
u64 last_IV
u32 state
u32 nb_allow_play
Bool is_oma
u32 preview_range
Bool is_cenc
Bool is_cbc
Bool first_crypted_samp
u32 KID_count
bin128 * KIDs
bin128 * keys

Macro Definition Documentation

#define OMA_DRM_MP4MC

Enumeration Type Documentation

anonymous enum
Enumerator
ISMAEA_STATE_ERROR 
ISMAEA_STATE_SETUP 
ISMAEA_STATE_PLAY 

Function Documentation

static void ISMA_KMS_NetIO ( void *  cbck,
GF_NETIO_Parameter par 
)
static

+ Here is the caller graph for this function:

static GF_Err ISMA_GetGPAC_KMS ( ISMAEAPriv priv,
GF_Channel *  ch,
const char *  kms_url 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static GF_Err ISMA_Setup ( ISMAEAPriv priv,
GF_IPMPEvent evt 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static GF_Err ISMA_Access ( ISMAEAPriv priv,
GF_IPMPEvent evt 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static GF_Err ISMA_ProcessData ( ISMAEAPriv priv,
GF_IPMPEvent evt 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static GF_Err OMA_DRM_Setup ( ISMAEAPriv priv,
GF_IPMPEvent evt 
)
static

+ Here is the caller graph for this function:

static GF_Err CENC_Setup ( ISMAEAPriv priv,
GF_IPMPEvent evt 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static GF_Err CENC_Access ( ISMAEAPriv priv,
GF_IPMPEvent evt 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static GF_Err CENC_ProcessData ( ISMAEAPriv priv,
GF_IPMPEvent evt 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static GF_Err IPMP_Process ( GF_IPMPTool *  plug,
GF_IPMPEvent evt 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void DeleteIPMPTool ( GF_IPMPTool *  plug)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_IPMPTool* NewIPMPTool ( )

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

const u32* QueryInterfaces ( )
GF_BaseInterface* LoadInterface ( u32  InterfaceType)

+ Here is the call graph for this function:

void ShutdownInterface ( GF_BaseInterface ifce)

+ Here is the call graph for this function: