libgpac
Documentation of the core library of GPAC
GF_BitStream Struct Reference

Data Fields

FILE * stream
 
char * original
 
u64 size
 
u64 position
 
u32 current
 
u32 nbBits
 
u32 bsmode
 
void(* EndOfStream )(void *par)
 
void * par
 
char * cache_write
 
u32 cache_write_size
 
u32 buffer_written
 
Bool remove_emul_prevention_byte
 
u32 nb_zeros
 
u32 nb_removed
 
GF_Err(* on_block_out )(void *cbk, u8 *data, u32 block_size)
 
void * usr_data
 
u64 bytes_out
 
u32 prevent_dispatch
 
u64 cookie
 
u8cache_read
 
u32 cache_read_size
 
u32 cache_read_pos
 
u32 cache_read_alloc
 
void(* on_log )(void *udta, const char *field_name, u32 nb_bits, u64 field_val, s32 idx1, s32 idx2, s32 idx3)
 
void * log_udta
 
u32 total_bits_read
 
u32 overflow_state
 
u64 o_size
 
int fd
 

Detailed Description

bitstream object

Field Documentation

◆ stream

FILE* GF_BitStream::stream

◆ original

char* GF_BitStream::original

◆ size

u64 GF_BitStream::size

◆ position

u64 GF_BitStream::position

◆ current

u32 GF_BitStream::current

◆ nbBits

u32 GF_BitStream::nbBits

◆ bsmode

u32 GF_BitStream::bsmode

◆ EndOfStream

void(* GF_BitStream::EndOfStream) (void *par)

◆ par

void* GF_BitStream::par

◆ cache_write

char* GF_BitStream::cache_write

◆ cache_write_size

u32 GF_BitStream::cache_write_size

◆ buffer_written

u32 GF_BitStream::buffer_written

◆ remove_emul_prevention_byte

Bool GF_BitStream::remove_emul_prevention_byte

◆ nb_zeros

u32 GF_BitStream::nb_zeros

◆ nb_removed

u32 GF_BitStream::nb_removed

◆ on_block_out

GF_Err(* GF_BitStream::on_block_out) (void *cbk, u8 *data, u32 block_size)

◆ usr_data

void* GF_BitStream::usr_data

◆ bytes_out

u64 GF_BitStream::bytes_out

◆ prevent_dispatch

u32 GF_BitStream::prevent_dispatch

◆ cookie

u64 GF_BitStream::cookie

◆ cache_read

u8* GF_BitStream::cache_read

◆ cache_read_size

u32 GF_BitStream::cache_read_size

◆ cache_read_pos

u32 GF_BitStream::cache_read_pos

◆ cache_read_alloc

u32 GF_BitStream::cache_read_alloc

◆ on_log

void(* GF_BitStream::on_log) (void *udta, const char *field_name, u32 nb_bits, u64 field_val, s32 idx1, s32 idx2, s32 idx3)

◆ log_udta

void* GF_BitStream::log_udta

◆ total_bits_read

u32 GF_BitStream::total_bits_read

◆ overflow_state

u32 GF_BitStream::overflow_state

◆ o_size

u64 GF_BitStream::o_size

◆ fd

int GF_BitStream::fd