Mans Rullgard
b6ae086682
dv: simplify bitstream splicing in dv_decode_ac()
...
This is simpler and fixes some overflow checker warnings.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Anton Khirnov
242c73a0fd
lavc: use avpriv_ prefix for some dv symbols used in lavf.
...
Specifically, ff_dv_frame_profile and ff_dv_codec_profile.
13 years ago
Michael Niedermayer
63d2cfd142
dvdec: Fix dvsd profile[1] detection.
...
Fixes Ticket159
If someone knows of a cleaner way to detect this, patch is welcome.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Anton Khirnov
ec6402b7c5
lavc: use designated initialisers for all codecs.
...
It's more readable and less prone to breakage.
14 years ago
Reimar Döffinger
7cbb856efe
Remove useless NULL check.
...
We dereferenced the pointer two lines above, no point in
checking for NULL afterwards.
In addition it cannot be NULL the way it was initialized
just one line further above.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
14 years ago
Clément Bœsch
6d75fb01eb
dv: fix comment wording mistake
14 years ago
Clément Bœsch
f428c29c23
dv: fix comment wording mistake
14 years ago
Reimar Döffinger
afd06c6873
dv: fix valgrind use of uninitialised value warnings.
14 years ago
Clément Bœsch
50f8c26579
dv: fix comment spelling.
14 years ago
Reimar Döffinger
68e39d6efe
dv: fix valgrind use of uninitialised value warnings.
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Clément Bœsch
65614321db
dv: fix comment spelling
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
14 years ago
Diego Biurrun
02a8d43adf
Replace some av_log/printf + #ifdef combinations by av_dlog.
14 years ago
Stefano Sabatini
94bed8e582
Replace avcodec_get_pix_fmt_name() by av_get_pix_fmt_name().
...
This fixes warnings about avcodec_get_pix_fmt_name() being deprecated.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
14 years ago
Stefano Sabatini
01042d4123
lavc: set defaults in internal codec frames
...
This is required specifically for setting frame->format to -1,
otherwise it will be set to 0 = PIX_FMT_YUV420P and code reading
the format from the output decoded frame will get misled.
In particular fix regressions occurring with the pending vsrc_buffer
patch.
14 years ago
Stefano Sabatini
ce5e49b0c2
replace deprecated FF_*_TYPE symbols with AV_PICTURE_TYPE_*
14 years ago
Stefano Sabatini
975a1447f7
Replace deprecated FF_*_TYPE symbols with AV_PICTURE_TYPE_*.
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
14 years ago
Ronald S. Bultje
94f7451a3a
Introduce slice threads flag.
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Michael Niedermayer
2d2b5a1421
10l, commit that should have been stashed into the merge.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Diego Biurrun
6001dad6e2
Replace more FFmpeg references by Libav.
14 years ago
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Diego Elio Pettenò
e7e2df27f8
Add ff_ prefix to data symbols of encoders, decoders, hwaccel, parsers, bsf.
...
None of these symbols should be accessed directly, so declare them as
hidden.
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit d36beb3f69
)
14 years ago
Diego Elio Pettenò
d36beb3f69
Add ff_ prefix to data symbols of encoders, decoders, hwaccel, parsers, bsf.
...
None of these symbols should be accessed directly, so declare them as
hidden.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Baptiste Coudurier
2a5db1aa58
In dv decoder, set sample aspect aspect ratio, fix issue #1612
...
Originally committed as revision 25232 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Måns Rullgård
375fb9f17a
dv: fix alignment of scratch buffer
...
Originally committed as revision 24854 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Carl Eugen Hoyos
0fd0ef7947
Add new decoder property max_lowres and do not init decoder if requested value is higher.
...
Originally committed as revision 24098 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
ba87f0801d
Remove explicit filename from Doxygen @file commands.
...
Passing an explicit filename to this command is only necessary if the
documentation in the @file block refers to a file different from the
one the block resides in.
Originally committed as revision 22921 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
72415b2adb
Define AVMediaType enum, and use it instead of enum CodecType, which
...
is deprecated and will be dropped at the next major bump.
Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
5b9c11ff96
Fix indentation.
...
Originally committed as revision 22721 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
c787cb339e
Add support for hard-coding the 256kB large dv_vlc_map table.
...
Originally committed as revision 22622 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
10249a5f31
Split VLC-related tables out of dvdata.h to make it easier to add support
...
for hard-coding tables.
Originally committed as revision 22620 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
40d1122752
Use LOCAL_ALIGNED macro for local arrays
...
Originally committed as revision 21866 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
c67278098d
Move array specifiers outside DECLARE_ALIGNED() invocations
...
Originally committed as revision 21377 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
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