80 Commits (298a587f447fbc9103f66a50b8433aab977afc9b)

Author SHA1 Message Date
Justin Ruggles 0eea212943 Add avcodec_decode_audio4(). 13 years ago
Justin Ruggles da24963725 g726dec: add flush() function to reset state when seeking 13 years ago
Justin Ruggles 97f5dd1d84 g726: don't pass index to g726_reset() 13 years ago
Justin Ruggles 615b2a2cf5 g726enc: add private option for setting code size directly. 13 years ago
Justin Ruggles 7abb73d4ba g726: wrap the decoder functions with a CONFIG_ADPCM_G726_DECODER check 13 years ago
Justin Ruggles 437c11ca16 g726: group the g726_encoder AVCodec with the other encoding functions 13 years ago
Justin Ruggles 50969c0f46 g726: return AVERROR(EINVAL) instead of -1 for invalid channel count 13 years ago
Justin Ruggles 50c466d609 g726enc: use av_assert0() for sample_rate validation 13 years ago
Justin Ruggles 9e78d8cfdf g726: treat sample rates other than 8kHz as unofficial. 13 years ago
Justin Ruggles 6e8d4a7afb g726dec: remove the sample_rate validation 13 years ago
Justin Ruggles 6ac34eed54 g726: use bits_per_coded_sample instead of bitrate to determine mode 13 years ago
Justin Ruggles d405237bae g726: split the init function for the encoder and decoder 13 years ago
Justin Ruggles c8d36d254e g726: pre-calculate the number of output samples. 13 years ago
Justin Ruggles e61a670b53 g726: use int16_t instead of short 13 years ago
Anton Khirnov ec6402b7c5 lavc: use designated initialisers for all codecs. 14 years ago
Mans Rullgard 2912e87a6c Replace FFmpeg with Libav in licence headers 14 years ago
Diego Elio Pettenò d36beb3f69 Add ff_ prefix to data symbols of encoders, decoders, hwaccel, parsers, bsf. 14 years ago
Stefano Sabatini 5d6e4c160a Replace deprecated symbols SAMPLE_FMT_* with AV_SAMPLE_FMT_*, and enum 14 years ago
Justin Ruggles c7d89948a3 Set a constant frame size for encoding G.726 audio. 14 years ago
Reimar Döffinger edac49daf5 Use "const" qualifier for pointers that point to input data of 15 years ago
Stefano Sabatini 72415b2adb Define AVMediaType enum, and use it instead of enum CodecType, which 15 years ago
Reimar Döffinger b5f09d31c2 Make sample_fmts and channel_layouts compound literals const to reduce size of 16 years ago
Stefano Sabatini 9106a698e7 Rename bitstream.h to get_bits.h. 16 years ago
Stefano Sabatini b275500706 Split bitstream.h, put the bitstream writer stuff in the new file 16 years ago
Thilo Borgmann 7a00bbad21 Implement avcodec_decode_video2(), _audio3() and _subtitle2() which takes an 16 years ago
Diego Biurrun 406792e7b0 cosmetics: Remove pointless period after copyright statement non-sentences. 16 years ago
Aurelien Jacobs b250f9c66d Change semantic of CONFIG_*, HAVE_* and ARCH_*. 16 years ago
Diego Biurrun f544a5fc84 Replace generic CONFIG_ENCODERS preprocessor conditionals by more specific 17 years ago
Laurent Aimar bd10f6e149 Prevent a division by 0 in the g726 decoder when the configured samplerate is 0. 17 years ago
Peter Ross fd76c37fd9 Modify all codecs to report their supported input and output sample format(s). 17 years ago
Michael Niedermayer 74d9441715 Do not shift F[I] twice, it is also clearer and smaller now. 17 years ago
Michael Niedermayer 50c52d2250 Factorize c->ap += (-c->ap) >> 4 out 17 years ago
Michael Niedermayer 0e0d6cfd48 Get rid of G726Tables.bits. 17 years ago
Michael Niedermayer 05c9f3516c Copy 4 pointers to avid dozends of ptr dereferences. 17 years ago
Michael Niedermayer fc234250b4 Does not need to be int16. 17 years ago
Michael Niedermayer cb26c9d664 Factorize I >> (c->tbls->bits - 1) out. 17 years ago
Michael Niedermayer 73ff4f8344 1 abs() less 17 years ago
Michael Niedermayer 4714776b6a simplify 17 years ago
Michael Niedermayer 673a64b89b useless () 17 years ago
Michael Niedermayer 428c82cbac remove unneeded tr == 0 17 years ago
Michael Niedermayer e079a1c94f simplify 17 years ago
Michael Niedermayer c79c1a01a7 Get rid of the redundant AVG726Context. 17 years ago
Michael Niedermayer ef4c5c6dba Remove the truncated bitstream handling from our g726 decoder. 17 years ago
Michael Niedermayer a0e5830ac5 Change iquant tables to int16. 17 years ago
Michael Niedermayer 6aa37bcf19 simplify 17 years ago
Michael Niedermayer cf409a6fec Get rid of useless wrapper function. 17 years ago
Michael Niedermayer 170efe1f9d Do not inline g726_iterate() the function is big so its inlining will 17 years ago
Michael Niedermayer aeaa7c3d00 Replace i2f(0) by the actual thing done, gcc is not an optimizing compiler. 17 years ago
Michael Niedermayer 8112075415 Remove redundant zeroing (the context is memset(0)). 17 years ago
Michael Niedermayer e3cafac638 Use smaller data types for tables. 17 years ago