ffmpeg.git
11 years agoH264: Fix out of bounds reads in SSSE3 MC
Alexander Strange [Sat, 30 May 2009 22:19:14 +0000 (22:19 +0000)]
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

11 years agoImplement SoX native format muxer and demuxer.
Daniel Verkamp [Sat, 30 May 2009 18:51:15 +0000 (18:51 +0000)]
Implement SoX native format muxer and demuxer.

Patch by Daniel Verkamp $firstname@drv DOT nu.

Originally committed as revision 18998 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoUse memcpy instead of per-pixel copy loop for rgb lcl format
Reimar Döffinger [Sat, 30 May 2009 11:20:07 +0000 (11:20 +0000)]
Use memcpy instead of per-pixel copy loop for rgb lcl format

Originally committed as revision 18997 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoMake sure offsets of mjpeg b are within the buffer.
Michael Niedermayer [Sat, 30 May 2009 10:04:09 +0000 (10:04 +0000)]
Make sure offsets of mjpeg b are within the buffer.
Fixes issue1132

Originally committed as revision 18996 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoRemove useless () from lcldec for more consistency with "normal" FFmpeg coding style.
Reimar Döffinger [Sat, 30 May 2009 09:07:10 +0000 (09:07 +0000)]
Remove useless () from lcldec for more consistency with "normal" FFmpeg coding style.

Originally committed as revision 18995 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoAdd casts to v210x decoder to avoid warnings.
Reimar Döffinger [Sat, 30 May 2009 09:05:24 +0000 (09:05 +0000)]
Add casts to v210x decoder to avoid warnings.

Originally committed as revision 18994 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoreturn AVERROR_EOF
Baptiste Coudurier [Sat, 30 May 2009 06:16:44 +0000 (06:16 +0000)]
return AVERROR_EOF

Originally committed as revision 18993 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoreturn AVERROR_EOF
Baptiste Coudurier [Sat, 30 May 2009 06:15:27 +0000 (06:15 +0000)]
return AVERROR_EOF

Originally committed as revision 18992 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agocast size to int64_t to avoid overflow
Baptiste Coudurier [Sat, 30 May 2009 04:08:43 +0000 (04:08 +0000)]
cast size to int64_t to avoid overflow

Originally committed as revision 18991 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoThe GIF decoder uses get_buffer, so set DR1.
Baptiste Coudurier [Sat, 30 May 2009 04:07:14 +0000 (04:07 +0000)]
The GIF decoder uses get_buffer, so set DR1.

Originally committed as revision 18990 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoremove commented code using real_pict_num
Baptiste Coudurier [Sat, 30 May 2009 02:48:47 +0000 (02:48 +0000)]
remove commented code using real_pict_num

Originally committed as revision 18989 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoremove unused hack which set AVCodecContext frame_number to pic timestamp
Baptiste Coudurier [Sat, 30 May 2009 00:24:20 +0000 (00:24 +0000)]
remove unused hack which set AVCodecContext frame_number to pic timestamp

Originally committed as revision 18988 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoset pict_type in VC-1 parser, fix some timestamps problems
Baptiste Coudurier [Sat, 30 May 2009 00:09:00 +0000 (00:09 +0000)]
set pict_type in VC-1 parser, fix some timestamps problems

Originally committed as revision 18987 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoSupport block-level quantization in Theora
David Conrad [Fri, 29 May 2009 21:43:22 +0000 (21:43 +0000)]
Support block-level quantization in Theora

Originally committed as revision 18986 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoUse av_clip_uint8 instead of equivalent but unoptimzed code,
Reimar Döffinger [Fri, 29 May 2009 20:15:38 +0000 (20:15 +0000)]
Use av_clip_uint8 instead of equivalent but unoptimzed code,

Originally committed as revision 18985 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoCorrectly set the "AU size" field in the payload header for
Luca Abeni [Fri, 29 May 2009 13:46:46 +0000 (13:46 +0000)]
Correctly set the "AU size" field in the payload header for
fragmented AAC frames

Originally committed as revision 18984 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agomatroska.c was split to matroskadec.c which I'm also maintainer of
Aurelien Jacobs [Fri, 29 May 2009 12:44:44 +0000 (12:44 +0000)]
matroska.c was split to matroskadec.c which I'm also maintainer of

