Home | History | Annotate | Download | only in jpeg_dec
      1 ifeq ($(BUILD_JPEG_DECODER),1)
      2 LOCAL_PATH:= $(call my-dir)
      3 
      4 include $(CLEAR_VARS)
      5 
      6 
      7 
      8 LOCAL_SRC_FILES:= \
      9 	src/OMX_JpegDec_Thread.c \
     10 	src/OMX_JpegDec_Utils.c \
     11 	src/OMX_JpegDecoder.c \
     12 
     13 LOCAL_C_INCLUDES := $(TI_OMX_COMP_C_INCLUDES) \
     14 	$(TI_OMX_IMAGE)/jpeg_dec/inc \
     15 
     16 LOCAL_SHARED_LIBRARIES := $(TI_OMX_COMP_SHARED_LIBRARIES)
     17 
     18 	
     19 LOCAL_CFLAGS := $(TI_OMX_CFLAGS) -DOMAP_2430 #-DOMX_DEBUG
     20 
     21 LOCAL_MODULE:= libOMX.TI.JPEG.decoder
     22 
     23 include $(BUILD_SHARED_LIBRARY)
     24 endif
     25 
     26 #########################################################
     27 ifeq ($(BUILD_JPEG_DEC_TEST),1)
     28 include $(CLEAR_VARS)
     29 
     30 LOCAL_SRC_FILES:= tests/JPEGTest.c
     31 
     32 LOCAL_C_INCLUDES := $(TI_OMX_COMP_C_INCLUDES) \
     33 	$(TI_OMX_IMAGE)/jpeg_dec/inc \
     34 
     35 LOCAL_SHARED_LIBRARIES := libOMX.TI.JPEG.decoder
     36 
     37 LOCAL_CFLAGS := -Wall -fpic -pipe -O0 -DOMX_DEBUG=1
     38 
     39 LOCAL_MODULE:= JpegTestCommon
     40 
     41 include $(BUILD_EXECUTABLE)
     42 endif
     43 
     44