summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
* ac3: Remove ff_ac3_critical_band_size_tab.Justin Ruggles2011-01-26
| | | | | | | It is only used to generate band_start_tab, which about the same size, at runtime, so it's simpler just to always hardcode band_start_tab. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Mark C base versions of FFT functions static to fft.cDiego Elio Pettenò2011-01-26
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Pass field order flag to libx264Marco Gittler2011-01-25
| | | | Signed-off-by: Jason Garrett-Glaser <jason@x264.com>
* Make ff_add_wav static to ra144.cDiego Elio Pettenò2011-01-25
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* Make ff_h264_find_frame_end static to h264.c; delete h264_parser.hDiego Elio Pettenò2011-01-25
| | | | | | | The header is empty after making the function static, so delete it and drop its usage. Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* Make ff_ass_subtitle_header static to ass.cDiego Elio Pettenò2011-01-25
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* Make ff_sin_tabs constant to rdft.cDiego Elio Pettenò2011-01-25
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* Make ff_spatial_idwt_{init, slice} static to dwt.cDiego Elio Pettenò2011-01-25
| | | | | | | Both functions seem to be commanded by the ff_spatial_idwt function instead. Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* Make ff_png_pass_xmin and ff_png_pass_xshift static to png.c.Diego Elio Pettenò2011-01-25
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* Remove unused ff_ac3_parse_header_full function.Diego Elio Pettenò2011-01-25
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* Make ff_h264_decode_rbsp_trailing static to h264.cDiego Elio Pettenò2011-01-25
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* Don't do edge emulation unless the edge pixels will be used in MC.Ronald S. Bultje2011-01-25
| | | | | | Do not emulate larger edges than we will actually use for this round of MC. Decoding goes from avg+SE 29.972+/-0.023sec to 29.856+/-0.023, i.e. 0.12sec or ~0.4% faster.
* ac3: remove ff_ac3_critical_band_size_tab[] external declarationMans Rullgard2011-01-25
| | | | | | This fixes compilation broken by 6ed3b504f984dc6cefde8d57a57726f9d30e5033 Signed-off-by: Mans Rullgard <mans@mansr.com>
* Move ff_ac3_critical_band_size_tab in ac3.c for non-hardcoded tables.Diego Elio Pettenò2011-01-25
| | | | | | | This symbol is only ever used to calculate the non-hardcoded tables, so only enable it in that case, and static to the source unit that uses it. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Remove unused ac3_parametric_bit_allocation function.Diego Elio Pettenò2011-01-25
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* latm: remove superflous #includesMans Rullgard2011-01-25
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Make denoise_dct_c() and dct_quantize_trellis_c() static in definitionsMans Rullgard2011-01-25
| | | | | | | | 1d4da6a460d5b78026e3b854fdd6f469957a054c added static to the prototypes for these fuctions. Adding it to the definitions as well. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Don't declare a pcm_dvd encoder.Diego Elio Pettenò2011-01-25
| | | | | | | | | | The PCM_DVD encoder would be left unused, as allcodecs.c properly declared it as being decoder-only, but it would still be built into the object file. Since there is no block of code to properly encode this PCM format, it's not a full codec. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Don't check for DEBUG before using dprintf.Diego Elio 'Flameeyes' Pettenò2011-01-25
| | | | | | | The dprintf macro is no-op when DEBUG is unset, so there is no need to put it conditional to DEBUG. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Make denoise_dct_c and dct_quantize_trellis_c static.Diego Elio Pettenò2011-01-24
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Make the ff_lockmgr_cb function pointer static to utils.cDiego Elio Pettenò2011-01-24
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Rename sf_table in atrac.c unit to ff_atrac_sf_table.Diego Elio Pettenò2011-01-24
| | | | | | | This ensures a locally-unique name as well as marks the symbol as FFmpeg-private at least by declaration. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Mark qmf_window table static to atrac.c unit.Diego Elio Pettenò2011-01-24
| | | | | | The table is not used anywhere else on libavcodec. Signed-off-by: Mans Rullgard <mans@mansr.com>
* x86: fix overflow in h264 8x8 planar predictionMans Rullgard2011-01-24
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Use av_fast_malloc instead of av_realloc.Reimar Döffinger2011-01-24
| | | | | | This should be faster, is less code and fixes issue 2524 (allocation error would lead to crash). (cherry picked from commit e7b95918fca1c3d057d35f77ba58ee2d00d03151)
* reindent after last commitKostya2011-01-24
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* Extend WavPack demuxer and decoder to support >2 channel audioKostya2011-01-24
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* ARM: NEON: fix overflow in h264 16x16 planar predMans Rullgard2011-01-24
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* MIPS: use inline asm only when supported by compilerMans Rullgard2011-01-23
|
* aacenc: fix typo in sync extension constant in 8ae0fa2Janne Grunau2011-01-23
|
* Remove redundant checks against MIN_CACHE_BITSMans Rullgard2011-01-23
| | | | | | | With the removal of the libmpeg2 bitstream reader, MIN_CACHE_BITS is always >= 25, so tests against smaller values can be removed. Signed-off-by: Mans Rullgard <mans@mansr.com>
* get_bits: move tracing macros to end of fileMans Rullgard2011-01-23
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Sanitise get_bits macros, part 2Mans Rullgard2011-01-23
| | | | | | | These whitespace changes improve the readability of the get_bits macros. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Sanitise get_bits macros, part 1Mans Rullgard2011-01-23
| | | | | | | | | Some of the macros in get_bits.h include a final semicolon, some do not. This removes these or adds do {} while(0) around the macros as appropriate and adds semicolons where needed in calling code. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Remove "libmpeg2" bitstream readerMans Rullgard2011-01-23
| | | | | | | | | | Using the libmpeg2 reader causes errors in a multitude of places, including MPEG and H264 codecs. As the advantage of this reader is questionable, removing it seems the sensible course of action, especially considering the simplifications this allows elsewhere with the bit cache size increasing from 17 to 25 bits as minimum. Signed-off-by: Mans Rullgard <mans@mansr.com>
* ac3enc: use dsputil functions in apply_window()Justin Ruggles2011-01-22
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Change DSPContext.vector_fmul() from dst=dst*src to dest=src0*src1.Justin Ruggles2011-01-22
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Reindent.Ronald S. Bultje2011-01-22
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* Fix crash on resolution change (issue 2393).Ronald S. Bultje2011-01-22
| | | | | | | | Don't free RBSP tables (containing decoded NAL units) on resolution change, because we actually need this data to decode the frame after reiniting (with new resolution). Fixed issue 2393. Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* Make LOCAL_ALIGNED macro fully C99 compatibleMans Rullgard2011-01-22
| | | | | | | | | C99 variadic macros require more arguments than there are named parameters in the definition. This means we must use an extra indirection to avoid having two different macros for arrays with one resp more than one dimension. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Remove H.264 encoder fragmentsAlex Converse2011-01-22
| | | | | | | It's incomplete, no one is working on it, and when someone asks about working on it we advise them not to. Signed-off-by: Mans Rullgard <mans@mansr.com>
* aacenc: mark SBR absentAlex Converse2011-01-22
| | | | | | | Use backwards compatible explicit signalling to denote the absence of SBR. Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* 10l: reverse the biquad coefficients.Justin Ruggles2011-01-22
| | | | | | I did not notice that the filter implementation uses a reversed history state. Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* libfaac: add recognized profiles arrayAnssi Hannula2011-01-22
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* Move ID3v1 skip from decoder to demuxerClément Bœsch2011-01-22
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* dca: add profile namesAnssi Hannula2011-01-21
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* iir: Change dst param to float* in ff_iir_filter_flt().Justin Ruggles2011-01-21
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* dca: consider a stream with XXCh/X96 in ExSS as DTS-HD HRAAnssi Hannula2011-01-21
| | | | | | | | | | | DTS-HD HRA streams do not always have an XBR extension in the extension substream. Instead they can have only XXCh and X96 extensions in there and still be considered DTS-HD HRA. This is also confirmed with Onkyo TX-SR607 receiver which recognizes such a stream as HiRes Audio. Signed-off-by: Mans Rullgard <mans@mansr.com>
* cosmetics related to LPC changes.Justin Ruggles2011-01-21
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Separate window function from autocorrelation.Justin Ruggles2011-01-21
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>