]> granicus.if.org Git - libvpx/commitdiff
Moving vp8_multi_resolution_encoder to examples folder.
authorDmitry Kovalev <dkovalev@google.com>
Sat, 18 Jan 2014 00:56:04 +0000 (16:56 -0800)
committerDmitry Kovalev <dkovalev@google.com>
Sat, 18 Jan 2014 00:57:37 +0000 (16:57 -0800)
Change-Id: If0e1cd13aecd1620d26c28bf95e4f84469f78456

examples.mk
examples/vp8_multi_resolution_encoder.c [moved from vp8_multi_resolution_encoder.c with 100% similarity]

index 66b719ca0bb22c1b8a54af147134d226f542e4ba..4da3e0b4706b812ce8bc6ad14ce362742c96b6c5 100644 (file)
@@ -109,11 +109,13 @@ GEN_EXAMPLES-$(CONFIG_VP8_ENCODER) += vp8cx_set_ref.c
 vp8cx_set_ref.GUID                  = C5E31F7F-96F6-48BD-BD3E-10EBF6E8057A
 vp8cx_set_ref.DESCRIPTION           = VP8 set encoder reference frame
 
-# C file is provided, not generated automatically.
-UTILS-$(CONFIG_MULTI_RES_ENCODING) += vp8_multi_resolution_encoder.c
-vp8_multi_resolution_encoder.SRCS         += $(LIBYUV_SRCS)
-vp8_multi_resolution_encoder.GUID         = 04f8738e-63c8-423b-90fa-7c2703a374de
-vp8_multi_resolution_encoder.DESCRIPTION  = VP8 Multiple-resolution Encoding
+
+ifeq ($(CONFIG_MULTI_RES_ENCODING),yes)
+GEN_EXAMPLES-$(CONFIG_VP8_DECODER) += vp8_multi_resolution_encoder.c
+vp8_multi_resolution_encoder.SRCS       += $(LIBYUV_SRCS)
+vp8_multi_resolution_encoder.GUID        = 04f8738e-63c8-423b-90fa-7c2703a374de
+vp8_multi_resolution_encoder.DESCRIPTION = VP8 Multiple-resolution Encoding
+endif
 
 # Handle extra library flags depending on codec configuration