Logo Search packages:      
Sourcecode: blender version File versions

static void set_sr_golomb ( PutBitContext *  pb,
int  i,
int  k,
int  limit,
int  esc_len 
) [inline, static]

write signed golomb rice code (ffv1).

Definition at line 450 of file golomb.h.

References set_ur_golomb().

    int v;

    v = -2*i-1;
    v ^= (v>>31);

    set_ur_golomb(pb, v, k, limit, esc_len);

Generated by  Doxygen 1.6.0   Back to index