Logo Search packages:      
Sourcecode: blender version File versions

static int get_te_golomb ( GetBitContext *  gb,
int  range 
) [inline, static]

read unsigned truncated exp golomb code.

Definition at line 116 of file golomb.h.

References get_ue_golomb().

                                                             {
    assert(range >= 1);

    if(range==2) return get_bits1(gb)^1;
    else         return get_ue_golomb(gb);
}


Generated by  Doxygen 1.6.0   Back to index