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

Side by Side Diff: source/libvpx/vp8/common/rtcd_defs.sh

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
OLDNEW
1 common_forward_decls() { 1 vp8_common_forward_decls() {
2 cat <<EOF 2 cat <<EOF
3 #include "vp8/common/blockd.h" 3 /*
4 * VP8
5 */
4 6
5 struct blockd; 7 struct blockd;
6 struct macroblockd; 8 struct macroblockd;
7 struct loop_filter_info; 9 struct loop_filter_info;
8 10
9 /* Encoder forward decls */ 11 /* Encoder forward decls */
10 struct block; 12 struct block;
11 struct macroblock; 13 struct macroblock;
12 struct variance_vtable; 14 struct variance_vtable;
13 union int_mv; 15 union int_mv;
14 struct yv12_buffer_config; 16 struct yv12_buffer_config;
15 EOF 17 EOF
16 } 18 }
17 forward_decls common_forward_decls 19 forward_decls vp8_common_forward_decls
18 20
19 # 21 #
20 # Dequant 22 # Dequant
21 # 23 #
22 prototype void vp8_dequantize_b "struct blockd*, short *dqc" 24 prototype void vp8_dequantize_b "struct blockd*, short *dqc"
23 specialize vp8_dequantize_b mmx media neon 25 specialize vp8_dequantize_b mmx media neon
24 vp8_dequantize_b_media=vp8_dequantize_b_v6 26 vp8_dequantize_b_media=vp8_dequantize_b_v6
25 27
26 prototype void vp8_dequant_idct_add "short *input, short *dq, unsigned char *out put, int stride" 28 prototype void vp8_dequant_idct_add "short *input, short *dq, unsigned char *out put, int stride"
27 specialize vp8_dequant_idct_add mmx media neon dspr2 29 specialize vp8_dequant_idct_add mmx media neon dspr2
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 vp8_copy_mem8x4_media=vp8_copy_mem8x4_v6 141 vp8_copy_mem8x4_media=vp8_copy_mem8x4_v6
140 vp8_copy_mem8x4_dspr2=vp8_copy_mem8x4_dspr2 142 vp8_copy_mem8x4_dspr2=vp8_copy_mem8x4_dspr2
141 143
142 prototype void vp8_build_intra_predictors_mby_s "struct macroblockd *x, unsigned char * yabove_row, unsigned char * yleft, int left_stride, unsigned char * ypre d_ptr, int y_stride" 144 prototype void vp8_build_intra_predictors_mby_s "struct macroblockd *x, unsigned char * yabove_row, unsigned char * yleft, int left_stride, unsigned char * ypre d_ptr, int y_stride"
143 specialize vp8_build_intra_predictors_mby_s sse2 ssse3 145 specialize vp8_build_intra_predictors_mby_s sse2 ssse3
144 #TODO: fix assembly for neon 146 #TODO: fix assembly for neon
145 147
146 prototype void vp8_build_intra_predictors_mbuv_s "struct macroblockd *x, unsigne d char * uabove_row, unsigned char * vabove_row, unsigned char *uleft, unsigned char *vleft, int left_stride, unsigned char * upred_ptr, unsigned char * vpred_ ptr, int pred_stride" 148 prototype void vp8_build_intra_predictors_mbuv_s "struct macroblockd *x, unsigne d char * uabove_row, unsigned char * vabove_row, unsigned char *uleft, unsigned char *vleft, int left_stride, unsigned char * upred_ptr, unsigned char * vpred_ ptr, int pred_stride"
147 specialize vp8_build_intra_predictors_mbuv_s sse2 ssse3 149 specialize vp8_build_intra_predictors_mbuv_s sse2 ssse3
148 150
149 prototype void vp8_intra4x4_predict "unsigned char *Above, unsigned char *yleft, int left_stride, B_PREDICTION_MODE b_mode, unsigned char *dst, int dst_stride, unsigned char top_left" 151 prototype void vp8_intra4x4_predict "unsigned char *Above, unsigned char *yleft, int left_stride, int b_mode, unsigned char *dst, int dst_stride, unsigned char top_left"
150 specialize vp8_intra4x4_predict media 152 specialize vp8_intra4x4_predict media
151 vp8_intra4x4_predict_media=vp8_intra4x4_predict_armv6 153 vp8_intra4x4_predict_media=vp8_intra4x4_predict_armv6
152 154
153 # 155 #
154 # Postproc 156 # Postproc
155 # 157 #
156 if [ "$CONFIG_POSTPROC" = "yes" ]; then 158 if [ "$CONFIG_POSTPROC" = "yes" ]; then
157 prototype void vp8_mbpost_proc_down "unsigned char *dst, int pitch, int rows , int cols,int flimit" 159 prototype void vp8_mbpost_proc_down "unsigned char *dst, int pitch, int rows , int cols,int flimit"
158 specialize vp8_mbpost_proc_down mmx sse2 160 specialize vp8_mbpost_proc_down mmx sse2
159 vp8_mbpost_proc_down_sse2=vp8_mbpost_proc_down_xmm 161 vp8_mbpost_proc_down_sse2=vp8_mbpost_proc_down_xmm
(...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after
523 # 525 #
524 # Denoiser filter 526 # Denoiser filter
525 # 527 #
526 if [ "$CONFIG_TEMPORAL_DENOISING" = "yes" ]; then 528 if [ "$CONFIG_TEMPORAL_DENOISING" = "yes" ]; then
527 prototype int vp8_denoiser_filter "struct yv12_buffer_config* mc_running_avg , struct yv12_buffer_config* running_avg, struct macroblock* signal, unsigned in t motion_magnitude2, int y_offset, int uv_offset" 529 prototype int vp8_denoiser_filter "struct yv12_buffer_config* mc_running_avg , struct yv12_buffer_config* running_avg, struct macroblock* signal, unsigned in t motion_magnitude2, int y_offset, int uv_offset"
528 specialize vp8_denoiser_filter sse2 530 specialize vp8_denoiser_filter sse2
529 fi 531 fi
530 532
531 # End of encoder only functions 533 # End of encoder only functions
532 fi 534 fi
533
534 # Scaler functions
535 if [ "CONFIG_SPATIAL_RESAMPLING" != "yes" ]; then
536 prototype void vp8_horizontal_line_4_5_scale "const unsigned char *source, u nsigned int source_width, unsigned char *dest, unsigned int dest_width"
537 prototype void vp8_vertical_band_4_5_scale "unsigned char *dest, unsigned in t dest_pitch, unsigned int dest_width"
538 prototype void vp8_last_vertical_band_4_5_scale "unsigned char *dest, unsign ed int dest_pitch, unsigned int dest_width"
539 prototype void vp8_horizontal_line_2_3_scale "const unsigned char *source, u nsigned int source_width, unsigned char *dest, unsigned int dest_width"
540 prototype void vp8_vertical_band_2_3_scale "unsigned char *dest, unsigned in t dest_pitch, unsigned int dest_width"
541 prototype void vp8_last_vertical_band_2_3_scale "unsigned char *dest, unsign ed int dest_pitch, unsigned int dest_width"
542 prototype void vp8_horizontal_line_3_5_scale "const unsigned char *source, u nsigned int source_width, unsigned char *dest, unsigned int dest_width"
543 prototype void vp8_vertical_band_3_5_scale "unsigned char *dest, unsigned in t dest_pitch, unsigned int dest_width"
544 prototype void vp8_last_vertical_band_3_5_scale "unsigned char *dest, unsign ed int dest_pitch, unsigned int dest_width"
545 prototype void vp8_horizontal_line_3_4_scale "const unsigned char *source, u nsigned int source_width, unsigned char *dest, unsigned int dest_width"
546 prototype void vp8_vertical_band_3_4_scale "unsigned char *dest, unsigned in t dest_pitch, unsigned int dest_width"
547 prototype void vp8_last_vertical_band_3_4_scale "unsigned char *dest, unsign ed int dest_pitch, unsigned int dest_width"
548 prototype void vp8_horizontal_line_1_2_scale "const unsigned char *source, u nsigned int source_width, unsigned char *dest, unsigned int dest_width"
549 prototype void vp8_vertical_band_1_2_scale "unsigned char *dest, unsigned in t dest_pitch, unsigned int dest_width"
550 prototype void vp8_last_vertical_band_1_2_scale "unsigned char *dest, unsign ed int dest_pitch, unsigned int dest_width"
551 prototype void vp8_horizontal_line_5_4_scale "const unsigned char *source, u nsigned int source_width, unsigned char *dest, unsigned int dest_width"
552 prototype void vp8_vertical_band_5_4_scale "unsigned char *source, unsigned int src_pitch, unsigned char *dest, unsigned int dest_pitch, unsigned int dest_w idth"
553 prototype void vp8_horizontal_line_5_3_scale "const unsigned char *source, u nsigned int source_width, unsigned char *dest, unsigned int dest_width"
554 prototype void vp8_vertical_band_5_3_scale "unsigned char *source, unsigned int src_pitch, unsigned char *dest, unsigned int dest_pitch, unsigned int dest_w idth"
555 prototype void vp8_horizontal_line_2_1_scale "const unsigned char *source, u nsigned int source_width, unsigned char *dest, unsigned int dest_width"
556 prototype void vp8_vertical_band_2_1_scale "unsigned char *source, unsigned int src_pitch, unsigned char *dest, unsigned int dest_pitch, unsigned int dest_w idth"
557 prototype void vp8_vertical_band_2_1_scale_i "unsigned char *source, unsigne d int src_pitch, unsigned char *dest, unsigned int dest_pitch, unsigned int dest _width"
558 fi
559
560 prototype void vp8_yv12_extend_frame_borders "struct yv12_buffer_config *ybf"
561 specialize vp8_yv12_extend_frame_borders neon
562
563 prototype void vp8_yv12_copy_frame "struct yv12_buffer_config *src_ybc, struct y v12_buffer_config *dst_ybc"
564 specialize vp8_yv12_copy_frame neon
565
566 prototype void vp8_yv12_copy_y "struct yv12_buffer_config *src_ybc, struct yv12_ buffer_config *dst_ybc"
567 specialize vp8_yv12_copy_y neon
568
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698