]> granicus.if.org Git - libvpx/commitdiff
vpx_scale_rtcd.sh: fix conditional
authorJames Zern <jzern@google.com>
Mon, 24 Feb 2014 00:30:27 +0000 (16:30 -0800)
committerJames Zern <jzern@google.com>
Fri, 28 Feb 2014 03:47:38 +0000 (19:47 -0800)
previously the scale functions would always be include regardless of the
CONFIG_SPATIAL_RESAMPLING setting.

Change-Id: Ifbccf47b20689b5dd61bb3ddccd5c013297b4e05

vpx_scale/vpx_scale_rtcd.sh

index a5faf1148e1daea6ef9ead6b386b77b877c6babc..1d02b69d5e29f0b962e6012760be6f6c6fb6cce8 100644 (file)
@@ -6,7 +6,7 @@ EOF
 forward_decls vpx_scale_forward_decls
 
 # Scaler functions
-if [ "CONFIG_SPATIAL_RESAMPLING" != "yes" ]; then
+if [ "$CONFIG_SPATIAL_RESAMPLING" = "yes" ]; then
     prototype void vp8_horizontal_line_5_4_scale "const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width"
     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_width"
     prototype void vp8_horizontal_line_5_3_scale "const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width"