summaryrefslogtreecommitdiffstats
path: root/libavcodec
Commit message (Collapse)AuthorAgeFilesLines
...
| * zmbvenc: move header writing to the end of encode_frame().Anton Khirnov2012-02-201-11/+13
| | | | | | | | | | | | This makes switching to encode2() simpler, because it allows us to know exactly how large should the output buffer be before we start writing into it.
| * h264: don't use redzone in loopfilter on win64.Ronald S. Bultje2012-02-191-1/+8
| | | | | | | | Red zone usage is not allowed in the Win64 ABI.
* | lavc: set bit_rate in the decoder context, just after the init stageStefano Sabatini2012-02-202-24/+27
| | | | | | | | | | Also move the get_bit_rate() function, in order to avoid an undefined symbol reference in avcodec_open2().
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-02-2013-35/+65
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: doxy: remove reference to removed api examples: unbreak compilation ttadec: cosmetics: reindent sunrast: use RLE trigger macro inplace of the hard coded value. sunrastenc: set keyframe flag for the output packet. mpegvideo_enc: switch to encode2(). mpegvideo_enc: force encoding delay of at least 1 frame when low_delay=0 Conflicts: doc/examples/muxing.c Merged-by: Michael Niedermayer <[email protected]>
| * examples: unbreak compilationLuca Barbato2012-02-191-7/+4
| | | | | | | | Update api so it will compile again.
| * ttadec: cosmetics: reindentPaul B Mahol2012-02-191-4/+4
| | | | | | | | | | Signed-off-by: Paul B Mahol <[email protected]> Signed-off-by: Justin Ruggles <[email protected]>
| * sunrast: use RLE trigger macro inplace of the hard coded value.Aneesh Dogra2012-02-191-1/+1
| | | | | | | | Signed-off-by: Anton Khirnov <[email protected]>
| * sunrastenc: set keyframe flag for the output packet.Aneesh Dogra2012-02-191-0/+1
| | | | | | | | Signed-off-by: Anton Khirnov <[email protected]>
| * mpegvideo_enc: switch to encode2().Anton Khirnov2012-02-1910-22/+51
| |
| * mpegvideo_enc: force encoding delay of at least 1 frame when low_delay=0Anton Khirnov2012-02-191-1/+2
| | | | | | | | | | | | This allows the following commit to extrapolate better dts for the first frame. Pts difference between the first two frames is reused as the difference between pts and dts of the first frame.
* | wmalossless: Fix infinite loop.Michael Niedermayer2012-02-191-1/+4
| | | | | | | | | | | | Fixes more of Ticket1000 Signed-off-by: Michael Niedermayer <[email protected]>
* | wmalossless: Switch to new audio APIMichael Niedermayer2012-02-191-23/+13
| | | | | | | | | | | | Partially fixes Ticket1000 Signed-off-by: Michael Niedermayer <[email protected]>
* | wmalossless: remove tabMichael Niedermayer2012-02-191-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | Merge remote-tracking branch 'shariman/wmall'Michael Niedermayer2012-02-191-2/+2
|\ \ | | | | | | | | | | | | | | | | | | | | | * shariman/wmall: Perform inter-channel decorr. only if both channels are coded Use fixed-length array in revert_mclms() Merged-by: Michael Niedermayer <[email protected]>
| * | Perform inter-channel decorr. only if both channels are codedMashiat Sarker Shakkhar2012-02-181-1/+1
| | |
| * | Use fixed-length array in revert_mclms()Benjamin Larsson2012-02-161-1/+1
| | |
* | | pamdec: fix mono support.Michael Niedermayer2012-02-192-5/+6
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | | H264 parser: enable header parsing/frame type detection for is_avc.Reimar Döffinger2012-02-191-4/+15
| | | | | | | | | | | | Signed-off-by: Reimar Döffinger <[email protected]>
* | | pamenc: allocate the correct packetsize for mono.Michael Niedermayer2012-02-191-4/+2
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | | pamenc: move allocation down.Michael Niedermayer2012-02-191-15/+16
| | | | | | | | | | | | | | | | | | | | | This way the size that is calculated is known and can be used in a following commit. Signed-off-by: Michael Niedermayer <[email protected]>
* | | h264: use av_fast_padded_malloc()Michael Niedermayer2012-02-191-3/+1
| | | | | | | | | | | | | | | | | | | | | This zeros all the memory once and avoids valgrind warnings. alternatively the warnings could be suppressed. Signed-off-by: Michael Niedermayer <[email protected]>
* | | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-02-1912-22/+90
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: mov: Use defines for sample flags in fragments mov: Use defines for trun flags mov: Use defines for tfhd flags proresenc: force bitrate not to exceed given limit vc1parse: call vc1_init_common(). wma: don't return 0 on invalid packets. asf: prevent packet_size_left from going negative if hdrlen > pktlen. mjpegb: don't return 0 at the end of frame decoding. rtpdec: Identify incorrectly signalled H263 vp8dsp: split long line. aiff: don't skip block_align==0 check on COMM-after-SSND files. dpcm: ignore extra unpaired bytes in stereo streams. mp3on4: require a minimum framesize. mpc7: assign an error level + context to av_log() msg. huffyuv: error out on bit overrun. dct-test: Add the missing ff_ prefix to the altivec functions dct-test: Remove a stray declaration of a nonexistent function movenc: Write the unknown duration as 64 bit fields in ismv movenc: Write track durations with all bits set if duration is unknown Conflicts: libavcodec/dct-test.c libavcodec/wmadec.c Merged-by: Michael Niedermayer <[email protected]>
| * | proresenc: force bitrate not to exceed given limitKostya Shishkov2012-02-181-10/+62
| | | | | | | | | | | | | | | | | | Apple ProRes Format Specifications mentions target data size for every frame, so make sure frame meets it. This also allows encoder to demand much smaller packet sizes for output.
| * | vc1parse: call vc1_init_common().Ronald S. Bultje2012-02-183-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | The parser uses VLC tables initialized in vc1_common_init(), therefore we should call this function on parser init also. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: [email protected]
| * | wma: don't return 0 on invalid packets.Ronald S. Bultje2012-02-181-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | Return 0 means "please return the same data again", i.e. it causes an infinite loop. Instead, return an error. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: [email protected]
| * | mjpegb: don't return 0 at the end of frame decoding.Ronald S. Bultje2012-02-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | Return 0 indicates "please return the same data again", i.e. it causes an infinite loop. Instead, return that we consumed the buffer if we finished decoding succesfully, or return an error if an error occurred. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: [email protected]
| * | vp8dsp: split long line.Ronald S. Bultje2012-02-181-1/+3
| | | | | | | | | | | | Signed-off-by: Martin Storsjö <[email protected]>
| * | dpcm: ignore extra unpaired bytes in stereo streams.Alex Converse2012-02-171-1/+6
| | | | | | | | | | | | | | | | | | Fixes: CVE-2011-3951 Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
| * | mp3on4: require a minimum framesize.Ronald S. Bultje2012-02-171-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | If bufsize < headersize, init_get_bits() will be called with a negative number, causing it to fail and any subsequent call to get_bits() will crash because it reads from a NULL pointer. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: [email protected]
| * | mpc7: assign an error level + context to av_log() msg.Ronald S. Bultje2012-02-171-1/+1
| | |
| * | huffyuv: error out on bit overrun.Ronald S. Bultje2012-02-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | On EOF, get_bits() will continuously return 0, causing an infinite loop. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: [email protected]
| * | dct-test: Add the missing ff_ prefix to the altivec functionsMartin Storsjö2012-02-181-3/+3
| | | | | | | | | | | | Signed-off-by: Martin Storsjö <[email protected]>
| * | dct-test: Remove a stray declaration of a nonexistent functionMartin Storsjö2012-02-181-2/+0
| | | | | | | | | | | | Signed-off-by: Martin Storsjö <[email protected]>
* | | libx264: unbreak libx264rgbPaul B Mahol2012-02-181-1/+1
| | | | | | | | | | | | | | | Signed-off-by: Paul B Mahol <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* | | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-02-1821-143/+460
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (22 commits) als: prevent infinite loop in zero_remaining(). cook: prevent div-by-zero if channels is zero. pamenc: switch to encode2(). svq1enc: switch to encode2(). dvenc: switch to encode2(). dpxenc: switch to encode2(). pngenc: switch to encode2(). v210enc: switch to encode2(). xwdenc: switch to encode2(). ttadec: use branchless unsigned-to-signed unfolding avcodec: add a Sun Rasterfile encoder sunrast: Move common defines to a new header file. cdxl: fix video decoding for some files cdxl: fix audio for some samples apetag: add proper support for binary tags ttadec: remove dead code swscale: make access to filter data conditional on filter type. swscale: update context offsets after removal of AlpMmxFilter. prores: initialise encoder and decoder parts only when needed swscale: make monowhite/black RGB-independent. ... Conflicts: Changelog libavcodec/alsdec.c libavcodec/dpxenc.c libavcodec/golomb.h libavcodec/pamenc.c libavcodec/pngenc.c libavformat/img2.c libswscale/output.c Merged-by: Michael Niedermayer <[email protected]>
| * | als: prevent infinite loop in zero_remaining().Ronald S. Bultje2012-02-171-1/+1
| | | | | | | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: [email protected]
| * | cook: prevent div-by-zero if channels is zero.Ronald S. Bultje2012-02-171-0/+4
| | | | | | | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: [email protected]
| * | pamenc: switch to encode2().Anton Khirnov2012-02-171-10/+16
| | |
| * | svq1enc: switch to encode2().Anton Khirnov2012-02-171-7/+17
| | |
| * | dvenc: switch to encode2().Anton Khirnov2012-02-171-8/+17
| | |
| * | dpxenc: switch to encode2().Anton Khirnov2012-02-171-13/+23
| | |
| * | pngenc: switch to encode2().Anton Khirnov2012-02-171-8/+21
| | |
| * | v210enc: switch to encode2().Anton Khirnov2012-02-171-10/+12
| | |
| * | xwdenc: switch to encode2().Anton Khirnov2012-02-171-9/+12
| | |
| * | ttadec: use branchless unsigned-to-signed unfoldingJustin Ruggles2012-02-171-2/+1
| | |
| * | avcodec: add a Sun Rasterfile encoderAneesh Dogra2012-02-174-1/+232
| | | | | | | | | | | | Signed-off-by: Justin Ruggles <[email protected]>
| * | sunrast: Move common defines to a new header file.Aneesh Dogra2012-02-172-26/+52
| | | | | | | | | | | | Signed-off-by: Justin Ruggles <[email protected]>
| * | cdxl: fix video decoding for some filesPaul B Mahol2012-02-171-14/+13
| | | | | | | | | | | | | | | | | | | | | Width is padded for ham encodings too. Signed-off-by: Paul B Mahol <[email protected]> Signed-off-by: Justin Ruggles <[email protected]>
| * | ttadec: remove dead codePaul B Mahol2012-02-171-28/+17
| | | | | | | | | | | | | | | | | | | | | | | | The unused code being removed is for encoding only and therefore is not needed by the decoder. Signed-off-by: Paul B Mahol <[email protected]> Signed-off-by: Justin Ruggles <[email protected]>
| * | prores: initialise encoder and decoder parts only when neededKostya Shishkov2012-02-171-2/+10
| | |