Logo Search packages:      
Sourcecode: blender version File versions

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

write unsigned golomb rice code (jpegls).

Definition at line 431 of file golomb.h.

Referenced by set_sr_golomb_flac().

    int e;


    e= (i>>k) + 1;
        put_bits(pb, e, 1);
            put_bits(pb, k, i&((1<<k)-1));
        put_bits(pb, limit  , 1);
        put_bits(pb, esc_len, i - 1);

Generated by  Doxygen 1.6.0   Back to index