Logo Search packages:      
Sourcecode: blender version File versions

static int get_cabac_terminate ( CABACContext *  c  )  [inline, static]

Returns:
the number of bytes read or 0 if no end

Definition at line 365 of file cabac.h.

                                                      {
    c->range -= 4<<CABAC_BITS;
    if(c->low < c->range){
        renorm_cabac_decoder_once(c);
        return 0;
    }else{
        return c->bytestream - c->bytestream_start;
    }
}


Generated by  Doxygen 1.6.0   Back to index