2012-08-08 15:47:36 -07:00
|
|
|
common_forward_decls() {
|
|
|
|
cat <<EOF
|
2012-10-13 20:29:04 -07:00
|
|
|
struct blockd;
|
2012-08-08 15:47:36 -07:00
|
|
|
EOF
|
|
|
|
}
|
|
|
|
forward_decls common_forward_decls
|
2012-08-14 18:19:09 -07:00
|
|
|
|
2012-10-13 20:29:04 -07:00
|
|
|
|
|
|
|
|
2012-08-14 18:19:09 -07:00
|
|
|
prototype void vp8_filter_block2d_4x4_8 "const unsigned char *src_ptr, const unsigned int src_stride, const short *HFilter_aligned16, const short *VFilter_aligned16, unsigned char *dst_ptr, unsigned int dst_stride"
|
|
|
|
prototype void vp8_filter_block2d_8x4_8 "const unsigned char *src_ptr, const unsigned int src_stride, const short *HFilter_aligned16, const short *VFilter_aligned16, unsigned char *dst_ptr, unsigned int dst_stride"
|
|
|
|
prototype void vp8_filter_block2d_8x8_8 "const unsigned char *src_ptr, const unsigned int src_stride, const short *HFilter_aligned16, const short *VFilter_aligned16, unsigned char *dst_ptr, unsigned int dst_stride"
|
|
|
|
prototype void vp8_filter_block2d_16x16_8 "const unsigned char *src_ptr, const unsigned int src_stride, const short *HFilter_aligned16, const short *VFilter_aligned16, unsigned char *dst_ptr, unsigned int dst_stride"
|
|
|
|
|
|
|
|
# At the very least, MSVC 2008 has compiler bug exhibited by this code; code
|
|
|
|
# compiles warning free but a dissassembly of generated code show bugs. To be
|
|
|
|
# on the safe side, only enabled when compiled with 'gcc'.
|
|
|
|
if [ "$CONFIG_GCC" = "yes" ]; then
|
2012-08-20 23:49:43 -07:00
|
|
|
specialize vp8_filter_block2d_4x4_8 sse4_1 sse2
|
|
|
|
specialize vp8_filter_block2d_8x4_8 sse4_1 sse2
|
|
|
|
specialize vp8_filter_block2d_8x8_8 sse4_1 sse2
|
|
|
|
specialize vp8_filter_block2d_16x16_8 sse4_1 sse2
|
2012-08-14 18:19:09 -07:00
|
|
|
fi
|
2012-10-09 17:09:08 -07:00
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
# RECON
|
|
|
|
#
|
|
|
|
prototype void vp8_copy_mem16x16 "unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch"
|
|
|
|
specialize vp8_copy_mem16x16 mmx sse2 media neon dspr2
|
|
|
|
vp8_copy_mem16x16_media=vp8_copy_mem16x16_v6
|
|
|
|
vp8_copy_mem16x16_dspr2=vp8_copy_mem16x16_dspr2
|