Originally committed as revision 18983 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoadd myself as metadata subsystem maintainer
Aurelien Jacobs [Fri, 29 May 2009 12:42:58 +0000 (12:42 +0000)]
add myself as metadata subsystem maintainer

Originally committed as revision 18982 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoMove *.map from LIBSUFFIXES to CLEANSUFFIXES, executables on OS/2 have
Dave Yeo [Fri, 29 May 2009 11:56:54 +0000 (11:56 +0000)]
Move *.map from LIBSUFFIXES to CLEANSUFFIXES, executables on OS/2 have
generated map files as well, so map files need to be removed in all
places where executables are removed.
patch by Dave Yeo, daveryeo telus net

Originally committed as revision 18981 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoMIPS: inline asm for intreadwrite.h
Måns Rullgård [Thu, 28 May 2009 23:19:35 +0000 (23:19 +0000)]
MIPS: inline asm for intreadwrite.h

Originally committed as revision 18980 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoMIPS: add MIPS64 and Loongson asm for MAC64/MLS64
Måns Rullgård [Thu, 28 May 2009 23:19:32 +0000 (23:19 +0000)]
MIPS: add MIPS64 and Loongson asm for MAC64/MLS64

Originally committed as revision 18979 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoconfigure: detect Loongson MIPS extensions
Måns Rullgård [Thu, 28 May 2009 23:19:29 +0000 (23:19 +0000)]
configure: detect Loongson MIPS extensions

Originally committed as revision 18978 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoblackfin: disable broken dsputil functions
Måns Rullgård [Thu, 28 May 2009 22:36:06 +0000 (22:36 +0000)]
blackfin: disable broken dsputil functions

Originally committed as revision 18977 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoblackfin: add missing const in function prototypes
Måns Rullgård [Thu, 28 May 2009 22:36:02 +0000 (22:36 +0000)]
blackfin: add missing const in function prototypes

Originally committed as revision 18976 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoblackfin: use optimised (I)DCT only when ctx->(i)dct_algo is auto
Måns Rullgård [Thu, 28 May 2009 22:35:58 +0000 (22:35 +0000)]
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

11 years agoblackfin: use DCT function pointer in dct_quantize_bfin()
Måns Rullgård [Thu, 28 May 2009 22:35:56 +0000 (22:35 +0000)]
blackfin: use DCT function pointer in dct_quantize_bfin()

Originally committed as revision 18974 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoRemove $(CLEANSUFFIXES) and $(DISTCLEANSUFFIXES) on clean/distclean
Dave Yeo [Thu, 28 May 2009 22:13:17 +0000 (22:13 +0000)]
Remove $(CLEANSUFFIXES) and $(DISTCLEANSUFFIXES) on clean/distclean
in the root directory as well as in subdirectories.
patch by Dave Yeo, daveryeo telus net

Originally committed as revision 18973 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoARM: add some PLD in NEON IDCT
Måns Rullgård [Thu, 28 May 2009 17:19:28 +0000 (17:19 +0000)]
ARM: add some PLD in NEON IDCT

Originally committed as revision 18972 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoDocument match_ext().
Stefano Sabatini [Wed, 27 May 2009 22:43:52 +0000 (22:43 +0000)]
Document match_ext().

Originally committed as revision 18971 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agomsrle uncompressed decoding, fix #1074 and many other samples under /RLE
Baptiste Coudurier [Wed, 27 May 2009 21:45:25 +0000 (21:45 +0000)]
msrle uncompressed decoding, fix #1074 and many other samples under /RLE

Originally committed as revision 18970 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoremove apparently unused real_pict_num from AVCodecContext
Baptiste Coudurier [Wed, 27 May 2009 21:40:10 +0000 (21:40 +0000)]
remove apparently unused real_pict_num from AVCodecContext

Originally committed as revision 18969 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoRename alloc_picture to ff_alloc_picture and move its definition
Baptiste Coudurier [Wed, 27 May 2009 19:55:35 +0000 (19:55 +0000)]
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

11 years agoUse AV_R/WN32 instead of direct integer copying.
Jeff Downs [Wed, 27 May 2009 18:59:24 +0000 (18:59 +0000)]
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

