Revision 6a813295

View differences:

libavcodec/dct-test.c
40 40
#include "faandct.h"
41 41
#include "faanidct.h"
42 42
#include "x86/idct_xvid.h"
43
#include "dctref.h"
43 44

  
44 45
#undef printf
45 46

  
46 47
void *fast_memcpy(void *a, const void *b, size_t c){return memcpy(a,b,c);};
47 48

  
48
/* reference fdct/idct */
49
void ff_ref_fdct(DCTELEM *block);
50
void ff_ref_idct(DCTELEM *block);
51
void ff_ref_dct_init(void);
52

  
53 49
void ff_mmx_idct(DCTELEM *data);
54 50
void ff_mmxext_idct(DCTELEM *data);
55 51

  
libavcodec/dctref.c
30 30
 */
31 31

  
32 32
#include "libavutil/mathematics.h"
33
#include "dctref.h"
34

  
33 35
static double coefficients[8 * 8];
34 36

  
35 37
/**
libavcodec/dctref.h
1
/*
2
 * reference discrete cosine transform (double precision)
3
 * Copyright (C) 2009 Dylan Yudaken
4
 *
5
 * This file is part of FFmpeg.
6
 *
7
 * FFmpeg is free software; you can redistribute it and/or
8
 * modify it under the terms of the GNU Lesser General Public
9
 * License as published by the Free Software Foundation; either
10
 * version 2.1 of the License, or (at your option) any later version.
11
 *
12
 * FFmpeg is distributed in the hope that it will be useful,
13
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15
 * Lesser General Public License for more details.
16
 *
17
 * You should have received a copy of the GNU Lesser General Public
18
 * License along with FFmpeg; if not, write to the Free Software
19
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20
 */
21

  
22
#ifndef AVCODEC_DCTREF_H
23
#define AVCODEC_DCTREF_H
24

  
25
#include "dsputil.h"
26

  
27
void ff_ref_fdct(DCTELEM *block);
28
void ff_ref_idct(DCTELEM *block);
29
void ff_ref_dct_init(void);
30

  
31
#endif

Also available in: Unified diff