Martin Storsjö
efd29844eb
mpegvideo: Add ff_ prefix to nonstatic functions
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
e96b4a53df
vlc/rl: Add ff_ prefix to the nonstatic symbols
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Carl Eugen Hoyos
289520fd97
Reduce the verbosity of a mpeg1/2 invalid intra-matrix warning.
Fixes ticket #973 .
13 years ago
Carl Eugen Hoyos
3546f680d5
Add missing newline to mpeg1/2 intra matrix error message.
13 years ago
Michael Niedermayer
491d8353e8
mpeg12dec: print the value that is being ignored in load_matrix()
error message by Reimar
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Clément Bœsch
ed67dac093
mpeg12: use av_mpegtc_to_timecode_string().
13 years ago
Alex Converse
7181c4edee
cosmetics: Remove extra newlines at EOF
13 years ago
Hendrik Leppkes
378b7beff5
mpeg12: fixed parsing in some mpeg2 streams
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Jindřich Makovička
a85ce653fb
mpeg12: check for available bits to avoid an infinite loop
Signed-off-by: Jindrich Makovicka <makovick@gmail.com>
Signed-off-by: Diego Biurrun <diego@biurrun.de>
13 years ago
Michael Niedermayer
52889b543d
mpeg12dec: BW10 support
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
0d5c810bd5
mpeg12dec: check uppercased codec_tag.
We do this for all other codec_tag checks in mpegvideo*/h26*
doing it here too makes the code more consistent.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Diego Biurrun
3dc99a18d4
cosmetics: drop some pointless parentheses
13 years ago
Janne Grunau
881a5e047d
mpegenc: use avctx->slices as number of slices
Adds a new member to MpegEncContext to hold the number of used slice
contexts. Fixes segfaults with '-threads 17 -thread_type slice' and
fate-vsynth{1,2}-mpeg{2,4}thread{,_ilace} with --disable-pthreads.
13 years ago
Michael Niedermayer
a40f6a5c69
mpeg12dec: reset first_field with picture_structure changes.
Fixes Ticket809
Bug found by: Oana Stratulat
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
549749c68e
mpeg12: disable checked reader.
overreads in mpeg12 are not possible
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Luca Barbato
5bf2ac2b37
error_resilience: use the ER_ namespace
Add the namespace to {AC_,DC_,MV_}{END,ERROR} macros
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
13 years ago
Diego Biurrun
58c42af722
doxygen: misc consistency, spelling and wording fixes
13 years ago
Clément Bœsch
b1ca5634fd
mpeg12: raise timecode to codec context.
13 years ago
Michael Niedermayer
b0ccebe448
mpeg12dec: correct AV_EF flags.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Anton Khirnov
15946eb8a9
lavc: remove "legacy" mpegvideo decoder.
13 years ago
Michael Niedermayer
9c020810c1
Revert "mpeg12: move full_pel from MpegEncContext to Mpeg1Context"
This reverts commit da22ba7df4
.
Conflicts:
libavcodec/mpeg12.c
libavcodec/mpeg12.h
13 years ago
Janne Grunau
d99fe3a478
mpeg12: fix mpeg_decode_slice context parameter type
During slice threading only MpegEncContext is passed to
mpeg_decode_slice, remove a wrong cast and change the function
definition to take MpegEncContext pointer.
13 years ago
Michael Niedermayer
fe906830fd
Revert "mpeg12: move closed_gop from MpegEncContext to Mpeg1Context"
This reverts commit 3fc0830432
.
The revert is done because the reasoning behind the commit was
flawed, closed_gop is not mpeg1/2 specific.
Conflicts:
libavcodec/mpeg12.c
libavcodec/mpeg12.h
13 years ago
Janne Grunau
cd8c64e197
Revert "mpeg12: move full_pel from MpegEncContext to Mpeg1Context"
This reverts commit da22ba7df4
since it
broke slice threading. Slice threading just duplicates MpegEncContext
so every value used during mpeg_decode_slice has to be in it.
A second patch will fix the illusion that Mpeg1Context is available
in mpeg_decode_slice.
13 years ago
Anton Khirnov
3fc0830432
mpeg12: move closed_gop from MpegEncContext to Mpeg1Context
It's MPEG-1/2 specific.
13 years ago
Anton Khirnov
da22ba7df4
mpeg12: move full_pel from MpegEncContext to Mpeg1Context
It's MPEG-1 specific.
13 years ago
Anton Khirnov
cc05a45d33
mpeg12: move Mpeg1Context from mpeg12.c to mpeg12.h
It will be used in vdpau code.
13 years ago
Dustin Brody
9abc98737f
lavc: replace references to deprecated AVCodecContext.error_recognition to use AVCodecContext.err_recognition
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Anton Khirnov
9138a130cd
lavc: use avpriv_ prefix for ff_frame_rate_tab.
It's used in lavf.
13 years ago
Anton Khirnov
773375c3d0
lavc: rename ff_find_start_code to avpriv_mpv_find_start_code
It's used in lavf.
13 years ago
Clément Bœsch
057161d39b
mpeg12: remove '[' and ']' around last timecode field to match std representation.
13 years ago
Michael Niedermayer
f0ff822ccb
mpeg12dec: Support invalid field motion types,
Fixes Ticket539
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
d6c21c7a64
mpeg12dec: assert no field frame mess
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
4e3303cf31
mpeg12dec: dont consider parsing extradata as having achived sync.
Fixes Ticket67
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Clément Bœsch
efb1ce28b2
mpeg12: use drop_frame_flag to fix timecode debug format.
13 years ago
Steven Walters
27237d524e
w32threads: support for frame multithreading
Replace our incomplete w32threads implementation with x264's pthreads
w32threads wrapper.
Relicensed to LGPL with kind permission by Pegasys Inc.
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
13 years ago
Mans Rullgard
aa498fef0d
mpeg124: use sign_extend() function
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Michael Niedermayer
5bebb6e64b
mpeg1dec: More complete sofdec support
Fixes Ticket517
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Anton Khirnov
e5b29c1f6b
lavc: replace some deprecated FF_*_TYPE with AV_PICTURE_TYPE_*
13 years ago
Michael Niedermayer
86dd4b0495
mpeg2dec: support CODEC_FLAG2_SHOW_ALL.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Diego Biurrun
a05ea77c9f
mpeg12: reorder functions to avoid ugly forward declarations
13 years ago
Joakim Plate
340e6735fe
mpeg12dec: if lavc's mpeg2 decoder was asked to drop a frame, it could still output an old frame, and mess up timestamps
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Diego Biurrun
6192b6f3e7
mpeg12: cosmetics: reformat as K&R
13 years ago
Dustin Brody
ff17fc6353
mpeg12: propagate more real return values through chunk decode error return and fix some indentation
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Dustin Brody
09c274e067
mpeg12: propagate chunk decode errors and fix conditional indentation
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Dustin Brody
2bfdb34c8a
mpeg12: remove repeat-field code disabled since May 2002
Signed-off-by: Diego Biurrun <diego@biurrun.de>
14 years ago
Anton Khirnov
ec6402b7c5
lavc: use designated initialisers for all codecs.
It's more readable and less prone to breakage.
14 years ago
Ronald S. Bultje
cdc5a3a194
mpeg1video: add CODEC_CAP_SLICE_THREADS.
14 years ago
Diego Biurrun
657ccb5ac7
Eliminate FF_COMMON_FRAME macro.
FF_COMMON_FRAME holds the contents of the AVFrame structure and is also copied
to struct Picture. Replace by an embedded AVFrame structure in struct Picture.
14 years ago
Mans Rullgard
add41decd9
Remove return statements following infinite loops without break
These statements cannot be reached and are thus not needed.
This removes a number of compiler warnings.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago