summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
...
* Split exponent processing into separate functions.Justin Ruggles2010-12-14
| | | | Originally committed as revision 25991 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Split applying of MDCT into several separate functions.Justin Ruggles2010-12-14
| | | | Originally committed as revision 25990 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Split input sample deinterleaving into a separate function.Justin Ruggles2010-12-14
| | | | Originally committed as revision 25989 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Separate functionally different calculations in ac3_encode_frame().Justin Ruggles2010-12-14
| | | | Originally committed as revision 25988 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: rename 2 variablesJustin Ruggles2010-12-14
| | | | Originally committed as revision 25987 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Deinterleave whole frame at once instead of per-block.Justin Ruggles2010-12-14
| | | | | | | This reduces the amount of memcpy() by using pointers to overlap samples for successive blocks rather than copying. Originally committed as revision 25986 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: add & alter some commentsJustin Ruggles2010-12-14
| | | | Originally committed as revision 25985 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Split setting of bandwidth into a separate function.Justin Ruggles2010-12-14
| | | | Originally committed as revision 25984 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move setting of bitstream_id and bitstream_mode to ac3_encode_init().Justin Ruggles2010-12-14
| | | | Originally committed as revision 25983 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Improve ac3_encode_init() error reporting.Justin Ruggles2010-12-14
| | | | | | | Return AVERROR(EINVAL) instead of -1. Propogate errors from called functions. Add some error log printouts. Originally committed as revision 25982 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: indent after last commitJustin Ruggles2010-12-14
| | | | Originally committed as revision 25981 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Don't use nested loops to iterate valid sample rates.Justin Ruggles2010-12-14
| | | | | | Eliminates a goto and mirrors the bitrate validation. Originally committed as revision 25980 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove some duplicate local copies of avctx fields.Justin Ruggles2010-12-14
| | | | | | | This is an av_cold function, and we don't need to duplicate variables just to save a few characters. Originally committed as revision 25979 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Split validation of initial user options into a separate function.Justin Ruggles2010-12-14
| | | | Originally committed as revision 25978 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use bytes instead of 16-bit words for frame size.Justin Ruggles2010-12-14
| | | | Originally committed as revision 25977 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: rename variable 'n' to 'pad_bytes'Justin Ruggles2010-12-14
| | | | Originally committed as revision 25976 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change output_frame_end() to return void. The frame size is already known.Justin Ruggles2010-12-14
| | | | Originally committed as revision 25975 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: pretty-printingJustin Ruggles2010-12-14
| | | | Originally committed as revision 25974 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: rename some iterator variables to match what they representJustin Ruggles2010-12-14
| | | | Originally committed as revision 25973 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: rename a variable for consistencyJustin Ruggles2010-12-14
| | | | Originally committed as revision 25972 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: rename exp_samples and global_exp to exp_shift.Justin Ruggles2010-12-14
| | | | Originally committed as revision 25971 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: rename 2 functionsJustin Ruggles2010-12-14
| | | | Originally committed as revision 25970 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: use some size macros in ac3tab.c/hJustin Ruggles2010-12-14
| | | | Originally committed as revision 25969 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use AC3_MAX_COEFS instead of 256 in a couple places in ac3.cJustin Ruggles2010-12-14
| | | | Originally committed as revision 25968 to svn://svn.ffmpeg.org/ffmpeg/trunk
* define AC3_CRITICAL_BANDS and use it in the AC-3 encoder and decoder.Justin Ruggles2010-12-14
| | | | Originally committed as revision 25967 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use sizeof(array value) instead of sizeof(int16_t).Justin Ruggles2010-12-14
| | | | Originally committed as revision 25966 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: use lowercase letters for function namesJustin Ruggles2010-12-14
| | | | Originally committed as revision 25965 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: add new function documentation and clean up existing documentationJustin Ruggles2010-12-14
| | | | Originally committed as revision 25964 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: add more space between functionsJustin Ruggles2010-12-14
| | | | Originally committed as revision 25963 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: rearrange some functions/typedefs/macrosJustin Ruggles2010-12-14
| | | | Originally committed as revision 25962 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify group size calculation in 2 places.Justin Ruggles2010-12-14
| | | | Originally committed as revision 25961 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: make a switch/case more compactJustin Ruggles2010-12-14
| | | | Originally committed as revision 25960 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Clean up fft_init() and mdct_init()Justin Ruggles2010-12-14
| | | | Originally committed as revision 25959 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: pretty-printing, alignment, etc...Justin Ruggles2010-12-14
| | | | Originally committed as revision 25958 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unneeded #includeJustin Ruggles2010-12-14
| | | | Originally committed as revision 25957 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify fix15().Justin Ruggles2010-12-14
| | | | | | | | Turn it into 2 macros, and use av_clip_int16() and lrintf(). This matches the int16 to float sample conversion in audioconvert.c. The regression test output is different due to lrintf() rounding. Originally committed as revision 25956 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix the fixed-point MDCT and FFT tests so that they actually compile and work.Justin Ruggles2010-12-14
| | | | | | Also, use LFG from libavutil instead of random(). Originally committed as revision 25955 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Split out initialization of MDCT tables into a separate function.Justin Ruggles2010-12-14
| | | | Originally committed as revision 25954 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: Document AC3EncodeContext fields.Justin Ruggles2010-12-14
| | | | Originally committed as revision 25953 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unneeded debugging messages.Justin Ruggles2010-12-14
| | | | Originally committed as revision 25952 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: Define AC3_WINDOW_SIZE and use it instead of AC3_BLOCK_SIZE*2.Justin Ruggles2010-12-14
| | | | Originally committed as revision 25951 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: use better (and shared) macro names for some constant valuesJustin Ruggles2010-12-14
| | | | Originally committed as revision 25950 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove duplicate AC3EncodeContext fields, sr_shift and sr_code.Justin Ruggles2010-12-14
| | | | Originally committed as revision 25949 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: rename some fields in AC3EncodeContextJustin Ruggles2010-12-14
| | | | Originally committed as revision 25948 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: change all short to int16_tJustin Ruggles2010-12-14
| | | | Originally committed as revision 25947 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change some unsigned types to signed types in AC3EncodeContextJustin Ruggles2010-12-14
| | | | Originally committed as revision 25946 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: rearrange AC3EncodeContext fieldsJustin Ruggles2010-12-14
| | | | Originally committed as revision 25945 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Return the amount of input data actually used in the qdm2 decoder,Reimar Döffinger2010-12-13
| | | | | | allows playback of files where multiple qdm2 packets have been merged. Originally committed as revision 25943 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Avoid rollover in settings conversion.James Zern2010-12-12
| | | | | | Patch by James Zern, jzern google Originally committed as revision 25941 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix avpicture_alloc(), which was aligning the linesizes with 0 and thusStefano Sabatini2010-12-12
| | | | | | causing a wrong allocation. Originally committed as revision 25938 to svn://svn.ffmpeg.org/ffmpeg/trunk