Mercurial > libavutil.hg
view utils.c @ 773:8848af31706f libavutil
Add function to compute ceil(log2(x)).
Patch by Thilo Borgmann <thilo.borgmann _at_ googlemail.com>
author | jbr |
---|---|
date | Sun, 30 Aug 2009 15:50:03 +0000 |
parents | b4e91071297f |
children | 57659b3ef05c |
line wrap: on
line source
/* * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * FFmpeg is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with FFmpeg; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ #include "avutil.h" /** * @file libavutil/utils.c * various utility functions */ unsigned avutil_version(void) { return LIBAVUTIL_VERSION_INT; }