Commit Graph

653 Commits

Author SHA1 Message Date
Diego Biurrun 3842560379 whitespace cosmetics: Reindent a few lines after the last commit.
Originally committed as revision 17370 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-16 11:50:06 +00:00
Diego Biurrun 83344066d3 Get rid of some '#if CONFIG_MPEG_XVMC_DECODER' preprocessor checks around if
statements by merging the CONFIG_MPEG_XVMC_DECODER check into the if condition.

Originally committed as revision 17369 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-16 11:49:08 +00:00
Diego Biurrun 4440bd0da4 Add xvmc_internal.h that contains all internal xvmc function declarations.
This allows getting rid of a bunch of ugly forward declarations.

Originally committed as revision 17280 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 20:37:14 +00:00
Diego Biurrun ed92bedb63 Rename some forward declarations that were missed, fixes the warnings:
libavcodec/mpegvideo.o libavcodec/mpegvideo.c
libavcodec/mpegvideo.c: In function ‘MPV_frame_start’:
libavcodec/mpegvideo.c:944: warning: implicit declaration of function ‘ff_xvmc_field_start’
libavcodec/mpegvideo.c: In function ‘MPV_frame_end’:
libavcodec/mpegvideo.c:957: warning: implicit declaration of function ‘ff_xvmc_field_end’

Originally committed as revision 17258 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 18:51:17 +00:00
Diego Biurrun a002da797c Fix compilation: XVMC_ --> ff_xvmc prefix for xvmc functions.
Originally committed as revision 17256 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 18:46:32 +00:00
Ivan Kalvachev 78f9a87830 use ff_xvmc for function names instead of XVMC_
Originally committed as revision 17254 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 18:25:41 +00:00
Diego Biurrun fc2dd7e3de Remove redundant CONFIG_XVMC option, CONFIG_MPEG_XVMC_DECODER suffices.
Originally committed as revision 17229 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 15:37:40 +00:00
Diego Biurrun bad5537e2c Use full internal pathname in doxygen @file directives.
Otherwise doxygen complains about ambiguous filenames when files exist
under the same name in different subdirectories.

Originally committed as revision 16912 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-01 02:00:19 +00:00
Diego Biurrun 406792e7b0 cosmetics: Remove pointless period after copyright statement non-sentences.
Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-19 15:46:40 +00:00
Aurelien Jacobs 49fb20cb8a replace all occurrence of ENABLE_ by the corresponding CONFIG_, HAVE_ or ARCH_
and remove all ENABLE_ definitions.

Originally committed as revision 16600 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-14 17:19:17 +00:00
Aurelien Jacobs b250f9c66d Change semantic of CONFIG_*, HAVE_* and ARCH_*.
They are now always defined to either 0 or 1.

Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-13 23:44:16 +00:00
NVIDIA Corporation 369122dd77 Add VDPAU hardware accelerated decoding for H264 which can be used by
video players.

Original patch by NVIDIA corporation.

Originally committed as revision 16431 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-04 23:55:27 +00:00
Måns Rullgård a2fc0f6a6d ARM: replace "armv4l" with "arm"
Originally committed as revision 16179 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-17 00:54:54 +00:00
Diego Biurrun b24298badc Switch xvmc over to a CONFIG_ option.
Originally committed as revision 16153 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-15 22:22:51 +00:00
Diego Biurrun 9686df2be5 Delete unnecessary 'extern' keywords.
Originally committed as revision 15990 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-03 15:23:30 +00:00
Michael Niedermayer a6f2c0d6e5 Fix regression test failure with pthreads on multiprocessor systems.
Fixes issue517

Originally committed as revision 15976 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-02 10:43:08 +00:00
Carl Eugen Hoyos 8d2fc163ce Rename copy_picture to ff_copy_picture.
Originally committed as revision 15508 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-02 00:27:09 +00:00
Michael Niedermayer fe67a236dd Do not use the generic "alloc missing references" code for h.264 as it does
not work correctly in that case.
Fixes issue652.

Originally committed as revision 15413 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-25 14:34:14 +00:00
Michael Niedermayer 047599a4ba Rename error_resilience to error_recognition.
Originally committed as revision 15270 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-08 18:18:49 +00:00
Baptiste Coudurier 014d2f0509 fix mpeg 4:2:2 vis_qp and vis_mb_type debug, fix issue #471
Originally committed as revision 14493 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-31 19:51:19 +00:00
Diego Biurrun ca74c0a180 cosmetics: Fix two common typos: wont --> will not, lets --> let us.
Originally committed as revision 14372 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-24 17:09:28 +00:00
Michael Niedermayer ceaaf78bb7 Change init_vlc_rl() so it does not use *alloc_static() anymore.
Originally committed as revision 13567 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-30 21:08:41 +00:00
Michael Niedermayer 5b0e7dacd8 Fix MB skipping with droppable frames.
Fixes issue323.

Originally committed as revision 13378 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 14:07:35 +00:00
Keiji Costantini bd7c626ad0 Unroll codepath
Patch by strites: strites gmail com
Original thread: [FFmpeg-devel] [PATCH] Patch cleanup for MPEG 1 & 2 optimizations
Date: 04/06/2008 11:32 PM

Originally committed as revision 12917 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-21 08:30:54 +00:00
Keiji Costantini 54816a3e3f cosmetics: Break an overly long line.
patch by Keiji Costantini, lists strites net

