Commit Graph

145 Commits

Author SHA1 Message Date
Roman Shaposhnik 77cd35cdb5 unrolling encoding loops
Originally committed as revision 16879 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-31 01:46:25 +00:00
Roman Shaposhnik b45ba151cf Cosmetics: simplifying static initialization
Originally committed as revision 16878 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-31 01:41:04 +00:00
Roman Shaposhnik 85eca52be4 simplifying DIF encoding process
Originally committed as revision 16877 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-31 01:39:05 +00:00
Roman Shaposhnik 76bd5997a9 Cosmetics: fixing the indentation
Originally committed as revision 16876 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-31 01:37:31 +00:00
Roman Shaposhnik 9b8390bfbe factoring code into dv_init_enc_block
Originally committed as revision 16875 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-31 01:36:38 +00:00
Roman Shaposhnik 5c2a9dd64e Cosmetics: replacing 0 with NULL for pointer assignment
Originally committed as revision 16874 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-31 01:36:00 +00:00
Roman Shaposhnik 2331854d0b Cosmetics: moving the function definition around
Originally committed as revision 16873 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-31 01:35:29 +00:00
Roman Shaposhnik b25d439233 Replacing the constant with a macro
Originally committed as revision 16872 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-31 01:34:44 +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
Roman Shaposhnik a21fd75f56 Making idct factor tables dynamically allocated
Originally committed as revision 15885 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-20 01:40:40 +00:00
Roman Shaposhnik ff16d6e495 Change of indentation
Originally committed as revision 15883 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-19 01:40:09 +00:00
Roman Shaposhnik 195b349041 Getting rid of huge static DV tables
Originally committed as revision 15874 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-18 20:48:26 +00:00
Roman Shaposhnik 1ac1217bd6 Getting rid of unneeded extra wrapper functions
Originally committed as revision 15873 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-18 20:33:08 +00:00
Roman Shaposhnik 2ae7e12430 Taking advantage of the new ->execute API
Originally committed as revision 15806 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-12 21:13:28 +00:00
Roman Shaposhnik 3a84713aaa Making it easier to send arbitrary structures as work orders to MT workers
Originally committed as revision 15804 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-12 17:47:23 +00:00
Roman Shaposhnik c3d470b4a9 implementing more efficient (and direct) allocation of work for DV codec workers
Originally committed as revision 15788 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-08 00:18:00 +00:00
Roman Shaposhnik 0e60e19019 renaming macro in order to conform with the rest of libavcodec
Originally committed as revision 15751 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-30 15:43:00 +00:00
Diego Biurrun f94036f159 prettyprinting cosmetics
Originally committed as revision 15682 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-24 21:41:27 +00:00
Diego Biurrun 75f2c20983 spelling cosmetics
Originally committed as revision 15681 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-24 21:37:06 +00:00
Roman Shaposhnik 4e92dabf60 replacing frame_rate and frame_rate_base with an AVRational time_base
Originally committed as revision 15584 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-07 16:59:18 +00:00
Roman Shaposhnik 6a276c46b1 unrolling the loops as per Michael's suggestion
Originally committed as revision 15580 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-07 15:52:20 +00:00
Roman Shaposhnik 0843ddcb91 fixing a bug that prevented proper unweighting table to be selected
Originally committed as revision 15579 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-07 15:51:29 +00:00
Roman Shaposhnik 2b6cee9f1e Doxygenizing the comments
Originally committed as revision 15578 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-07 15:50:29 +00:00
Roman Shaposhnik c9b0b38f45 simplifying the code as per Michael's suggestion
Originally committed as revision 15577 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-07 15:49:45 +00:00
Diego Biurrun 910f02a054 spelling cosmetics
Originally committed as revision 15518 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-02 16:28:58 +00:00
Diego Biurrun 2a43a093ed Replace generic CONFIG_DECODERS preprocessor conditionals by more specific
CONFIG_FOO_DECODER conditionals where appropriate.

Originally committed as revision 15162 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-02 23:25:57 +00:00
Roman Shaposhnik f8007a1473 Intial implementation of the DV100 (AKA DVCPRO HD) decoder and demuxer as
specified in SMPTE 370M

Originally committed as revision 15010 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-28 22:41:00 +00:00
Roman Shaposhnik f4acfa3887 Cosmetic change aimed at making it easier to see how bits are consumed
Originally committed as revision 14998 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-27 20:25:47 +00:00
Roman Shaposhnik b1e3628e8c Factoring out chan_slice / 27 into seq variable
Originally committed as revision 14997 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-27 20:21:17 +00:00
Roman Shaposhnik 7ae6dcb595 Simplification of how dct_mode affects decoding.
Originally committed as revision 14996 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-27 20:17:01 +00:00
Roman Shaposhnik c89cb5894e Making block size in bits variable and dependent on the DV spec
Originally committed as revision 14842 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-19 16:02:43 +00:00
Roman Shaposhnik 713c1aa9a6 Making the number of blocks per macroblock dependent on the DV stream
specification

Originally committed as revision 14841 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-19 16:01:41 +00:00
Roman Shaposhnik cb879ec2fb Introducing DV_MAX_BPM macro instead of a hardcoded value for the
highest number of blocks per macroblock

Originally committed as revision 14840 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-19 16:00:26 +00:00
Roman Shaposhnik 3f66d16821 Fixing the units in DV50 tables (both coordinates are
supposed to be in units of 8 pixels) and simplifying
the calculations of y_ptr and c_offset.

Originally committed as revision 14693 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-11 10:14:46 +00:00
Roman Shaposhnik d557838cfb Coalescing the un-weighting and de-quantization steps for faster
processing

Originally committed as revision 14691 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-11 09:35:58 +00:00
Diego Biurrun 4ad62d9a5c Move #ifdef CONFIG_DVVIDEO_ENCODER up to cover all functions used for encoding.
Originally committed as revision 14166 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-11 07:48:37 +00:00
Diego Biurrun fd9f315339 Make preprocessor condition more specific and useful by changing
#ifdef CONFIG_ENCODERS --> #ifdef CONFIG_DVVIDEO_ENCODER.

Originally committed as revision 14165 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-11 07:45:49 +00:00
Stefano Sabatini fe4bf37455 Make AVCodec long_names definition conditional depending on CONFIG_SMALL.
Originally committed as revision 13759 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-12 21:50:13 +00:00
Baptiste Coudurier 39883fffa7 remove useless wrapper func
Originally committed as revision 13738 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-10 19:21:40 +00:00
Baptiste Coudurier 390b25aeda set avctx time_base in dv decoder
Originally committed as revision 13515 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-28 23:56:25 +00:00
Carl Eugen Hoyos eacced45c4 Replace some occurrences of -1 with PIX_FMT_NONE.
Fixes icc warning #188: enumerated type mixed with another type

Originally committed as revision 13130 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-11 22:28:43 +00:00
Stefano Sabatini 6140271f54 Add some long names to AVCodec declarations.
patch by Stefano Sabatini, stefano.sabatini-lala poste it

Originally committed as revision 13017 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-29 07:24:44 +00:00
Alexander Strange 8e5f465f4c Increase alignment for DCT block arrays from 8 to 16
Patch by Alexander Strange ( astrange ithinksw com )

Originally committed as revision 12767 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-08 01:09:33 +00:00
Zuxy Meng 98a6fff98c Apply 'cold' attribute to init/uninit functions in libavcodec
Originally committed as revision 12525 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-21 03:11:20 +00:00
Aurelien Jacobs fbd4293df9 remove more useless mpegvideo.h includes
Originally committed as revision 12323 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-05 00:43:11 +00:00
Michael Niedermayer 095f08d599 some const
Originally committed as revision 11758 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 15:08:55 +00:00
Michael Niedermayer 7993df6527 consts
I have underestimated this a little, and these are just some ...

Originally committed as revision 11708 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 03:26:31 +00:00
Aurelien Jacobs 59e6f60a99 add ff_ prefix to all simple_idct symbols
Originally committed as revision 11192 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-08 21:21:11 +00:00