50 Commits (9296f5d81acb9b3f8d8870a78ded6e284a1f4f58)

Author SHA1 Message Date
Michael Niedermayer 74d9441715 Do not shift F[I] twice, it is also clearer and smaller now. 16 years ago
Michael Niedermayer 50c52d2250 Factorize c->ap += (-c->ap) >> 4 out 16 years ago
Michael Niedermayer 0e0d6cfd48 Get rid of G726Tables.bits. 16 years ago
Michael Niedermayer 05c9f3516c Copy 4 pointers to avid dozends of ptr dereferences. 16 years ago
Michael Niedermayer fc234250b4 Does not need to be int16. 16 years ago
Michael Niedermayer cb26c9d664 Factorize I >> (c->tbls->bits - 1) out. 16 years ago
Michael Niedermayer 73ff4f8344 1 abs() less 16 years ago
Michael Niedermayer 4714776b6a simplify 16 years ago
Michael Niedermayer 673a64b89b useless () 16 years ago
Michael Niedermayer 428c82cbac remove unneeded tr == 0 16 years ago
Michael Niedermayer e079a1c94f simplify 16 years ago
Michael Niedermayer c79c1a01a7 Get rid of the redundant AVG726Context. 16 years ago
Michael Niedermayer ef4c5c6dba Remove the truncated bitstream handling from our g726 decoder. 16 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
Michael Niedermayer 6dfcdc00b3 get_bits() outputs exactly as many bits as requested no need to mask them. 17 years ago
Michael Niedermayer f6ec220cb5 Remove dead code. 17 years ago
Michael Niedermayer 5171fd9dd5 -0x8000 == 0x8000 with int16 17 years ago
Stefano Sabatini fe4bf37455 Make AVCodec long_names definition conditional depending on CONFIG_SMALL. 17 years ago
Stefano Sabatini d5202e4fda Add long names to many AVCodec declarations. 17 years ago
Zuxy Meng 98a6fff98c Apply 'cold' attribute to init/uninit functions in libavcodec 17 years ago
Michael Niedermayer cea9642014 Fix ;; 17 years ago
Michael Niedermayer 5cbbbf378f const 17 years ago
Diego Pettenò 9307db13f6 Mark the tables in g726.c as constant. 17 years ago
Diego Biurrun 2029f312e8 Remove redundant #inclusion of common.h, avcodec.h already #includes it. 18 years ago
Reimar Döffinger f66e4f5f9e Add av_ prefix to clip functions 18 years ago
François Revol 8fa36ae09d This fixes error handling for BeOS, removing the need for some ifdefs. 18 years ago
Steve L'Homme e344c1ea36 reindentation, patch by From: Steve Lhomme, slhomme divxcorp com 18 years ago
Diego Biurrun b78e7197a8 Change license headers to say 'FFmpeg' instead of 'this program/this library' 18 years ago
Måns Rullgård 62bb489b13 add some #ifdef CONFIG_ENCODERS/DECODERS 18 years ago
Diego Biurrun 5509bffa88 Update licensing information: The FSF changed postal address. 19 years ago
Diego Biurrun bb270c0896 COSMETICS: tabs --> spaces, some prettyprinting 19 years ago
Diego Biurrun 115329f160 COSMETICS: Remove all trailing whitespace. 19 years ago
Michael Niedermayer 9cd8179818 #defines for strict_std_compliance and split between inofficial extensions and non standarized things 20 years ago
Michael Niedermayer caa336b4cc common.c -> bitstream.c (and the single non bitstream func -> utils.c) 20 years ago
Michael Niedermayer ef9c5d84be make comments doxygen compatible 20 years ago
Roman Shaposhnik 826ca10408 * gotta setup coded_frame for encoding. avcodec.h says that for decoding 21 years ago
Michael Niedermayer eb5b0422b5 use clip() from common.h 21 years ago
Roman Shaposhnik e5966052ee * Initial implementation of the G.726 ADPCM audio codec. 21 years ago