summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
* vc1: Fix intensity compensation performance regressionMason Carter2013-12-22
| | | | | | | | | | | Introduced by 28243b0d35b47bbf9abbd454fc444a6e0a9e7b71 Intensity compensation is always used once it was encountered, because v->next_use_ic is never set back to zero. Reset v->next_use_ic, when resetting v->next_luty/uv. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* hevc: move DSP declarations from hevc.h into hevcdsp.hGuillaume Martres2013-12-22
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* Add a libwebp encoderJustin Ruggles2013-12-21
|
* arm: Don't clobber callee saved registers in scalarproductMartin Storsjö2013-12-20
| | | | | | | q4-q7/d8-d15 are supposed to not be clobbered by the callee. CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* hevc: support luma bit depth != chroma bit depth for PCM coding unitsMickaël Raulet2013-12-20
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* hevc: warn when an unknown profile is usedGuillaume Martres2013-12-20
| | | | | | | Bitstreams conforming to the spec should not use profiles not defined in it. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* hevc_ps: fix indentationGildas Cocherel2013-12-20
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* hevc: refactor Profile Tier LevelGildas Cocherel2013-12-20
| | | | | | Also store a few PTL flags which were skipped before Signed-off-by: Anton Khirnov <anton@khirnov.net>
* hevc: don't check for errors in PTL codeGuillaume Martres2013-12-20
| | | | | | | According to the spec, the value of XXX_reserved_zero_44bits should be ignored, so don't report an error when it's not zero. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* hevc: store profile and level in AVCodecContextGildas Cocherel2013-12-20
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavc: add HEVC profiles namesGildas Cocherel2013-12-20
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* x86: mpegvideo: move denoise_dct asm to mpegvideoencAnton Khirnov2013-12-20
| | | | | | This function is encoding-only. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* vc1: arm: Add NEON no_rnd chroma MCMason Carter2013-12-20
| | | | | | | | Apply David Conrad's old patch to the modern codebase. http://ffmpeg.org/pipermail/ffmpeg-devel/2009-April/059877.html Signed-off-by: Martin Storsjö <martin@martin.st>
* vc1: arm: Add NEON assemblyMason Carter2013-12-20
| | | | | | | | | | | | | For: ff_vc1_inv_trans_{8,4}x{8,4}_{dc_,}neon ff_put_pixels8x8_neon ff_put_vc1_mspel_mc{0,1,2,3}{0,1,2,3}_neon (except for 00) Based on ARM assembly code in libavcodec/arm by Rob Clark and Mans Rullgard. Signed-off-by: Martin Storsjö <martin@martin.st>
* png_parser: Fix parsing on big endianMartin Storsjö2013-12-18
| | | | | | | | | | | | Since pc.state is populated by shifting in from the end of the 32 bit word, the content within pc.state is already in native endian and should not be read with the AV_R{L,B} functions. This was already done correctly for state64 above. This fixes the fate-corepng test on big endian. Signed-off-by: Martin Storsjö <martin@martin.st>
* vc1: Fix mb_height for field picturesMichael Niedermayer2013-12-17
| | | | | | | | | | Tables are always allocated now with sufficient space for either progressive or interlaced content. The alternative would be to detect a change and reallocate. This fixes decoding of a sample. Signed-off-by: Martin Storsjö <martin@martin.st>
* h264: Refactor decode_frame_packing_arrangementVittorio Giovara2013-12-17
| | | | Directly set the fields when necessary.
* hevc: Refactor decode_nal_sei_frame_packing_arrangementLuca Barbato2013-12-17
| | | | | | Directly set the fields when necessary. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* png: add a standalone parserPeter Holik2013-12-17
| | | | Useful for reading png images from a pipe.
* build: Merge pthreads/w32threads OBJS declarationsDiego Biurrun2013-12-13
|
* mp3adu: Set the channel layout properlyMartin Storsjö2013-12-12
| | | | | | | | | This fixes decoding, broken since 7e35037. This is similar to what was done for the normal mp3 decoder in f4a86bc9. Signed-off-by: Martin Storsjö <martin@martin.st>
* lavc: deprecate avcodec_get_frame_defaults().Anton Khirnov2013-12-11
| | | | | Also bump libavcodec micro and add an APIchanges entry saying that av_frame_* should now be used instead of the lavc AVFrame functions.
* h264: call av_frame_unref() instead of avcodec_get_frame_defaults().Anton Khirnov2013-12-11
| | | | | | This is a temporary workaround to allow deprecating avcodec_get_frame_defaults(). The proper solution will be using a properly allocated AVFrame in Picture.
* api-example: remove an unneeded call to avcodec_get_frame_defaults().Anton Khirnov2013-12-11
| | | | avcodec_decode_audio4() resets the frame itself.
* mpegvideo: call av_frame_unref() instead of avcodec_get_frame_defaults().Anton Khirnov2013-12-11
| | | | | | This is a temporary workaround to allow deprecating avcodec_get_frame_defaults(). The proper solution will be using a properly allocated AVFrame in Picture.
* mpegvideo: remove an unneeded call to avcodec_get_frame_defaults().Anton Khirnov2013-12-11
| | | | ff_mpeg_unref_picture() already resets the frame.
* lavc: call av_frame_unref() instead of avcodec_get_frame_defaults().Anton Khirnov2013-12-11
| | | | avcodec_get_frame_defaults() will be deprecated.
* lavc: deprecate avcodec_free_frame()Anton Khirnov2013-12-11
| | | | av_frame_free() should be used instead.
* Replace all uses of avcodec_free_frame with av_frame_free().Anton Khirnov2013-12-11
|
* hevc: set time_base when possibleGuillaume Martres2013-12-11
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* hevc: store the VPS list as an AVBufferRef, just like the others *PSGildas Cocherel2013-12-11
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* hevc: do not dereference pointer before NULL check in verify_md5()Michael Niedermayer2013-12-11
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* alsdec: check block lengthReinhard Tartler2013-12-10
| | | | | | | Fix writing over the end Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Addresses: CVE-2013-0845
* hevc: parse frame packing arrangement SEI messages and save relevant ↵Vittorio Giovara2013-12-09
| | | | stereo3d information
* mpeg12enc: set frame packing information when relevant metadata is foundVittorio Giovara2013-12-09
|
* mpeg12dec: parse frame packing arrangement user_data and save relevant ↵Vittorio Giovara2013-12-09
| | | | stereo3d information
* libx264: set frame packing information when relevant information is foundVittorio Giovara2013-12-09
|
* h264: parse frame packing arrangement SEI messages and save relevant ↵Vittorio Giovara2013-12-09
| | | | stereo3d information
* configure: Prefix libc-related variables with "libc_"Diego Biurrun2013-12-09
| | | | Simplifies host/target libc detection splitting.
* avcodec: Use av_reallocp where suitableAlexandra Khirnova2013-12-09
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* dv: use AVFrame API properlyAnton Khirnov2013-12-09
|
* ac3dec: make drc_scale exponentiallyJohn Stebbins2013-12-09
| | | | | | | The a52 spec suggests that "partial compression" should scale the drc value in this manner. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavc: rework handling of refcounted_frames=0Anton Khirnov2013-12-09
| | | | | | | | | Use only proper AVFrame API (no assigning of whole frames, since that hardcodes sizeof(AVFrame) into lavc). Make a copy of the side data, so the caller can use av_frame_unref/free on non-refcounted frames, eliminating the need for avcodec_get_frame_defaults()/avcodec_free_frame().
* lavc/decode_video(): always unref the frame if there is no output in ↵Anton Khirnov2013-12-09
| | | | | | | | decode_video Not just on failure. This is the same thing that is done in the audio path and should prevent leaks in decoders that allocate a frame, but then end up not writing into it.
* lavc: remove a pointless check in decode_audio4()Anton Khirnov2013-12-09
| | | | av_frame_unref() works fine on unallocated frames.
* lavc: use buf[0] instead of data[0] as the indicator of an allocated frameAnton Khirnov2013-12-09
| | | | data[0] may be NULL for valid frames with hwaccel pixel formats.
* lavc: remove the extended_data workarounds.Anton Khirnov2013-12-09
| | | | All decoders should now handle it properly.
* pthread_frame: use the AVFrame API properly.Anton Khirnov2013-12-09
| | | | | Remove the extended_data workaround, all decoders should now handle this properly.
* mxpegdec: use the AVFrame API properly.Anton Khirnov2013-12-09
|
* p*menc: use the AVFrame API properly.Anton Khirnov2013-12-09
|