intmath.h File Reference
#include <stdint.h>
#include "config.h"
#include "attributes.h"

Go to the source code of this file.

Macros

#define ff_log2   ff_log2_c
#define ff_log2_16bit   ff_log2_16bit_c
#define av_log2   ff_log2
#define av_log2_16bit   ff_log2_16bit
#define ff_ctz   ff_ctz_c

Functions

static av_always_inline
av_const int 
ff_log2_c (unsigned int v)
static av_always_inline
av_const int 
ff_log2_16bit_c (unsigned int v)
static av_always_inline
av_const int 
ff_ctz_c (int v)
int av_ctz (int v)
 Trailing zero bit count.

Variables

const uint8_t ff_log2_tab [256]