Michael Niedermayer
97bbb8851b
output delayed frames
...
fixes:
CANL4_SVA_B.264
NL3_SVA_C.264
NL3_SVA_E.264
Originally committed as revision 8055 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
0afd2a92bd
cosmetics: Fix a common typo, sepErate --> sepArate.
...
Originally committed as revision 8047 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Loren Merritt
4672503d8c
simplify in fill_caches
...
Originally committed as revision 8026 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
fda51641b1
factorize more calls to fill_rectangle()
...
Originally committed as revision 8017 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
d19f5acb36
factorize fill_rectangle() calls
...
Originally committed as revision 8016 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
8d6947bc7d
factorize fill_rectangle()
...
remove more silly ref_count checks
use list_count where appropriate
Originally committed as revision 8000 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
3425501d3b
replace list<2 checks by list<list_count
...
remove silly ref_count<0 and ref_count==0 checks its impossible for this variable to have such a value
Originally committed as revision 7999 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
187696fa72
fix 2nd ref_count check
...
add list_count
Originally committed as revision 7998 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
0565c64834
fix ref_count check
...
Originally committed as revision 7997 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
65a0f3fd47
factorize mv_cache and mvd_cache init
...
Originally committed as revision 7996 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
43ff071456
simplify
...
Originally committed as revision 7995 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Francois Oligny-Lemieux
6ff9b4226b
always decode extradata when of non-avc stream (like RTSP)
...
Patch by Francois Oligny-Lemieux % eucloid A gmail P com %
Original thread:
Date: Feb 9, 2007 12:00 AM
Subject: [Ffmpeg-devel] h264.c patch, always decoding extradata when on non avc stream
Originally committed as revision 7904 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
08eb8fcdbf
fix segfault with darkkben.free.fr/corrupted_h264.mp4
...
Originally committed as revision 7671 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
2f29af3952
flame
...
Originally committed as revision 7664 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
6f9ca74bec
check num_reorder_frames for validity
...
increase delayed_pic buffer size (one temporary is used and a terminating NULL is assumed by most code so it has to be 18 large)
Originally committed as revision 7663 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
9170e34537
adding assert to protect delayed_pic
...
Originally committed as revision 7661 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
88e7a4d18c
checking bitstream values and other related changes
...
some of these might have been exploitable
Originally committed as revision 7591 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Alex Beregszaszi
fead30d444
rename BE/LE_8/16/32 to AV_RL/B_8/16/32
...
Originally committed as revision 7587 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Guillaume Poirier
50eaa857c0
remove useless cast that makes code unreadable
...
Originally committed as revision 7586 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Francois Oligny-Lemieux
ac658be5db
harden h264 decoding to prevent some crashes when input data is corrupted.
...
Patch by Frank %eucloid A gmail P com%
date: Jan 18, 2007 6:48 PM
subject: Re: [Ffmpeg-devel] h264, protection against corrupted data (second try patch)
AND
date: Jan 17, 2007 8:22 PM
subject: [Ffmpeg-devel] h264, protection against corrupted data
this also fixes a possible security issue (the sps and pps ids where not checked,
then used as index into an array of sps/pps structs which was then filled with data from the bitstream)
Originally committed as revision 7585 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Reimar Döffinger
b18e5c031c
Avoid calling decode_slice when context_initialized is not set.
...
Avoids a crash due to dsp.clear_blocks being NULL when called.
Originally committed as revision 7547 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
6de062957b
fix 16 CABAC_BIT * 10l bug introduced in r6578
...
Originally committed as revision 7440 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Måns Rullgård
849f10351d
rename always_inline to av_always_inline and move to common.h
...
Originally committed as revision 7256 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Panagiotis Issaris
acd8d10ffb
Making rem6 and div6 globally visible and thus adding prefixes.
...
Originally committed as revision 7245 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Panagiotis Issaris
14e95e2c92
Removing unused code
...
Originally committed as revision 7244 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Panagiotis Issaris
a074f143dd
Export symbols of several H.264 intra prediction functions
...
Originally committed as revision 7232 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Alexander Chemeris
a083f53c45
fix crash when decoding a truncated H264 slice
...
patch by Alexander Chemeris % ipse P ffmpeg A gmail.com %
Original thread:
date: Dec 5, 2006 7:26 PM
subject: [Ffmpeg-devel] [PATCH] Fix crush when truncated slice passed to H.264 decoder
Originally committed as revision 7229 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Panagiotis Issaris
3ee5c5b739
Removing unused code
...
Originally committed as revision 7228 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Panagiotis Issaris
550e66cb59
Change NAL unit type defines to an enum and move to a header file for usage
...
in other code.
Originally committed as revision 7226 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Måns Rullgård
55fde95e3b
rename cropTbl -> ff_cropTbl
...
Originally committed as revision 6992 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Panagiotis Issaris
c2212338e8
Remove the H264Context parameter from decode_init_vlc() as it is not being used.
...
Originally committed as revision 6955 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
65342b2b4a
merge clip() into the alpha/beta/tc0 tables (10% faster filter_mb_fast() on P3)
...
Originally committed as revision 6863 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Reimar Döffinger
d55f46e5a8
Reenable AMD64 optimizations for cabac accidentially disabled in r6852
...
Originally committed as revision 6853 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
419b878494
Add ARCH_X86_32 as a new define for 32 bit x86 architectures and change
...
the semantics of ARCH_X86 to mean both 32 and 64 bits.
Originally committed as revision 6852 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
d5cd50ed73
Fix compilation with PIC enabled, BRANCHLESS_GET_CABAC is defined under
...
!PIC but gets used without a check for !PIC.
Originally committed as revision 6834 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
e08f580644
decode_significance_8x8_x86()
...
8% faster decode_cabac_residual() (8x8 case only) on P3
Originally committed as revision 6750 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
f624f029f0
slightly faster decode_cabac_mb_mvd()
...
Originally committed as revision 6735 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
aa1da263aa
1 variable less in decode_cabac_residual() no speed change (but less vars means less things gcc can load and store redundantly)
...
Originally committed as revision 6734 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
ebd624b662
optimize sign decoding code in decode_residual()
...
x86 is 4% faster on P3
C sign stuff + x86 code for everything else is also faster then before (sorry forgot to test pure C)
... and if i replace the second occurance of the sign decoding in decode_residual by the asm too then everything gets slower iam starting to think that it might be best to write the whole function in asm, playing this avoid random deoptimizations game with gcc is not fun at all
Originally committed as revision 6732 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
30865e2aa1
copy cabac context onto the stack for the c code in decode_cabac_residual() (15% faster on P3 but still slower then the current asm)
...
Originally committed as revision 6725 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
eb73bf723d
x86 asm version of the decode significance loop (not 8x8) of decode_residual() 5% faster decode_residual() on P3
...
Originally committed as revision 6724 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
b566bd65e2
simplify escape decoding
...
Originally committed as revision 6685 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
de1013e1ca
10l int vs uint8_t
...
Originally committed as revision 6675 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
851ded8918
prevent "mb level" get_cabac() calls from being inlined (3% faster decode_mb_cabac() on P3)
...
Originally committed as revision 6674 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
1f6049f515
int->uint8_t for 2 tables
...
Originally committed as revision 6673 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
c26abfa541
Rename ABS macro to FFABS.
...
Originally committed as revision 6666 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Loren Merritt
a957c27b03
more prefetches, 2% faster h264
...
Originally committed as revision 6664 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
d61c4e731e
make state transition tables global as they are constant and the code is slightly faster that way
...
Originally committed as revision 6655 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
0fa352c7e6
make lps_range a global table its constant anyway (saves 1 addition for accessing it)
...
Originally committed as revision 6653 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
7822e1c1ff
reverse remainder of the failed attempt to optimize *state=c->mps_state[s]
...
Originally committed as revision 6609 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago