40 printf(
"test1 double=%d\n", (
int)(d1 * (1<<24)));
46 printf(
"test1 sf =%d\n",
av_sf2int(sf1, 24));
49 for(i= 0; i<100; i++){
53 for(j= 0; j<1000; j++){
58 printf(
"test2 double=%d\n", (
int)(d1 * (1<<24)));
60 for(i= 0; i<100; i++){
64 for(j= 0; j<1000; j++){
void av_log_set_level(int level)
Set the log level.
static av_const SoftFloat av_div_sf(SoftFloat a, SoftFloat b)
b has to be normalized and not zero.
static av_const SoftFloat av_normalize_sf(SoftFloat a)
#define AV_LOG_DEBUG
Stuff which is only useful for libav* developers.
static av_const int av_sf2int(SoftFloat v, int frac_bits)
Rounding is to -inf.
static av_const SoftFloat av_add_sf(SoftFloat a, SoftFloat b)
common internal and external API header
static av_const SoftFloat av_mul_sf(SoftFloat a, SoftFloat b)
static av_const SoftFloat av_int2sf(int v, int frac_bits)