Originally committed as revision 12783 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-10 19:09:39 +00:00
Diego Biurrun a815037409 Classify mlib as a configurable option, not as a hardware feature.
Originally committed as revision 12589 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-25 21:30:16 +00:00
Diego Biurrun bd10713636 typo fixes
Originally committed as revision 12449 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-15 16:15:47 +00:00
Aurelien Jacobs 9701840bb5 add FF_ prefix to all (frame)_TYPE usage
Originally committed as revision 12399 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-09 23:31:02 +00:00
Aurelien Jacobs 6cbe71bd06 move ff_mpeg1_dc_scale_table to mpegvideo.c
Originally committed as revision 12344 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-05 21:29:15 +00:00
Aurelien Jacobs 288a44fb7a move ff_emulated_edge_mc() to dsputil
Originally committed as revision 12318 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-04 23:10:47 +00:00
Aurelien Jacobs 4c79b95c32 move ff_init_scantable() into dsputil
Originally committed as revision 12311 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-04 10:26:56 +00:00
Aurelien Jacobs 5a6a9e78ab move draw_edges() into dsputil
Originally committed as revision 12309 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-04 00:07:41 +00:00
Michael Niedermayer cea9642014 Fix ;;
Originally committed as revision 12153 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-19 22:09:08 +00:00
Michael Niedermayer dc6340e048 Remove pointless code.
Originally committed as revision 11885 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-09 17:26:40 +00:00
Jeff Downs 79db7ac6ef Fix memory leak in h264 decoder. allocated_edge_emu_buffer was being allocated
in both mpegvideo and h264 decoder. Fixed by allowing all (master and duplicate)
contexts to fully initialize in MPV_frame_start and copying these into
H264Contexts.

Mailing list discussion:
[FFmpeg-devel] Memory leak in h264
Tue, 22 Jan 2008 15:22:55

Originally committed as revision 11657 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-28 21:12:38 +00:00
Michael Niedermayer 0063c05c67 fix segfault with interlaced h.264
Originally committed as revision 11113 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-29 15:09:24 +00:00
Diego Biurrun 3a994ca43b Clarify comment block and rewrite in better English.
Originally committed as revision 10837 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-22 15:13:10 +00:00
Michael Niedermayer 3c11a27b44 replace (disabled by default) assert(0) by abort() if the picture buffer
overflows due to a buggy codec
note, ive not checked if such overflows could have been exploitable before this
commit

Originally committed as revision 10777 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 11:11:33 +00:00
Jeff Downs 12d96de3ac Manage Picture buffers for fields as well as frames. Pair complementary fields into one MPV Picture.
Part of PAFF implementation.

patch by Jeff Downs, heydowns a borg d com
original thread:
Subject: [FFmpeg-devel] [PATCH] Implement PAFF in H.264
Date: 18/09/07 20:30

Originally committed as revision 10691 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-08 17:44:38 +00:00
Baptiste Coudurier 6180ade790 export DCT_common_init and add ff_prefix
Originally committed as revision 10680 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-08 09:09:19 +00:00
Diego Biurrun f62a9a46e1 Rename MPV_common_init_ppc to MPV_common_init_altivec, the function is
AltiVec-specific now.

Originally committed as revision 10652 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-03 14:01:42 +00:00
Diego Biurrun b4fb08035e Fix compilation with AltiVec disabled, MPV_common_init_ppc is part of a file
that is only compiled when AltiVec is enabled.

Originally committed as revision 10651 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-03 13:49:51 +00:00
Jeff Downs 2ddcf84bb7 h264/PAFF preparation: use DELAYED_PIC_REF to mark non-refs frames as held for delayed output
patch by Jeff Downs, heydowns a borg d com
original thread:
Subject: [FFmpeg-devel] [PATCH] Implement PAFF in H.264
Date: 18/09/07 20:30

Originally committed as revision 10592 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-26 13:28:13 +00:00
Diego Biurrun e0a5d77132 Replace HAVE_BFIN with ARCH_BFIN. Blackfin is a CPU architecture, not an
instruction set extension and configure sets ARCH_BFIN, not HAVE_BFIN.

Originally committed as revision 10572 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-25 07:30:22 +00:00
Andreas Öman afebe2f7ca Add slice-based parallel H.264 decoding
Patch by Andreas Öman % andreas A olebyn P nu %
NB: depends on having a thread library activated at config time, and on
having a source encoded with multiple slices
Original threads:
date: May 18, 2007 11:00 PM
subject: [FFmpeg-devel] Parallelized h264 proof-of-concept
date: Jun 15, 2007 10:10 PM
subject: [FFmpeg-devel] [PATCH] h264 parallelized, (was: Parallelized h264 proof-of-concept)
date: Jun 25, 2007 7:02 PM
subject: Re: [FFmpeg-devel] [PATCH] h264 parallelized

Originally committed as revision 10407 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-05 16:18:15 +00:00
Marc Hoffman 1cc6bd4f10 renaming ARCH_BFIN to HAVE_BFIN
Originally committed as revision 10272 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-31 14:58:44 +00:00
Michael Niedermayer cde9e78001 make grayscale only decoding checks in inner loops compiletime killable
Originally committed as revision 9846 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-01 00:39:39 +00:00
Daniel Kristjansson 29d2dc59f9 fix mem leak
patch by Daniel Kristjansson: [danielk cuymedia net]
Original thread: [FFmpeg-devel] [PATCH] alloc_picture needs to free buffer when
it's not going to use it
Date: 07/20/2007 07:27 PM

Originally committed as revision 9838 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-31 14:51:21 +00:00
Roman Shaposhnik f49f6e8889 replacing the use of deprecated unaligned*() routines by LD64 and AV_RB32
Originally committed as revision 9834 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-30 18:05:46 +00:00
Måns Rullgård 00f0564f44 move ff_h263_round_chroma() to mpegvideo.h as static inline
Originally committed as revision 9600 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-11 21:04:53 +00:00