Michael Niedermayer
3e971fc6b5
h264: fix cur_chroma_format_idc with slice multithreading.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
4f7ad4c3e4
h264: migrate poc gap based has_b_frames calculation into new has_b_frame calculation code.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
ed83f84891
h264: minor simplification
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
bfca35114a
h264: rewrite has_b_frame calculation code,
the previous implementation was too buggy.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
18b7f40007
h264: reset last_pocs on IDRs
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
7056f13a89
cinepak: remove redundant coordinate checks
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
cea0c82d9b
cinepak: check strip_size
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
f35f50b311
cinepak, simplify, use AV_RB24()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
111ffa55b7
cinepak: simplify, use FFMIN()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
4e7b3ef3b3
cinepak: Fix division by zero, ask for sample if encoded_buf_size is 0
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Mike Melanson
12d9a36481
Add another special case to the Cinepak video decoder so that it can handle the following file:
http://samples.mplayerhq.hu/V-codecs/CVID/bad_cinepak_frame_size.mov
This fix works around another work around which handles a different type
of odd Cinepak data.
Thanks to Matthew Hoops (clone2727 - gmail.com) for the sample and fix.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Martin Storsjö
268fb3f985
mpegaudiodec: Don't use a nonexistent log context for av_dlog
This fixes builds with DEBUG defined, broken since
1158745a2d .
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Mike Melanson
747283a078
cinepak: Add another special case so that it can handle the following file:
http://samples.mplayerhq.hu/V-codecs/CVID/bad_cinepak_frame_size.mov
This fix works around another work around which handles a different type
of odd Cinepak data.
Thanks to Matthew Hoops (clone2727 - gmail.com) for the sample and fix.
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Kostya Shishkov
ffc638c283
lagarith: add some RGBA decoding support
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Nathan Caldwell
39616fc307
lagarith: Add correct line prediction for RGB
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Clément Bœsch
4da45aff28
cleanup: remove various double end ';' all over the code.
14 years ago
Michael Niedermayer
20431a9982
wma: Check channel number before init.
Fixes Ticket240
Based on patch by ami_stuff
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
7776091b9f
diracdec: obmc accesses arent aligned for all files.
Thus use unaligned accesses.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Justin Ruggles
f1d1516e55
cosmetics: indentation
14 years ago
Justin Ruggles
1158745a2d
mpegaudiodec: init static tables in AVCodec.init_static_data()
14 years ago
Michael Niedermayer
be4c9a440f
mpeg4videodec: dont treat empty frames as errors for QMP4, it seems thats normal.
Fixes remaining complaints in Ticket560 possibly.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
66cd3c12ab
mpegaudio: prettify avpriv_mpa_bitrate_tab
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Clément Bœsch
edc26bfae5
vda: use K&R style.
14 years ago
Sebastien Zwickert
81852ef5d6
vda: get correctly the frame from h264 context.
14 years ago
Sebastien Zwickert
4590e161e6
vda: check allocation result.
14 years ago
Sebastien Zwickert
c7fa3eeab9
vda: removes useless casts.
14 years ago
Sebastien Zwickert
6e1e49385e
vda: cosmetic.
14 years ago
Sebastien Zwickert
b46134f659
vda: reordering headers inclusion.
14 years ago
Sebastien Zwickert
9837442a39
vda: undef Picture.
14 years ago
Michael Niedermayer
ecf5e70548
vble: use dsp.add_hfyu_median_prediction() this allows asm optimizations to be used.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
75c0ddc9c2
vble: move 2nd pass bitreading into vble_restore_plane()
this improves data cache hits and speeds up grayscale only decoding
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
6718536ba5
diracdec: fix empty data units.
Fixed Ticket636
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Mans Rullgard
3f5d6a665a
binkvideo: simplify and remove invalid shifts
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Sebastien Zwickert
ac3dbb4d58
hwaccel: OS X Video Decoder Acceleration (VDA) support.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
14 years ago
KO Myung-Hun
ad0bdd2fd2
lavc: add supports of OS/2 threads
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Carl Eugen Hoyos
9117592549
Cosmetics: Increase readability.
14 years ago
Carl Eugen Hoyos
eb664d4ae3
Increase Westwood Studios VQA palette dynamics.
14 years ago
Carl Eugen Hoyos
1fc573dd25
Increase Sierra VMD palette dynamics.
14 years ago
Carl Eugen Hoyos
a95906af57
Increase Pictor/PC Paint palette dynamics.
14 years ago
Carl Eugen Hoyos
105cf82acb
Increase FLI/FLC Animation palette dynamics for some samples.
14 years ago
Carl Eugen Hoyos
2b656844f8
Increase eXtended BINary text palette dynamics.
14 years ago
Carl Eugen Hoyos
942e9be5d7
Increase Bethesda VID palette dynamics.
14 years ago
Carl Eugen Hoyos
7ea77a6197
Set some Pictor/PC Paint palettes opaque.
14 years ago
Carl Eugen Hoyos
0d49dd3725
Set more KMVC palettes opaque.
14 years ago
Carl Eugen Hoyos
789da2e9f1
Set second Delphine Software International CIN palette opaque.
14 years ago
Michael Niedermayer
545ec935a4
h264: Use mismatching frame numbers in fields to synchronize the
first/second field state independant of them being reference or not.
Fixes Ticket354
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Dominique Leuenberger
8a25d0a860
Trivial: j2kenc: fix compiler warning
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Carl Eugen Hoyos
3230c756f8
Increase Bitmap Brothers JV palette dynamics.
Approved-by: Peter Ross
14 years ago
Carl Eugen Hoyos
9780c33eca
Increase Psygnosis YOP palette dynamics.
14 years ago
Carl Eugen Hoyos
ac0042f55f
Set Psygnosis YOP palette opaque.
14 years ago