55 Commits (270a85d259e44a560d7da70679906fa977f96e97)

Author SHA1 Message Date
Diego Biurrun ba87f0801d Remove explicit filename from Doxygen @file commands. 15 years ago
Stefano Sabatini 72415b2adb Define AVMediaType enum, and use it instead of enum CodecType, which 15 years ago
Reimar Döffinger 4a49ab77c6 Remove unnecessary calls to avcodec_check_dimensions, the check is already 15 years ago
Reimar Döffinger 24dd21fa41 add #if CONFIG_ZLIB_DECODER around zlib_decomp function. 16 years ago
Reimar Döffinger 79183d3c3e mszh decompression: add a special case for an all-0 mask, i.e. 32 uncompressed 16 years ago
Reimar Döffinger a7bfbe4e13 lcldec: ensure that the offset for av_memcpy_backptr is valid. 16 years ago
Reimar Döffinger bbf306742c Fix memleak due to c->decomp_buf never being freed. 16 years ago
Reimar Döffinger 908425c758 Only call inflateEnd when we were actually using the zlib code. 16 years ago
Reimar Döffinger 4ad3df9da2 avctx->priv_data is initialized to 0, get rid of useless extra initialization. 16 years ago
Reimar Döffinger 7ffc844742 Merge variable declaration and initialization. 16 years ago
Reimar Döffinger 7c20421661 Use int-size types instead of char where it makes no difference. 16 years ago
Reimar Döffinger 7a15b25827 Take advantage of available input padding to optimize mszh_decomp 16 years ago
Reimar Döffinger a5d2745d8e Change maskbit variable to contain (1 << maskbit) 16 years ago
Reimar Döffinger e0b3af9059 Remove check that thanks to padding is no longer necessary. 16 years ago
Reimar Döffinger 0b99764459 100l, the compression field in lcl extradata must be interpreted as 16 years ago
Reimar Döffinger e4f141ad60 One more use for FFMIN. 16 years ago
Reimar Döffinger 0d48e6ec7f Pad the decompression buffer and use av_memcpy_backptr for the mszh decompression. 16 years ago
Reimar Döffinger 974ce78544 Mark srcptr as const in mszh_decomp 16 years ago
Reimar Döffinger 6065dcea37 Remove unnecessary put_bits/get_bits includes. 16 years ago
Reimar Döffinger 2bee59083d Use bytestream_get_le16 to simplify offset/count calculation for mszh decompression. 16 years ago
Reimar Döffinger 5a18221ba8 Remove useless & 0x1f 16 years ago
Reimar Döffinger 7b151a98b0 Document padding requirements of mszh_decomp srcptr buffer 16 years ago
Reimar Döffinger 5e5fe7dab5 Use srcptr_end variable to avoid having to update both srcptr and srclen. 16 years ago
Reimar Döffinger dbc53ffc7c Change buffer size checks to avoid the undefined overflow case. 16 years ago
Reimar Döffinger 2fddb91e94 Simply use memcpy instead of AV_RN32/AV_WN32 combination. 16 years ago
Reimar Döffinger 661cb0d4a9 Fix decoding of multithread-encoded lcl files on big-endian. 16 years ago
Reimar Döffinger ce22c7d075 Remove another useless () 16 years ago
Reimar Döffinger 21bf2f51d7 Correct calculation of compressed input length. 16 years ago
Reimar Döffinger 46adcc27a2 Add sanity check for mthread_inlen, avoids crashes due to invalid reads. 16 years ago
Reimar Döffinger 1207c84adb Use FFMIN 16 years ago
Reimar Döffinger c2c0c1c023 Factor out zlib decompression code to avoid massive code duplication, 16 years ago
Reimar Döffinger f005808bf2 Use FFALIGN 16 years ago
Reimar Döffinger 46c02b1b50 Move variable into block where it is used, avoiding a unused variable 16 years ago
Reimar Döffinger 2b550f816a Make lcldec less annoyingly verbose, move messages from AV_LOG_INFO to AV_LOG_DEBUG. 16 years ago
Reimar Döffinger 75f6d6c7e6 Get rid of unreachable code: avctx->codec_id == CODEC_ID_ZLIB is not possible 16 years ago
Reimar Döffinger 56b44694bd lcldec.c: change #if CONFIG_ZLIB to #if CONFIG_ZLIB_DECODER. 16 years ago
Reimar Döffinger 445e0ab539 Get rid of extradata casts, it already has the right uint8_t * type 16 years ago
Reimar Döffinger 8c18e490c4 Make lcldec produce YUV output when the input file is coded like that, instead 16 years ago
Reimar Döffinger bb79016851 Use memcpy instead of per-pixel copy loop for rgb lcl format 16 years ago
Reimar Döffinger c40f366372 Remove useless () from lcldec for more consistency with "normal" FFmpeg coding style. 16 years ago
Reimar Döffinger abeee5ccb8 Use av_clip_uint8 instead of equivalent but unoptimzed code, 16 years ago
Jeff Downs 50352827f6 Use AV_R/WN32 instead of direct integer copying. 16 years ago
Stefano Sabatini 9106a698e7 Rename bitstream.h to get_bits.h. 16 years ago
Thilo Borgmann 7a00bbad21 Implement avcodec_decode_video2(), _audio3() and _subtitle2() which takes an 16 years ago
Diego Biurrun bad5537e2c Use full internal pathname in doxygen @file directives. 16 years ago
Diego Biurrun 99ed41a808 Fix filenames in Doxygen comments. 16 years ago
Aurelien Jacobs b250f9c66d Change semantic of CONFIG_*, HAVE_* and ARCH_*. 16 years ago
Stefano Sabatini fe4bf37455 Make AVCodec long_names definition conditional depending on CONFIG_SMALL. 17 years ago
Stefano Sabatini 162d4fc99d Add long names to AVCodec declarations. 17 years ago
Zuxy Meng 98a6fff98c Apply 'cold' attribute to init/uninit functions in libavcodec 17 years ago