Commit 77664736 authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit '5dcc2015'

* commit '5dcc2015':
  simple_idct: Move x86-specific declarations to a header in the x86 directory

Conflicts:
	libavcodec/x86/simple_idct.c
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 6da96a9f 5dcc2015
...@@ -47,6 +47,7 @@ ...@@ -47,6 +47,7 @@
#include "faanidct.h" #include "faanidct.h"
#include "x86/fdct.h" #include "x86/fdct.h"
#include "x86/idct_xvid.h" #include "x86/idct_xvid.h"
#include "x86/simple_idct.h"
#include "dctref.h" #include "dctref.h"
// ALTIVEC // ALTIVEC
......
...@@ -49,10 +49,6 @@ void ff_simple_idct_12(int16_t *block); ...@@ -49,10 +49,6 @@ void ff_simple_idct_12(int16_t *block);
*/ */
void ff_prores_idct(int16_t *block, const int16_t *qmat); void ff_prores_idct(int16_t *block, const int16_t *qmat);
void ff_simple_idct_mmx(int16_t *block);
void ff_simple_idct_add_mmx(uint8_t *dest, int line_size, int16_t *block);
void ff_simple_idct_put_mmx(uint8_t *dest, int line_size, int16_t *block);
void ff_simple_idct248_put(uint8_t *dest, int line_size, int16_t *block); void ff_simple_idct248_put(uint8_t *dest, int line_size, int16_t *block);
void ff_simple_idct84_add(uint8_t *dest, int line_size, int16_t *block); void ff_simple_idct84_add(uint8_t *dest, int line_size, int16_t *block);
......
...@@ -22,9 +22,9 @@ ...@@ -22,9 +22,9 @@
#include "libavutil/x86/cpu.h" #include "libavutil/x86/cpu.h"
#include "libavcodec/avcodec.h" #include "libavcodec/avcodec.h"
#include "libavcodec/idctdsp.h" #include "libavcodec/idctdsp.h"
#include "libavcodec/simple_idct.h"
#include "idct_xvid.h" #include "idct_xvid.h"
#include "idctdsp.h" #include "idctdsp.h"
#include "simple_idct.h"
/* Input permutation for the simple_idct_mmx */ /* Input permutation for the simple_idct_mmx */
static const uint8_t simple_mmx_permutation[64] = { static const uint8_t simple_mmx_permutation[64] = {
......
...@@ -19,10 +19,11 @@ ...@@ -19,10 +19,11 @@
* License along with FFmpeg; if not, write to the Free Software * License along with FFmpeg; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include "libavcodec/simple_idct.h"
#include "libavutil/mem.h" #include "libavutil/mem.h"
#include "libavutil/x86/asm.h" #include "libavutil/x86/asm.h"
#include "idctdsp.h" #include "idctdsp.h"
#include "simple_idct.h"
#if HAVE_INLINE_ASM #if HAVE_INLINE_ASM
......
/*
* 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_X86_SIMPLE_IDCT_H
#define AVCODEC_X86_SIMPLE_IDCT_H
#include <stdint.h>
void ff_simple_idct_mmx(int16_t *block);
void ff_simple_idct_add_mmx(uint8_t *dest, int line_size, int16_t *block);
void ff_simple_idct_put_mmx(uint8_t *dest, int line_size, int16_t *block);
#endif /* AVCODEC_X86_SIMPLE_IDCT_H */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment