summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
* Flush final frames in libfaac encoder.Justin Ruggles2011-01-29
| | | | | | | Gives decoded output identical in length to faac commandline encoder. Fixes Issue 670. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Fix memory leak in ALS decoder in big endian systemsVitor Sessak2011-01-29
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Rearrange MpegEncContext to simplify access from asmMans Rullgard2011-01-29
| | | | | | | | | This moves the fields needed by asm near the top, before any structs or other members which complicate the offset calculation. Modifying other structs will no longer require updating the offsets, and the asm code is slightly simpler due to the smaller offsets. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Fix overread in altivec DSP function sad16Vitor Sessak2011-01-29
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* ARM: update MpegEncContext offsetsMans Rullgard2011-01-29
|
* Move ff_emulated_edge_mc() into DSPContext.Ronald S. Bultje2011-01-28
|
* Optimize C version of ff_emulated_edge_mc().Ronald S. Bultje2011-01-28
| | | | | From ~780 cycles to 551 cycles, mostly just by using libc memcpy() instead of manually shuffling individual bytes around.
* aacdec: Convert some loop copies into memcpy()s.Alex Converse2011-01-28
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* In the rawvideo decoder, set pkt_pts in the output frame.Stefano Sabatini2011-01-28
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* Fix VP8 aliasing problems.Ronald S. Bultje2011-01-28
| | | | Replace * (uint32_t *) buf accesses with AV_WN32A/AV_COPY32.
* Make ff_float_to_int16*_c() static.Alex Converse2011-01-28
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Hide the now-prefixed decoders, encoders, parsers, bsf, hwaccel objects.Diego Elio Pettenò2011-01-28
| | | | | | | This significantly reduces the size of the symbol table in the generated ELF shared object (as well as the other linked tables). Signed-off-by: Mans Rullgard <mans@mansr.com>
* cosmetics: indentation and spacingJustin Ruggles2011-01-28
|
* Remove the add bias hack for the C version of DSPContext.float_to_int16_*().Justin Ruggles2011-01-28
|
* Add special case for 2nd-order IIR filter.Justin Ruggles2011-01-28
| | | | 40% faster in ff_iir_filter_flt() when c->order == 2.
* Add ff_ to AVHWAccel decodersLuca Barbato2011-01-27
| | | | | | That unbreaks compilation of vaapi and dxva2 Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* VP8: don't overread edges on fourtap MC.Ronald S. Bultje2011-01-26
| | | | | | | Fix C VP8 H+V MC functions which do two-dimensional 4/6-tap filters to not overread beyond their edges if the second filter is 4-tap, since the outer pixels aren't there anymore since 44002d8323023c35f51d523a7d305e45103ba7a1.
* Add ff_ prefix to data symbols of encoders, decoders, hwaccel, parsers, bsf.Diego Elio Pettenò2011-01-26
| | | | | | | None of these symbols should be accessed directly, so declare them as hidden. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Make ff_cmap_read_palette static to libavcodec/iff.c. Delete iff.h.Diego Elio Pettenò2011-01-26
| | | | | | | | The iff.h header only declared one function that is now static, the libavformat/iff.c source file wasn't using it before. Drop the file entirely. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Add ff_ prefix to ac3_common_init().Justin Ruggles2011-01-26
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* 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
|