summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
...
* msrle: convert MS RLE decoding function to bytestream2.Ronald Bultje2012-04-11
| | | | Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* x86inc improvements for 64-bitHenrik Gramner2012-04-11
| | | | | | | | | | | | Add support for all x86-64 registers Prefer caller-saved register over callee-saved on WIN64 Support up to 15 function arguments Also (by Ronald S. Bultje) Fix up our asm to work with new x86inc.asm. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* interplayvideo: fix av_dlog parameter type mismatchDiego Biurrun2012-04-11
| | | | libavcodec/interplayvideo.c:909:13: warning: format ‘%p’ expects argument of type ‘void *’, but argument 7 has type ‘GetByteContext’ [-Wformat]
* Drop some pointless #ifdefs.Diego Biurrun2012-04-10
| | | | The files are only compiled if the #ifdef conditions are met.
* rv40dsp x86: use only one register, for both increment and loop counterChristophe GISQUET2012-04-10
| | | | | | Around 10 cycles faster for luma. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* rv40dsp: implement prescaled versions for biweight.Christophe GISQUET2012-04-10
| | | | | | | | | | Quite often, the original weights are multiple of 512. By prescaling them by 1/512 when they are computed (once per frame), no intermediate shifting is needed, and no prescaling on each call either. The x86 code already used that trick. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* vda: Signal 4 byte NAL headers to the decoder regardless of what's in the ↵Sebastien Zwickert2012-04-10
| | | | | | extradata Signed-off-by: Martin Storsjö <martin@martin.st>
* lavc doxy: add all installed headers to doxy groups.Anton Khirnov2012-04-09
|
* lavc doxy: add avfft to the main lavc group.Anton Khirnov2012-04-09
|
* lavc doxy: add remaining avcodec.h functions to a misc doxygen group.Anton Khirnov2012-04-09
|
* lavc doxy: add AVPicture functions to a doxy group.Anton Khirnov2012-04-09
|
* lavc doxy: add resampling functions to a doxy group.Anton Khirnov2012-04-09
|
* lavc doxy: replace \ with /Anton Khirnov2012-04-09
| | | | | It's the more proper symbol to use and it prevents doxygen from thinking it's a command.
* lavc doxy: add encoding functions to a doxy group.Anton Khirnov2012-04-09
|
* lavc doxy: add decoding functions to a doxy group.Anton Khirnov2012-04-09
|
* lavc doxy: fix formatting of AV_PKT_DATA_{PARAM_CHANGE,H263_MB_INFO}Anton Khirnov2012-04-09
|
* lavc doxy: add AVPacket-related stuff to a separate doxy group.Anton Khirnov2012-04-09
| | | | | Also move AV_PKT_DATA_PARAM_CHANGE/AV_PKT_DATA_H263_MB_INFO to the proper place.
* lavc doxy: add core functions/definitions to a doxy group.Anton Khirnov2012-04-09
|
* ppc: Add/remove a number of const qualifiers to fix related warnings.Diego Biurrun2012-04-09
|
* avcodec: use align == 0 for default alignment in avcodec_fill_audio_frame()Justin Ruggles2012-04-09
| | | | Use default alignment in audio_get_buffer()
* avcodec: validate the channel layout vs. channel count for decodersJustin Ruggles2012-04-08
| | | | | Set avctx->channel_layout to 0 if the channel count does not match avctx->channels.
* vaapi: mpeg2: fix slice_vertical_position calculation.Gwenole Beauchesne2012-04-08
| | | | | | | | | | | | | | | | | VASliceParameterBufferMPEG2.slice_vertical_position shall express the slice vertical position from the original bitstream. The HW decoder will correctly decode to the right line computed from the appropriate top_field_first and is_first_field flags. This patch aligns with DXVA's definition, which is what most HW and drivers expect. In particular, Intel PowerVR (Cedarview et al.) and NVIDIA (through VA-to-VDPAU layer). Since it looks more complex to fix binary drivers, I aligned the Intel Gen driver (Sandy Bridge et al.) to this behaviour, while maintaining compatibility with codec layers not providing this patch yet. Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com> Signed-off-by: Martin Storsjö <martin@martin.st>
* hwaccel: mpeg2: decode first field, if requested.Gwenole Beauchesne2012-04-08
| | | | | | | | | | | | | | | | | | | If user opted to present fields as they come, then the first field picture needs to be submitted to the HW for decoding. In particular, this fixes MPEG-2 decoding of interlaced streams. Tested on Intel Cedar Trail, Sandy Bridge and Ivy Bridge platforms. Someone reported on the ffmpeg-devel@ list this also works on DXVA (Windows) and other Linux platforms (NVIDIA, through the VA wrapper). This also means a similar patch to non-hwaccel VDPAU may be necessary. Note: I believe the SLICE_FLAG_ALLOW_FIELD is useless since the first field shall always be submitted to the HW anyway. Nobody uses HW accels (dxva, vaapi, vdpau, etc.) without that flag though. Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com> Signed-off-by: Martin Storsjö <martin@martin.st>
* cosmetics: Clean up the tiffenc pix_fmts declaration to match the style of ↵Martin Storsjö2012-04-07
| | | | | | others Signed-off-by: Martin Storsjö <martin@martin.st>
* cosmetics: Align codec declarationsMartin Storsjö2012-04-06
| | | | | | | Also break some long lines, remove codec function placeholder comments and add spaces in sample/pixel format lists. Signed-off-by: Martin Storsjö <martin@martin.st>
* cosmetics: Convert mimic.c to utf-8Martin Storsjö2012-04-06
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* nellymoserenc: fix crash due to memsetting the wrong area.Reimar Döffinger2012-04-06
| | | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> Signed-off-by: Martin Storsjö <martin@martin.st>
* mpeg12: Do not change frame_pred_frame_dct flag and demote error into a warningAnne Aaron2012-04-06
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* avcodec: remove avcodec_guess_channel_layout()Justin Ruggles2012-04-05
| | | | | It is not public because the header is not installed, and its functionality has been replaced by av_get_default_channel_layout().
* avutil: Add av_get_default_channel_layout()Justin Ruggles2012-04-05
| | | | Also, use the new function in the AC-3 encoder.
* h264: Factorize declaration of mb_sizes array.Diego Biurrun2012-04-05
|
* dsputil x86: use SSE float instruction instead of SSE2 integer equivalentChristophe GISQUET2012-04-04
| | | | | | All the more required since the users are pure SSE functions. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* dsputil x86: remove deprecated parameter from scalarproduct_int16 prototypeChristophe GISQUET2012-04-04
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* vp8dsp x86: perform rounding shift with a single instructionChristophe GISQUET2012-04-04
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* aacenc: Mark deinterleave_input_samples argument as const.Diego Biurrun2012-04-04
| | | | | This fixes the warning: libavcodec/aacenc.c:524: warning: passing argument 2 of ‘deinterleave_input_samples’ discards qualifiers from pointer target type
* h264: fix 4:2:2 PCM-macroblocks decodingAnton Mitrofanov2012-04-04
| | | | | | Fixes bug 239. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* w32threads: Make pthread_cond_wait follow POSIXDerek Buitenhuis2012-04-04
| | | | | | | | pthread_cond_wait is supposed to return an integer, and indeed does sometimes. Fix its function declaration to match its behavior and POSIX. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* cosmetics: Consistently place static, inline and av_cold attributes/keywords.Diego Biurrun2012-04-04
|
* sbrdsp: Use standard multiple inclusion guards.Diego Biurrun2012-04-04
|
* pcm: K&R formatting cosmeticsAneesh Dogra2012-04-04
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* rawdec: Support fourccs YV16 and YV24Piotr Bandurski2012-04-03
|
* apedec: check bits <= 32.Michael Niedermayer2012-03-31
| | | | | | | | | | Fixes a floating-point exception further down. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* cavs: Remove unused code.Aneesh Dogra2012-03-31
| | | | | | | The square is always passed as 1 whenever the function is called and thus the if block never gets executed. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* libspeexdec: set frame size in libspeex_decode_init()Justin Ruggles2012-03-30
| | | | This fixes speex decoding, which was broken in 85469f1c.
* smacker audio: sign-extend the initial 16-bit predicted valueFranz Brauße2012-03-30
| | | | | | Fixes Bug #265 Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* h264: drop ff_h264_ prefix from static function ff_h264_decode_rbsp_trailing()Diego Biurrun2012-03-30
|
* h264: Make ff_h264_decode_end() static, it is not used externally.Diego Biurrun2012-03-30
| | | | Also drop the now unnecessary ff_ prefix from its name.
* lzw: fix potential integer overflow.Ronald S. Bultje2012-03-29
|
* truemotion: forbid invalid VLC bitsizes and token values.Ronald S. Bultje2012-03-29
| | | | | | | | | | | | SHOW_UBITS() is only defined up to n_bits is 25, therefore forbid values larger than this in get_vlc2() (max_bits). tokens[][] can be used as an index in deltas[], which has a size of 64, so ensure the values are smaller than that. This prevents crashes on corrupt bitstreams. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* truemotion2: handle out-of-frame motion vectors through edge extension.Ronald S. Bultje2012-03-29
| | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org