mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-28 02:30:35 +00:00
(ffmpeg core) Add HAVE_LIBGSM ifdefs
This commit is contained in:
parent
63d1a30cf2
commit
e5eab961f2
@ -519,6 +519,14 @@ else
|
||||
DEFINES += -DCONFIG_LIBKVAZAAR_ENCODER=0
|
||||
endif
|
||||
|
||||
ifeq ($(HAVE_LIBGSM),1)
|
||||
DEFINES += -DCONFIG_LIBGSM_ENCODER=1 \
|
||||
-DCONFIG_LIBGSM_MS_ENCODER=1
|
||||
else
|
||||
DEFINES += -DCONFIG_LIBGSM_ENCODER=0 \
|
||||
-DCONFIG_LIBGSM_MS_ENCODER=0
|
||||
endif
|
||||
|
||||
DEFINES += \
|
||||
-DCONFIG_ALIAS_PIX_ENCODER=1 \
|
||||
-DCONFIG_A64MULTI_ENCODER=1 \
|
||||
@ -651,8 +659,6 @@ DEFINES += \
|
||||
-DCONFIG_SUBRIP_ENCODER=1 \
|
||||
-DCONFIG_XSUB_ENCODER=1 \
|
||||
-DCONFIG_LIBFDK_AAC_ENCODER=0 \
|
||||
-DCONFIG_LIBGSM_ENCODER=0 \
|
||||
-DCONFIG_LIBGSM_MS_ENCODER=0 \
|
||||
-DCONFIG_LIBILBC_ENCODER=0 \
|
||||
-DCONFIG_LIBOPENCORE_AMRNB_ENCODER=0 \
|
||||
-DCONFIG_LIBOPENJPEG_ENCODER=0 \
|
||||
@ -794,6 +800,14 @@ else
|
||||
DEFINES += -DCONFIG_DDS_DECODER=0
|
||||
endif
|
||||
|
||||
ifeq ($(HAVE_LIBGSM),1)
|
||||
DEFINES += -DCONFIG_GSM_DECODER=1 \
|
||||
-DCONFIG_GSM_MS_DECODER=1
|
||||
else
|
||||
DEFINES += -DCONFIG_GSM_DECODER=0 \
|
||||
-DCONFIG_GSM_MS_DECODER=0
|
||||
endif
|
||||
|
||||
DEFINES += \
|
||||
-DCONFIG_TDSC_DECODER=0 \
|
||||
-DCONFIG_ALIAS_PIX_DECODER=1 \
|
||||
@ -1035,8 +1049,6 @@ DEFINES += \
|
||||
-DCONFIG_FFWAVESYNTH_DECODER=1 \
|
||||
-DCONFIG_G723_1_DECODER=1 \
|
||||
-DCONFIG_G729_DECODER=1 \
|
||||
-DCONFIG_GSM_DECODER=1 \
|
||||
-DCONFIG_GSM_MS_DECODER=1 \
|
||||
-DCONFIG_IAC_DECODER=1 \
|
||||
-DCONFIG_IMC_DECODER=1 \
|
||||
-DCONFIG_MACE3_DECODER=1 \
|
||||
@ -1169,8 +1181,6 @@ DEFINES += \
|
||||
-DCONFIG_XSUB_DECODER=1 \
|
||||
-DCONFIG_LIBCELT_DECODER=0 \
|
||||
-DCONFIG_LIBFDK_AAC_DECODER=0 \
|
||||
-DCONFIG_LIBGSM_DECODER=0 \
|
||||
-DCONFIG_LIBGSM_MS_DECODER=0 \
|
||||
-DCONFIG_LIBILBC_DECODER=0 \
|
||||
-DCONFIG_LIBOPENCORE_AMRNB_DECODER=0 \
|
||||
-DCONFIG_LIBOPENCORE_AMRWB_DECODER=0 \
|
||||
@ -1431,9 +1441,9 @@ DEFINES += -DHAVE_AVCODEC_H \
|
||||
-DCONFIG_GOLOMB=1 \
|
||||
-DCONFIG_ME_CMP=0
|
||||
|
||||
|
||||
AVCODEC_BLACKLIST := \
|
||||
$(AVCODEC_DIR)/vda.c \
|
||||
$(AVCODEC_DIR)/libgsm.c \
|
||||
$(AVCODEC_DIR)/libvo-aacenc.c \
|
||||
$(AVCODEC_DIR)/libvo-amrwbenc.c \
|
||||
$(AVCODEC_DIR)/qpel_template.c \
|
||||
@ -1516,6 +1526,12 @@ AVCODEC_BLACKLIST := \
|
||||
$(AVCODEC_DIR)/aacdec_template.c \
|
||||
$(AVCODEC_DIR)/dct-test.c
|
||||
|
||||
ifeq ($(HAVE_LIBGSM),1)
|
||||
else
|
||||
AVCODEC_BLACKLIST += $(AVCODEC_DIR)/libgsm.c \
|
||||
$(AVCODEC_DIR)/libgsmenc.c
|
||||
endif
|
||||
|
||||
ifeq ($(HAVE_KVAZAAR),1)
|
||||
else
|
||||
AVCODEC_BLACKLIST += $(AVCODEC_DIR)/libkvazaar.c
|
||||
@ -1795,6 +1811,12 @@ endif
|
||||
|
||||
# Parser switches
|
||||
|
||||
ifeq ($(HAVE_LIBGSM),1)
|
||||
DEFINES += -DCONFIG_GSM_PARSER=1
|
||||
else
|
||||
DEFINES += -DCONFIG_GSM_PARSER=0
|
||||
endif
|
||||
|
||||
DEFINES += \
|
||||
-DCONFIG_G729_PARSER=1 \
|
||||
-DCONFIG_AAC_PARSER=1 \
|
||||
@ -1811,7 +1833,6 @@ DEFINES += \
|
||||
-DCONFIG_DVBSUB_PARSER=1 \
|
||||
-DCONFIG_DVDSUB_PARSER=1 \
|
||||
-DCONFIG_DVD_NAV_PARSER=1 \
|
||||
-DCONFIG_GSM_PARSER=1 \
|
||||
-DCONFIG_H261_PARSER=1 \
|
||||
-DCONFIG_H263_PARSER=1 \
|
||||
-DCONFIG_H264_PARSER=1 \
|
||||
@ -2041,6 +2062,12 @@ else
|
||||
DEFINES += -DCONFIG_DSS_DEMUXER=0
|
||||
endif
|
||||
|
||||
ifeq ($(HAVE_LIBGSM),1)
|
||||
DEFINES += -DCONFIG_GSM_DEMUXER=1
|
||||
else
|
||||
DEFINES += -DCONFIG_GSM_DEMUXER=0
|
||||
endif
|
||||
|
||||
DEFINES += -DCONFIG_AAC_DEMUXER=1 \
|
||||
-DCONFIG_AC3_DEMUXER=1 \
|
||||
-DCONFIG_IMAGE_QDRAW_PIPE_DEMUXER=0 \
|
||||
@ -2130,7 +2157,6 @@ DEFINES += -DCONFIG_AAC_DEMUXER=1 \
|
||||
-DCONFIG_G723_1_DEMUXER=1 \
|
||||
-DCONFIG_G729_DEMUXER=1 \
|
||||
-DCONFIG_GIF_DEMUXER=1 \
|
||||
-DCONFIG_GSM_DEMUXER=1 \
|
||||
-DCONFIG_GXF_DEMUXER=1 \
|
||||
-DCONFIG_H261_DEMUXER=1 \
|
||||
-DCONFIG_H263_DEMUXER=1 \
|
||||
|
Loading…
Reference in New Issue
Block a user