summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
...
* Add AV_PKT_FLAG_KEY and deprecate PKT_FLAG_KEY.Reimar Döffinger2009-06-03
| | | | Originally committed as revision 19078 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Clarify the input AVPacket for avcodec_decode*()Michael Niedermayer2009-06-03
| | | | Originally committed as revision 19077 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Check combined depth and number of components in TIFF decoder, thus eliminatingKostya Shishkov2009-06-02
| | | | | | additional checks for each depth (like 48-bit gray vs. 48-bit RGB) Originally committed as revision 19076 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add #if CONFIG_ZLIB_DECODER around zlib_decomp function.Reimar Döffinger2009-05-31
| | | | | | Fixes compilation when zlib is not available. Originally committed as revision 19069 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mszh decompression: add a special case for an all-0 mask, i.e. 32 uncompressedReimar Döffinger2009-05-31
| | | | | | | | bytes in a row. About 15% faster mszh_decomp on an Atom N270 for http://samples.mplayerhq.hu/V-codecs/mszh-zlib/avimzsh_sample.avi Originally committed as revision 19068 to svn://svn.ffmpeg.org/ffmpeg/trunk
* lcldec: ensure that the offset for av_memcpy_backptr is valid.Reimar Döffinger2009-05-31
| | | | Originally committed as revision 19067 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix memleak due to c->decomp_buf never being freed.Reimar Döffinger2009-05-31
| | | | Originally committed as revision 19064 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Only call inflateEnd when we were actually using the zlib code.Reimar Döffinger2009-05-31
| | | | Originally committed as revision 19063 to svn://svn.ffmpeg.org/ffmpeg/trunk
* avctx->priv_data is initialized to 0, get rid of useless extra initialization.Reimar Döffinger2009-05-31
| | | | Originally committed as revision 19062 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Merge variable declaration and initialization.Reimar Döffinger2009-05-31
| | | | Originally committed as revision 19061 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use int-size types instead of char where it makes no difference.Reimar Döffinger2009-05-31
| | | | Originally committed as revision 19060 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Take advantage of available input padding to optimize mszh_decompReimar Döffinger2009-05-31
| | | | Originally committed as revision 19059 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change maskbit variable to contain (1 << maskbit)Reimar Döffinger2009-05-31
| | | | Originally committed as revision 19058 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove check that thanks to padding is no longer necessary.Reimar Döffinger2009-05-31
| | | | Originally committed as revision 19057 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 100l, the compression field in lcl extradata must be interpreted asReimar Döffinger2009-05-31
| | | | | | | int8_t, not uint8_t to allow -1 for "no compression". The original code worked, but only when char was signed. Originally committed as revision 19056 to svn://svn.ffmpeg.org/ffmpeg/trunk
* One more use for FFMIN.Reimar Döffinger2009-05-31
| | | | Originally committed as revision 19055 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Pad the decompression buffer and use av_memcpy_backptr for the mszh ↵Reimar Döffinger2009-05-31
| | | | | | decompression. Originally committed as revision 19054 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Mark srcptr as const in mszh_decompReimar Döffinger2009-05-31
| | | | Originally committed as revision 19053 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unnecessary put_bits/get_bits includes.Reimar Döffinger2009-05-31
| | | | Originally committed as revision 19052 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use bytestream_get_le16 to simplify offset/count calculation for mszh ↵Reimar Döffinger2009-05-31
| | | | | | decompression. Originally committed as revision 19051 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove useless & 0x1fReimar Döffinger2009-05-31
| | | | Originally committed as revision 19050 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Document padding requirements of mszh_decomp srcptr bufferReimar Döffinger2009-05-31
| | | | Originally committed as revision 19049 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use srcptr_end variable to avoid having to update both srcptr and srclen.Reimar Döffinger2009-05-31
| | | | Originally committed as revision 19048 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change buffer size checks to avoid the undefined overflow case.Reimar Döffinger2009-05-31
| | | | Originally committed as revision 19047 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simply use memcpy instead of AV_RN32/AV_WN32 combination.Reimar Döffinger2009-05-31
| | | | Originally committed as revision 19046 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix decoding of multithread-encoded lcl files on big-endian.Reimar Döffinger2009-05-31
| | | | Originally committed as revision 19045 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove another useless ()Reimar Döffinger2009-05-31
| | | | Originally committed as revision 19044 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Correct calculation of compressed input length.Reimar Döffinger2009-05-31
| | | | Originally committed as revision 19043 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add sanity check for mthread_inlen, avoids crashes due to invalid reads.Reimar Döffinger2009-05-31
| | | | Originally committed as revision 19042 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use FFMINReimar Döffinger2009-05-31
| | | | Originally committed as revision 19041 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Factor out zlib decompression code to avoid massive code duplication,Reimar Döffinger2009-05-31
| | | | | | particularly due to error checks. Originally committed as revision 19040 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use FFALIGNReimar Döffinger2009-05-31
| | | | Originally committed as revision 19039 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move variable into block where it is used, avoiding a unused variableReimar Döffinger2009-05-31
| | | | | | warning if the zlib decoder is disabled. Originally committed as revision 19038 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make lcldec less annoyingly verbose, move messages from AV_LOG_INFO to ↵Reimar Döffinger2009-05-31
| | | | | | AV_LOG_DEBUG. Originally committed as revision 19037 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Get rid of unreachable code: avctx->codec_id == CODEC_ID_ZLIB is not possibleReimar Döffinger2009-05-31
| | | | | | here when the zlib decoder is disabled and libavcodec is used correctly. Originally committed as revision 19036 to svn://svn.ffmpeg.org/ffmpeg/trunk
* lcldec.c: change #if CONFIG_ZLIB to #if CONFIG_ZLIB_DECODER.Reimar Döffinger2009-05-31
| | | | | | | The zlib related code should not be compiled in when the decoder is disabled and it thus will never be used, even if we have zlib available. Originally committed as revision 19035 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Get rid of extradata casts, it already has the right uint8_t * typeReimar Döffinger2009-05-31
| | | | Originally committed as revision 19034 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make lcldec produce YUV output when the input file is coded like that, insteadReimar Döffinger2009-05-31
| | | | | | of having it do its own inefficient fixed-point YUV to RGB conversion. Originally committed as revision 19033 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove now unused elements from LclEncContextReimar Döffinger2009-05-31
| | | | Originally committed as revision 19032 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove useless casts, extradata is already "uint8_t *"Reimar Döffinger2009-05-31
| | | | Originally committed as revision 19031 to svn://svn.ffmpeg.org/ffmpeg/trunk
* lclenc.c: compress directly into output buffer instead of using a pointlessReimar Döffinger2009-05-31
| | | | | | temporary buffer and then using put_bits to copy the data over. Originally committed as revision 19030 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove superfluous () from lclenc.cReimar Döffinger2009-05-31
| | | | Originally committed as revision 19028 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: fix indentation in lclenc.cReimar Döffinger2009-05-31
| | | | Originally committed as revision 19027 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove "#if CONFIG_ZLIB" checks from lclenc.c, the file is never compiledReimar Döffinger2009-05-31
| | | | | | if zlib is not available. Originally committed as revision 19026 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add a lock manager API to libavcodec.Andreas Öman2009-05-31
| | | | | | | | Allows an application to register a callback that manages mutexes on behalf of FFmpeg. With this callback registered FFmpeg is fully thread safe. Originally committed as revision 19025 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove cast and use put_sbits, fix assertion in put_bitsBaptiste Coudurier2009-05-31
| | | | Originally committed as revision 19024 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix compilation with DEBUG definedBaptiste Coudurier2009-05-31
| | | | Originally committed as revision 19015 to svn://svn.ffmpeg.org/ffmpeg/trunk
* H264: Fix out of bounds reads in SSSE3 MCAlexander Strange2009-05-30
| | | | | | | | | Reading above src[-2] isn't safe, so move loads and palignr ahead 3 pixels to load starting at the first pixel actually used. Fixes issue941. Originally committed as revision 18999 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use memcpy instead of per-pixel copy loop for rgb lcl formatReimar Döffinger2009-05-30
| | | | Originally committed as revision 18997 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make sure offsets of mjpeg b are within the buffer.Michael Niedermayer2009-05-30
| | | | | | Fixes issue1132 Originally committed as revision 18996 to svn://svn.ffmpeg.org/ffmpeg/trunk