11 years agotechnically mp2 in pva needs AVSTREAM_PARSE_FULL
Baptiste Coudurier [Wed, 27 May 2009 06:58:22 +0000 (06:58 +0000)]
technically mp2 in pva needs AVSTREAM_PARSE_FULL

Originally committed as revision 18966 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agodo not print false error if eof follows eol
Baptiste Coudurier [Wed, 27 May 2009 06:43:51 +0000 (06:43 +0000)]
do not print false error if eof follows eol

Originally committed as revision 18965 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agosupport AVDISCARD_ALL in mpegts demuxer
Baptiste Coudurier [Wed, 27 May 2009 01:29:55 +0000 (01:29 +0000)]
support AVDISCARD_ALL in mpegts demuxer

Originally committed as revision 18964 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoreturn error in mpegts_push_data and propagate it
Baptiste Coudurier [Wed, 27 May 2009 00:56:31 +0000 (00:56 +0000)]
return error in mpegts_push_data and propagate it

Originally committed as revision 18963 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years ago10l, forgot ';', fix compilation
Baptiste Coudurier [Wed, 27 May 2009 00:48:39 +0000 (00:48 +0000)]
10l, forgot ';', fix compilation

Originally committed as revision 18962 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agocheck that len is not negative
Baptiste Coudurier [Wed, 27 May 2009 00:46:20 +0000 (00:46 +0000)]
check that len is not negative

Originally committed as revision 18961 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agodemux whole PES packets from TS
Baptiste Coudurier [Wed, 27 May 2009 00:44:00 +0000 (00:44 +0000)]
demux whole PES packets from TS

Originally committed as revision 18960 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoFix off by one offset with fetch_timestamps, pts_parser_problem.mpg.
Wolfram Gloger [Wed, 27 May 2009 00:14:32 +0000 (00:14 +0000)]
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

11 years agodo not reference remainder packets in the parser, fix timestamps fetching
Baptiste Coudurier [Tue, 26 May 2009 23:58:30 +0000 (23:58 +0000)]
do not reference remainder packets in the parser, fix timestamps fetching

Originally committed as revision 18958 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoIn the event of a mismatch, do not follow the sample rate index in an AAC PCE.
Alex Converse [Tue, 26 May 2009 21:34:56 +0000 (21:34 +0000)]
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

11 years agomove DEBUG define before include to get dprintf
Baptiste Coudurier [Tue, 26 May 2009 20:13:03 +0000 (20:13 +0000)]
move DEBUG define before include to get dprintf

Originally committed as revision 18956 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoAdd lowres support to the libopenjpeg wrapper.
Jai Menon [Tue, 26 May 2009 17:04:28 +0000 (17:04 +0000)]
Add lowres support to the libopenjpeg wrapper.
Fixes issue 1097.

Originally committed as revision 18955 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoUse dimensions stored in AVCodecContext instead of local variables.
Jai Menon [Tue, 26 May 2009 16:59:05 +0000 (16:59 +0000)]
Use dimensions stored in AVCodecContext instead of local variables.

Originally committed as revision 18954 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoChange HAVE_PPC64 to ARCH_PPC64.
Reimar Döffinger [Tue, 26 May 2009 05:00:51 +0000 (05:00 +0000)]
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

11 years agoSupport YVU9 AVI 4cc.
Michael Niedermayer [Tue, 26 May 2009 03:51:00 +0000 (03:51 +0000)]
Support YVU9 AVI 4cc.
Fixes issue1068.

Originally committed as revision 18952 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agomap dvh1 fourcc to dv, fixes incoming/dvh1_sample
Ben Littler [Tue, 26 May 2009 01:14:10 +0000 (01:14 +0000)]
map dvh1 fourcc to dv, fixes incoming/dvh1_sample

Originally committed as revision 18951 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoFactorize initial "printf(" and ");" in show_license().
Stefano Sabatini [Mon, 25 May 2009 22:22:51 +0000 (22:22 +0000)]
Factorize initial "printf(" and ");" in show_license().

Originally committed as revision 18950 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoAltivec VP3 IDCT
David Conrad [Mon, 25 May 2009 22:19:35 +0000 (22:19 +0000)]
Altivec VP3 IDCT

