Revision a7702890 libavutil/common.h

View differences:

libavutil/common.h
339 339
#    define FASTDIV(a,b)   ((a)/(b))
340 340
#endif
341 341

  
342
/* define it to include statistics code (useful only for optimizing
343
   codec efficiency */
344
//#define STATS
345

  
346
#ifdef STATS
347

  
348
enum {
349
    ST_UNKNOWN,
350
    ST_DC,
351
    ST_INTRA_AC,
352
    ST_INTER_AC,
353
    ST_INTRA_MB,
354
    ST_INTER_MB,
355
    ST_MV,
356
    ST_NB,
357
};
358

  
359
extern int st_current_index;
360
extern unsigned int st_bit_counts[ST_NB];
361
extern unsigned int st_out_bit_counts[ST_NB];
362

  
363
void print_stats(void);
364
#endif
365

  
366 342
/* misc math functions */
367 343
extern FF_IMPORT_ATTR const uint8_t ff_log2_tab[256];
368 344

  

Also available in: Unified diff