Revision ac2570a8 libavcodec/golomb.h

View differences:

libavcodec/golomb.h
256 256
    }
257 257
}
258 258

  
259
/**
260
 * read unsigned golomb rice code (flac).
261
 */
262
static inline int get_sr_golomb_flac(GetBitContext *gb, int k, int limit, int esc_len){
263
    int v= get_ur_golomb_jpegls(gb, k, limit, esc_len);
264
    return (v>>1) ^ -(v&1);
265
}
266

  
259 267
#ifdef TRACE
260 268

  
261 269
static inline int get_ue(GetBitContext *s, char *file, char *func, int line){

Also available in: Unified diff