Mercurial > libavcodec.hg
view cga_data.h @ 9863:ff0ea87dd64e libavcodec
VC-1/WMV: Remove redundant ff_init_block_index() calls.
These are only supposed to be called once per row, not once per macroblock.
~1.5% faster according to oprofile.
author | darkshikari |
---|---|
date | Wed, 17 Jun 2009 05:54:42 +0000 |
parents | 5b75e6e974c7 |
children | 60d6fa47988b |
line wrap: on
line source
/* * CGA ROM data * * 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 */ #ifndef AVCODEC_CGA_DATA_H #define AVCODEC_CGA_DATA_H extern const uint8_t ff_cga_font[2048]; extern const uint32_t ff_cga_palette[16]; #endif