diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-07-22 22:10:41 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-07-22 22:18:18 +0200 |
commit | 9023de342f88e961a3741753aff68925eebf884e (patch) | |
tree | c45518b146273fb14210f02cd41fa2c52624e39d /libavcodec/g723_1_data.h | |
parent | 4f4eb380f0f96dbb7cdd2b812fa92b8b47a0f27c (diff) | |
parent | 1470ce21cec5ee26e106e2a884c26bbf84e5aaea (diff) | |
download | ffmpeg-9023de342f88e961a3741753aff68925eebf884e.tar.gz |
Merge commit '1470ce21cec5ee26e106e2a884c26bbf84e5aaea'
* commit '1470ce21cec5ee26e106e2a884c26bbf84e5aaea':
Bump libavcodec and libavformat minor versions for G.723.1 decoder and demuxer
G.723.1 demuxer and decoder
Add a shift parameter to celp_lp_synthesis_filter()
libopenjpeg: K&R formatting cosmetics
yadif: use emms_c() instead of inline assembly for emms invocations.
ac3: don't use different names for option tables in the template file.
lavfi: use const for AVFilterPad declarations in all filters.
adpcm: don't duplicate identical AVSampleFmt array for each encoder.
configure: cosmetics: Group test dependencies together
configure: add more passthrough flags in tms470 filter
configure: move flag filtering functions out of if/else blocks
Conflicts:
Changelog
configure
doc/general.texi
libavcodec/Makefile
libavcodec/ac3enc_fixed.c
libavcodec/allcodecs.c
libavcodec/eac3enc.c
libavcodec/g723_1.c
libavcodec/g723_1_data.h
libavcodec/libopenjpegdec.c
libavcodec/libopenjpegenc.c
libavcodec/v210dec.h
libavcodec/version.h
libavfilter/af_anull.c
libavfilter/asrc_anullsrc.c
libavfilter/f_settb.c
libavfilter/fifo.c
libavfilter/split.c
libavfilter/src_movie.c
libavfilter/vf_aspect.c
libavfilter/vf_blackframe.c
libavfilter/vf_boxblur.c
libavfilter/vf_copy.c
libavfilter/vf_crop.c
libavfilter/vf_cropdetect.c
libavfilter/vf_delogo.c
libavfilter/vf_drawbox.c
libavfilter/vf_drawtext.c
libavfilter/vf_fade.c
libavfilter/vf_fieldorder.c
libavfilter/vf_format.c
libavfilter/vf_frei0r.c
libavfilter/vf_gradfun.c
libavfilter/vf_hflip.c
libavfilter/vf_hqdn3d.c
libavfilter/vf_libopencv.c
libavfilter/vf_lut.c
libavfilter/vf_null.c
libavfilter/vf_overlay.c
libavfilter/vf_pad.c
libavfilter/vf_pixdesctest.c
libavfilter/vf_scale.c
libavfilter/vf_select.c
libavfilter/vf_setpts.c
libavfilter/vf_showinfo.c
libavfilter/vf_slicify.c
libavfilter/vf_transpose.c
libavfilter/vf_unsharp.c
libavfilter/vf_vflip.c
libavfilter/vf_yadif.c
libavfilter/vsrc_color.c
libavfilter/vsrc_testsrc.c
libavformat/Makefile
libavformat/allformats.c
libavformat/g723_1.c
libavformat/version.h
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/g723_1_data.h')
-rw-r--r-- | libavcodec/g723_1_data.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/libavcodec/g723_1_data.h b/libavcodec/g723_1_data.h index 34221e3349..66a032490b 100644 --- a/libavcodec/g723_1_data.h +++ b/libavcodec/g723_1_data.h @@ -25,8 +25,8 @@ * G723.1 compatible decoder data tables */ -#ifndef AVCODEC_G729_DATA_H -#define AVCODEC_G729_DATA_H +#ifndef AVCODEC_G729_1_DATA_H +#define AVCODEC_G729_1_DATA_H #include <stdint.h> @@ -49,23 +49,23 @@ /** * G723.1 frame types */ -typedef enum { - ActiveFrame, ///< Active speech - SIDFrame, ///< Silence Insertion Descriptor frame - UntransmittedFrame +typedef enum FrameType { + ACTIVE_FRAME, ///< Active speech + SID_FRAME, ///< Silence Insertion Descriptor frame + UNTRANSMITTED_FRAME } FrameType; static const uint8_t frame_size[4] = {24, 20, 4, 1}; -typedef enum { - Rate6k3, - Rate5k3 +typedef enum Rate { + RATE_6300, + RATE_5300 } Rate; /** * G723.1 unpacked data subframe */ -typedef struct { +typedef struct G723_1_Subframe { int ad_cb_lag; ///< adaptive codebook lag int ad_cb_gain; int dirac_train; @@ -1319,4 +1319,4 @@ static const int16_t percept_flt_tbl[2][LPC_ORDER] = { {16384, 8192, 4096, 2048, 1024, 512, 256, 128, 64, 32} }; -#endif /* AVCODEC_G729_DATA_H */ +#endif /* AVCODEC_G729_1_DATA_H */ |