libgpac
Documentation of the core library of GPAC
crypt_tools.c File Reference
#include <gpac/crypt_tools.h>
#include <gpac/xml.h>
#include <gpac/base_coding.h>
#include <gpac/constants.h>
#include <gpac/filters.h>
#include <gpac/network.h>
+ Include dependency graph for crypt_tools.c:

Functions

static u32 cryptinfo_get_crypt_type (char *cr_type)
 
static void cryptinfo_node_start (void *sax_cbck, const char *node_name, const char *name_space, const GF_XMLAttribute *attributes, u32 nb_attributes)
 
static void cryptinfo_node_end (void *sax_cbck, const char *node_name, const char *name_space)
 
static void cryptinfo_text (void *sax_cbck, const char *text, Bool is_cdata)
 
void gf_crypt_info_del (GF_CryptInfo *info)
 
GF_CryptInfogf_crypt_info_load (const char *file, GF_Err *out_err)
 
static Bool on_decrypt_event (void *_udta, GF_Event *evt)
 
static GF_Err gf_decrypt_file_ex (GF_ISOFile *mp4, const char *drm_file, const char *dst_file, Double interleave_time, const char *fragment_name, u32 fs_dump_flags)
 
GF_EXPORT GF_Err gf_decrypt_fragment (GF_ISOFile *mp4, const char *drm_file, const char *dst_file, const char *fragment_name, u32 fs_dump_flags)
 
GF_EXPORT GF_Err gf_decrypt_file (GF_ISOFile *mp4, const char *drm_file, const char *dst_file, Double interleave_time, u32 fs_dump_flags)
 
static Bool on_crypt_event (void *_udta, GF_Event *evt)
 
static GF_Err gf_crypt_file_ex (GF_ISOFile *mp4, const char *drm_file, const char *dst_file, Double interleave_time, const char *fragment_name, u32 fs_dump_flags)
 
GF_EXPORT GF_Err gf_crypt_fragment (GF_ISOFile *mp4, const char *drm_file, const char *dst_file, const char *fragment_name, u32 fs_dump_flags)
 
GF_EXPORT GF_Err gf_crypt_file (GF_ISOFile *mp4, const char *drm_file, const char *dst_file, Double interleave_time, u32 fs_dump_flags)
 

Variables

char gf_prog_lf
 

Function Documentation

◆ cryptinfo_get_crypt_type()

static u32 cryptinfo_get_crypt_type ( char *  cr_type)
static
+ Here is the caller graph for this function:

◆ cryptinfo_node_start()

static void cryptinfo_node_start ( void *  sax_cbck,
const char *  node_name,
const char *  name_space,
const GF_XMLAttribute attributes,
u32  nb_attributes 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ cryptinfo_node_end()

static void cryptinfo_node_end ( void *  sax_cbck,
const char *  node_name,
const char *  name_space 
)
static
+ Here is the caller graph for this function:

◆ cryptinfo_text()

static void cryptinfo_text ( void *  sax_cbck,
const char *  text,
Bool  is_cdata 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ on_decrypt_event()

static Bool on_decrypt_event ( void *  _udta,
GF_Event evt 
)
static
+ Here is the caller graph for this function:

◆ gf_decrypt_file_ex()

static GF_Err gf_decrypt_file_ex ( GF_ISOFile *  mp4,
const char *  drm_file,
const char *  dst_file,
Double  interleave_time,
const char *  fragment_name,
u32  fs_dump_flags 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ on_crypt_event()

static Bool on_crypt_event ( void *  _udta,
GF_Event evt 
)
static
+ Here is the caller graph for this function:

◆ gf_crypt_file_ex()

static GF_Err gf_crypt_file_ex ( GF_ISOFile *  mp4,
const char *  drm_file,
const char *  dst_file,
Double  interleave_time,
const char *  fragment_name,
u32  fs_dump_flags 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ gf_prog_lf

char gf_prog_lf
extern