Originally committed as revision 18949 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoDefine struct URLContext and typedef it to URLContext in one step.
Stefano Sabatini [Mon, 25 May 2009 22:17:27 +0000 (22:17 +0000)]
Define struct URLContext and typedef it to URLContext in one step.

Originally committed as revision 18948 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoRemove \p and \e doxygen markup.
Stefano Sabatini [Mon, 25 May 2009 22:05:43 +0000 (22:05 +0000)]
Remove \p and \e doxygen markup.

Originally committed as revision 18947 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agodv1394 is disabled by default, do not redundantly disable it on Hurd.
Diego Biurrun [Mon, 25 May 2009 20:18:33 +0000 (20:18 +0000)]
dv1394 is disabled by default, do not redundantly disable it on Hurd.

Originally committed as revision 18946 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoThe MLP optimizations do not depend on HAVE_MMX, but on ARCH_X86.
Diego Biurrun [Mon, 25 May 2009 19:02:35 +0000 (19:02 +0000)]
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

11 years agoNEON-OBJS should also be cleared for each subdir.
Ramiro Polla [Mon, 25 May 2009 18:46:47 +0000 (18:46 +0000)]
NEON-OBJS should also be cleared for each subdir.

Originally committed as revision 18944 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agocosmetics: tabs->spaces
Ramiro Polla [Mon, 25 May 2009 18:37:16 +0000 (18:37 +0000)]
cosmetics: tabs->spaces

Originally committed as revision 18943 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoWorkaround broken AVI files from DC-XZ6.
Michael Niedermayer [Mon, 25 May 2009 18:28:26 +0000 (18:28 +0000)]
Workaround broken AVI files from DC-XZ6.
Fixes issue897.

Originally committed as revision 18942 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoMove colorspace conversion functions implemented in pure C from template
Kostya Shishkov [Mon, 25 May 2009 16:42:54 +0000 (16:42 +0000)]
Move colorspace conversion functions implemented in pure C from template
into swscale.c

Originally committed as revision 29320 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

11 years agoeac3dec: get rid of unnecessary left shifts in 16-bit * 24-bit
Justin Ruggles [Mon, 25 May 2009 16:12:51 +0000 (16:12 +0000)]
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

11 years agoMove a DECLARE_ALIGNED_16 variable in the Nellymoser encoder from the stack
Reimar Döffinger [Mon, 25 May 2009 12:17:02 +0000 (12:17 +0000)]
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

11 years agoAdd Hurd to OS list and disable dv1394 in the Hurd case.
Andres Mejia [Mon, 25 May 2009 05:39:58 +0000 (05:39 +0000)]
Add Hurd to OS list and disable dv1394 in the Hurd case.
patch by Andres Mejia, mcitadel gmail com

Originally committed as revision 18938 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agohonor restart interval in mjpeg, fix #861, SpectralFan.mov still decodes correctly
Baptiste Coudurier [Mon, 25 May 2009 02:34:31 +0000 (02:34 +0000)]
honor restart interval in mjpeg, fix #861, SpectralFan.mov still decodes correctly

Originally committed as revision 18937 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agomlp: Re-enable x86-optimized DSP functions.
Ramiro Polla [Mon, 25 May 2009 01:53:43 +0000 (01:53 +0000)]
mlp: Re-enable x86-optimized DSP functions.

Originally committed as revision 18936 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agomlp: Use LABEL_MANGLE() to export label symbols from inside asm block.
Ramiro Polla [Mon, 25 May 2009 01:52:05 +0000 (01:52 +0000)]
mlp: Use LABEL_MANGLE() to export label symbols from inside asm block.

Originally committed as revision 18935 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoAdd LABEL_MANGLE() to export label symbols from inside asm blocks.
Ramiro Polla [Mon, 25 May 2009 01:50:37 +0000 (01:50 +0000)]
Add LABEL_MANGLE() to export label symbols from inside asm blocks.

Originally committed as revision 18934 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoCorePNG can be decoded since 18421
Ben Littler [Mon, 25 May 2009 00:31:52 +0000 (00:31 +0000)]
CorePNG can be decoded since 18421

Originally committed as revision 18933 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agomove DEBUG define before include to get dprintf and change printf to dprintf
Baptiste Coudurier [Sun, 24 May 2009 22:59:25 +0000 (22:59 +0000)]
move DEBUG define before include to get dprintf and change printf to dprintf

