1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00
Commit Graph

9628 Commits

Author SHA1 Message Date
Reimar Döffinger
56b44694bd lcldec.c: change #if CONFIG_ZLIB to #if CONFIG_ZLIB_DECODER.
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
2009-05-31 09:16:06 +00:00
Reimar Döffinger
445e0ab539 Get rid of extradata casts, it already has the right uint8_t * type
Originally committed as revision 19034 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-31 09:12:17 +00:00
Reimar Döffinger
8c18e490c4 Make lcldec produce YUV output when the input file is coded like that, instead
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
2009-05-31 09:09:32 +00:00
Reimar Döffinger
55619690e8 Remove now unused elements from LclEncContext
Originally committed as revision 19032 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-31 08:54:41 +00:00
Reimar Döffinger
3b855101b4 Remove useless casts, extradata is already "uint8_t *"
Originally committed as revision 19031 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-31 08:51:30 +00:00
Reimar Döffinger
e786d3cf80 lclenc.c: compress directly into output buffer instead of using a pointless
temporary buffer and then using put_bits to copy the data over.

Originally committed as revision 19030 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-31 08:49:27 +00:00
Reimar Döffinger
32b3ab9b60 Remove superfluous () from lclenc.c
Originally committed as revision 19028 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-31 08:41:11 +00:00
Reimar Döffinger
8f033e3e03 Cosmetics: fix indentation in lclenc.c
Originally committed as revision 19027 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-31 08:38:51 +00:00
Reimar Döffinger
7ff7ac60e1 Remove "#if CONFIG_ZLIB" checks from lclenc.c, the file is never compiled
if zlib is not available.

Originally committed as revision 19026 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-31 08:36:44 +00:00
Andreas Öman
f988ce6cad Add a lock manager API to libavcodec.
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
2009-05-31 06:51:18 +00:00
Baptiste Coudurier
b8df8d0d1c remove cast and use put_sbits, fix assertion in put_bits
Originally committed as revision 19024 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-31 06:33:58 +00:00
Baptiste Coudurier
19c0563ac2 fix compilation with DEBUG defined
Originally committed as revision 19015 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-31 04:26:22 +00:00
Alexander Strange
2b9969a945 H264: Fix out of bounds reads in SSSE3 MC
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
2009-05-30 22:19:14 +00:00
Reimar Döffinger
bb79016851 Use memcpy instead of per-pixel copy loop for rgb lcl format
Originally committed as revision 18997 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-30 11:20:07 +00:00
Michael Niedermayer
ff8c65f482 Make sure offsets of mjpeg b are within the buffer.
Fixes issue1132

Originally committed as revision 18996 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-30 10:04:09 +00:00
Reimar Döffinger
c40f366372 Remove useless () from lcldec for more consistency with "normal" FFmpeg coding style.
Originally committed as revision 18995 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-30 09:07:10 +00:00
Reimar Döffinger
b157e3e56b Add casts to v210x decoder to avoid warnings.
Originally committed as revision 18994 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-30 09:05:24 +00:00
Baptiste Coudurier
3bbcd0bb8a The GIF decoder uses get_buffer, so set DR1.
Originally committed as revision 18990 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-30 04:07:14 +00:00
Baptiste Coudurier
87e302bfd8 remove unused hack which set AVCodecContext frame_number to pic timestamp
Originally committed as revision 18988 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-30 00:24:20 +00:00
Baptiste Coudurier
2d05bc8641 set pict_type in VC-1 parser, fix some timestamps problems
Originally committed as revision 18987 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-30 00:09:00 +00:00
David Conrad
f2264fa531 Support block-level quantization in Theora
Originally committed as revision 18986 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-29 21:43:22 +00:00
Reimar Döffinger
abeee5ccb8 Use av_clip_uint8 instead of equivalent but unoptimzed code,
Originally committed as revision 18985 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-29 20:15:38 +00:00
Måns Rullgård
9d48e28f00 MIPS: add MIPS64 and Loongson asm for MAC64/MLS64
Originally committed as revision 18979 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-28 23:19:32 +00:00
Måns Rullgård
b716a79215 blackfin: disable broken dsputil functions
Originally committed as revision 18977 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-28 22:36:06 +00:00
Måns Rullgård
2ba73ce8c6 blackfin: add missing const in function prototypes
Originally committed as revision 18976 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-28 22:36:02 +00:00
Måns Rullgård
b195a73d47 blackfin: use optimised (I)DCT only when ctx->(i)dct_algo is auto
Originally committed as revision 18975 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-28 22:35:58 +00:00
Måns Rullgård
08ec1397f6 blackfin: use DCT function pointer in dct_quantize_bfin()
Originally committed as revision 18974 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-28 22:35:56 +00:00
Måns Rullgård
c9311a12d5 ARM: add some PLD in NEON IDCT
Originally committed as revision 18972 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-28 17:19:28 +00:00
Baptiste Coudurier
2ed16f308a msrle uncompressed decoding, fix #1074 and many other samples under /RLE
Originally committed as revision 18970 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-27 21:45:25 +00:00
Baptiste Coudurier
c0601d705c remove apparently unused real_pict_num from AVCodecContext
Originally committed as revision 18969 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-27 21:40:10 +00:00
Baptiste Coudurier
a4a750d3b2 Rename alloc_picture to ff_alloc_picture and move its definition
in mpegvideo.h to avoid including mpegvideo_common.h in mpeg12.c,
because it contains motion code.

