Baptiste Coudurier
19c0563ac2
fix compilation with DEBUG defined
...
Originally committed as revision 19015 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
Reimar Döffinger
b157e3e56b
Add casts to v210x decoder to avoid warnings.
...
Originally committed as revision 18994 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
3bbcd0bb8a
The GIF decoder uses get_buffer, so set DR1.
...
Originally committed as revision 18990 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
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
16 years ago
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
16 years ago
David Conrad
f2264fa531
Support block-level quantization in Theora
...
Originally committed as revision 18986 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
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
16 years ago
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
16 years ago
Måns Rullgård
b716a79215
blackfin: disable broken dsputil functions
...
Originally committed as revision 18977 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Måns Rullgård
2ba73ce8c6
blackfin: add missing const in function prototypes
...
Originally committed as revision 18976 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
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
16 years ago
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
16 years ago
Måns Rullgård
c9311a12d5
ARM: add some PLD in NEON IDCT
...
Originally committed as revision 18972 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
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
16 years ago
Baptiste Coudurier
c0601d705c
remove apparently unused real_pict_num from AVCodecContext
...
Originally committed as revision 18969 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
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
16 years ago
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
16 years ago
Baptiste Coudurier
25178da302
do not print false error if eof follows eol
...
Originally committed as revision 18965 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
Jai Menon
d95545166c
Use dimensions stored in AVCodecContext instead of local variables.
...
Originally committed as revision 18954 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
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
16 years ago
Michael Niedermayer
71b0654cc6
Support YVU9 AVI 4cc.
...
Fixes issue1068.
Originally committed as revision 18952 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
David Conrad
454403ba55
Altivec VP3 IDCT
...
Originally committed as revision 18949 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
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
16 years ago
Ramiro Polla
f9f36b4a4c
cosmetics: tabs->spaces
...
Originally committed as revision 18943 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
Ramiro Polla
cbd7836e88
mlp: Re-enable x86-optimized DSP functions.
...
Originally committed as revision 18936 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
Reimar Döffinger
77336b6127
Distinguish between non-coded blocks and decode errors in rtjpeg's get_block
...
Originally committed as revision 18926 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
8d857c5434
Add a few size checks when decoding rtjpeg blocks.
...
Might avoid crashes in unlikely cases, but mostly avoids ugly artefacts
for partial frames.
Originally committed as revision 18925 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
0766291a66
Move "block" variable in rtjpeg decoder to context to ensure sufficient alignment
...
for idct_put on architectures/compilers that have problems aligning on the stack.
Originally committed as revision 18924 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Haruhiko Yamagata
86b0e9948b
H264: Don't deblock if alpha or beta is 0.
...
This ensures that the MMX loop filter is always bitexact with the C version.
Patch by Haruhiko Yamagata <h.yamagata _a_ nifty com>
Originally committed as revision 18923 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
77bc343a40
indent
...
Originally committed as revision 18921 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
216fb60dff
Fix lowres with rv20.
...
Fixes issue1102.
Originally committed as revision 18920 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Jeff Downs
fdb699de62
Fix passing of unaligned addresses to dsputil diff_bytes() by
...
changeing calls to sub_left_prediction such that
the source frame data pointers are no longer offset to skip the initial
elements. This keeps them properly aligned for the subsequent call to diff_bytes.
Changes encoding offset to compensate.
Mailing list thread:
https://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2009-May/069952.html
Originally committed as revision 18919 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Jeff Downs
aa5cfdfb4f
Add offset argument to encode_422_bitstream() to control where
...
in the source data array to start encoding.
Change all calls to pass zero for this new argument for equivalent behavior.
This is a restructure to support a forthcoming bug fix.
Originally committed as revision 18918 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
David Conrad
548a99742c
ARM: actually add VP3 loop filter
...
Originally committed as revision 18917 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
David Conrad
6db8697a39
ARM: NEON VP3 Loop Filter
...
Originally committed as revision 18916 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
9867a14f6c
fix qtrle encoding when previous frame linesize differs, fix #998
...
Originally committed as revision 18908 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago