Changeset 1871
- Timestamp:
- Mar 17, 2008 2:24:21 PM (17 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/aconfigure
r1863 r1871 309 309 #endif" 310 310 311 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX ac_pjdir CPP EGREP ac_os_objs ac_pjmedia_snd ac_pa_cflags ac_pa_use_alsa ac_pa_use_oss ac_no_small_filter ac_no_large_filter ac_no_speex_aec ac_no_g711_codec ac_no_l16_codec ac_no_gsm_codec ac_no_ speex_codec ac_no_ilbc_codec ac_no_ssl openssl_h_present libssl_present libcrypto_present ac_cross_compile ac_linux_poll ac_host ac_main_obj LIBOBJS LTLIBOBJS'311 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX ac_pjdir CPP EGREP ac_os_objs ac_pjmedia_snd ac_pa_cflags ac_pa_use_alsa ac_pa_use_oss ac_no_small_filter ac_no_large_filter ac_no_speex_aec ac_no_g711_codec ac_no_l16_codec ac_no_gsm_codec ac_no_g722_codec ac_no_speex_codec ac_no_ilbc_codec ac_no_ssl openssl_h_present libssl_present libcrypto_present ac_cross_compile ac_linux_poll ac_host ac_main_obj LIBOBJS LTLIBOBJS' 312 312 ac_subst_files='' 313 313 … … 866 866 --disable-l16-codec Exclude Linear/L16 codec family from the build 867 867 --disable-gsm-codec Exclude GSM codec in the build 868 --disable-g722-codec Exclude G.722 codec in the build 868 869 --disable-speex-codec Exclude Speex codecs in the build 869 870 --disable-ilbc-codec Exclude iLBC codec in the build … … 10472 10473 echo "$as_me:$LINENO: result: Checking if GSM codec is disabled...no" >&5 10473 10474 echo "${ECHO_T}Checking if GSM codec is disabled...no" >&6 10475 fi; 10476 10477 10478 # Check whether --enable-g722-codec or --disable-g722-codec was given. 10479 if test "${enable_g722_codec+set}" = set; then 10480 enableval="$enable_g722_codec" 10481 if test "$enable_g722_codec" = "no"; then 10482 ac_no_g722_codec=1 10483 cat >>confdefs.h <<\_ACEOF 10484 #define PJMEDIA_HAS_G722_CODEC 0 10485 _ACEOF 10486 10487 echo "$as_me:$LINENO: result: Checking if G.722 codec is disabled...yes" >&5 10488 echo "${ECHO_T}Checking if G.722 codec is disabled...yes" >&6 10489 fi 10490 else 10491 echo "$as_me:$LINENO: result: Checking if G.722 codec is disabled...no" >&5 10492 echo "${ECHO_T}Checking if G.722 codec is disabled...no" >&6 10474 10493 fi; 10475 10494 … … 11678 11697 s,@ac_no_l16_codec@,$ac_no_l16_codec,;t t 11679 11698 s,@ac_no_gsm_codec@,$ac_no_gsm_codec,;t t 11699 s,@ac_no_g722_codec@,$ac_no_g722_codec,;t t 11680 11700 s,@ac_no_speex_codec@,$ac_no_speex_codec,;t t 11681 11701 s,@ac_no_ilbc_codec@,$ac_no_ilbc_codec,;t t -
pjproject/trunk/aconfigure.ac
r1863 r1871 476 476 AC_MSG_RESULT([Checking if GSM codec is disabled...no])) 477 477 478 dnl # Include G.722 codec 479 AC_SUBST(ac_no_g722_codec) 480 AC_ARG_ENABLE(g722-codec, 481 AC_HELP_STRING([--disable-g722-codec], 482 [Exclude G.722 codec in the build]), 483 [if test "$enable_g722_codec" = "no"; then 484 [ac_no_g722_codec=1] 485 AC_DEFINE(PJMEDIA_HAS_G722_CODEC,0) 486 AC_MSG_RESULT([Checking if G.722 codec is disabled...yes]) 487 fi], 488 AC_MSG_RESULT([Checking if G.722 codec is disabled...no])) 489 478 490 dnl # Include Speex codec 479 491 AC_SUBST(ac_no_speex_codec) -
pjproject/trunk/pjmedia/build/os-auto.mak.in
r1202 r1871 27 27 AC_NO_SPEEX_CODEC=@ac_no_speex_codec@ 28 28 AC_NO_ILBC_CODEC=@ac_no_ilbc_codec@ 29 AC_NO_G722_CODEC=@ac_no_g722_codec@ 29 30 30 31 export CODEC_OBJS= … … 66 67 endif 67 68 69 ifeq ($(AC_NO_G722_CODEC),1) 70 export CFLAGS += -DPJMEDIA_HAS_G722_CODEC=0 71 else 72 export CODEC_OBJS += g722.o g722/g722_enc.o g722/g722_dec.o 73 endif 74 68 75 69 76 # -
pjproject/trunk/pjmedia/build/os-darwinos.mak
r1202 r1871 24 24 AC_NO_SPEEX_CODEC=0 25 25 AC_NO_ILBC_CODEC=0 26 AC_NO_G722_CODEC=0 26 27 27 28 export CODEC_OBJS= … … 64 65 endif 65 66 67 ifeq ($(AC_NO_G722_CODEC),1) 68 export CFLAGS += -DPJMEDIA_HAS_G722_CODEC=0 69 else 70 export CODEC_OBJS += g722.o g722/g722_enc.o g722/g722_dec.o 71 endif 72 66 73 67 74 # -
pjproject/trunk/pjmedia/build/os-linux.mak
r1202 r1871 19 19 AC_NO_SPEEX_CODEC=0 20 20 AC_NO_ILBC_CODEC=0 21 AC_NO_G722_CODEC=0 21 22 22 23 export CODEC_OBJS= … … 58 59 endif 59 60 61 ifeq ($(AC_NO_G722_CODEC),1) 62 export CFLAGS += -DPJMEDIA_HAS_G722_CODEC=0 63 else 64 export CODEC_OBJS += g722.o g722/g722_enc.o g722/g722_dec.o 65 endif 66 60 67 61 68 # -
pjproject/trunk/pjmedia/build/os-win32.mak
r1202 r1871 20 20 AC_NO_SPEEX_CODEC=0 21 21 AC_NO_ILBC_CODEC=0 22 AC_NO_G722_CODEC=0 22 23 23 24 export CODEC_OBJS= … … 60 61 endif 61 62 63 ifeq ($(AC_NO_G722_CODEC),1) 64 export CFLAGS += -DPJMEDIA_HAS_G722_CODEC=0 65 else 66 export CODEC_OBJS += g722.o g722/g722_enc.o g722/g722_dec.o 67 endif 68 62 69 63 70 # -
pjproject/trunk/pjmedia/include/pjmedia-codec/config_auto.h.in
r909 r1871 55 55 56 56 57 /* G722 codec */ 58 #ifndef PJMEDIA_HAS_G722_CODEC 59 #undef PJMEDIA_HAS_G722_CODEC 60 #endif 61 62 57 63 #endif /* __PJMEDIA_CODEC_CONFIG_AUTO_H_ */ 58 64 -
pjproject/trunk/pjmedia/src/pjmedia-codec/g722/g722_enc.c
r1870 r1871 77 77 sil = el >> 15 ; 78 78 if (sil == 0 ) wd = el ; 79 else wd = 32767 - el & 32767;79 else wd = 32767 - (el & 32767) ; 80 80 81 81 mil = 1 ; … … 305 305 sih = eh >> 15 ; 306 306 if (sih == 0 ) wd = eh ; 307 else wd = 32767 - eh & 32767;307 else wd = 32767 - (eh & 32767) ; 308 308 309 309 hdu = (564 << 3) * deth;
Note: See TracChangeset
for help on using the changeset viewer.