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

Side by Side Diff: source/config/linux/arm64/vp8_rtcd.h

Issue 592203002: libvpx: Pull from upstream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 6 years, 3 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
« no previous file with comments | « source/config/linux/arm/vpx_scale_rtcd.h ('k') | source/config/linux/arm64/vp9_rtcd.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #ifndef VP8_RTCD_H_ 1 #ifndef VP8_RTCD_H_
2 #define VP8_RTCD_H_ 2 #define VP8_RTCD_H_
3 3
4 #ifdef RTCD_C 4 #ifdef RTCD_C
5 #define RTCD_EXTERN 5 #define RTCD_EXTERN
6 #else 6 #else
7 #define RTCD_EXTERN extern 7 #define RTCD_EXTERN extern
8 #endif 8 #endif
9 9
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13
14 /* 10 /*
15 * VP8 11 * VP8
16 */ 12 */
17 13
18 struct blockd; 14 struct blockd;
19 struct macroblockd; 15 struct macroblockd;
20 struct loop_filter_info; 16 struct loop_filter_info;
21 17
22 /* Encoder forward decls */ 18 /* Encoder forward decls */
23 struct block; 19 struct block;
24 struct macroblock; 20 struct macroblock;
25 struct variance_vtable; 21 struct variance_vtable;
26 union int_mv; 22 union int_mv;
27 struct yv12_buffer_config; 23 struct yv12_buffer_config;
28 24
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
28
29 void vp8_bilinear_predict16x16_c(unsigned char *src, int src_pitch, int xofst, i nt yofst, unsigned char *dst, int dst_pitch); 29 void vp8_bilinear_predict16x16_c(unsigned char *src, int src_pitch, int xofst, i nt yofst, unsigned char *dst, int dst_pitch);
30 void vp8_bilinear_predict16x16_neon(unsigned char *src, int src_pitch, int xofst , int yofst, unsigned char *dst, int dst_pitch); 30 void vp8_bilinear_predict16x16_neon(unsigned char *src, int src_pitch, int xofst , int yofst, unsigned char *dst, int dst_pitch);
31 #define vp8_bilinear_predict16x16 vp8_bilinear_predict16x16_neon 31 #define vp8_bilinear_predict16x16 vp8_bilinear_predict16x16_neon
32 32
33 void vp8_bilinear_predict4x4_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); 33 void vp8_bilinear_predict4x4_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
34 void vp8_bilinear_predict4x4_neon(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); 34 void vp8_bilinear_predict4x4_neon(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
35 #define vp8_bilinear_predict4x4 vp8_bilinear_predict4x4_neon 35 #define vp8_bilinear_predict4x4 vp8_bilinear_predict4x4_neon
36 36
37 void vp8_bilinear_predict8x4_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); 37 void vp8_bilinear_predict8x4_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
38 void vp8_bilinear_predict8x4_neon(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); 38 void vp8_bilinear_predict8x4_neon(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 void vp8_filter_by_weight4x4_c(unsigned char *src, int src_stride, unsigned char *dst, int dst_stride, int src_weight); 120 void vp8_filter_by_weight4x4_c(unsigned char *src, int src_stride, unsigned char *dst, int dst_stride, int src_weight);
121 #define vp8_filter_by_weight4x4 vp8_filter_by_weight4x4_c 121 #define vp8_filter_by_weight4x4 vp8_filter_by_weight4x4_c
122 122
123 void vp8_filter_by_weight8x8_c(unsigned char *src, int src_stride, unsigned char *dst, int dst_stride, int src_weight); 123 void vp8_filter_by_weight8x8_c(unsigned char *src, int src_stride, unsigned char *dst, int dst_stride, int src_weight);
124 #define vp8_filter_by_weight8x8 vp8_filter_by_weight8x8_c 124 #define vp8_filter_by_weight8x8 vp8_filter_by_weight8x8_c
125 125
126 int vp8_full_search_sad_c(struct macroblock *x, struct block *b, struct blockd * d, union int_mv *ref_mv, int sad_per_bit, int distance, struct variance_vtable * fn_ptr, int *mvcost[2], union int_mv *center_mv); 126 int vp8_full_search_sad_c(struct macroblock *x, struct block *b, struct blockd * d, union int_mv *ref_mv, int sad_per_bit, int distance, struct variance_vtable * fn_ptr, int *mvcost[2], union int_mv *center_mv);
127 #define vp8_full_search_sad vp8_full_search_sad_c 127 #define vp8_full_search_sad vp8_full_search_sad_c
128 128
129 unsigned int vp8_get4x4sse_cs_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride); 129 unsigned int vp8_get4x4sse_cs_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride);
130 #define vp8_get4x4sse_cs vp8_get4x4sse_cs_c 130 unsigned int vp8_get4x4sse_cs_neon(const unsigned char *src_ptr, int source_stri de, const unsigned char *ref_ptr, int ref_stride);
131 #define vp8_get4x4sse_cs vp8_get4x4sse_cs_neon
131 132
132 unsigned int vp8_get_mb_ss_c(const short *); 133 unsigned int vp8_get_mb_ss_c(const short *);
133 #define vp8_get_mb_ss vp8_get_mb_ss_c 134 #define vp8_get_mb_ss vp8_get_mb_ss_c
134 135
135 void vp8_intra4x4_predict_c(unsigned char *Above, unsigned char *yleft, int left _stride, int b_mode, unsigned char *dst, int dst_stride, unsigned char top_left) ; 136 void vp8_intra4x4_predict_c(unsigned char *Above, unsigned char *yleft, int left _stride, int b_mode, unsigned char *dst, int dst_stride, unsigned char top_left) ;
136 #define vp8_intra4x4_predict vp8_intra4x4_predict_c 137 #define vp8_intra4x4_predict vp8_intra4x4_predict_c
137 138
138 void vp8_loop_filter_bh_c(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi); 139 void vp8_loop_filter_bh_c(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi);
139 void vp8_loop_filter_bh_neon(unsigned char *y, unsigned char *u, unsigned char * v, int ystride, int uv_stride, struct loop_filter_info *lfi); 140 void vp8_loop_filter_bh_neon(unsigned char *y, unsigned char *u, unsigned char * v, int ystride, int uv_stride, struct loop_filter_info *lfi);
140 #define vp8_loop_filter_bh vp8_loop_filter_bh_neon 141 #define vp8_loop_filter_bh vp8_loop_filter_bh_neon
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 void vp8_mbpost_proc_across_ip_c(unsigned char *dst, int pitch, int rows, int co ls,int flimit); 174 void vp8_mbpost_proc_across_ip_c(unsigned char *dst, int pitch, int rows, int co ls,int flimit);
174 #define vp8_mbpost_proc_across_ip vp8_mbpost_proc_across_ip_c 175 #define vp8_mbpost_proc_across_ip vp8_mbpost_proc_across_ip_c
175 176
176 void vp8_mbpost_proc_down_c(unsigned char *dst, int pitch, int rows, int cols,in t flimit); 177 void vp8_mbpost_proc_down_c(unsigned char *dst, int pitch, int rows, int cols,in t flimit);
177 #define vp8_mbpost_proc_down vp8_mbpost_proc_down_c 178 #define vp8_mbpost_proc_down vp8_mbpost_proc_down_c
178 179
179 int vp8_mbuverror_c(struct macroblock *mb); 180 int vp8_mbuverror_c(struct macroblock *mb);
180 #define vp8_mbuverror vp8_mbuverror_c 181 #define vp8_mbuverror vp8_mbuverror_c
181 182
182 unsigned int vp8_mse16x16_c(const unsigned char *src_ptr, int source_stride, con st unsigned char *ref_ptr, int ref_stride, unsigned int *sse); 183 unsigned int vp8_mse16x16_c(const unsigned char *src_ptr, int source_stride, con st unsigned char *ref_ptr, int ref_stride, unsigned int *sse);
183 #define vp8_mse16x16 vp8_mse16x16_c 184 unsigned int vp8_mse16x16_neon(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse);
185 #define vp8_mse16x16 vp8_mse16x16_neon
184 186
185 void vp8_plane_add_noise_c(unsigned char *s, char *noise, char blackclamp[16], c har whiteclamp[16], char bothclamp[16], unsigned int w, unsigned int h, int pitc h); 187 void vp8_plane_add_noise_c(unsigned char *s, char *noise, char blackclamp[16], c har whiteclamp[16], char bothclamp[16], unsigned int w, unsigned int h, int pitc h);
186 #define vp8_plane_add_noise vp8_plane_add_noise_c 188 #define vp8_plane_add_noise vp8_plane_add_noise_c
187 189
188 void vp8_post_proc_down_and_across_mb_row_c(unsigned char *src, unsigned char *d st, int src_pitch, int dst_pitch, int cols, unsigned char *flimits, int size); 190 void vp8_post_proc_down_and_across_mb_row_c(unsigned char *src, unsigned char *d st, int src_pitch, int dst_pitch, int cols, unsigned char *flimits, int size);
189 #define vp8_post_proc_down_and_across_mb_row vp8_post_proc_down_and_across_mb_ro w_c 191 #define vp8_post_proc_down_and_across_mb_row vp8_post_proc_down_and_across_mb_ro w_c
190 192
191 void vp8_quantize_mb_c(struct macroblock *); 193 void vp8_quantize_mb_c(struct macroblock *);
192 void vp8_quantize_mb_neon(struct macroblock *); 194 void vp8_quantize_mb_neon(struct macroblock *);
193 #define vp8_quantize_mb vp8_quantize_mb_neon 195 #define vp8_quantize_mb vp8_quantize_mb_neon
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
355 357
356 unsigned int vp8_variance8x16_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); 358 unsigned int vp8_variance8x16_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse);
357 unsigned int vp8_variance8x16_neon(const unsigned char *src_ptr, int source_stri de, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); 359 unsigned int vp8_variance8x16_neon(const unsigned char *src_ptr, int source_stri de, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse);
358 #define vp8_variance8x16 vp8_variance8x16_neon 360 #define vp8_variance8x16 vp8_variance8x16_neon
359 361
360 unsigned int vp8_variance8x8_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); 362 unsigned int vp8_variance8x8_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse);
361 unsigned int vp8_variance8x8_neon(const unsigned char *src_ptr, int source_strid e, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); 363 unsigned int vp8_variance8x8_neon(const unsigned char *src_ptr, int source_strid e, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse);
362 #define vp8_variance8x8 vp8_variance8x8_neon 364 #define vp8_variance8x8 vp8_variance8x8_neon
363 365
364 unsigned int vp8_variance_halfpixvar16x16_h_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse) ; 366 unsigned int vp8_variance_halfpixvar16x16_h_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse) ;
365 #define vp8_variance_halfpixvar16x16_h vp8_variance_halfpixvar16x16_h_c 367 unsigned int vp8_variance_halfpixvar16x16_h_neon(const unsigned char *src_ptr, i nt source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *s se);
368 #define vp8_variance_halfpixvar16x16_h vp8_variance_halfpixvar16x16_h_neon
366 369
367 unsigned int vp8_variance_halfpixvar16x16_hv_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse ); 370 unsigned int vp8_variance_halfpixvar16x16_hv_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse );
368 #define vp8_variance_halfpixvar16x16_hv vp8_variance_halfpixvar16x16_hv_c 371 unsigned int vp8_variance_halfpixvar16x16_hv_neon(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int * sse);
372 #define vp8_variance_halfpixvar16x16_hv vp8_variance_halfpixvar16x16_hv_neon
369 373
370 unsigned int vp8_variance_halfpixvar16x16_v_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse) ; 374 unsigned int vp8_variance_halfpixvar16x16_v_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse) ;
371 #define vp8_variance_halfpixvar16x16_v vp8_variance_halfpixvar16x16_v_c 375 unsigned int vp8_variance_halfpixvar16x16_v_neon(const unsigned char *src_ptr, i nt source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *s se);
376 #define vp8_variance_halfpixvar16x16_v vp8_variance_halfpixvar16x16_v_neon
372 377
373 void vp8_rtcd(void); 378 void vp8_rtcd(void);
374 379
375 #include "vpx_config.h" 380 #include "vpx_config.h"
376 381
377 #ifdef RTCD_C 382 #ifdef RTCD_C
378 #include "vpx_ports/arm.h" 383 #include "vpx_ports/arm.h"
379 static void setup_rtcd_internal(void) 384 static void setup_rtcd_internal(void)
380 { 385 {
381 int flags = arm_cpu_caps(); 386 int flags = arm_cpu_caps();
382 387
383 (void)flags; 388 (void)flags;
384 389
385 } 390 }
386 #endif 391 #endif
387 392
388 #ifdef __cplusplus 393 #ifdef __cplusplus
389 } // extern "C" 394 } // extern "C"
390 #endif 395 #endif
391 396
392 #endif 397 #endif
OLDNEW
« no previous file with comments | « source/config/linux/arm/vpx_scale_rtcd.h ('k') | source/config/linux/arm64/vp9_rtcd.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698