2010-05-01 00:30:22 +03:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2010 Mans Rullgard <mans@mansr.com>
|
|
|
|
*
|
2011-03-18 19:35:10 +02:00
|
|
|
* This file is part of Libav.
|
2010-05-01 00:30:22 +03:00
|
|
|
*
|
2011-03-18 19:35:10 +02:00
|
|
|
* Libav is free software; you can redistribute it and/or
|
2010-05-01 00:30:22 +03:00
|
|
|
* 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.
|
|
|
|
*
|
2011-03-18 19:35:10 +02:00
|
|
|
* Libav is distributed in the hope that it will be useful,
|
2010-05-01 00:30:22 +03:00
|
|
|
* 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
|
2011-03-18 19:35:10 +02:00
|
|
|
* License along with Libav; if not, write to the Free Software
|
2010-05-01 00:30:22 +03:00
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef AVCODEC_VP56DSP_H
|
|
|
|
#define AVCODEC_VP56DSP_H
|
|
|
|
|
2016-08-23 23:23:45 +02:00
|
|
|
#include <stddef.h>
|
2010-05-01 00:30:22 +03:00
|
|
|
#include <stdint.h>
|
2016-08-23 23:23:45 +02:00
|
|
|
|
2010-05-01 00:30:22 +03:00
|
|
|
typedef struct VP56DSPContext {
|
2016-08-23 23:23:45 +02:00
|
|
|
void (*edge_filter_hor)(uint8_t *yuv, ptrdiff_t stride, int t);
|
|
|
|
void (*edge_filter_ver)(uint8_t *yuv, ptrdiff_t stride, int t);
|
2010-08-25 16:42:28 +03:00
|
|
|
|
2016-08-23 23:23:45 +02:00
|
|
|
void (*vp6_filter_diag4)(uint8_t *dst, uint8_t *src, ptrdiff_t stride,
|
2010-08-25 16:42:28 +03:00
|
|
|
const int16_t *h_weights,const int16_t *v_weights);
|
2010-05-01 00:30:22 +03:00
|
|
|
} VP56DSPContext;
|
|
|
|
|
2016-08-23 23:23:45 +02:00
|
|
|
void ff_vp6_filter_diag4_c(uint8_t *dst, uint8_t *src, ptrdiff_t stride,
|
2010-08-25 16:42:28 +03:00
|
|
|
const int16_t *h_weights, const int16_t *v_weights);
|
|
|
|
|
2016-08-24 12:30:15 +02:00
|
|
|
void ff_vp5dsp_init(VP56DSPContext *s);
|
|
|
|
void ff_vp6dsp_init(VP56DSPContext *s);
|
|
|
|
|
|
|
|
void ff_vp6dsp_init_arm(VP56DSPContext *s);
|
|
|
|
void ff_vp6dsp_init_x86(VP56DSPContext *s);
|
2010-05-01 00:30:22 +03:00
|
|
|
|
|
|
|
#endif /* AVCODEC_VP56DSP_H */
|