74 Commits (50969c0f46ce60a32c292b8375b4a442cc908c64)

Author SHA1 Message Date
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. 13 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 15 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 16 years ago
Laurent Aimar bd10f6e149 Prevent a division by 0 in the g726 decoder when the configured samplerate is 0. 16 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
Michael Niedermayer deec52ccf2 Float11 does not need int, .o file becomes smaller and the code might 17 years ago
Michael Niedermayer 7d7a9e7f37 simplify 17 years ago
Michael Niedermayer aca490777f Correct validity checks. 17 years ago
Michael Niedermayer 8b470cc542 Print sane error message for channels != 1. 17 years ago
Michael Niedermayer 35d0e16ba1 Check number of bits so we do not try to use table entries which do not exist. 17 years ago
Michael Niedermayer 8161c28c67 Support decoding of sample_g726.asf. 17 years ago