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
15 years ago
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
15 years ago
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
15 years ago
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
15 years ago
Reimar Döffinger
8f1e203a56
Use context instead of NULL for logging.
...
Originally committed as revision 20085 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
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
15 years ago
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
15 years ago
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
15 years ago
Baptiste Coudurier
2c608fed3a
print error when dv frame profile cannot be found
...
Originally committed as revision 19193 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
Stefano Sabatini
9106a698e7
Rename bitstream.h to get_bits.h.
...
Originally committed as revision 18494 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
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
16 years ago
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
16 years ago
Roman Shaposhnik
ce83d2bd37
Fixing a value returning issue
...
Originally committed as revision 17469 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Roman Shaposhnik
94ed2a303d
transitioning dv_guess_dct_mode to dsputil cmp function
...
Originally committed as revision 17449 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
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
16 years ago
Roman Shaposhnik
f52901b305
No need to compute stype
...
Originally committed as revision 16988 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
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
16 years ago
Baptiste Coudurier
7591b30499
remove some warnings due to avctx->execute
...
Originally committed as revision 16909 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
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
16 years ago
Roman Shaposhnik
1a969d6dfe
Cosmetics: fixing indentation
...
Originally committed as revision 16880 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Roman Shaposhnik
77cd35cdb5
unrolling encoding loops
...
Originally committed as revision 16879 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Roman Shaposhnik
b45ba151cf
Cosmetics: simplifying static initialization
...
Originally committed as revision 16878 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Roman Shaposhnik
85eca52be4
simplifying DIF encoding process
...
Originally committed as revision 16877 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Roman Shaposhnik
76bd5997a9
Cosmetics: fixing the indentation
...
Originally committed as revision 16876 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Roman Shaposhnik
9b8390bfbe
factoring code into dv_init_enc_block
...
Originally committed as revision 16875 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Roman Shaposhnik
5c2a9dd64e
Cosmetics: replacing 0 with NULL for pointer assignment
...
Originally committed as revision 16874 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Roman Shaposhnik
2331854d0b
Cosmetics: moving the function definition around
...
Originally committed as revision 16873 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Roman Shaposhnik
b25d439233
Replacing the constant with a macro
...
Originally committed as revision 16872 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
406792e7b0
cosmetics: Remove pointless period after copyright statement non-sentences.
...
Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
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
16 years ago
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
16 years ago
Roman Shaposhnik
a21fd75f56
Making idct factor tables dynamically allocated
...
Originally committed as revision 15885 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Roman Shaposhnik
ff16d6e495
Change of indentation
...
Originally committed as revision 15883 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Roman Shaposhnik
195b349041
Getting rid of huge static DV tables
...
Originally committed as revision 15874 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Roman Shaposhnik
1ac1217bd6
Getting rid of unneeded extra wrapper functions
...
Originally committed as revision 15873 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Roman Shaposhnik
2ae7e12430
Taking advantage of the new ->execute API
...
Originally committed as revision 15806 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
Diego Biurrun
f94036f159
prettyprinting cosmetics
...
Originally committed as revision 15682 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
75f2c20983
spelling cosmetics
...
Originally committed as revision 15681 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
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
16 years ago
Roman Shaposhnik
6a276c46b1
unrolling the loops as per Michael's suggestion
...
Originally committed as revision 15580 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
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
16 years ago
Roman Shaposhnik
2b6cee9f1e
Doxygenizing the comments
...
Originally committed as revision 15578 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Roman Shaposhnik
c9b0b38f45
simplifying the code as per Michael's suggestion
...
Originally committed as revision 15577 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
910f02a054
spelling cosmetics
...
Originally committed as revision 15518 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago