Revision 4d2a4834 libavcodec/mpegvideo.h

View differences:

libavcodec/mpegvideo.h
662 662
    s->block_index[5]++;
663 663
}
664 664

  
665
static inline int get_bits_diff(MpegEncContext *s){
666
    const int bits= get_bit_count(&s->pb);
667
    const int last= s->last_bits;
668

  
669
    s->last_bits = bits;
670

  
671
    return bits - last;
672
}
665 673

  
666 674
/* motion_est.c */
667 675
void ff_estimate_p_frame_motion(MpegEncContext * s,

Also available in: Unified diff