00001 /* 00002 * Copyright (c) 2011 Janne Grunau <janne-libav@jannau.net> 00003 * 00004 * This file is part of Libav. 00005 * 00006 * Libav is free software; you can redistribute it and/or 00007 * modify it under the terms of the GNU Lesser General Public 00008 * License as published by the Free Software Foundation; either 00009 * version 2.1 of the License, or (at your option) any later version. 00010 * 00011 * Libav is distributed in the hope that it will be useful, 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00014 * Lesser General Public License for more details. 00015 * 00016 * You should have received a copy of the GNU Lesser General Public 00017 * License along with Libav; if not, write to the Free Software 00018 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 00019 */ 00020 00021 #include <stdint.h> 00022 00023 #include "libavcodec/avcodec.h" 00024 #include "libavcodec/rv34dsp.h" 00025 00026 void ff_rv34_inv_transform_noround_neon(DCTELEM *block); 00027 00028 void ff_rv34_inv_transform_noround_dc_neon(DCTELEM *block); 00029 00030 void ff_rv34_idct_add_neon(uint8_t *dst, ptrdiff_t stride, DCTELEM *block); 00031 void ff_rv34_idct_dc_add_neon(uint8_t *dst, ptrdiff_t stride, int dc); 00032 00033 void ff_rv34dsp_init_neon(RV34DSPContext *c, DSPContext* dsp) 00034 { 00035 c->rv34_inv_transform = ff_rv34_inv_transform_noround_neon; 00036 c->rv34_inv_transform_dc = ff_rv34_inv_transform_noround_dc_neon; 00037 00038 c->rv34_idct_add = ff_rv34_idct_add_neon; 00039 c->rv34_idct_dc_add = ff_rv34_idct_dc_add_neon; 00040 }