summaryrefslogtreecommitdiff
path: root/vp9/decoder/vp9_dequantize.h
blob: 8b53dd9cb995266ea9e794d50aca048158e22b21 (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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
/*
 *  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 VP9_DECODER_VP9_DEQUANTIZE_H_
#define VP9_DECODER_VP9_DEQUANTIZE_H_

#include "vp9/common/vp9_blockd.h"


void vp9_dequant_idct_add_lossless_c(int16_t *input, const int16_t *dq,
                                     unsigned char *pred,
                                     unsigned char *output,
                                     int pitch, int stride, int eob);

void vp9_dequant_dc_idct_add_lossless_c(int16_t *input, const int16_t *dq,
                                        unsigned char *pred,
                                        unsigned char *output,
                                        int pitch, int stride, int dc);

void vp9_dequant_dc_idct_add_y_block_lossless_c(int16_t *q,
                                                const int16_t *dq,
                                                unsigned char *pre,
                                                unsigned char *dst,
                                                int stride,
                                                const int16_t *dc);

void vp9_dequant_idct_add_y_block_lossless_c(int16_t *q, const int16_t *dq,
                                             unsigned char *pre, int pre_stride,
                                             unsigned char *dst,
                                             int stride,
                                             struct macroblockd *xd);

void vp9_dequant_idct_add_uv_block_lossless_c(int16_t *q, const int16_t *dq,
                                              unsigned char *pre,
                                              int pre_stride,
                                              unsigned char *dst,
                                              int stride,
                                              uint16_t *eobs);

void vp9_dequant_iht_add_c(TX_TYPE tx_type, int16_t *input, const int16_t *dq,
                           unsigned char *pred, unsigned char *dest,
                           int pitch, int stride, int eob);

void vp9_dequant_iht_add_8x8_c(TX_TYPE tx_type, int16_t *input,
                               const int16_t *dq, unsigned char *pred,
                               unsigned char *dest, int pitch, int stride,
                               int eob);

void vp9_dequant_iht_add_16x16_c(TX_TYPE tx_type, int16_t *input,
                                 const int16_t *dq, unsigned char *pred,
                                 unsigned char *dest,
                                 int pitch, int stride, int eob);

#endif  // VP9_DECODER_VP9_DEQUANTIZE_H_