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

Side by Side Diff: source/libvpx/vp8/common/recon.h

Issue 7671004: Update libvpx snapshot to v0.9.7-p1 (Cayuga). (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/libvpx/
Patch Set: '' Created 9 years, 4 months 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
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2010 The WebM project authors. All Rights Reserved. 2 * Copyright (c) 2010 The WebM project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 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 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 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
11 11
12 #ifndef __INC_RECON_H 12 #ifndef __INC_RECON_H
13 #define __INC_RECON_H 13 #define __INC_RECON_H
14 14
15 #include "blockd.h" 15 #include "blockd.h"
16 16
17 #define prototype_copy_block(sym) \ 17 #define prototype_copy_block(sym) \
18 void sym(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitc h) 18 void sym(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitc h)
19 19
20 #define prototype_recon_block(sym) \ 20 #define prototype_recon_block(sym) \
21 void sym(unsigned char *pred, short *diff, unsigned char *dst, int pitch) 21 void sym(unsigned char *pred, short *diff, unsigned char *dst, int pitch)
22 22
23 #define prototype_recon_macroblock(sym) \ 23 #define prototype_recon_macroblock(sym) \
24 void sym(const struct vp8_recon_rtcd_vtable *rtcd, MACROBLOCKD *x) 24 void sym(const struct vp8_recon_rtcd_vtable *rtcd, MACROBLOCKD *x)
25 25
26 #define prototype_build_intra_predictors(sym) \ 26 #define prototype_build_intra_predictors(sym) \
27 void sym(MACROBLOCKD *x) 27 void sym(MACROBLOCKD *x)
28 28
29 #define prototype_intra4x4_predict(sym) \
30 void sym(BLOCKD *x, int b_mode, unsigned char *predictor)
31
29 struct vp8_recon_rtcd_vtable; 32 struct vp8_recon_rtcd_vtable;
30 33
31 #if ARCH_X86 || ARCH_X86_64 34 #if ARCH_X86 || ARCH_X86_64
32 #include "x86/recon_x86.h" 35 #include "x86/recon_x86.h"
33 #endif 36 #endif
34 37
35 #if ARCH_ARM 38 #if ARCH_ARM
36 #include "arm/recon_arm.h" 39 #include "arm/recon_arm.h"
37 #endif 40 #endif
38 41
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 #endif 84 #endif
82 extern prototype_build_intra_predictors\ 85 extern prototype_build_intra_predictors\
83 (vp8_recon_build_intra_predictors_mby); 86 (vp8_recon_build_intra_predictors_mby);
84 87
85 #ifndef vp8_recon_build_intra_predictors_mby_s 88 #ifndef vp8_recon_build_intra_predictors_mby_s
86 #define vp8_recon_build_intra_predictors_mby_s vp8_build_intra_predictors_mby_s 89 #define vp8_recon_build_intra_predictors_mby_s vp8_build_intra_predictors_mby_s
87 #endif 90 #endif
88 extern prototype_build_intra_predictors\ 91 extern prototype_build_intra_predictors\
89 (vp8_recon_build_intra_predictors_mby_s); 92 (vp8_recon_build_intra_predictors_mby_s);
90 93
94 #ifndef vp8_recon_build_intra_predictors_mbuv
95 #define vp8_recon_build_intra_predictors_mbuv vp8_build_intra_predictors_mbuv
96 #endif
97 extern prototype_build_intra_predictors\
98 (vp8_recon_build_intra_predictors_mbuv);
99
100 #ifndef vp8_recon_build_intra_predictors_mbuv_s
101 #define vp8_recon_build_intra_predictors_mbuv_s vp8_build_intra_predictors_mbuv_ s
102 #endif
103 extern prototype_build_intra_predictors\
104 (vp8_recon_build_intra_predictors_mbuv_s);
105
106 #ifndef vp8_recon_intra4x4_predict
107 #define vp8_recon_intra4x4_predict vp8_intra4x4_predict
108 #endif
109 extern prototype_intra4x4_predict\
110 (vp8_recon_intra4x4_predict);
111
91 112
92 typedef prototype_copy_block((*vp8_copy_block_fn_t)); 113 typedef prototype_copy_block((*vp8_copy_block_fn_t));
93 typedef prototype_recon_block((*vp8_recon_fn_t)); 114 typedef prototype_recon_block((*vp8_recon_fn_t));
94 typedef prototype_recon_macroblock((*vp8_recon_mb_fn_t)); 115 typedef prototype_recon_macroblock((*vp8_recon_mb_fn_t));
95 typedef prototype_build_intra_predictors((*vp8_build_intra_pred_fn_t)); 116 typedef prototype_build_intra_predictors((*vp8_build_intra_pred_fn_t));
117 typedef prototype_intra4x4_predict((*vp8_intra4x4_pred_fn_t));
96 typedef struct vp8_recon_rtcd_vtable 118 typedef struct vp8_recon_rtcd_vtable
97 { 119 {
98 vp8_copy_block_fn_t copy16x16; 120 vp8_copy_block_fn_t copy16x16;
99 vp8_copy_block_fn_t copy8x8; 121 vp8_copy_block_fn_t copy8x8;
100 vp8_copy_block_fn_t copy8x4; 122 vp8_copy_block_fn_t copy8x4;
101 vp8_recon_fn_t recon; 123 vp8_recon_fn_t recon;
102 vp8_recon_fn_t recon2; 124 vp8_recon_fn_t recon2;
103 vp8_recon_fn_t recon4; 125 vp8_recon_fn_t recon4;
104 vp8_recon_mb_fn_t recon_mb; 126 vp8_recon_mb_fn_t recon_mb;
105 vp8_recon_mb_fn_t recon_mby; 127 vp8_recon_mb_fn_t recon_mby;
106 vp8_build_intra_pred_fn_t build_intra_predictors_mby_s; 128 vp8_build_intra_pred_fn_t build_intra_predictors_mby_s;
107 vp8_build_intra_pred_fn_t build_intra_predictors_mby; 129 vp8_build_intra_pred_fn_t build_intra_predictors_mby;
130 vp8_build_intra_pred_fn_t build_intra_predictors_mbuv_s;
131 vp8_build_intra_pred_fn_t build_intra_predictors_mbuv;
132 vp8_intra4x4_pred_fn_t intra4x4_predict;
108 } vp8_recon_rtcd_vtable_t; 133 } vp8_recon_rtcd_vtable_t;
109 134
110 #if CONFIG_RUNTIME_CPU_DETECT 135 #if CONFIG_RUNTIME_CPU_DETECT
111 #define RECON_INVOKE(ctx,fn) (ctx)->fn 136 #define RECON_INVOKE(ctx,fn) (ctx)->fn
112 #else 137 #else
113 #define RECON_INVOKE(ctx,fn) vp8_recon_##fn 138 #define RECON_INVOKE(ctx,fn) vp8_recon_##fn
114 #endif 139 #endif
115 140
116 void vp8_recon_intra_mbuv(const vp8_recon_rtcd_vtable_t *rtcd, MACROBLOCKD *x); 141 void vp8_recon_intra_mbuv(const vp8_recon_rtcd_vtable_t *rtcd, MACROBLOCKD *x);
117 #endif 142 #endif
OLDNEW
« no previous file with comments | « source/libvpx/vp8/common/ppc/loopfilter_altivec.c ('k') | source/libvpx/vp8/common/reconinter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698