Michael Niedermayer
bb770c5b52
Merge (IS_SKIP(mb_type) || IS_DIRECT(mb_type)
...
Originally committed as revision 21812 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
2e4362af14
Skiped MBs dont need the cbp stuff so skip initing that.
...
Originally committed as revision 21811 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Thilo Borgmann
65760304bc
Reindent a line.
...
Originally committed as revision 21810 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
e2b28acf89
Also skip direct/mvd_cache init for skiped blocks.
...
Odd thing is i thought ive tryed this already and it failed previously.
Originally committed as revision 21809 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
cb9285a246
Move more code under if(!IS_DIRECT(mb_type)).
...
Originally committed as revision 21806 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
David Conrad
161e8cf42c
Move CODEC_FLAG_GRAY check to outer loop
...
Originally committed as revision 21805 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
David Conrad
7c2e31d1f0
Move branch based on custom mode outside the loop
...
Originally committed as revision 21804 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
David Conrad
eb691ef219
Directly check whether a fragment is coded for 4MV mode instead of iterating
...
through the entire coded fragment list.
Originally committed as revision 21803 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
David Conrad
15675ce609
Eliminate fragment -> macroblock mapping array
...
Originally committed as revision 21802 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
David Conrad
ea67614457
Eliminate macroblock -> fragment mapping array
...
Originally committed as revision 21801 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
David Conrad
19cd517dbf
Eliminate superblock <-> macroblock mapping array
...
Originally committed as revision 21800 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Thilo Borgmann
25608328af
Support arithmetic decoding in ALS.
...
Originally committed as revision 21799 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
f2b3763736
Skip some more code that isnt needed for direct MBs.
...
Originally committed as revision 21798 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Francesco Lavra
7df8af6385
Fix reading beyond buffer end on RA144Context.lpc_tables.
...
Patch by Francesco Lavra (francescolavra -at- interfree -dot- it)
Originally committed as revision 21796 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
5ca43c25f6
Move setting MB_TYPE_L0L1 for direct MBs up, this is simpler.
...
Originally committed as revision 21794 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
da452acac6
Dont calculate any surrounding MVs for temporal MBs
...
Originally committed as revision 21793 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
5134ad53ed
Simplify if()
...
Originally committed as revision 21791 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
752cc0dcb2
Init sub_mb_type cleanly.
...
Originally committed as revision 21790 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
923bcb4048
100l Forgoten hunk.unbreak compile before someone notices.
...
Originally committed as revision 21789 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
af0d6581e1
Restructure spatial direct MV generation so that the zero predictior shortcut
...
is closer at the top.
50-130 cpu cycles faster depending on which kind of direct MBs are meassured.
Originally committed as revision 21788 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
edb4df436f
Split spatial and temporal direct MV generation.
...
A little faster and needed for future optimizations.
This sadly leads to some code duplication (which i hope i can factor out
again after the optimizations on the direcr mv code are done)
Originally committed as revision 21787 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ramiro Polla
3beb81e744
Fix compilation with --enable-libgsm on Gentoo and OpenSUSE.
...
Patch by Ramiro
Originally committed as revision 21786 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
812bfd7b44
Special case for spatial direct MV predictor being 0.
...
a little less than 200 cpu cycles faster with the cathedral sample.
Originally committed as revision 21785 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
828cfff63d
Pack MVs together from the begin for spatial direct, this simplifies the code
...
and is a bit faster (5-10 cpu cycles depending on what is meassured).
Originally committed as revision 21784 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
02e8c5f0a5
Dont drop B frames without last_picture.
...
Fixes issue1722
Originally committed as revision 21783 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
David Conrad
b7098cc153
Special case VP5/6 chroma alignment on x86 as well
...
Originally committed as revision 21782 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
David Conrad
735acf567c
Don't pre-calculate first_pixel
...
3.6% faster on Elephants_Dream_HD-q7-aq7.ogg on my penryn
Originally committed as revision 21781 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
David Conrad
a8de390163
Implement CODEC_CAP_DRAW_HORIZ_BAND for VP3 decoder
...
Originally committed as revision 21780 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
David Conrad
621f9a40b1
Cosmetics: reindent
...
Originally committed as revision 21779 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
David Conrad
256c0662ef
Do loop filter per-row rather than per-frame
...
3% faster on Elephants_Dream_HD-q7-aq7.ogg on my penryn
Originally committed as revision 21778 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
David Conrad
fe3135564a
Move apply_loop_filter above render_slice, it'll be used by the latter soon
...
Originally committed as revision 21777 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
David Conrad
ea3c2d5393
Export Theora colorspace info if present
...
Originally committed as revision 21776 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
David Conrad
337f5c6e30
Theora 3.4 doesn't exist; these fields were misunderstandings of the spec
...
Originally committed as revision 21775 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
David Conrad
45c3c92576
Remove unused code that's moved elsewhere
...
Originally committed as revision 21774 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
3566042a0d
Try to support truncated h264 frames mixed with mpeg pes headers in mkv.
...
Fixes issue1585
Originally committed as revision 21772 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
9f1d760a27
Use int8_t instead of char, the signedness of char can differ between systems.
...
Originally committed as revision 21771 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ronald S. Bultje
fa65584f12
WMAVoice decoder.
...
Originally committed as revision 21770 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
b5ab9b59e0
Fix build with --disable-mdct
...
Originally committed as revision 21764 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Kostya Shishkov
94dde5c1ec
Move 'chksum' declaration to the only block where that variable is used
...
Originally committed as revision 21753 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Kostya Shishkov
f7d649185b
Move band checksum verifying into preprocessor condition, so compiler won't
...
complain about missing function prototype.
Originally committed as revision 21752 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Alex Converse
1edea057dd
Output the first AAC frame. This is needed for SBR conformance.
...
Originally committed as revision 21739 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
David Conrad
19530266a5
Enable SSE2 (put|avg)_pixels_16_sse2
...
SVQ1 chroma has been special-cased aligned to 16-bytes since at least r15466
Other architectures also assume 16-byte alignment here too but set STRIDE_ALIGN
to 16.
Originally committed as revision 21736 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
41c2bd0a26
ARMv6 optimised pix_sum
...
Originally committed as revision 21705 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
66ec243d95
ARMv6 optimised pix_norm1
...
Originally committed as revision 21704 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
0c28474c92
ARMv6 optimised sse16
...
Originally committed as revision 21703 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
3132614305
ARMv6 optimised diff_pixels
...
Originally committed as revision 21702 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
f73a626ae4
ARMv6 optimised get_pixels
...
Originally committed as revision 21701 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
d2578ff9f1
ARMv6 optimised pix_abs8
...
Originally committed as revision 21700 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
74cc33c235
ARMv6 optimised pix_abs16_y2
...
Originally committed as revision 21699 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
39a760f678
ARMv6 optimised pix_abs16_x2
...
Originally committed as revision 21698 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago