root/libde265/fallback-motion.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


/*
 * H.265 video codec.
 * Copyright (c) 2013-2014 struktur AG, Dirk Farin <farin@struktur.de>
 *
 * This file is part of libde265.
 *
 * libde265 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 3 of
 * the License, or (at your option) any later version.
 *
 * libde265 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 libde265.  If not, see <http://www.gnu.org/licenses/>.
 */

#ifndef FALLBACK_MOTION_H
#define FALLBACK_MOTION_H

#include <stddef.h>
#include <stdint.h>


void put_weighted_pred_avg_8_fallback(uint8_t *dst, ptrdiff_t dststride,
                                      int16_t *src1, int16_t *src2,
                                      ptrdiff_t srcstride, int width,
                                      int height);

void put_unweighted_pred_8_fallback(uint8_t *_dst, ptrdiff_t dststride,
                                    int16_t *src, ptrdiff_t srcstride,
                                    int width, int height);

void put_weighted_pred_8_fallback(uint8_t *_dst, ptrdiff_t dststride,
                                  int16_t *src, ptrdiff_t srcstride,
                                  int width, int height,
                                  int w,int o,int log2WD);
void put_weighted_bipred_8_fallback(uint8_t *_dst, ptrdiff_t dststride,
                                    int16_t *src1, int16_t *src2, ptrdiff_t srcstride,
                                    int width, int height,
                                    int w1,int o1, int w2,int o2, int log2WD);

void put_epel_8_fallback(int16_t *dst, ptrdiff_t dststride,
                    uint8_t *_src, ptrdiff_t srcstride,
                    int width, int height,
                    int mx, int my, int16_t* mcbuffer);
void put_epel_hv_8_fallback(int16_t *dst, ptrdiff_t dststride,
                            uint8_t *_src, ptrdiff_t srcstride,
                            int width, int height,
                            int mx, int my, int16_t* mcbuffer);

void put_qpel_0_0_fallback(int16_t *out, ptrdiff_t out_stride,
                           uint8_t *src, ptrdiff_t srcstride,
                           int nPbW, int nPbH, int16_t* mcbuffer);
void put_qpel_0_1_fallback(int16_t *out, ptrdiff_t out_stride,
                           uint8_t *src, ptrdiff_t srcstride,
                           int nPbW, int nPbH, int16_t* mcbuffer);
void put_qpel_0_2_fallback(int16_t *out, ptrdiff_t out_stride,
                           uint8_t *src, ptrdiff_t srcstride,
                           int nPbW, int nPbH, int16_t* mcbuffer);
void put_qpel_0_3_fallback(int16_t *out, ptrdiff_t out_stride,
                           uint8_t *src, ptrdiff_t srcstride,
                           int nPbW, int nPbH, int16_t* mcbuffer);
void put_qpel_1_0_fallback(int16_t *out, ptrdiff_t out_stride,
                           uint8_t *src, ptrdiff_t srcstride,
                           int nPbW, int nPbH, int16_t* mcbuffer);
void put_qpel_1_1_fallback(int16_t *out, ptrdiff_t out_stride,
                           uint8_t *src, ptrdiff_t srcstride,
                           int nPbW, int nPbH, int16_t* mcbuffer);
void put_qpel_1_2_fallback(int16_t *out, ptrdiff_t out_stride,
                           uint8_t *src, ptrdiff_t srcstride,
                           int nPbW, int nPbH, int16_t* mcbuffer);
void put_qpel_1_3_fallback(int16_t *out, ptrdiff_t out_stride,
                           uint8_t *src, ptrdiff_t srcstride,
                           int nPbW, int nPbH, int16_t* mcbuffer);
void put_qpel_2_0_fallback(int16_t *out, ptrdiff_t out_stride,
                           uint8_t *src, ptrdiff_t srcstride,
                           int nPbW, int nPbH, int16_t* mcbuffer);
void put_qpel_2_1_fallback(int16_t *out, ptrdiff_t out_stride,
                           uint8_t *src, ptrdiff_t srcstride,
                           int nPbW, int nPbH, int16_t* mcbuffer);
void put_qpel_2_2_fallback(int16_t *out, ptrdiff_t out_stride,
                           uint8_t *src, ptrdiff_t srcstride,
                           int nPbW, int nPbH, int16_t* mcbuffer);
void put_qpel_2_3_fallback(int16_t *out, ptrdiff_t out_stride,
                           uint8_t *src, ptrdiff_t srcstride,
                           int nPbW, int nPbH, int16_t* mcbuffer);
void put_qpel_3_0_fallback(int16_t *out, ptrdiff_t out_stride,
                           uint8_t *src, ptrdiff_t srcstride,
                           int nPbW, int nPbH, int16_t* mcbuffer);
void put_qpel_3_1_fallback(int16_t *out, ptrdiff_t out_stride,
                           uint8_t *src, ptrdiff_t srcstride,
                           int nPbW, int nPbH, int16_t* mcbuffer);
void put_qpel_3_2_fallback(int16_t *out, ptrdiff_t out_stride,
                           uint8_t *src, ptrdiff_t srcstride,
                           int nPbW, int nPbH, int16_t* mcbuffer);
void put_qpel_3_3_fallback(int16_t *out, ptrdiff_t out_stride,
                           uint8_t *src, ptrdiff_t srcstride,
                           int nPbW, int nPbH, int16_t* mcbuffer);

#endif

/* [<][>][^][v][top][bottom][index][help] */