Måns Rullgård
40d1122752
Use LOCAL_ALIGNED macro for local arrays
...
Originally committed as revision 21866 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-17 20:36:20 +00:00
Måns Rullgård
c67278098d
Move array specifiers outside DECLARE_ALIGNED() invocations
...
Originally committed as revision 21377 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-22 03:25:11 +00:00
Michael Niedermayer
9514a0841a
Align mb_bit_buffer and vs_bit_buffer as their alignment is checked by assert().
...
Originally committed as revision 21164 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-12 13:54:35 +00:00
Tomas Härdin
6d01a97c86
Fail earlier for unsupported resolutions or pixel formats when encoding
...
dv.
Patch by Tomas Härdin, tomas D hardin A codemill D se
Originally committed as revision 20803 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-12-11 23:56:49 +00:00
Ronald S. Bultje
c47ca25e74
Make get_bits_left() available for use in libavcodec (was previously held
...
private in dv.c for some reason). See "[PATCH] get_bits_left()" thread.
Originally committed as revision 20490 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-09 22:10:43 +00:00
Reimar Döffinger
c76911bd65
Split parts of dvdata.h into dvdata.c, this ensures that things like
...
work_chunks_* and dv_idct_factor_* variables appear only once in the binary
instead of 3 times.
Saves 3264 bytes in .rodata and 312416 bytes in .bss on x86_64.
Originally committed as revision 20246 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-16 07:55:57 +00:00
Reimar Döffinger
8f1e203a56
Use context instead of NULL for logging.
...
Originally committed as revision 20085 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-29 19:18:51 +00:00
Reimar Döffinger
ebb651d5f2
Make sure that dv encoder initializes all encoded packet data.
...
The specification does not say which value to use for unused
parts, so fill all unused bytes with 0xff, which is consistent
with what DV usually uses for reserved or unused parts.
Originally committed as revision 20084 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-29 19:17:18 +00:00
Reimar Döffinger
2ba8301769
Mark all pix_fmts and supported_framerates compound literals as const.
...
Makes no difference for gcc but at least icc can put them in .rodata then.
Originally committed as revision 19789 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-06 16:09:21 +00:00
Måns Rullgård
20e7c8ae0a
Remove some unnecessary alignment specifiers
...
None of these arrays are used in ways requiring extra alignment.
Originally committed as revision 19715 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-26 12:12:40 +00:00
Baptiste Coudurier
2c608fed3a
print error when dv frame profile cannot be found
...
Originally committed as revision 19193 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-14 22:41:30 +00:00
Baptiste Coudurier
d509c743b7
check if frame size matches old sys and assumes corrupted input, fixes #1192
...
Originally committed as revision 19192 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-14 22:34:28 +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
David Conrad
580a7465fb
Add a chroma_sample_location field to define positioning of chroma samples
...
Originally committed as revision 18795 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-11 04:34:23 +00:00
Stefano Sabatini
9106a698e7
Rename bitstream.h to get_bits.h.
...
Originally committed as revision 18494 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-13 16:20:26 +00:00
Stefano Sabatini
b275500706
Split bitstream.h, put the bitstream writer stuff in the new file
...
put_bits.h.
Originally committed as revision 18461 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-12 08:35:26 +00:00
Thilo Borgmann
7a00bbad21
Implement avcodec_decode_video2(), _audio3() and _subtitle2() which takes an
...
AVPacket argument rather than a const uint8_t *buf + int buf_size. This allows
passing of packet-specific flags from demuxer to decoder, such as the keyframe
flag, which appears necessary to playback corePNG P-frames.
Patch by Thilo Borgmann thilo.borgmann googlemail com, see also the thread
"Google Summer of Code participation" on the mailinglist.
Originally committed as revision 18351 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-07 15:59:50 +00:00
Roman Shaposhnik
ce83d2bd37
Fixing a value returning issue
...
Originally committed as revision 17469 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-20 02:00:44 +00:00
Roman Shaposhnik
94ed2a303d
transitioning dv_guess_dct_mode to dsputil cmp function
...
Originally committed as revision 17449 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-19 00:34:42 +00:00
Diego Biurrun
1bf6e565dd
cosmetics: 'const static' --> 'static const' to avoid warnings of the type
...
"'static' is not at beginning of declaration" with -Wextra.
Originally committed as revision 17391 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-17 12:03:10 +00:00
Roman Shaposhnik
f52901b305
No need to compute stype
...
Originally committed as revision 16988 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-04 16:16:53 +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
Baptiste Coudurier
7591b30499
remove some warnings due to avctx->execute
...
Originally committed as revision 16909 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-31 22:49:58 +00:00
Ben Hutchings
f579d24bad
assume widescreen when ratio also > 17, patch by Ben Hutchings, ben at decadent dot org dot uk
...
Originally committed as revision 16907 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-31 22:16:17 +00:00
Roman Shaposhnik
1a969d6dfe
Cosmetics: fixing indentation
...
Originally committed as revision 16880 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-31 01:50:18 +00:00
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