Originally committed as revision 18932 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoFix unaligned dsputil call.
Vitor Sessak [Sun, 24 May 2009 12:44:54 +0000 (12:44 +0000)]
Fix unaligned dsputil call.

Should fix FATE corepng test on Solaris/Sparc.

Originally committed as revision 18930 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agofix get_str16_nolen with odd len, fix #1065
Baptiste Coudurier [Sun, 24 May 2009 10:26:41 +0000 (10:26 +0000)]
fix get_str16_nolen with odd len, fix #1065

Originally committed as revision 18929 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agomove DEBUG define before include to get dprintf and move guidcmp before print_guid...
Baptiste Coudurier [Sun, 24 May 2009 09:59:53 +0000 (09:59 +0000)]
move DEBUG define before include to get dprintf and move guidcmp before print_guid, fix compilation with DEBUG

Originally committed as revision 18928 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoeatqi: move "block" variable into context to ensure sufficient alignment for
Reimar Döffinger [Sun, 24 May 2009 09:14:19 +0000 (09:14 +0000)]
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

11 years agoDistinguish between non-coded blocks and decode errors in rtjpeg's get_block
Reimar Döffinger [Sun, 24 May 2009 09:06:06 +0000 (09:06 +0000)]
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

11 years agoAdd a few size checks when decoding rtjpeg blocks.
Reimar Döffinger [Sun, 24 May 2009 09:03:45 +0000 (09:03 +0000)]
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

11 years agoMove "block" variable in rtjpeg decoder to context to ensure sufficient alignment
Reimar Döffinger [Sun, 24 May 2009 08:36:52 +0000 (08:36 +0000)]
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

11 years agoH264: Don't deblock if alpha or beta is 0.
Haruhiko Yamagata [Sun, 24 May 2009 03:39:20 +0000 (03:39 +0000)]
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

11 years agoRemove duplicated RGB_TO_[YUV]_CCIR macros, directly use those defined
Stefano Sabatini [Sat, 23 May 2009 23:32:29 +0000 (23:32 +0000)]
Remove duplicated RGB_TO_[YUV]_CCIR macros, directly use those defined
in libavcodec/colorspace.h.

Originally committed as revision 18922 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoindent
Michael Niedermayer [Sat, 23 May 2009 23:02:33 +0000 (23:02 +0000)]
indent

Originally committed as revision 18921 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoFix lowres with rv20.
Michael Niedermayer [Sat, 23 May 2009 22:59:35 +0000 (22:59 +0000)]
Fix lowres with rv20.
Fixes issue1102.

Originally committed as revision 18920 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoFix passing of unaligned addresses to dsputil diff_bytes() by
Jeff Downs [Sat, 23 May 2009 19:37:01 +0000 (19:37 +0000)]
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

11 years agoAdd offset argument to encode_422_bitstream() to control where
Jeff Downs [Sat, 23 May 2009 19:30:35 +0000 (19:30 +0000)]
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

11 years agoARM: actually add VP3 loop filter
David Conrad [Sat, 23 May 2009 18:47:26 +0000 (18:47 +0000)]
ARM: actually add VP3 loop filter

Originally committed as revision 18917 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoARM: NEON VP3 Loop Filter
David Conrad [Sat, 23 May 2009 18:36:20 +0000 (18:36 +0000)]
ARM: NEON VP3 Loop Filter

Originally committed as revision 18916 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoFix regression tests, diff was due to a patch to mpeg-2 parser timestamp fetching...
Baptiste Coudurier [Sat, 23 May 2009 09:28:45 +0000 (09:28 +0000)]
Fix regression tests, diff was due to a patch to mpeg-2 parser timestamp fetching, pending,
current ref is technically more correct though.

Originally committed as revision 18912 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agofix hdlr descr in mp4 which use c string, patch by Larbi Joubala, larbi dot joubala...
Larbi Joubala [Sat, 23 May 2009 07:17:17 +0000 (07:17 +0000)]
fix hdlr descr in mp4 which use c string, patch by Larbi Joubala, larbi dot joubala at resonate-mp4 dot com

Originally committed as revision 18911 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agosimplify pes timestamps fetching, based on a patch by corp186, chasedouglas at gmail...
Baptiste Coudurier [Sat, 23 May 2009 06:25:44 +0000 (06:25 +0000)]
simplify pes timestamps fetching, based on a patch by corp186, chasedouglas at gmail dot com

Originally committed as revision 18910 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agocompute total bitrate more accurately, patch by corp186, chasedouglas at gmail dot com
corp186 [Sat, 23 May 2009 06:09:16 +0000 (06:09 +0000)]
compute total bitrate more accurately, patch by corp186, chasedouglas at gmail dot com

Originally committed as revision 18909 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agofix qtrle encoding when previous frame linesize differs, fix #998
Baptiste Coudurier [Sat, 23 May 2009 05:55:29 +0000 (05:55 +0000)]
fix qtrle encoding when previous frame linesize differs, fix #998

Originally committed as revision 18908 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agopad last audio frame when encoding
Baptiste Coudurier [Sat, 23 May 2009 04:07:25 +0000 (04:07 +0000)]
pad last audio frame when encoding

Originally committed as revision 18907 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoremove useless include
Baptiste Coudurier [Sat, 23 May 2009 03:05:56 +0000 (03:05 +0000)]
remove useless include

Originally committed as revision 18906 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoSet progressive_sequence before MPV_common_init which cares about it when
Baptiste Coudurier [Sat, 23 May 2009 01:22:43 +0000 (01:22 +0000)]
Set progressive_sequence before MPV_common_init which cares about it when
setting mb_height for interlaced mpeg-2 encoding.

Originally committed as revision 18905 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoRevert part of r18903:
Ramiro Polla [Sat, 23 May 2009 01:20:42 +0000 (01:20 +0000)]
Revert part of r18903:
MLP DSP functions x86-optimized.
12.59% overall speedup in x86_32
 9.98% overall speedup in x86_64
compared to gcc 4.3.3

It breaks on x86_64 with PIC because the MANGLE macro appends (%%rip), which
is not wanted for labels.

Originally committed as revision 18904 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoMLP DSP functions x86-optimized.
Ramiro Polla [Sat, 23 May 2009 00:23:30 +0000 (00:23 +0000)]
MLP DSP functions x86-optimized.
12.59% overall speedup in x86_32
 9.98% overall speedup in x86_64
compared to gcc 4.3.3

Originally committed as revision 18903 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agofix mouse seeking when start time is not set, fix #1083
Baptiste Coudurier [Fri, 22 May 2009 23:08:07 +0000 (23:08 +0000)]
fix mouse seeking when start time is not set, fix #1083

Originally committed as revision 18902 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoRemove duplicated RGB_TO_[YUV] macros, use those included in
Stefano Sabatini [Fri, 22 May 2009 22:51:46 +0000 (22:51 +0000)]
Remove duplicated RGB_TO_[YUV] macros, use those included in
libavcodec/colorspace.h.

Originally committed as revision 18901 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoFix grammar for avfilter_graph_parse() doxy.
Stefano Sabatini [Fri, 22 May 2009 22:38:41 +0000 (22:38 +0000)]
Fix grammar for avfilter_graph_parse() doxy.

Originally committed as revision 18900 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoFix libtheora encoding for non-mod16 sizes
David Conrad [Fri, 22 May 2009 22:01:50 +0000 (22:01 +0000)]
Fix libtheora encoding for non-mod16 sizes

Originally committed as revision 18899 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoMove ALIGN macro to libavutil/common.h and use it in various places
David Conrad [Fri, 22 May 2009 21:32:13 +0000 (21:32 +0000)]
Move ALIGN macro to libavutil/common.h and use it in various places

Originally committed as revision 18898 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agofail if stream fifo could not be allocated
Baptiste Coudurier [Fri, 22 May 2009 19:11:56 +0000 (19:11 +0000)]
fail if stream fifo could not be allocated

Originally committed as revision 18897 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoMove eatgq blocks array from the stack to the codec context and make sure
Reimar Döffinger [Fri, 22 May 2009 18:39:00 +0000 (18:39 +0000)]
Move eatgq blocks array from the stack to the codec context and make sure
it is aligned as necessary for DSPContext's idct_put.
Just aligning it on the stack would have been possible but less reliable
and without any real benefit.

Originally committed as revision 18896 to svn://svn.ffmpeg.org/ffmpeg/trunk