summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
...
* cdgraphics: do not rely on get_buffer() initializing the frame.Anton Khirnov2013-02-06
| | | | | Setting it to zero (instead of 128, as the default get_buffer() does) also produces more correctly-looking output.
* svq1: replace struct svq1_frame_size with an array.Anton Khirnov2013-02-06
| | | | It is used as an array in svq1enc, so this is more correct.
* vc1dec: use codec_id instead of codec_tag for VC1IMAGEVladimir Pantelic2013-02-06
| | | | | | | the rest of the code is using codec_id everywhere already Signed-off-by: Vladimir Pantelic <vladoman@gmail.com> Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
* sh4: drop unused functionsLuca Barbato2013-02-05
| | | | {avg,put}_pixels4_c are not used.
* sh4: Fix silly type vs. variable name search and replace typoDiego Biurrun2013-02-05
|
* Add av_cold attributes to arch-specific init functionsDiego Biurrun2013-02-05
|
* Use ptrdiff_t instead of int for {avg, put}_pixels line_size parameter.Diego Biurrun2013-02-05
| | | | | This avoids SIMD-optimized functions having to sign-extend their line size argument manually to be able to do pointer arithmetic.
* mpegvideo: simplify REBASE_PICTUREAnton Khirnov2013-02-04
| | | | | | | | | | | Always evaluate to NULL when the source Picture is not located in the MpegEncContext.picture array. That will only happen for next/last_picture_ptr when updating the thread context during h264 frame threaded decoding, where they will point to elements of ref_list. Since ref_list is not copied during updating the context and is invalid until it is constructed for the current slice, there is no point in doing anything complicated with next/last_picture_ptr, as they will get updated when the ref_list is filled.
* Use proper "" quotes for local header #includesDiego Biurrun2013-02-01
|
* ppc: fmtconvert: Drop two unused variables.Diego Biurrun2013-02-01
|
* bink: fix a check for the first frame.Anton Khirnov2013-02-01
| | | | | Packet pts is a very unreliable indicator, use AVCodecContext.frame_number instead.
* x86: hpel: Move {avg,put}_pixels16_sse2 to hpeldspDiego Biurrun2013-01-31
|
* mpegvideo: Do REBASE_PICTURE with byte pointersMartin Storsjö2013-01-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | REBASE_PICTURE (more specifically, this half of it) takes a Picture pointer that points into one larger struct, finds the offset of that Picture within the struct and finds the corresponding field within another instance of a similar struct. The pointer difference "pic - (Picture*)old_ctx" is a value given in sizeof(Picture) units, and when applied back on (Picture*)new_ctx gets multiplied back with sizeof(Picture). Many compilers seem to optimize out this division/multiplication, but not all do. GCC 4.2 on OS X doesn't seem to remove the division/multiplication, therefore the new pointer didn't turn out to point to exactly the right place in the new struct since it only had sizeof(Picture) granularity (and the Picture is not aligned on a sizeof(Picture) boundary within the encompassing struct). This bug has been present before 47318953d as well - with H264, pointers to h->ref_list[0][0] pointed to 88 bytes before h->ref_list[0][0] after the rebase. After shrinking Picture, the difference ended up even larger, making writes via such a Picture pointer overwrite other fields at random in H264Context, ending up in crashes later. This fixes H264 multithreaded decoding on OS X with GCC 4.2. Signed-off-by: Martin Storsjö <martin@martin.st>
* dsputil: remove unused functions copy_block{2, 4, 8, 16}.Ronald S. Bultje2013-01-30
|
* bfin: unbreak compilationLuca Barbato2013-01-29
| | | | Added a missing header file.
* h264: remove obsolete comment.Anton Khirnov2013-01-29
|
* mpegvideo: remove some unused variables from Picture.Anton Khirnov2013-01-29
|
* utvideoenc/v410enc: do not set AVFrame.reference.Anton Khirnov2013-01-29
| | | | That field will be deprecated.
* pthread: make ff_thread_release_buffer idempotent.Anton Khirnov2013-01-29
| | | | I.e. don't do anything on already released frames.
* rawdec: use AVPALETTE_SIZE instead of magic constants.Anton Khirnov2013-01-29
|
* mimic: remove a pointless cast.Anton Khirnov2013-01-29
|
* mdec: return meaningful error codes.Anton Khirnov2013-01-29
|
* mdec: cosmetics, reformatAnton Khirnov2013-01-29
|
* mdec: merge mdec_common_init() into decode_init().Anton Khirnov2013-01-29
| | | | There is no point in keeping those two functions separate.
* eatgv: use fixed-width types where appropriate.Anton Khirnov2013-01-29
|
* x86: Simplify some arch conditionalsDiego Biurrun2013-01-29
|
* bfin: Separate VP3 initialization codeDiego Biurrun2013-01-28
|
* bfin: update VP3 idctLuca Barbato2013-01-28
| | | | The block must be set to 0.
* x86: hpeldsp: Fix a typo, use the right registerMichael Niedermayer2013-01-28
| | | | | | This makes the code actually work. Signed-off-by: Martin Storsjö <martin@martin.st>
* shorten: fix array subscript is below array bounds warningLuca Barbato2013-01-28
| | | | Incidentally fixes alpha builds.
* dsputil: Fix error by not using redzone and register nameDaniel Kang2013-01-28
| | | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* arm: vp8: Fix the plain-armv6 version of vp8_luma_dc_whtMartin Storsjö2013-01-27
| | | | | | | | | This makes the plain-armv6 version use the same registers as the armv6t2 version above. This fixes fate-vp8 on plain-armv6 devices. Signed-off-by: Martin Storsjö <martin@martin.st>
* dsputil: x86: Correct the number of registers used in put_no_rnd_pixels16_l2Daniel Kang2013-01-27
| | | | | | put_no_rnd_pixels16_l2 allocated 5 instead of 6 registers. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* dsputil: add missing HAVE_YASM guardDaniel Kang2013-01-27
| | | | | | | Fix compile error under "--disable-optimizations --disable-yasm --disable-inline-asm" Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* hwaccel: do not offer unsupported pixel formatsRémi Denis-Courmont2013-01-27
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* vdpau: add missing pixel format for H.264Rémi Denis-Courmont2013-01-27
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* dsputil: x86: Convert mpeg4 qpel and dsputil avg to yasmDaniel Kang2013-01-27
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* Move H264/QPEL specific asm from dsputil.asm to h264_qpel_*.asm.Ronald S. Bultje2013-01-26
|
* mpegvideo_enc: fix indentation in load_input_picture()Anton Khirnov2013-01-26
|
* mpegvideo_enc: do not modify the input frame.Anton Khirnov2013-01-26
|
* mjpegdec: fix indentationAnton Khirnov2013-01-26
|
* rawdec: cosmetics, reformatAnton Khirnov2013-01-26
|
* mimic: return meaningful error codes.Anton Khirnov2013-01-26
|
* mimic: cosmetics, reformatAnton Khirnov2013-01-26
|
* iff: drop ff_ prefix from a static function.Anton Khirnov2013-01-26
|
* pngdec: cosmetics, reformat.Anton Khirnov2013-01-26
| | | | Also remove a commented out line.
* dxa: return meaningful error codes.Anton Khirnov2013-01-26
|
* eatgq: cosmetics, reformat.Anton Khirnov2013-01-26
|
* eatgq: return meaningful error codes.Anton Khirnov2013-01-26
|
* eatgv: cosmetics, reformatAnton Khirnov2013-01-26
|