summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/vl/vp8/idct.h
blob: 4a7b4806a622626bb4d68b8470538461e71e963c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/*
 *  Copyright (c) 2010 The WebM project authors. All Rights Reserved.
 *
 *  Use of this source code is governed by a BSD-style license
 *  that can be found in the LICENSE file in the root of the source
 *  tree. An additional intellectual property rights grant can be found
 *  in the file PATENTS.  All contributing project authors may
 *  be found in the AUTHORS file in the root of the source tree.
 */


#ifndef IDCT_H
#define IDCT_H

void vp8_short_idct4x4llm_c(short *input, short *output, int pitch);

void vp8_short_idct4x4llm_1_c(short *input, short *output, int pitch);


void vp8_dc_only_idct_add_c(short input_dc, unsigned char *pred_ptr,
                            unsigned char *dst_ptr, int pitch, int stride);

void vp8_short_inv_walsh4x4_c(short *input, short *output);


void vp8_short_inv_walsh4x4_1_c(short *input, short *output);

/* ************************************************************************** */

void vp8_dequant_dc_idct_add_y_block_c(short *q, short *dq, unsigned char *pre,
                                       unsigned char *dst, int stride,
                                       char *eobs, short *dc);

void vp8_dequant_idct_add_y_block_c(short *q, short *dq, unsigned char *pre,
                                    unsigned char *dst, int stride, char *eobs);

void vp8_dequant_idct_add_uv_block_c(short *q, short *dq, unsigned char *pre,
                                     unsigned char *dstu, unsigned char *dstv,
                                     int stride, char *eobs);


#endif /* IDCT_H */