Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(197)

Side by Side Diff: source/libvpx/vp9/decoder/vp9_dequantize.h

Issue 11555023: libvpx: Add VP9 decoder. (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 /*
2 * Copyright (c) 2010 The WebM project authors. All Rights Reserved.
3 *
4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
9 */
10
11
12 #ifndef VP9_DECODER_VP9_DEQUANTIZE_H_
13 #define VP9_DECODER_VP9_DEQUANTIZE_H_
14 #include "vp9/common/vp9_blockd.h"
15
16 #if CONFIG_LOSSLESS
17 extern void vp9_dequant_idct_add_lossless_c(short *input, const short *dq,
18 unsigned char *pred,
19 unsigned char *output,
20 int pitch, int stride);
21 extern void vp9_dequant_dc_idct_add_lossless_c(short *input, const short *dq,
22 unsigned char *pred,
23 unsigned char *output,
24 int pitch, int stride, int dc);
25 extern void vp9_dequant_dc_idct_add_y_block_lossless_c(short *q,
26 const short *dq,
27 unsigned char *pre,
28 unsigned char *dst,
29 int stride,
30 unsigned short *eobs,
31 const short *dc);
32 extern void vp9_dequant_idct_add_y_block_lossless_c(short *q, const short *dq,
33 unsigned char *pre,
34 unsigned char *dst,
35 int stride,
36 unsigned short *eobs);
37 extern void vp9_dequant_idct_add_uv_block_lossless_c(short *q, const short *dq,
38 unsigned char *pre,
39 unsigned char *dst_u,
40 unsigned char *dst_v,
41 int stride,
42 unsigned short *eobs);
43 #endif
44
45 typedef void (*vp9_dequant_idct_add_fn_t)(short *input, const short *dq,
46 unsigned char *pred, unsigned char *output, int pitch, int stride);
47 typedef void(*vp9_dequant_dc_idct_add_fn_t)(short *input, const short *dq,
48 unsigned char *pred, unsigned char *output, int pitch, int stride, int dc);
49
50 typedef void(*vp9_dequant_dc_idct_add_y_block_fn_t)(short *q, const short *dq,
51 unsigned char *pre, unsigned char *dst, int stride, unsigned short *eobs,
52 const short *dc);
53 typedef void(*vp9_dequant_idct_add_y_block_fn_t)(short *q, const short *dq,
54 unsigned char *pre, unsigned char *dst, int stride, unsigned short *eobs);
55 typedef void(*vp9_dequant_idct_add_uv_block_fn_t)(short *q, const short *dq,
56 unsigned char *pre, unsigned char *dst_u, unsigned char *dst_v, int stride,
57 unsigned short *eobs);
58
59 void vp9_ht_dequant_idct_add_c(TX_TYPE tx_type, short *input, const short *dq,
60 unsigned char *pred, unsigned char *dest,
61 int pitch, int stride);
62
63 void vp9_ht_dequant_idct_add_8x8_c(TX_TYPE tx_type, short *input,
64 const short *dq, unsigned char *pred,
65 unsigned char *dest, int pitch, int stride);
66
67 void vp9_ht_dequant_idct_add_16x16_c(TX_TYPE tx_type, short *input,
68 const short *dq, unsigned char *pred,
69 unsigned char *dest,
70 int pitch, int stride);
71
72 #if CONFIG_SUPERBLOCKS
73 void vp9_dequant_dc_idct_add_y_block_8x8_inplace_c(short *q, const short *dq,
74 unsigned char *dst,
75 int stride,
76 unsigned short *eobs,
77 const short *dc,
78 MACROBLOCKD *xd);
79
80 void vp9_dequant_dc_idct_add_y_block_4x4_inplace_c(short *q, const short *dq,
81 unsigned char *dst,
82 int stride,
83 unsigned short *eobs,
84 const short *dc,
85 MACROBLOCKD *xd);
86
87 void vp9_dequant_idct_add_uv_block_8x8_inplace_c(short *q, const short *dq,
88 unsigned char *dstu,
89 unsigned char *dstv,
90 int stride,
91 unsigned short *eobs,
92 MACROBLOCKD *xd);
93
94 void vp9_dequant_idct_add_uv_block_4x4_inplace_c(short *q, const short *dq,
95 unsigned char *dstu,
96 unsigned char *dstv,
97 int stride,
98 unsigned short *eobs,
99 MACROBLOCKD *xd);
100 #endif
101
102 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698