Logo Search packages:      
Sourcecode: blender version File versions

void ff_init_cabac_encoder ( CABACContext *  c,
uint8_t *  buf,
int  buf_size 
)

Parameters:
buf_size size of buf in bits

Definition at line 96 of file cabac.c.

                                                                       {
    init_put_bits(&c->pb, buf, buf_size);

    c->low= 0;
    c->range= 0x1FE;
    c->outstanding_count= 0;
#ifdef STRICT_LIMITS
    c->sym_count =0;
#endif

    c->pb.bit_left++; //avoids firstBitFlag
}


Generated by  Doxygen 1.6.0   Back to index