Originally committed as revision 18968 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-27 19:55:35 +00:00
Jeff Downs
50352827f6 Use AV_R/WN32 instead of direct integer copying.
Fixes decoding on at least Sparc/Solaris where unaligned accesses cause
crashes.
ML thread: http://thread.gmane.org/gmane.comp.video.ffmpeg.devel/91414

Originally committed as revision 18967 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-27 18:59:24 +00:00
Baptiste Coudurier
25178da302 do not print false error if eof follows eol
Originally committed as revision 18965 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-27 06:43:51 +00:00
Wolfram Gloger
ed1dc74e18 Fix off by one offset with fetch_timestamps, pts_parser_problem.mpg.
Patch by Wolfram Gloger, wmglo at dentm dot med dot uni-muenchen dot de.

Originally committed as revision 18959 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-27 00:14:32 +00:00
Baptiste Coudurier
6645e8ca2f do not reference remainder packets in the parser, fix timestamps fetching
Originally committed as revision 18958 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-26 23:58:30 +00:00
Alex Converse
401a995085 In the event of a mismatch, do not follow the sample rate index in an AAC PCE.
This matches the behavior the reference decoder and fixes issue 1072.

Originally committed as revision 18957 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-26 21:34:56 +00:00
Jai Menon
cd840656c2 Add lowres support to the libopenjpeg wrapper.
Fixes issue 1097.

Originally committed as revision 18955 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-26 17:04:28 +00:00
Jai Menon
d95545166c Use dimensions stored in AVCodecContext instead of local variables.
Originally committed as revision 18954 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-26 16:59:05 +00:00
Reimar Döffinger
34d11b875f Change HAVE_PPC64 to ARCH_PPC64.
As a side-effect this also gives it the correct value on e.g. PPC970FX-based
PPC64 systems, thus fixing "make test" (mp2/mp3 decoding).

Originally committed as revision 18953 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-26 05:00:51 +00:00
Michael Niedermayer
71b0654cc6 Support YVU9 AVI 4cc.
Fixes issue1068.

Originally committed as revision 18952 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-26 03:51:00 +00:00
David Conrad
454403ba55 Altivec VP3 IDCT
Originally committed as revision 18949 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-25 22:19:35 +00:00
Diego Biurrun
cc013a7423 The MLP optimizations do not depend on HAVE_MMX, but on ARCH_X86.
Build them when ARCH_X86 is enabled. Fixes linking with MMX disabled.

Originally committed as revision 18945 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-25 19:02:35 +00:00
Ramiro Polla
f9f36b4a4c cosmetics: tabs->spaces
Originally committed as revision 18943 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-25 18:37:16 +00:00
Justin Ruggles
724b8f6ac7 eac3dec: get rid of unnecessary left shifts in 16-bit * 24-bit
multiplication in GAQ mantissa ramapping.

Originally committed as revision 18941 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-25 16:12:51 +00:00
Reimar Döffinger
4cab1e491b Move a DECLARE_ALIGNED_16 variable in the Nellymoser encoder from the stack
into the context to avoid issues when stack variables can not be aligned
reliably.

Originally committed as revision 18940 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-25 12:17:02 +00:00
Baptiste Coudurier
47b5b0e8b6 honor restart interval in mjpeg, fix #861, SpectralFan.mov still decodes correctly
Originally committed as revision 18937 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-25 02:34:31 +00:00
Ramiro Polla
cbd7836e88 mlp: Re-enable x86-optimized DSP functions.
Originally committed as revision 18936 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-25 01:53:43 +00:00
Ramiro Polla
7c4c60e520 mlp: Use LABEL_MANGLE() to export label symbols from inside asm block.
Originally committed as revision 18935 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-25 01:52:05 +00:00
Vitor Sessak
09d1208cdb Fix unaligned dsputil call.
Should fix FATE corepng test on Solaris/Sparc.

Originally committed as revision 18930 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-24 12:44:54 +00:00
Reimar Döffinger
1eda87ce63 eatqi: move "block" variable into context to ensure sufficient alignment for
idct_put for compilers/architectures that can not align stack variables that much.
This is also consistent with similar code in eatgq.c

Originally committed as revision 18927 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-24 09:14:19 +00:00