libgpac
Documentation of the core library of GPAC
quantize.c File Reference
#include "math.h"
#include "quant.h"
+ Include dependency graph for quantize.c:

Functions

GF_Err gf_bifs_enc_qp_set (GF_BifsEncoder *codec, GF_Node *qp)
 
GF_Err gf_bifs_enc_qp_remove (GF_BifsEncoder *codec, Bool ActivatePrev)
 
u32 gf_bifs_enc_qp14_get_bits (GF_BifsEncoder *codec)
 
void gf_bifs_enc_qp14_enter (GF_BifsEncoder *codec, Bool Enter)
 
void gf_bifs_enc_qp14_reset (GF_BifsEncoder *codec)
 
void gf_bifs_enc_qp14_set_length (GF_BifsEncoder *codec, u32 NbElements)
 
void gf_bifs_enc_mantissa_float (GF_BifsEncoder *codec, Fixed ft, GF_BitStream *bs)
 
s32 Q_Quantize (Fixed Min, Fixed Max, u32 NbBits, Fixed value)
 
GF_Err Q_EncFloat (GF_BifsEncoder *codec, GF_BitStream *bs, u32 FieldType, SFVec3f BMin, SFVec3f BMax, u32 NbBits, void *field_ptr)
 
GF_Err Q_EncInt (GF_BifsEncoder *codec, GF_BitStream *bs, u32 QType, SFInt32 b_min, u32 NbBits, void *field_ptr)
 
GF_Err Q_EncCoordOnUnitSphere (GF_BifsEncoder *codec, GF_BitStream *bs, u32 NbBits, u32 NbComp, Fixed *m_ft)
 
GF_Err Q_EncNormal (GF_BifsEncoder *codec, GF_BitStream *bs, u32 NbBits, void *field_ptr)
 
GF_Err Q_EncRotation (GF_BifsEncoder *codec, GF_BitStream *bs, u32 NbBits, void *field_ptr)
 
GF_Err gf_bifs_enc_quant_field (GF_BifsEncoder *codec, GF_BitStream *bs, GF_Node *node, GF_FieldInfo *field)
 

Function Documentation

◆ gf_bifs_enc_qp_set()

GF_Err gf_bifs_enc_qp_set ( GF_BifsEncoder *  codec,
GF_Node qp 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_bifs_enc_qp_remove()

GF_Err gf_bifs_enc_qp_remove ( GF_BifsEncoder *  codec,
Bool  ActivatePrev 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_bifs_enc_qp14_get_bits()

u32 gf_bifs_enc_qp14_get_bits ( GF_BifsEncoder *  codec)
+ Here is the caller graph for this function:

◆ gf_bifs_enc_qp14_enter()

void gf_bifs_enc_qp14_enter ( GF_BifsEncoder *  codec,
Bool  Enter 
)
+ Here is the caller graph for this function:

◆ gf_bifs_enc_qp14_reset()

void gf_bifs_enc_qp14_reset ( GF_BifsEncoder *  codec)
+ Here is the caller graph for this function:

◆ gf_bifs_enc_qp14_set_length()

void gf_bifs_enc_qp14_set_length ( GF_BifsEncoder *  codec,
u32  NbElements 
)
+ Here is the caller graph for this function:

◆ gf_bifs_enc_mantissa_float()

void gf_bifs_enc_mantissa_float ( GF_BifsEncoder *  codec,
Fixed  ft,
GF_BitStream *  bs 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Q_Quantize()

s32 Q_Quantize ( Fixed  Min,
Fixed  Max,
u32  NbBits,
Fixed  value 
)
+ Here is the caller graph for this function:

◆ Q_EncFloat()

GF_Err Q_EncFloat ( GF_BifsEncoder *  codec,
GF_BitStream *  bs,
u32  FieldType,
SFVec3f  BMin,
SFVec3f  BMax,
u32  NbBits,
void *  field_ptr 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Q_EncInt()

GF_Err Q_EncInt ( GF_BifsEncoder *  codec,
GF_BitStream *  bs,
u32  QType,
SFInt32  b_min,
u32  NbBits,
void *  field_ptr 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Q_EncCoordOnUnitSphere()

GF_Err Q_EncCoordOnUnitSphere ( GF_BifsEncoder *  codec,
GF_BitStream *  bs,
u32  NbBits,
u32  NbComp,
Fixed m_ft 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Q_EncNormal()

GF_Err Q_EncNormal ( GF_BifsEncoder *  codec,
GF_BitStream *  bs,
u32  NbBits,
void *  field_ptr 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Q_EncRotation()

GF_Err Q_EncRotation ( GF_BifsEncoder *  codec,
GF_BitStream *  bs,
u32  NbBits,
void *  field_ptr 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_bifs_enc_quant_field()

GF_Err gf_bifs_enc_quant_field ( GF_BifsEncoder *  codec,
GF_BitStream *  bs,
GF_Node node,
GF_FieldInfo field 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function: