Rémi Denis-Courmont
8918b769c0
libmpeg2: unused variable
14 years ago
Jean-Baptiste Kempf
13f92c6683
libmpeg2: remove tab
14 years ago
Rémi Denis-Courmont
b1a0789432
Check for 3D Now! at build time
14 years ago
Rémi Denis-Courmont
615a016b4c
Check for MMXEXT and SSE at build-time if possible
14 years ago
Rémi Denis-Courmont
5288c3823c
Check for MMX at build-time if possible
14 years ago
Rémi Denis-Courmont
7bdcbe8ac8
Check for AltiVec at build-time if possible (untested)
14 years ago
Rémi Denis-Courmont
b830aae4f0
Check for ARM NEON at build-time if possible
14 years ago
Rémi Denis-Courmont
a257811bb6
cpu: do not define capabilities on platforms that do not have them
Also update avcodec encoder and switcher x86 checks.
14 years ago
Christophe Mutricy
8940931e63
Fix build of mpeg2 module with old libmpeg2 on arm
16 years ago
Pádraig Brady
5bd2bacf60
closed captions: Correctly determine the field for SCTE-20 streams
* modules/codec/cc.h (cc_Extract): Merge repeated field (3) with first
field (1). Use the TOP_FIRST_FIELD in the determination of field.
* modules/codec/libmpeg2.c (DecodeBlock): Pass whether "top field first"
* modules/packetizer/mpegvideo.c (ParseMPEGBlock): Likewise.
Signed-off-by: Laurent Aimar <fenrir@videolan.org>
16 years ago
Laurent Aimar
7ad6676d1b
Decreased priority of libmpeg2 decoder below avcodec.
It still segfaults on broken streams (or on seeks #3153 ) and I am not
willing to spend more time on it.
16 years ago
Laurent Aimar
d466fd4185
Removed es_format_t::i_aspect.
It was duplicated with es_format_t::i_sar_num/den.
17 years ago
Marian Ďurkovič
d3cb36d54f
libmpeg2: Fix aspect ratio calculation according to MPEG standard.
The library delivers us pixel width/height relative to display size
so we must compute it accordingly, otherwise we have conflicting data
in i_sar_num/i_sar_den and i_aspect.
17 years ago
Rémi Denis-Courmont
a282f14628
libmpeg2: enable non-upstream NEON optimizations if available
17 years ago
Rémi Denis-Courmont
be5d9107a6
Use <vlc_cpu.h>
17 years ago
Marian Ďurkovič
28726d5736
libmpeg2: Print the debug message if decoder was reset
17 years ago
Marian Ďurkovič
84aadd40cc
libmpeg2: Don't spam the log on bitrate changes in VBR streams
17 years ago
Marian Ďurkovič
198199c522
libmpeg2: reset decoder when get outpic failed - should fix #3072
17 years ago
Rémi Denis-Courmont
691b879ef3
Fix syntax
17 years ago
Rémi Denis-Courmont
7a89ce3e54
libmpeg2: enable ARM optimizations
(libmpeg2 does not autodetect on that architecture)
17 years ago
Pierre d'Herbemont
38d22ff993
libmpeg2: Only define GetCC when needed.
17 years ago
Laurent Aimar
4746e4bc4a
Fixed seeking in mpeg1 files with libmpeg2 decoder ( close #2953 ).
mpeg1 files may have only one sequence header.
It can be backported to 1.0 only after being carefully tested.
17 years ago
Rémi Denis-Courmont
40486dcf66
libmpeg2: fix division by zero ( fixes #2920 )
17 years ago
Laurent Aimar
a3d9fc2ec7
Workaround libmpeg2 DPB bugs ( #2883 ).
It should work as the vout never deletes the pictures used by a decoder.
17 years ago
Laurent Aimar
ed7d6cbf84
Fixed libmpeg2 wrapper picture handling.
It should fix lost some picture errors that were critical with dvd menus.
It also seems to fix #2803 but I don't really understand why.
17 years ago
Laurent Aimar
9278fb81ed
Do not uselessly include vlc_vout.h in decoders.
17 years ago
Laurent Aimar
dfe8c5c087
Merged mp1v/mp2v codecs.
The codec defined will only be used by encoder to force one of the types.
17 years ago
Laurent Aimar
8d2862dc06
Let libmpeg2 decode mp1v/mp2v too.
17 years ago
Laurent Aimar
7b452ff3b0
Used VLC_CODEC_* and i_original_fourcc when applicable.
17 years ago
Laurent Aimar
724461bdf2
Used VLC_CODEC_* and vlc_fourcc_GetCodec when suitable.
There will be some regressions, I used automatic sed replacement with manual
checks but there was a lot to change.
It's only the first pass.
17 years ago
Derk-Jan Hartman
3fac978237
libmpeg2: Fix Closed Captions in GOP.
This fixes a case where our libmpeg2 module was not extracting
Closed Captions from the user_data, when this user_data was in the
GOP header, instead of in the picture header. This information is
retained until the next picture (date) is handled.
See sample "bob-dvd-closedcaptioning works in ffmpeg but not in libmpeg2.ts"
17 years ago
Laurent Aimar
7a0c49ac84
All decoders/encoders MUST set output format category (AUDIO/VIDEO/SPU_ES)
17 years ago
Rémi Denis-Courmont
0549228196
Remove most stray semi-colons in module descriptions
Those multi-lines are still to be done (it's going to be fun...)
See also 5af4cc854b .
18 years ago
Laurent Aimar
4e79745666
Added decoder_New/Delete/Link/UnlinkPicture helpers.
18 years ago
Laurent Aimar
e63fffe04f
Fixed segfault in libmpeg2 when picture allocation failed.
It should close #2195 .
18 years ago
Derk-Jan Hartman
2b73786266
libmpeg2: user_data has been available since 0.3.2
Since we require libmpeg > 0.3.2 there is no need for this check.
18 years ago
Derk-Jan Hartman
74095abc99
libmpeg2: compile fix
18 years ago
Derk-Jan Hartman
ec15067d08
libmpeg2: user MPEG2 coding type defines when matching to mpeg2 flags.
Though the values are the same, this is cleaner, and more 'future' proof
18 years ago
Derk-Jan Hartman
d47c4459f7
libmpeg2: Enable CC parsing for libmpeg2 >= 5.0.0
18 years ago
Laurent Aimar
f6cc8a3950
Convert stream to system timestamp after the decoder.
- This is needed for proper seek/pause/fast forward/...
- The decoder/packetizer do not need to scale packet length anymore as the
decoder thread do it.
18 years ago
Laurent Aimar
0ec4e51a3a
Fixed a potential infinite loop with libmpeg2.
18 years ago
Laurent Aimar
575f49e518
Revert "Partially work around a picture link in libmpeg2."
This reverts commit f18192c64b .
It fixed a few streams while breaking a few others one.
18 years ago
Laurent Aimar
f18192c64b
Partially work around a picture link in libmpeg2.
It makes DVD (menu) usable (at least #1784 , #1880 ).
18 years ago
Laurent Aimar
2b6c967840
Removed stupid AR hack in libmpeg2.
18 years ago
Christophe Mutricy
9a72071ae6
Use the correct test
Refs #791
18 years ago
Christophe Mutricy
5889307336
Use pkg-config to get the flags for libmpeg2
18 years ago
Rémi Denis-Courmont
3561b9b28f
Plugins: include vlc_common.h directly instead of vlc/vlc.h
18 years ago
Rémi Denis-Courmont
13ae40b0ef
Use gettext_noop() consistently
18 years ago
Rémi Denis-Courmont
27d483e9ef
Include vlc_plugin.h as needed
18 years ago
Jean-Paul Saman
ba6ca8303f
Remove silly out of memory message in an out of memory situation and fixed indentation on bool declarations.
18 years ago